G. Branden Robinson e5b5757e64 tmac/tmac.an*: support lq, rq strings
The `lq` and `rq` strings are not a groffism, but _almost_ universally
portable to man(7) renderers.

They originate in 4BSD (1980).[1]  They entered Unix System V with SVR4
(1988 or 1989).[2]  mandoc(1) has supported them since its inception.[3]

* tmac/tmac.an:
* tmac/tmac.antimes: Do it.  Use U+201C and U+201D if the output device
  is "utf", otherwise define them as `` and ''.  Don't define them as
  `"` because that breaks when interpolating the strings in macro
  arguments.[4]

[1] https://minnie.tuhs.org/cgi-bin/utree.pl?file=4BSD/usr/lib/tmac/tmac.an.new
[2]
e68293af91/sysvr4/svr4/ucbcmd/troff/troff.d/tmac.d/an (L46)
[3] https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/mandoc/predefs.in?rev=1.1&content-type=text/x-cvsweb-markup
[4] https://www.gnu.org/software/groff/manual/groff.html.node/Calling-Macros.html

   "For the (neutral) double quote, you have recourse to an obscure
   syntactical feature of AT&T troff. ..."
2025-10-10 13:44:47 -04:00
2012-03-05 16:36:31 -05:00
2025-09-23 17:52:58 -04:00
2017-09-14 17:25:17 +02:00
2025-07-23 19:44:54 +00:00
2005-09-13 01:24:50 +00:00
2022-07-27 10:25:51 -04:00
2025-07-25 19:02:59 +00:00
2022-08-18 10:48:50 -04:00
2017-09-14 17:25:17 +02:00
2024-10-22 08:11:37 -04:00
2017-09-14 17:25:17 +02:00
2004-04-21 23:43:46 +00:00
2022-07-27 10:25:51 -04:00
2005-01-13 04:56:07 +00:00
2017-09-14 17:25:17 +02:00
2021-03-23 20:59:23 -04:00
2008-05-10 13:38:21 -04:00
2005-11-25 13:18:11 +00:00
2017-07-23 11:11:56 +00:00
2021-03-23 20:59:23 -04:00
2005-11-25 13:18:11 +00:00
2013-08-13 12:46:38 -04:00
2024-01-09 19:00:21 -05:00

This is a port of many Plan 9 libraries and programs to Unix.

Installation

To install, run ./INSTALL. It builds mk and then uses mk to run the rest of the installation.

For more details, see install(1), at install.txt in this directory and at https://9fans.github.io/plan9port/man/man1/install.html.

Documentation

See https://9fans.github.io/plan9port/man/ for more documentation. (Documentation is also in this tree, but you need to run a successful install first. After that, "9 man 1 intro".)

Intro(1) contains a list of man pages that describe new features or differences from Plan 9.

Helping out

If you'd like to help out, great!

If you port this code to other architectures, please share your changes so others can benefit.

Git

You can use Git to keep your local copy up-to-date as we make changes and fix bugs. See the git(1) man page here ("9 man git") for details on using Git.

Status

Github Actions Build Status Coverity Scan Build Status

Contact

Languages
C 91.6%
Roff 1.4%
C++ 1.3%
Yacc 1.2%
Shell 1.2%
Other 3%