CVSROOT: /cvsroot/groff
Module name: groff
Changes by: Werner LEMBERG <wl> 06/06/13 05:41:53
Modified files:
. : ChangeLog
src/preproc/tbl: tbl.man
Log message:
* src/preproc/tbl/tbl.man: Add example for use of .TS/.TE within a
macro (as suggested by Tadziu Hoffmann).
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/ChangeLog?cvsroot=groff&r1=1.968&r2=1.969
http://cvs.savannah.gnu.org/viewcvs/groff/src/preproc/tbl/tbl.man?cvsroot=groff&r1=1.14&r2=1.15
Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/groff/groff/ChangeLog,v
retrieving revision 1.968
retrieving revision 1.969
diff -u -b -r1.968 -r1.969
--- ChangeLog 6 Jun 2006 16:49:39 -0000 1.968
+++ ChangeLog 13 Jun 2006 05:41:52 -0000 1.969
@@ -1,3 +1,8 @@
+2006-06-12 Werner LEMBERG <[EMAIL PROTECTED]>
+
+ * src/preproc/tbl/tbl.man: Add example for use of .TS/.TE within a
+ macro (as suggested by Tadziu Hoffmann).
+
2006-06-05 Werner LEMBERG <[EMAIL PROTECTED]>
* tmac/strip.sed: Strip `\#' also.
Index: src/preproc/tbl/tbl.man
===================================================================
RCS file: /cvsroot/groff/groff/src/preproc/tbl/tbl.man,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- src/preproc/tbl/tbl.man 13 Mar 2006 06:49:22 -0000 1.14
+++ src/preproc/tbl/tbl.man 13 Jun 2006 05:41:52 -0000 1.15
@@ -425,6 +425,39 @@
.BR 3 .
.
.
+.SH "GNU TBL WITHIN MACROS"
+Since
+.B @[EMAIL PROTECTED]
+defines its own macros (right before each table) it is necessary to use
+an `end-of-macro' macro. Additionally, the escape character has to be switched
+off. Here an example.
+.IP
+.B .eo
+.br
+.B .de ATABLE ..
+.br
+.B .TS
+.br
+.B allbox tab(;);
+.br
+.B cl.
+.br
+.B \[rs]$1;\[rs]$2
+.br
+.B .TE
+.br
+.B ...
+.br
+.B .ec
+.br
+.B .ATABLE A table
+.br
+.B .ATABLE Another table
+.br
+.B .ATABLE And \[dq]another one\[dq]
+.LP
+.
+.
.SH BUGS
You should use
.BR .TS\ H / .TH
_______________________________________________
Groff-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/groff-commit