/
usr
/
share
/
groff
/
1.22.4
/
tmac
/
/usr/share/groff/1.22.4/tmac
mkdir
upload
Name
Size
Mode
Actions
mdoc/
-
0755
rm
an-ext.tmac
3788
0644
edit
dl
rm
an-old.tmac
14662
0644
edit
dl
rm
an.tmac
313
0644
edit
dl
rm
andoc.tmac
2654
0644
edit
dl
rm
composite.tmac
805
0644
edit
dl
rm
cp1047.tmac
2453
0644
edit
dl
rm
cs.tmac
4836
0644
edit
dl
rm
de.tmac
5133
0644
edit
dl
rm
den.tmac
1226
0644
edit
dl
rm
devtag.tmac
3830
0644
edit
dl
rm
doc-old.tmac
36571
0644
edit
dl
rm
doc.tmac
86638
0644
edit
dl
rm
eqnrc
1427
0644
edit
dl
rm
europs.tmac
1689
0644
edit
dl
rm
fallbacks.tmac
1416
0644
edit
dl
rm
fr.tmac
5560
0644
edit
dl
rm
hyphen.cs
21437
0644
edit
dl
rm
hyphen.den
160078
0644
edit
dl
rm
hyphen.det
160909
0644
edit
dl
rm
hyphen.fr
28215
0644
edit
dl
rm
hyphen.sv
34834
0644
edit
dl
rm
hyphen.us
28121
0644
edit
dl
rm
hyphenex.cs
505
0644
edit
dl
rm
hyphenex.us
21756
0644
edit
dl
rm
ja.tmac
1934
0644
edit
dl
rm
latin1.tmac
2272
0644
edit
dl
rm
latin2.tmac
2362
0644
edit
dl
rm
latin5.tmac
2279
0644
edit
dl
rm
latin9.tmac
2272
0644
edit
dl
rm
man.tmac
58
0644
edit
dl
rm
mandoc.tmac
61
0644
edit
dl
rm
mdoc.tmac
57
0644
edit
dl
rm
papersize.tmac
4332
0644
edit
dl
rm
pdfpic.tmac
3758
0644
edit
dl
rm
pic.tmac
139
0644
edit
dl
rm
ps.tmac
20577
0644
edit
dl
rm
psatk.tmac
1102
0644
edit
dl
rm
psold.tmac
1828
0644
edit
dl
rm
pspic.tmac
4998
0644
edit
dl
rm
safer.tmac
218
0644
edit
dl
rm
sv.tmac
4403
0644
edit
dl
rm
trans.tmac
4802
0644
edit
dl
rm
troffrc
1642
0644
edit
dl
rm
troffrc-end
1167
0644
edit
dl
rm
tty-char.tmac
5824
0644
edit
dl
rm
tty.tmac
1882
0644
edit
dl
rm
unicode.tmac
93
0644
edit
dl
rm
www.tmac
40923
0644
edit
dl
rm
zh.tmac
1729
0644
edit
dl
rm
Edit:
/usr/share/groff/1.22.4/tmac/devtag.tmac
(3830B)
.ig 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. ------------------------------------------------------------------------ Legalese ------------------------------------------------------------------------ This file is part of groff, the GNU roff type-setting system. Copyright (C) 2004-2018 Free Software Foundation, Inc. written by Gaius Mulley <gaius@glam.ac.uk>. groff is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. groff is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. ------------------------------------------------------------------------ Description ------------------------------------------------------------------------ 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 generalizes the tag concept used within grohtml and in the future it is hoped that more markup based devices 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> .\" .\" Emit a tag <name> .\" .de DEVTAG . tag devtag:\\$* .. .\" -------------------------------------------------------------------- .\" DEVTAG-NEXT <name> .\" .\" When the troff state changes, emit tag <name> .\" .de DEVTAG-NEXT . taga devtag:\\$* .. . .\" -------------------------------------------------------------------- .\" SH <level> .\" NH <level> .\" tell device we are starting a numbered heading .\" Takes a single parameter <level>. <level> 1 .\" is the outer most level. . .de DEVTAG-NH . DEVTAG ".NH \\$1" .. .als DEVTAG-SH DEVTAG-NH . .\" -------------------------------------------------------------------- .\" COL <n> .\" indicate that the following text is aligned for the column <n> .\" n: [1..MAX(n)] . .de DEVTAG-COL . DEVTAG ".col \\$1" .. . .\" -------------------------------------------------------------------- .\" EO-H .\" indicate that a header has finished. . .de DEVTAG-EO-H . DEVTAG ".eo.h" .. .\" -------------------------------------------------------------------- .\" EO-TL .\" indicate that a title has finished. . .de DEVTAG-EO-TL . DEVTAG ".eo.tl" .. .\" -------------------------------------------------------------------- .\" TL .\" indicate that the following text forms a title. . .de DEVTAG-TL . DEVTAG ".tl" .. . .\" -------------------------------------------------------------------- .\" COL-NEXT <n> .\" emit a column tag just before the next glyph. . .de DEVTAG-COL-NEXT . DEVTAG-NEXT ".col \\$1" .. . . .cp \n[_C] . . .\" ==================================================================== .\" Editor settings .\" ==================================================================== . .\" Local Variables: .\" mode: nroff .\" fill-column: 72 .\" End: .\" vim: set filetype=groff textwidth=72:
Save
cmd:
run