[BACK]Return to before-Dd.out_ascii CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc / regress / roff / cond

File: [cvsweb.bsd.lv] / mandoc / regress / roff / cond / before-Dd.out_ascii (download)

Revision 1.2, Fri Feb 17 18:28:10 2017 UTC (7 years, 4 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_1, VERSION_1_13
Changes since 1.1: +1 -1 lines

Many people have been complaining for a long time that ``...'' looks
ugly in -Tascii output.  For that reason, bentley@ submitted patches
to render "..." instead to groff in November 2014 (yes, more than
two years ago).  Carsten Kunze yesterday merged them for the upcoming
groff-1.22.4 release.  Yay!

Consequently, do the same in mandoc: Render \(Lq and \(Rq (which
are used for .Do, .Dq, .Lb, and .St) as '"' in -Tascii output.
All other output modes including -Tutf8 remain unchanged.

IF-BEFORE-DD(1)             General Commands Manual            IF-BEFORE-DD(1)

NNAAMMEE
     iiff--bbeeffoorree--DDdd - end of if block on its own line before Dd

DDEESSCCRRIIPPTTIIOONN
     In an old version of mandoc(1), mdoc(7) file format autodetection failed
     when the end of an iiff block stood on its own line before the initial
     mdoc(7) DDdd macro.  The file was mishandled as man(7) and parsing failed
     with unknown macro errors.

     If the present document looks like a proper mdoc(7) document and the
     following display reads "mytext", then the problem did not come back:

           mytext

OpenBSD                          May 27, 2012                          OpenBSD