[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff-commit] groff ChangeLog tmac/www.tmac
From: |
Werner LEMBERG |
Subject: |
[Groff-commit] groff ChangeLog tmac/www.tmac |
Date: |
Sat, 04 Oct 2008 06:23:08 +0000 |
CVSROOT: /cvsroot/groff
Module name: groff
Changes by: Werner LEMBERG <wl> 08/10/04 06:23:08
Modified files:
. : ChangeLog
tmac : www.tmac
Log message:
* tmac/www.tmac (TS, TE, EQ, EN): Don't use .als for setting up
default macros. This causes endless loops (at least for TE).
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/ChangeLog?cvsroot=groff&r1=1.1149&r2=1.1150
http://cvs.savannah.gnu.org/viewcvs/groff/tmac/www.tmac?cvsroot=groff&r1=1.55&r2=1.56
Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/groff/groff/ChangeLog,v
retrieving revision 1.1149
retrieving revision 1.1150
diff -u -b -r1.1149 -r1.1150
--- ChangeLog 4 Oct 2008 05:15:16 -0000 1.1149
+++ ChangeLog 4 Oct 2008 06:23:07 -0000 1.1150
@@ -4,6 +4,9 @@
\O[5] non-transparent w.r.t. beginning-of-line recognition (similar
to the other \O variants).
+ * tmac/www.tmac (TS, TE, EQ, EN): Don't use .als for setting up
+ default macros. This causes endless loops (at least for TE).
+
2008-10-03 Werner LEMBERG <address@hidden>
* src/devices/grops/grops.man, src/roff/troff/troff.man,
Index: tmac/www.tmac
===================================================================
RCS file: /cvsroot/groff/groff/tmac/www.tmac,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -b -r1.55 -r1.56
--- tmac/www.tmac 26 Jul 2008 19:38:04 -0000 1.55
+++ tmac/www.tmac 4 Oct 2008 06:23:08 -0000 1.56
@@ -1369,10 +1369,30 @@
.\"
.\" now set up TS, TE, EQ, EN default macros
.\"
-.do if !d TS .do als TS HTML-IMAGE\"
-.do if !d TE .do als TE HTML-IMAGE-END\"
-.do if !d EQ .do als EQ EQN-HTML-IMAGE\"
-.do if !d EN .do als EN EQN-HTML-IMAGE-END\"
+.\" we must not use `.als': the definition of .TE in s.tmac, for example,
+.\" calls .HTML-IMAGE-END, which would refer to itself due to the alias,
+.\" causing an endless loop
+.\"
+.if !d TS \{\
+. de TS
+. nop \\*[HTML-IMAGE]\\
+. .
+.\}
+.if !d TE \{\
+. de TE
+. nop \\*[HTML-IMAGE-END]\\
+. .
+.\}
+.if !d EQ \{\
+. de EQ
+. nop \\*[EQN-HTML-IMAGE]\\
+. .
+.\}
+.if !d EN \{\
+. de EN
+. nop \\*[EQN-HTML-IMAGE-END]\\
+. .
+.\}
.
.\" --------------------------------------------------------------------
.\" JOBNAME
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Groff-commit] groff ChangeLog tmac/www.tmac,
Werner LEMBERG <=