Changeset 136 for trunk/SRC/Postscript


Ignore:
Timestamp:
07/10/06 17:20:19 (18 years ago)
Author:
pinsard
Message:

some improvements and corrections in some .pro file according to
aspell and idldoc log file

Location:
trunk/SRC/Postscript
Files:
3 edited

Legend:

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

    r129 r136  
    66; Close the Postscript mode 
    77; 
    8 ;  when archive_ps ne 0, we add the name and the date 
    9 ;  at the bottom left corner of the postcript page. If the 
    10 ;  postscript is called idl.ps we change its name to number.ps 
    11 ;  (number automatically found to be 1 larger that any of the 
    12 ;  existing ps file) 
     8; when archive_ps ne 0, we add the name and the date at the bottom left corner 
     9; of the postscript page. 
     10; If the postscript is called idl.ps we change its name to number.ps 
     11; (number automatically found to be 1 larger that any of the existing ps file) 
    1312; 
    14 ; @keyword INFOWIDGET A long integer giving the id of the information 
    15 ;           widget (created by openps) that we have de destroy at 
    16 ;           the end of closeps (when the postscript is done) 
     13; @keyword INFOWIDGET 
     14; A long integer giving the id of the information widget (created by openps) 
     15; that we have to destroy at the end of closeps (when the postscript is done). 
    1716; 
    1817; @uses cm_4ps 
     
    8180     ENDIF 
    8281;------------------------------------------------------------ 
    83 ; we annote the postscript 
     82; we annotate the postscript 
    8483;------------------------------------------------------------ 
    8584     date = byte(systime(0))    ; we get the date 
     
    8988   ENDIF 
    9089;------------------------------------------------------------ 
    91 ; close the postcript mode 
     90; close the postscript mode 
    9291   device, /close 
    9392; 
  • trunk/SRC/Postscript/openps.pro

    r129 r136  
    55; 
    66; @file_comments 
    7 ; switch to postcript mode and define it 
     7; switch to postscript mode and define it 
    88; 
    9 ; @param namepsin {in}{optional} name of the postscript file. 
    10 ; Extension '.ps' is added 
    11 ; if missing. It will be stored in the psdir directory. 
     9; @param namepsin {in}{optional} 
     10; name of the postscript file. 
     11; Extension '.ps' is added if missing. It will be stored in the psdir directory. 
    1212; 
    1313; @keyword FILENAME 
    14 ; to define the name of the postcript file through 
    15 ; a keyword rather than with nameps inut argument 
     14; to define the name of the postscript file through 
     15; a keyword rather than with nameps input argument 
    1616; (in this case the keyword can be pass through 
    1717; different routines via _EXTRA keyword). 
     
    2828; 
    2929; @keyword PORTRAIT 
     30; 
    3031; @keyword LANDSCAPE 
    31 ; @keyword KEEPPFONT same as keep_pfont 
    3232; 
    33 ; @keyword LIGHTNESS a scalar used to change the Lightness of the color 
    34 ;            palette to be abble to adjust according to the printer we use, 
    35 ;            the media (paper or slide)... 
    36 ;               lightness < 1 to get lighter colors 
    37 ;                         > 1 to get darker colors 
     33; @keyword KEEPPFONT 
     34; same as keep_pfont 
    3835; 
    39 ; @keyword _EXTRA used to pass any keyword to device procedure. 
     36; @keyword LIGHTNESS 
     37; a scalar used to change the Lightness of the color palette to be able to 
     38; adjust according to the printer we use, the media (paper or slide)... 
     39; > 1 to get darker colors 
     40; 
     41; @keyword _EXTRA 
     42; used to pass any keyword to device procedure. 
    4043; 
    4144; @uses cm_4ps 
     
    7275ENDIF 
    7376;------------------------------------------------------------ 
    74 ; close the postcript device if we are already in postcsrit mode 
     77; close the postscript device if we are already in postscript mode 
    7578   IF !d.name EQ 'PS' THEN device, /close 
    7679; switch to postscript mode 
  • trunk/SRC/Postscript/printps.pro

    r129 r136  
    1212; the archiving is done automatically whereas we ask if the postscript 
    1313; file must be archived or not. 
    14 ; If the postcript name is "idl.ps" (default name) then this name will 
     14; If the postscript name is "idl.ps" (default name) then this name will 
    1515; be changed to number.ps (number automatically found to be 1 larger 
    1616; that any of the existing ps file). 
     
    3939;                       25/8/19999 utilisation des widgets 
    4040;                       8/9/1999 utilisation de cw_bgroup 
    41 ; June 2005: Sebastien Masson: cleaning, english version with new commons 
     41; June 2005: Sebastien Masson: cleaning, English version with new commons 
    4242; 
    4343; @version $Id$ 
     
    138138; we destroy the widget 
    139139  widget_control, event.top, /destroy 
    140 ; if the file was originaly gzipped, then we re-gzip it and exit 
     140; if the file was originally gzipped, then we re-gzip it and exit 
    141141  IF uval.gzip THEN BEGIN 
    142142    spawn, '\gzip ' + uval.nameps 
     
    149149    AND keyword_set(archive_ps) THEN BEGIN 
    150150    IF archive_ps NE 1 AND uval.name EQ 'print' then begin 
    151       wesave = report('Shall we archive the postcript?', /default_no, /question) 
     151      wesave = report('Shall we archive the postscript?', /default_no, /question) 
    152152      IF wesave EQ 0 THEN RETURN 
    153153    ENDIF 
     
    159159       allps = file_basename(allps,'.pdf') 
    160160; find which of these names corresponds to numbers... 
    161 ; get ascii codes of the names 
     161; get ASCII codes of the names 
    162162       testnumb = byte(allps) 
    163163; longest name 
    164164       maxstrlen = (size(testnumb, /dimensions))[0] 
    165 ; ascii codes can be 0 or between byte('0') and byte('9') 
     165; ASCII codes can be 0 or between byte('0') and byte('9') 
    166166       testnumb = testnumb EQ 0 OR $ 
    167167                  (testnumb GE (byte('0'))[0] AND testnumb LE (byte('9'))[0]) 
     
    203203;                       25/8/19999 utilisation des widgets 
    204204;                       8/9/1999 utilisation de cw_bgroup 
    205 ; June 2005: Sebastien Masson: cleaning, english version with new commons 
     205; June 2005: Sebastien Masson: cleaning, English version with new commons 
    206206; 
    207207; @version $Id$ 
Note: See TracChangeset for help on using the changeset viewer.