Changeset 104 for trunk/SRC/Postscript


Ignore:
Timestamp:
06/12/06 14:54:03 (18 years ago)
Author:
pinsard
Message:

start to modify headers of Postscript *.pro files for better idldoc output + change the title of idldoc output in html to SAXO Documentation

Location:
trunk/SRC/Postscript
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Postscript/closeps.pro

    r16 r104  
    33;------------------------------------------------------------ 
    44;+ 
    5 ; NAME: closeps 
     5; @file_comments Close the Postscript mode 
    66; 
    7 ; PURPOSE: Close the Postscript mode 
     7;  when archive_ps ne 0, we add the name and the date 
     8;  at the bottom left corner of the postcript page. If the 
     9;  postscript is called idl.ps we change its name to number.ps 
     10;  (number automatically found to be 1 larger that any of the 
     11;  existing ps file) 
    812; 
    9 ; CALLING SEQUENCE: closeps 
    10 ; 
    11 ; KEYWORD PARAMETERS: 
    12 ; 
    13 ;      INFOWIDGET: A long integer giving the id of the information 
     13; @keyword INFOWIDGET A long integer giving the id of the information 
    1414;           widget (created by openps) that we have de destroy at  
    1515;           the end of closeps (when the postscript is done) 
    1616; 
    17 ; COMMON BLOCKS: cm_4ps 
     17; @uses cm_4ps 
    1818; 
    19 ; SIDE EFFECTS: when archive_ps ne 0, we add the name and the date 
    20 ;    at the bottom left corner of the postcript page. If the 
    21 ;    postscript is called idl.ps we change its name to number.ps 
    22 ;    (number automatically found to be 1 larger that any of the 
    23 ;     existing ps file) 
    24 ; 
    25 ; MODIFICATION HISTORY: Sebastien Masson (smasson@lodyc.jussieu.fr) 
     19; @history Sebastien Masson (smasson\@lodyc.jussieu.fr) 
    2620;                       21/12/98 
    2721; June 2005: Sebastien Masson, english version with new commons  
  • trunk/SRC/Postscript/openps.pro

    r69 r104  
    33;------------------------------------------------------------ 
    44;+ 
    5 ; NAME:openps 
    65; 
    7 ; PURPOSE:switch to postcript mode and define it 
     6; @file_comments switch to postcript mode and define it 
    87; 
    9 ; CALLING SEQUENCE:openps[,nameps] 
    10 ; 
    11 ; OPTIONAL INPUT: 
    12 ;        nameps: name of the postscript file. Extension '.ps' is added 
     8; @param namepsin {in}{optional} name of the postscript file. Extension '.ps' is added 
    139;                if missing. It will be stored in the psdir directory. 
    1410; 
    15 ; KEYWORD PARAMETERS: 
    16 ; 
    17 ;        FILENAME: to define the name of the postcript file through 
     11; @keyword FILENAME to define the name of the postcript file through 
    1812;                  a keyword rather than with nameps inut argument 
    1913;                  (in this case the keyword can be pass through  
    2014;                  different routines via _extra keyword). 
    2115; 
    22 ;        INFOWIDGET: If INFOWIDGET is present, it specifies a named 
     16; @keyword INFOWIDGET If INFOWIDGET is present, it specifies a named 
    2317;             variable into which the id of the widget giving informations 
    2418;             about the postscript creation is stored as a long integer. 
    2519;             This id is needed by close ps to kill the information widget. 
    2620; 
    27 ;        KEEP_PFONT: activate to suppress the modification of !p.font 
     21; @keyword KEEP_PFONT activate to suppress the modification of !p.font 
    2822;            (by defaut we force  !p.font = 0  to make smaller postscripts) 
    29 ;        KEEPPFONT: same as keep_pfont 
     23; @keyword KEEPPFONT same as keep_pfont 
    3024; 
    31 ;        LIGHTNESS: a scalar used to change the Lightness of the color 
     25; @keyword LIGHTNESS a scalar used to change the Lightness of the color 
    3226;            palette to be abble to adjust according to the printer we use, 
    3327;            the media (paper or slide)...  
     
    3529;                         > 1 to get darker colors 
    3630; 
    37 ;       _EXTRA: used to pass any keyword to device procedure. 
     31; @keyword _EXTRA: used to pass any keyword to device procedure. 
    3832 
    39 ; COMMON BLOCKS: cm_4ps 
     33; uses cm_4ps 
    4034; 
    41 ; MODIFICATION HISTORY: Sebastien Masson (smasson@lodyc.jussieu.fr) 
    42 ;                       21/12/98 
     35; @history Sebastien Masson (smasson\@lodyc.jussieu.fr) 
     36; 21/12/98 
    4337; 1/2/98: ajout de nameps en input 
    4438; 1/9/1999: ajout du mot cle FILENAME et du widget 
  • trunk/SRC/Postscript/printps.pro

    r16 r104  
    33;------------------------------------------------------------ 
    44;+ 
    5 ; NAME: 
    6 ;       printps 
    7 ; 
    8 ; PURPOSE: postscript visualisation/archiving/printing 
    9 ; 
    10 ; CATEGORY: for the postscripts 
    11 ; 
    12 ; CALLING SEQUENCE: 
    13 ;       imprime [,psfilename] 
    14 ;       
    15 ; INPUTS: 
    16  
    17 ;       psfilename: the name of the postscript file we want to 
    18 ;           visualize and/or print and/or archive. It can also refer 
    19 ;           to a gzipped postscript file. If needed, this name will 
    20 ;           be completed by .ps and/or .gz  
    21 ; 
    22 ; KEYWORD PARAMETERS: None 
    23 ; 
    24 ; COMMON BLOCKS: cm_4ps 
    25 ; 
    26 ; SIDE EFFECTS:  
    27  
     5; 
     6; 
     7; 
    288; - archiving possibilities - 
    299;  
     
    3717; that any of the existing ps file). 
    3818; 
    39 ; RESTRICTIONS: 
     19; @categories for the postscripts 
     20; 
     21; @restrictions 
    4022; 
    4123; 1) this is working only with unix/linux/osX machines 
     
    5133; is working. default definition is '\lpr -P' 
    5234; 
    53 ; EXAMPLE: IDL> printps 
    54 ; 
    55 ; MODIFICATION HISTORY: Sebastien Masson (smasson@lodyc.jussieu.fr) 
     35; 
     36; @history Sebastien Masson (smasson\@lodyc.jussieu.fr) 
    5637;                       21/12/98 
    5738;                       25/8/19999 utilisation des widgets 
     
    197178;------------------------------------------------------------ 
    198179;------------------------------------------------------------ 
    199 ;------------------------------------------------------------ 
    200 ;------------------------------------------------------------ 
    201 pro printps, psfilename 
     180;+ 
     181; @file_comments postscript visualisation/archiving/printing 
     182; 
     183; @param psfilename {in}{optional} the name of the postscript file we want to 
     184;           visualize and/or print and/or archive. It can also refer 
     185;           to a gzipped postscript file. If needed, this name will 
     186;           be completed by .ps and/or .gz  
     187; 
     188; @uses cm_4ps 
     189; 
     190; @examples 
     191;  IDL> printps 
     192; 
     193; @history Sebastien Masson (smasson\@lodyc.jussieu.fr) 
     194;                       21/12/98 
     195;                       25/8/19999 utilisation des widgets 
     196;                       8/9/1999 utilisation de cw_bgroup 
     197; June 2005: Sebastien Masson: cleaning, english version with new commons  
     198;- 
     199;------------------------------------------------------------ 
     200;------------------------------------------------------------ 
     201PRO printps, psfilename 
    202202; 
    203203; this is working only with unix/linux/osX machines 
     
    300300  return 
    301301end 
    302  
    303  
Note: See TracChangeset for help on using the changeset viewer.