lilypond-devel
[Top][All Lists]
Advanced

[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

-----BEGIN PGP SIGNED MESSAGE-----
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 
@example
....
@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 
quotes.

Cheers,
Reinhold
- -- 
- ------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFI9htbTqjEwhXvPN0RApUyAKDEkh2NfxcMKpSufPt9NgMx9rBApQCgqAHm
Na/1R1FUSPz4cDT+OJMyVyo=
=t/Ms
-----END PGP SIGNATURE-----




reply via email to

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