pslib for dcl-5							-*- text -*-

: 94/03/31(numaguti) ¸ 
: 03/02/05(kagimoto)  

: DCL (dcl-5 ʹߤΥС) Ϥ PostScript ե
      dcl.ps Խ뤿Υġ

󥹥ȡ:
      TOP 

         # make install

      뤳Ȥ dcl ΤȰ˼ưŪ BINDIR ˥󥹥ȡ뤵.
      λ, TOP  Mkinclude  AWK, SED ͤŬڤꤵƤ
      ɬפ. ͤ TOP  configure ¹ԤȤꤵ
      뤬, 󥹥ȡ뤹ץåȥե sed ¸ߤʤ
      ˤϥ󥹥ȡ뤬Ǥ, ޤ awk ¸ߤʤˤϥġ뤽
      ΤΤѤ뤳ȤǤʤ.

: SunOS ° awk Ǥưʤ. ϰο ARGC ˤ
      , ʸ ARGV ˤäƼ뤳ȤʤǤ.
      ޤ nawk ǤϤ뤳ȤǤ뤬, - (ϥե)
      ޤʸȤƼ뤳Ȥʤ.

      ʲо줹 dclps2kdraw  dclpsfix  kdraw Ѥ
      dcl.ps Խ, ޤθΤѤΤǤ
      , kdraw ȯĶˤʤ, ٤ʤȽǤ줿
      ʳǥѥåǽ.

ñʥɥ:
       ƥޥɤΥإפ,  help 뤤 -help ȤƵư
       ȤˤϤ.  -help  GNU awk Τ߻ǽʥ
       ץǤ.

dclps2kdraw : kdraw Ѵ
    usage : % dclps2kdraw <file>

    kdraw ԽǽʷѴ.
    kdraw üPSե(ȤȤkdrawȼ̿᤬äƤ)
    ϤȤƻȤäƤ, η˹碌Ƥ, kdraw ˤԽ
    ǽȤʤ. dclpsfont ˤä PS Ѵ줿ʸѴ
    .

dclpscat : ʣΥե1ĤΥե
    usage : % dclpscat <file>...

    ʣΥե뤫ʤϢοޤ1ĤΥեʣڡνϤ
    ˤ. 2ڡʹߤΥإå, Ϣܤ.

 dclpsfix : Ⱥ, kdraw θ 
    usage : % dclpsfix <file>

    TeX Ȥ߹Υץ󥿤ΥХн褹뤿, BoundigBox ʳ
     %% Ȥ. ޤ, kdraw Խ dcl.psͳΥե
    , Τޤޤȥȡ󤬱ʤΤǸԤ.

