summaryrefslogtreecommitdiff
path: root/tmac/devtag.tmac
diff options
context:
space:
mode:
authorwl <wl>2004-12-18 08:09:39 +0000
committerwl <wl>2004-12-18 08:09:39 +0000
commit4facce0851ecfeb86750cb0db0b03cbdc9ed3850 (patch)
treedc0319f04afb1672ae9bfae921aaa92902bded94 /tmac/devtag.tmac
parent769e8a9f3c35bfc4840270e188ea9c3cf937aceb (diff)
downloadgroff-4facce0851ecfeb86750cb0db0b03cbdc9ed3850.tar.gz
* tmac/devtag.tmac: Protect against loading twice.
Protect agains compatibility mode. * tmac/www.tmac: Protect against loading twice. Load `devtag.tmac' before switching off compatibility mode. * tmac/an-old.tmac, tmac/s.tmac: Load `devtag.tmac'.
Diffstat (limited to 'tmac/devtag.tmac')
-rw-r--r--tmac/devtag.tmac24
1 files changed, 16 insertions, 8 deletions
diff --git a/tmac/devtag.tmac b/tmac/devtag.tmac
index 22ea976d..cf04d8cd 100644
--- a/tmac/devtag.tmac
+++ b/tmac/devtag.tmac
@@ -1,5 +1,5 @@
.ig
-www.tmac - macro package for adding HTML elements to roff documents.
+devtag.tmac - macro package for adding tags to roff documents.
File position: <groff_source_top>/tmac/devtag.tmac
Installed position: groff's main macro directory.
@@ -35,16 +35,20 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
A simple set of macros to provide markup devices (currently only grohtml)
with tags that define the meaning of the formatted text and also
-basic formatting instructions. It generalises the tag concept used within
+basic formatting instructions. It generalizes the tag concept used within
grohtml and in the future it is hoped that more markup based devices
-can capitalise on this work. It also clearly defines those tags which are
-honoured by grohtml. Note that not all tags are included here. Some
-of the grohtml specific tags (header specific and jobname etc) are
-called directly from within www.tmac. The tags defined here are
-reasonably generic and could be applied to the -Tdoc device when it
-is written.
+can capitalize on this work. It also clearly defines those tags which are
+honoured by grohtml. Note that not all tags are included here. Some
+of the grohtml specific tags (header specific and jobname, etc.) are
+called directly from within www.tmac. The tags defined here are
+reasonably generic and could be applied to other devices.
..
.
+.do if d DEVTAG-NH .nx
+.
+.nr _C \n(.C
+.cp 0
+.
.\" --------------------------------------------------------------------
.\" DEVTAG <name>
.\"
@@ -113,6 +117,10 @@ is written.
. DEVTAG-NEXT ".col \\$1"
..
.
+.
+.cp \n[_C]
+.
+.
.\" --------------------------------------------------------------------
.\" Emacs settings
.\" --------------------------------------------------------------------