[gforth] / gforth / ds2texi.fs  

gforth: gforth/ds2texi.fs

Diff for /gforth/ds2texi.fs between version 1.6 and 1.7

version 1.6, Fri Sep 15 14:52:49 1995 UTC version 1.7, Sat Oct 7 17:38:11 1995 UTC
Line 9 
Line 9 
   
 script? [IF]  script? [IF]
 warnings off  warnings off
 include search-order.fs  require search-order.fs
 include struct.fs  require float.fs
 include debugging.fs  require struct.fs
   require debugging.fs
 [THEN]  [THEN]
   
 wordlist constant documentation  wordlist constant documentation
Line 72 
Line 73 
     drop ;      drop ;
   
 : print-short ( doc-entry -- )  : print-short ( doc-entry -- )
     >r ." @format" cr      >r
       ." @findex "
       r@ doc-name 2@ typetexi
       ."  @var{ " r@ doc-stack-effect 2@ type ."  }  "
       r@ doc-wordset 2@ type
       cr
       ." @format" cr
     ." @code{" r@ doc-name 2@ typetexi ." }       "      ." @code{" r@ doc-name 2@ typetexi ." }       "
     ." @i{" r@ doc-stack-effect 2@ type ." }       "      ." @i{" r@ doc-stack-effect 2@ type ." }       "
     r@ doc-wordset 2@ type ."        ``"      r@ doc-wordset 2@ type ."        ``"
     r@ doc-pronounciation 2@ type ." ''" cr ." @end format" cr      r@ doc-pronounciation 2@ type ." ''" cr ." @end format" cr
     ." @findex " r@ doc-name 2@ typetexi cr  
     rdrop ;      rdrop ;
   
 : print-doc ( doc-entry -- )  : print-doc ( doc-entry -- )
Line 85 
Line 91 
     r@ print-short      r@ print-short
     r@ doc-description 2@ dup 0<>      r@ doc-description 2@ dup 0<>
     if      if
         type ." @*" cr          ." @iftex" cr ." @vskip-3ex" cr ." @end iftex" cr
           type cr cr \ ." @ifinfo" cr ." @*" cr ." @end ifinfo" cr cr
     else      else
         2drop cr          2drop cr
     endif      endif
Line 133 
Line 140 
     drop rdrop ;      drop rdrop ;
   
 script? [IF]  script? [IF]
 include prims2x.fs  require prims2x.fs
 s" primitives.b" ' register-doc process-file  s" primitives.b" ' register-doc process-file
 require doc.fd  require doc.fd
 require crossdoc.fd  require crossdoc.fd


Generate output suitable for use with a patch program
Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help