dclpsfont : PS եѴ                   
    usage : % dclpsfont [f=<font id>..] [<option>=<value>...] <file>
   *** Options are:
   +        f : font id (((idx,ifont),idx=1,imax),ifont=1,..) [ccCChhHHHttTT]
   +       ai : SymbolMT font is used for Adobe Illustrator 9.x or later [0]
   +      fht : text hight scale factor [1]
   +      fwt : text width scale factor [1]
   +     fact : scale factor [7500]
   +     fhnc : hight scale factor for non-standard char [1]
   +     fwnc : width scale factor for non-standard char [1]
   +     imax : max. of index [4]
   +     irst : end sub(super)script ["]
   +     isub : begin subscript [_]
   +     isup : begin superscript [|]
   +    lcntl : 1/0 : sub(super)script on/off [0]
   +    shift : shift of sub(super)script [0.3]
   +    small : ratio of sub(super)script [0.7]
   +** Font id are:
   - a :   AvantGarde-Book
   - A ::  AvantGarde-Demi
   - b :   Bookman-Light
   - B ::  Bookman-Demi
   - c :   Courier
   - C ::  Courier-Bold
   - h :   Helvetica
   - H ::  Helvetica-Bold
   - i :   Times-Italic
   - I ::  Times-BoldItalic
   - n :   NewCenturySchlbk-Roman
   - N ::  NewCenturySchlbk-Bold
   - o :   Courier-Oblique
   - O ::  Courier-BoldOblique
   - p :   Palatino-Roman
   - P ::  Palatino-Bold
   - s :   Helvetica-Oblique
   - S ::  Helvetica-BoldOblique
   - t :   Times-Roman
   - T ::  Times-Bold
   - z :   ZapfChancery
   - Z ::  ZapfChancery-Bold

    dcl ǽ񤫤줿ʸ PS եȤѴ. 󥪥ץ󤬤
    , եȤǤ. ץˤ, դ, դʸˤ
    б. ꥷʸϤ. ʸθϻ椬ĸ
    (Portrait)  (Landscape) ˤäƼưȽ̤. 

    sgtx[uvr], sgtxz[uvr] ǽ񤫤줿ʸˤ, ʸ 0 
    127 ʸʸ 128  255 ʸ򺮤ʣʸѤ
    ˤѴʤ.

    Adobe Illustrator 9.x ʹߤѤˤ Symbol եȤ
    SymbolMT եȤѹɬפ(ץ ai=1).

dclpsline : Υ(join,cap)ѹ
    usage : % dclpsline [lc=<0,1,2,b,r,p] [lj=<0,1,2,m,r,b>] [ml=<num>] <file>
   Options:
   +       lj : 0|m: miter join, 1|r: round join, 2|b: bevel join [0]
   +       ml : miterlimit for lj=0|m [10]
   +       lc : 0|b: butt cap,   1|r: round cap,  2|p: proj. square cap [0]

    Υ, ޤƬʸǻ.

dclpsmargin : PostScript ;Ĵ BoundingBox κ
    Usage: dclpsmargin [options]
      [options]
       -m margin        : ratio of border to real figure size (default: 0.05)
       -i infile[.ps]   : input file created by dcl. If not specified, the
                         standard input is used
       -o outfile[.eps] : output file. If not specified, the standard output
                         is used
       -h               : print this message

    TeX  dcl.ps ݤ, ;ʬ;ȤͭǤ.
    Ȥ dclpsrmcm ǥХå饦ɤĹȥʡޡ
    , θ dclpsmargin ;Υꤹ, ʬ
    ;ݤƻĤϺ, κȤ˱ BoundingBox κ
    Ԥ. ä TeX  graphics (뤤 graphicx) ѥå
    ˤ BoundingBox  trial and error ǹԤɬפʤ
    .

dclpsmerge : ʣڡοޤ1ڡ˽Ťͤ  
    usage : % dclpsmerge <file>..

   ʣΥեޤ1ĤΥեΰϢοޤŤ͹碌1
   ޤˤ.

dclpsnup : 1λʣΥڡ PostScript 

   GNU awk 
     usage : % dclpsnup -nup [-c] [-r] [-l] [-p] <file>...
         -nup: number of pages on one sheet
         -c:   column-major layout
         -r:   row-major layout
         -l:   landscape orientation
         -p:   portrait orientation

    nawk 
     usage : % dclpsnup nup=<number> [cmajor=1] [rmajor=1] 
                                     [landscape=1] [portrait=1] <file>...
         nup:       number of pages on one sheet
         cmajor:    if the value is 1, column-major layout
         rmajor:    if the value is 1, row-major layout
         landscape: if the value is 1, landscape orientation
         portrait:  if the value is 1, portrait orientation

    psutils  psnup ȤۤƱƯ򤹤륹ץȤǤ. ߤޤǤ
    Ȥ, 2-up(2x1), 4-up(2x2), 8-up(2x4), 9-up(3x3), 16-up(4x4),
    25-up(5x5) ޤбѤ.

dclpsrmcm : Хå饦, Ȥν      
    usage : % dclpsrmcm <file>

    Хå饦(̾), ͶΥʡޡ.

dclpsrot : 90ٲž                        
    usage : % dclpsrot <file>

    TeX ˼ʤɤΤ, ޤ 90ٲž.

dclpsselect : ڡ               
    usage : % dclpsselect [p=<page>,<page>...] [from=<page>] [to=<page>] <file>
   Options:
   +     from : select range of page from: [0]
   +       to : select range of page to: [0]
   +        p : select pages [0]

    1ĤΥեʣڡPSäƤ, 줫餢
    ʣΥڡ, ޤϤϰϤΥڡ򤹤. p ץ
    ꤹʣΥڡꥹȤϾǤʤФʤʤ.

dclpsseparate : ڡΥեʬ      
    usage : % dclpsseparate <file>

    1ĤΥեʣڡPSäƤ, 1ڡ
    ʤʣΥեʬ䤹. Ϥ, ե̾ XXX.ps ξ,
    XXX_001, XXX_002, ... Ȥʤ. 

dclpsunrot : 90ٲžundo                  
    usage : % dclpsunrot <file>

    dclpsrot 90ٲžޤ򸵤᤹.
