From ripley at stats.ox.ac.uk  Wed Aug  8 13:13:15 2012
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Wed, 08 Aug 2012 12:13:15 +0100
Subject: [Rd] Straight-quotes for usage and examples sections in PDF
	docs?
In-Reply-To: <CAB+QPJB=otd+Pa=c9g42RDHrtGHGXzjPHoud+CZ-sXmo4-Oz0A@mail.gmail.com>
References: <CAB+QPJB=otd+Pa=c9g42RDHrtGHGXzjPHoud+CZ-sXmo4-Oz0A@mail.gmail.com>
Message-ID: <502249CB.7030904@stats.ox.ac.uk>

On 06/08/12 23:01, Mike Lawrence wrote:
> Is there any way to ensure that quotation marks are left as straight
> quotes and not converted to curly quotes in the \usage and \examples
> sections when the pdf versions of the docs are created?

They are not converted ... so there cannot be a way.

In standard terminology 'quotation marks' are ASCII/Unicode " , and that 
is what is in the PDF files (in so far as we can guess what you mean 
without an explicit example).  I have no idea what 'straight quotes' and 
'curly quotes' are in your lexicon, but how even ASCII characters are 
rendered depends on the fonts used.

The R pdf manuals by default use inconsolata, where quotation marks are 
somewhat italic.   We knew that when selecting inconsolata, but it was 
the best compromise of the feasible choices.  Chose something else it 
you prefer a different compromise.


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



[Rd] Straight-quotes for usage and examples sections in PDF docs?
Prof Brian Ripley