[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.143.1.161: ~ $
.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, 2009, 2010 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]
.
.
.\" --------------------------------------------------------------------
.\" Emacs settings
.\" --------------------------------------------------------------------
.
.\" Local Variables:
.\" mode: nroff
.\" End:
.\" EOF

Filemanager

Name Type Size Permission Actions
mdoc Folder 0755
an-ext.tmac File 3.42 KB 0644
an-old.tmac File 13.99 KB 0644
an.tmac File 35 B 0644
andoc.tmac File 1.82 KB 0644
composite.tmac File 537 B 0644
cp1047.tmac File 2.12 KB 0644
cs.tmac File 4.46 KB 0644
de.tmac File 4.49 KB 0644
den.tmac File 1016 B 0644
devtag.tmac File 3.69 KB 0644
doc-old.tmac File 35.44 KB 0644
doc.tmac File 72.08 KB 0644
eqnrc File 1.37 KB 0644
europs.tmac File 1.63 KB 0644
fallbacks.tmac File 1.33 KB 0644
fr.tmac File 5.17 KB 0644
html-end.tmac File 418 B 0644
html.tmac File 16.02 KB 0644
hyphen.cs File 20.73 KB 0644
hyphen.den File 37.47 KB 0644
hyphen.det File 36.43 KB 0644
hyphen.fr File 27.35 KB 0644
hyphen.sv File 33.77 KB 0644
hyphen.us File 27.21 KB 0644
hyphenex.cs File 291 B 0644
hyphenex.det File 118.13 KB 0644
hyphenex.us File 15.31 KB 0644
ja.tmac File 1.66 KB 0644
latin1.tmac File 2.2 KB 0644
latin2.tmac File 2.29 KB 0644
latin5.tmac File 2.2 KB 0644
latin9.tmac File 2.2 KB 0644
man.tmac File 36 B 0644
mandoc.tmac File 39 B 0644
mdoc.tmac File 35 B 0644
papersize.tmac File 3.97 KB 0644
pic.tmac File 117 B 0644
ps.tmac File 20.07 KB 0644
psatk.tmac File 1.05 KB 0644
psold.tmac File 1.76 KB 0644
pspic.tmac File 4.62 KB 0644
safer.tmac File 196 B 0644
sv.tmac File 4.04 KB 0644
trans.tmac File 4.44 KB 0644
troffrc File 1.35 KB 0644
troffrc-end File 1.12 KB 0644
tty-char.tmac File 5.06 KB 0644
tty.tmac File 1.52 KB 0644
unicode.tmac File 71 B 0644
www.tmac File 39.77 KB 0644