/[groff]/groff/tmac/www.tmac
ViewVC logotype

Diff of /groff/tmac/www.tmac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.31 by wlemb, Thu Jan 15 07:47:25 2004 UTC revision 1.32 by wl, Wed Oct 13 07:24:46 2004 UTC
# Line 104  www functionality.  It should work with Line 104  www functionality.  It should work with
104  .\" --------------------------------------------------------------------  .\" --------------------------------------------------------------------
105  .  .
106  .\" --------------------------------------------------------------------  .\" --------------------------------------------------------------------
107    .\" www:paraspace
108    .\"
109    .\" Space before paragraph. Use \n[PD] if it exists.
110    .\"
111    .nr www:pd 0.5v
112    .de www:paraspace
113    .  ie r PD .sp \\n[PD]u
114    .  el .sp \\n[www:pd]u
115    ..
116    .
117    .\"
118    .\" --------------------------------------------------------------------
119  .\" www:error (<test>...)  .\" www:error (<test>...)
120  .\"  .\"
121  .\" Print error message  .\" Print error message
# Line 260  www functionality.  It should work with Line 272  www functionality.  It should work with
272  .\"  .\"
273  .de HTML-NS  .de HTML-NS
274  .  if \\n[www-html] \  .  if \\n[www-html] \
275  .    nop \X^html:\\$*^\c  .    tag "html:\\$*
276    ..
277    .\"
278    .\" emit a HTML tag after shutting down a (possibly open) paragraph
279    .\"
280    .de HTML</p>
281    .  if \\n[www-html] \{\
282    .    \" the following line makes the vertical mode leave, so to say
283    .    nop \&
284    .    nop \X^html</p>:\\$*^
285    .  \}
286  ..  ..
287  .\" --------------------------------------------------------------------  .\" --------------------------------------------------------------------
288  .\" HX n  .\" HX n
# Line 403  www functionality.  It should work with Line 425  www functionality.  It should work with
425  .\"  .\"
426  .de HTML-TAG-NS  .de HTML-TAG-NS
427  .  if \\n[www-html] \  .  if \\n[www-html] \
428  .    nop \X^html-tag:\\$*^\c  .    tag html-tag:\\$*
429    ..
430    .\" --------------------------------------------------------------------
431    .\" HTML-TAG-NEXT
432    .\"
433    .\"   When the troff state changes, emit a tag for grohtml (without a space)
434    .\"   This is an internal macro.
435    .\"
436    .de HTML-TAG-NEXT
437    .  if \\n[www-html] \
438    .    taga html-tag:\\$*
439  ..  ..
440    .
441  .\" --------------------------------------------------------------------  .\" --------------------------------------------------------------------
442  .\" PIMG  [-R|-L|-C] filename [width] [height]  .\" PIMG  [-R|-L|-C] filename [width] [height]
443  .\"  .\"
# Line 634  www functionality.  It should work with Line 667  www functionality.  It should work with
667  .de HnE  .de HnE
668  .  if (\\n[www-heading-no] == -1) \  .  if (\\n[www-heading-no] == -1) \
669  .    www-error "HnE found without a corresponding HnS"  .    www-error "HnE found without a corresponding HnS"
670  .  br  .  HTML-TAG ".eo.h"
671  ..  ..
672  .\" --------------------------------------------------------------------  .\" --------------------------------------------------------------------
673  .\" LK  .\" LK
# Line 643  www functionality.  It should work with Line 676  www functionality.  It should work with
676  .\"   section/numbered headings at this position.  .\"   section/numbered headings at this position.
677  .\"  .\"
678  .de LK  .de LK
679  .  HTML-TAG ".links"  .    HTML-TAG ".links"
680  ..  ..
681  .\" --------------------------------------------------------------------  .\" --------------------------------------------------------------------
682  .\" HR  .\" HR
# Line 653  www functionality.  It should work with Line 686  www functionality.  It should work with
686  .de HR  .de HR
687  .  ie \\n[www-html] \{\  .  ie \\n[www-html] \{\
688  .    ti 0  .    ti 0
689  .    HTML-NS <hr>  .    HTML "<hr>"
690  .  \}  .  \}
691  .  el \  .  el \
692  .    sp  .    sp
# Line 671  www functionality.  It should work with Line 704  www functionality.  It should work with
704  .\" www-end-nowhere - end of input trap called to finish diversion.  .\" www-end-nowhere - end of input trap called to finish diversion.
705  .\"  .\"
706  .de www-end-nowhere  .de www-end-nowhere
707  .  di  .  if !\\n[www-html] .di
708    .  HTML-TAG ".eo.tl"
709  ..  ..
710  .\" --------------------------------------------------------------------  .\" --------------------------------------------------------------------
711  .\" HTL  .\" HTL
# Line 686  www functionality.  It should work with Line 720  www functionality.  It should work with
720  .\"  .\"
721  .de HTL  .de HTL
722  .  HTML-TAG ".html-tl"  .  HTML-TAG ".html-tl"
723  .  if !\\n[www-html] \{\  .  if !\\n[www-html] .di www-nowhere
724  .    di www-nowhere  .  it 2 www-end-nowhere
 .    it 2 www-end-nowhere  
 .  \}  
