Implement the \*(.T predefined string (interpolate device name)
authorschwarze <schwarze@openbsd.org>
Thu, 16 Aug 2018 13:49:40 +0000 (13:49 +0000)
committerschwarze <schwarze@openbsd.org>
Thu, 16 Aug 2018 13:49:40 +0000 (13:49 +0000)
commit8138dde89f220e9b56e60d4274fe6546e3c891d7
tree2ce4d8fa86989dd80dc09f412121181295e07168
parentdb9d4034fd9ce4e83c6c70e4902373c4a742d6c6
Implement the \*(.T predefined string (interpolate device name)
by allowing the preprocessor to pass it through to the formatters.
Used for example by the groff_char(7) manual page.
12 files changed:
regress/usr.bin/mandoc/roff/string/Makefile
regress/usr.bin/mandoc/roff/string/dotT.in [new file with mode: 0644]
regress/usr.bin/mandoc/roff/string/dotT.out_ascii [new file with mode: 0644]
regress/usr.bin/mandoc/roff/string/dotT.out_html [new file with mode: 0644]
regress/usr.bin/mandoc/roff/string/dotT.out_markdown [new file with mode: 0644]
regress/usr.bin/mandoc/roff/string/dotT.out_utf8 [new file with mode: 0644]
usr.bin/mandoc/html.c
usr.bin/mandoc/mandoc.c
usr.bin/mandoc/mandoc.h
usr.bin/mandoc/mdoc_markdown.c
usr.bin/mandoc/roff.c
usr.bin/mandoc/term.c