2 @ devtag.tmac - macro package for adding tags to roff documents.
3 @ A simple set of macros to provide markup devices (currently only grohtml)
4 @ with tags that define the meaning of the formatted text and also
5 @ basic formatting instructions. It generalizes the tag concept used within
6 @ grohtml and in the future it is hoped that more markup based devices
7 @ can capitalize on this work. It also clearly defines those tags which are
8 @ honoured by grohtml. Note that not all tags are included here. Some
9 @ of the grohtml specific tags (header specific and jobname, etc.) are
10 @ called directly from within www.tmac. The tags defined here are
11 @ reasonably generic and could be applied to other devices.
13 Copyright (c) 2014 - 2015 Steffen (Daode) Nurpmeso <sdaoden@users.sf.net>.
15 Copyright (C) 2004 Free Software Foundation, Inc.
16 written by Gaius Mulley <gaius@glam.ac.uk>.
18 This is free software; you can redistribute it and/or modify it under
19 the terms of the GNU General Public License as published by the Free
20 Software Foundation; either version 2, or (at your option) any later
23 This is distributed in the hope that it will be useful, but WITHOUT
24 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
25 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
28 You should have received a copy of the GNU General Public License
29 along with groff; see the file COPYING. If not, write to the Free
30 Software Foundation, 51 Franklin St - Fifth Floor, Boston, MA
34 .do if d DEVTAG-NH .nx
46 .\" DEVTAG-NEXT <name>
48 .\" When the troff state changes, emit tag <name>
56 .\" tell device we are starting a numbered heading
57 .\" Takes a single parameter <level>. <level> 1
58 .\" is the outer most level.
63 .als DEVTAG-SH DEVTAG-NH
66 .\" indicate that the following text is aligned for the column <n>
74 .\" indicate that a header has finished.
80 .\" indicate that a title has finished.
86 .\" indicate that the following text forms a title.
93 .\" emit a column tag just before the next glyph.
96 . DEVTAG-NEXT ".col \\$1"