]> Savannah Git Hosting - gnulib.git/commitdiff
doc: fix curved quotes issue
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 6 Dec 2020 01:33:29 +0000 (17:33 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 6 Dec 2020 01:35:35 +0000 (17:35 -0800)
* 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
doc/gnulib.texi

index d07d9687885753fdc52df412db847d1f39730c23..5378f177a360394b6b12a7aae6f5c1cfe142c1c8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2020-12-05  Paul Eggert  <eggert@cs.ucla.edu>
 
+       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.
index 0620118bf5731beebf56519c90635c511a7b3b95..bddb80624b0961f435dfc906829881a6813ed369 100644 (file)
@@ -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