From 0fcd7c693a775e3313ed3e84ff3acf3dc2c3686b Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 5 Dec 2020 17:33:29 -0800 Subject: [PATCH 2/2] doc: fix curved quotes issue * doc/gnulib.texi: Set txicodequoteundirected and txicodequotebacktick so that ` and ' in examples do not generate curved single quotes that do the wrong thing when cut and pasted. --- ChangeLog | 5 +++++ doc/gnulib.texi | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/ChangeLog b/ChangeLog index d07d96878..5378f177a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2020-12-05 Paul Eggert + doc: fix curved quotes issue + * doc/gnulib.texi: Set txicodequoteundirected and + txicodequotebacktick so that ` and ' in examples do not generate + curved single quotes that do the wrong thing when cut and pasted. + doc: mention static and dynamic checking * doc/gnulib-readme.texi (High Quality): Add a bit of advice for static and dynamic checking. diff --git a/doc/gnulib.texi b/doc/gnulib.texi index 0620118bf..bddb80624 100644 --- a/doc/gnulib.texi +++ b/doc/gnulib.texi @@ -2,6 +2,14 @@ @comment %**start of header @setfilename gnulib.info @settitle GNU Gnulib +@c These two require Texinfo 5.0 or later, so we use the older +@c equivalent @set variables supported in 4.11 and hence +@ignore +@codequotebacktick on +@codequoteundirected on +@end ignore +@set txicodequoteundirected +@set txicodequotebacktick @c Define a new index for the magic constants in regex.texi. @defcodeindex cn @syncodeindex fn cp -- 2.27.0