help-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-texinfo] Re: backticks in verbatim code snippets


From: Karl Berry
Subject: Re: [help-texinfo] Re: backticks in verbatim code snippets
Date: Sat, 30 Sep 2006 14:00:59 -0500

Hi John,

    show up as actual backquote characters?

There is no easy way at present (no one has ever wanted it before).  The
grave accent is in the font (cmtt10), but it's at position 012
(newline), so that's not going to help you enter it directly.

The lilypond folks wanted an option to replace *right* quotes with
undirected quotes for cutting and pasting in some viewers, which I
implemented as a document-level option:
@set codequoteundirected

(This is a recent change, get the current ftp://tug.org/tex/texinfo.tex
if need be.)

I could do something similar for left quotes vs. backticks, I suppose.
(If you know TeX, maybe you could make the patch?)

May I ask what manual this is for?  Just curious.

    Also, when copying pasting code snippets into Texinfo docs, are there
    any other special characters to watch out for? 

The above is all that comes to mind -- if you prefer grave accent to
left quote, you may prefer undirected quote to right quote, too.

    @, {, and } all seem to work fine.

Those are all the special characters in Texinfo.

    As an aside, I just noticed that at the end of section 14.1.2 in the
    pdf version of the Texinfo manual there are 3 extra p's at the end of
    the last sentence.

Thanks, I deleted them.

Best,
karl




reply via email to

[Prev in Thread] Current Thread [Next in Thread]