[Top][All Lists]

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

Re: Conversion of apostrophe in texi to PDF (was Re: Typos in LM)

From: Reinhold Kainhofer
Subject: Re: Conversion of apostrophe in texi to PDF (was Re: Typos in LM)
Date: Wed, 15 Oct 2008 18:33:26 +0200
User-agent: KMail/1.9.10

Hash: SHA1

Am Mittwoch, 15. Oktober 2008 schrieb Jonathan Kulp:
> Reinhold Kainhofer wrote:
> > It seems that texi2pdf replaces all single quotes by a smart right quote.
> > Even if you use it inside @code{c'}, you'll not get a ' but a curved one
> > :(
> I don't see how this is true,

It is true ;-)

> though, because there are many examples of 
> single quotes in the .pdf learning manual (for example) that are *not*
> smart quotes.  Look at section 2.1.1 on page 11, for example, where c'
> e' g' e' appear with nice straight single quotes. 

yes, that's because these examples do not use @code{...}, but rather 
@end example
blocks. Inside @example, smart quotes are note used, but all quotes inside 
@code{..} ARE replaced by smart quotes, if there is an alphabetic character 
before the quote.

See for example all the code blocks in the running text of section 2.1.4 in 
the LM (p. 18 of the PDF).

However, there seems to be some special setting for Lilypond's documentation, 
because inside the LilyPond documentat, @code{'} and @code{''} do not produce 
curly quotes. However, these are the only two constructs where it seems there 
is no smart quotes replacement. All other quotes inside @code do produce 
smart quotes....

Strangely, in a standalone texi document, @code{'} and @code{''} produce smart 

- -- 
- ------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden,
 * Financial and Actuarial Mathematics, TU Wien,
 * K Desktop Environment,, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien",
Version: GnuPG v1.4.6 (GNU/Linux)


reply via email to

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