NetBSD/gnu/dist/groff/tmac/lbp.tmac
wiz 48af41221f Import groff-1.19.1. Changes since 1.19:
Groff
-----

o The argument of the command line option `-I' is now also passed to troff
  and grops, specifying a directory to search for files on the command line,
  files named in `so' and `psbb' requests, and files named in \X'ps: file'
  and \X'ps: import' escapes.

o If option `-V' is used more than once, the commands will be both printed
  on standard error and run.

Troff
-----

o Two new read-only, string-valued registers `.m' and `.M' return the
  name of the current drawing and background color, respectively.

o New read-only register `.U' which is set to 1 if in safer mode and set
  to 0 if in unsafe mode.

o An input encoding file for latin-5 (a.k.a. ISO 8859-9) has been added.
  Example use:

    groff -Tdvi -mlatin5 my_file > my_file.dvi

  Note that some output devices don't support all glyphs of this encoding.

o If the `return' request is called with an argument, it exits twice,
  namely the current macro and the macro one level higher.  This is
  used to define a wrapper macro for `return' in trace.tmac.

o For completeness, two new requests have been added: `dei1' and `ami1'.
  They are equivalent to `dei' and `ami', respectively, but the macros
  are executed with compatibility mode off (similar to `de1' and `am1').

o New command line option `-I' to specify a directory for files (both
  those on the command line and those named in `psbb' requests).  This is
  also handled by the groff wrapper program.

o Since version 1.19 you can say `.vs 0'.  Older versions emit a warning
  and convert this to `.vs \n[.V]'.

  This hasn't been documented properly.  Note that `.vs 0' isn't saved in a
  diversion since it doesn't result in vertical motion.

Pic
___

o Dashed and dotted ellipses have been implemented.

Tbl
---

o New key character `x' to make tbl call a user-defined macro on a table
  cell.  Patch by Heinz-Jürgen Oertel <hj.oertel@surfeu.de>.

Grohtml
-------

o New option `-j' to emit output splitted into multiple files.

Grops
-----

o New command line option `-I' to specify a directory to search for files
  on the command line and files named in \X'ps: import' and \X'ps: file'
  escapes.  This is also handled by the groff wrapper program.

o The default value for the `broken' keyword in the DESC file is now 0.

Grolj4
------

o A new man page `lj4_font(5)' documents how fonts are accessed with
  grolj4.

o The built-in fonts for LJ4 and newer PCL 5 devices have been completely
  revised, mainly to access as much glyphs as possible.  The provided
  metric files should be compatible with recent PCL 5 printers also.
  Additionally, font description files have been added for the Arial and
  Times New Roman family, the MS symbol, and Wingdings fonts.

Hpftodit
--------

o Completely revised to handle HP TrueType metric files also.  See the
  hpftodit manual page for more details.

Macro Packages
--------------

o www.tmac: New macro `JOBNAME' to split output into multiple files.

o In mdoc, multiple calls to `.Lb' are now supported in the LIBRARY
  section.
2004-07-30 14:44:08 +00:00

95 lines
2.1 KiB
Plaintext

.\" lbp.tmac
.\"
.nr _C \n(.C
.cp 0
.
.ftr CW CR
.ftr C CR
.ftr CO CI
.ftr H HR
.ftr HO HI
.ftr HX HBI
.ftr Hr HNR
.ftr Hi HNI
.ftr Hb HNB
.ftr Hx HNBI
.ftr EBI EI
.ftr CBI CI
.
.fchar \[fi] fi
.fchar \[fl] fl
.fchar \[ff] ff
.fchar \[Fi] f\[fi]
.fchar \[Fl] f\[fl]
.fchar \[OE] OE
.fchar \[oe] oe
.fchar \[IJ] IJ
.fchar \[ij] ij
.fchar \[.i] i
.fchar \[lq] ``
.fchar \[rq] ''
.fchar \[fo] \v'-.1m'\s-3<\s+3\v'+.1m'
.fchar \[fc] \v'-.1m'\s-3>\s+3\v'+.1m'
.fchar \[em] \v'-.25m'\h'.05m'\D'l .9m 0'
.
.char \[or] \h'.1m'\Z'\D'l 0 -.675m''\h'.1m'
.
.\" This is designed so that \[ul], \[rn], and \[br] form corners.
.char \[br] \Z'\v'.25m'\D'R .04m -1m''
.char \[rn] \Z'\v'-.77m'\D'R .54m .04m''\h'.5m'
.char \[ul] \Z'\v'.23m'\D'R .54m .04m''\h'.5m'
.
.char \[ru] \Z'\v'-.02m'\D'R .54m .04m''\h'.5m'
.
.fchar \[|=] \v'.075m'\Z'\[mi]'\v'-.15m'\[ap]\v'.075m'
.
.de lbp-achar
. \" Note that character definitions are always interpreted with
. \" compatibility mode off.
. fchar \\$1 \
\\$3\
\k[acc]\
\h'(u;-\w'\\$2'-\w'\\$3'/2+\\En[skw]+(\w'x'*0)-\\En[skw])'\
\v'(u;\w'x'*0+\\En[rst]+(\w'\\$3'*0)-\\En[rst])'\
\\$2\
\v'(u;\w'x'*0-\\En[rst]+(\w'\\$3'*0)+\\En[rst])'\
\h'|\\En[acc]u'
. hcode \\$1\\$4
..
.
.lbp-achar \['A] \' A a
.lbp-achar \[`A] \` A a
.lbp-achar \[^A] ^ A a
.lbp-achar \['C] \' C c
.lbp-achar \['c] \' c c
.lbp-achar \[`E] \` E e
.lbp-achar \[:E] \[ad] E e
.lbp-achar \[^E] ^ E e
.lbp-achar "\[G ab]" \[ab] G g
.lbp-achar "\[g ab]" \[ab] g g
.lbp-achar \['I] \' I i
.lbp-achar \[`I] \` I i
.lbp-achar \[:I] \[ad] I i
.lbp-achar \[^I] ^ I i
.lbp-achar "\[I .]" \[a.] I i
.lbp-achar \['O] \' O o
.lbp-achar \[`O] \` O o
.lbp-achar \[^O] ^ O o
.lbp-achar \[~O] ~ O o
.lbp-achar \[~o] ~ o o
.lbp-achar \['U] \' U u
.lbp-achar \[`U] \` U u
.lbp-achar \[^U] ^ U u
.lbp-achar \['Y] \' Y y
.lbp-achar \['y] \' y y
.lbp-achar \[:Y] \[ad] Y y
.
.fchar \[S ,] \o'S\[ac]'
.hcode \[S ,]s
.fchar \[s ,] \o's\[ac]'
.hcode \[s ,]s
.
.cp \n(_C
.
.do mso latin1.tmac