725  ..  ..
726  .  .
727  .\" --------------------------------------------------------------------  .\" --------------------------------------------------------------------
# Line 725  www functionality.  It should work with Line 757  www functionality.  It should work with
757  .de ULS  .de ULS
758  .  www-push-level  .  www-push-level
759  .  ie \\n[www-html] \  .  ie \\n[www-html] \
760  .    HTML "<ul>"  .    HTML</p> "<ul>"
761  .  el \{\  .  el \{\
762  .    if (\\n[www-level] == 1) \  .    if (\\n[www-level] == 1) \
763  .      nr www-depth \\n[.i]  .      nr www-depth \\n[.i]
# Line 739  www functionality.  It should work with Line 771  www functionality.  It should work with
771  .\"  .\"
772  .de ULE  .de ULE
773  .  ie \\n[www-html] \  .  ie \\n[www-html] \
774  .    HTML "</ul>"  .    HTML</p> "</ul>"
775  .  el \{\  .  el \{\
776  .    nr www-depth -\w'\\*[www-level\\n[www-level]]'u  .    nr www-depth -\w'\\*[www-level\\n[www-level]]'u
777  .    in \\n[www-depth]u  .    in \\n[www-depth]u
# Line 755  www functionality.  It should work with Line 787  www functionality.  It should work with
787  .  ie \\n[www-html] \  .  ie \\n[www-html] \
788  .    HTML "<li>"  .    HTML "<li>"
789  .  el \{\  .  el \{\
790    .    www:paraspace
791  .    in \\n[www-depth]u  .    in \\n[www-depth]u
792  .    ti -\w'\\*[www-level\\n[www-level]]'u  .    ti -\w'\\*[www-level\\n[www-level]]'u
793  .    nop \\*[www-level\\n[www-level]]\c  .    nop \\*[www-level\\n[www-level]]\c
# Line 890  www functionality.  It should work with Line 923  www functionality.  It should work with
923  .  HTML-TAG .job-name \\$1  .  HTML-TAG .job-name \\$1
924  ..  ..
925  .\" --------------------------------------------------------------------  .\" --------------------------------------------------------------------
926    .\" HEAD
927    .\"
928    .\"   Adds information to the <head> </head> section of the html
929    .\"   document
930    .\" --------------------------------------------------------------------
931    .de HEAD
932    .  HTML-TAG .head "\\$*"
933    ..
934    .\" --------------------------------------------------------------------
935  .\" Final Setup  .\" Final Setup
936  .\" --------------------------------------------------------------------  .\" --------------------------------------------------------------------
937  .  .

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26