Hello,

I am writing a package using the GNU build system
<http://en.wikipedia.org/wiki/GNU_build_system>. The documentation hence is
in the texinfo <http://www.gnu.org/software/texinfo/> format. As a result,
executing make converts the texinfo file into the info format, and
executing make pdf automatically produces a pdf file.

In the texinfo file, I have something like this:

@verbatim
awk '{...}' data.txt
@end verbatim

However, in the pdf, the "basic" single quotes (U+0027
<http://www.fileformat.info/info/unicode/char/27/index.htm>) in the awk
command above are transformed into "curvy" single quotes (U+2019
<http://www.fileformat.info/info/unicode/char/2019/index.htm>) so that, if
one does a copy-paste of the command from the pdf into a terminal, bash
complains ("syntax error"). This forces the user to edit the command he
just copy-pasted. Same problem occurs if I replace @verbatim
<http://www.gnu.org/software/texinfo/manual/texinfo/texinfo.html#g_t_0040verbatim>
by @example
<http://www.gnu.org/software/texinfo/manual/texinfo/texinfo.html#g_t_0040example>.
I searched the texinfo manual
<http://www.gnu.org/software/texinfo/manual/texinfo/texinfo.html> but
couldn't find a way to specify apostrophes. I am using texinfo version 5.2.

What should I do? Thanks for any advice.

ps: I posted yesterday the question on SO
<http://stackoverflow.com/questions/24233625/in-texinfo-how-to-specify-a-bash-single-quote>
but no answer (yet)

Reply via email to