From baptiste.auguie at gmail.com  Wed Aug  8 23:02:30 2012
From: baptiste.auguie at gmail.com (baptiste auguie)
Date: Wed, 8 Aug 2012 14:02:30 -0700
Subject: [Rd] Straight-quotes for usage and examples sections in PDF
	docs?
In-Reply-To: <502249CB.7030904@stats.ox.ac.uk>
References: <CAB+QPJB=otd+Pa=c9g42RDHrtGHGXzjPHoud+CZ-sXmo4-Oz0A@mail.gmail.com>
	<502249CB.7030904@stats.ox.ac.uk>
Message-ID: <CANLFJPpCPZdO3Qyvx=ZpV2nwCy68W7ubm0FLVKourvtkrmqA+w@mail.gmail.com>

There's a trivial variation named Inconsolata-dz,
http://nodnod.net/2009/feb/12/adding-straight-single-and-double-quotes-inconsola/
which I've used happily with XeTeX; maybe R can use it in place of the
original if you rename it Inconsolata, but that would presumably be
against the font licence.

baptiste

On 8 August 2012 04:13, Prof Brian Ripley <ripley at stats.ox.ac.uk> wrote:
> 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
>
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] Straight-quotes for usage and examples sections in PDF docs?
baptiste auguie