Alternatively to what I just wrote (which is still going through the system):

There is a distinction between typewriter characters (what you type) and 
typographical characters (what you see.)  On my US keyboard, I have only one 
key for both opening and closing quotes.  Lyx, OpenOffice and Microsoft 
Office will display an opening quote correctly, but it is the same ASCII 
character in each case.  Apparently there are different Unicode characters, 
but LateX probably relies on ASCII.

If that is so, there is nothing that you can do about it.  However it prints, 
the code should work, anyway.

Doug.

On Tuesday 24 February 2009 9:23:16 am mario m wrote:
> Hi,
>
> I am trying to type some PHP code (within a listing command).
> On a pdflatex output, I get a Single quotation mark when I type an
> Apostrophe.
> Where should I  look at to fix it?
> Thanks
> Regards
> mario
>
> ps (bad cut&paste)
> http://unicode.org/charts/PDF/U0000.pdf
> 0027    APOSTROPHE
>        '
>        = apostrophe-quote (1.0)
>        = APL quote
>        • neutral (vertical) glyph with mixed
> usage
>        • 2019 ’ is preferred for apostrophe
>        • preferred characters in English for paired
>          quotation marks are 2018 ‘ & 2019 ’
>        → 02B9 ʹ modifier letter prime
>        → 02BC ʼ modifier letter apostrophe
>        → 02C8 ˈ modifier letter vertical line
>        → 0301 $́ combining acute accent
>        → 2032 ′ prime
>        → A78C ꞌ latin small letter saltillo
>
> http://unicode.org/charts/PDF/U2000.pdf
> 2018   LEFT SINGLE QUOTATION MARK


Reply via email to