Re: [O] Dumbquotes in exported source listings

2011-05-01 Thread Ben Finney
Sébastien Vauban writes: > Nick Dokos wrote: > > Ben Finney wrote: > >> Nowadays with Unicode available ubiquitously we can simply use the > >> correct typographical quotation marks directly in the plain text > >> file, but TeX and some other legacy systems don't work very well > >> with Unicode

Re: [O] Dumbquotes in exported source listings

2011-05-01 Thread Nick Dokos
Sébastien Vauban wrote: > > AFAIK, TeX works fine with UTF8, given the defaults that org-mode export > > uses. > > What problems do you see? > > UTF-8 is correctly handled in LaTeX documents, but not in every environment: > Listings has problems, even if a Listings exist for UTF-8, and so for

Re: [O] Dumbquotes in exported source listings

2011-05-01 Thread Ben Finney
Nick Dokos writes: > Ben Finney wrote: > > > TeX and some other legacy systems don't work very well with Unicode. > > AFAIK, TeX works fine with UTF8, given the defaults that org-mode > export uses. To be clear, I don't have any issue with Org and Unicode (I've never exported an Org file to TeX

Re: [O] Dumbquotes in exported source listings

2011-05-01 Thread Sébastien Vauban
Hi Nick, Nick Dokos wrote: > Ben Finney wrote: >> Avdi Grimm writes: >> >> Nowadays with Unicode available ubiquitously we can simply use the >> correct typographical quotation marks directly in the plain text file, >> but TeX and some other legacy systems don't work very well with Unicode. I r

Re: [O] Dumbquotes in exported source listings

2011-05-01 Thread Nick Dokos
Ben Finney wrote: > Avdi Grimm writes: > > > ... > > ... > > Nowadays with Unicode available ubiquitously we can simply use the > correct typographical quotation marks directly in the plain text file, > but TeX and some other legacy systems don't work very well with Unicode. > AFAIK, TeX wor

Re: [O] Dumbquotes in exported source listings

2011-05-01 Thread Nick Dokos
Avdi Grimm wrote: > So I'm writing an eBook with lots of source code listings, using > org-mode-LaTeX->PDF with the "minted" package providing source code > highlighting. For the most part I'm really, really happy with the > toolchain; thank you to those that pointed me in the direction of > "min

Re: [O] Dumbquotes in exported source listings

2011-05-01 Thread Avdi Grimm
On Sat, Apr 30, 2011 at 11:13 PM, Ben Finney > Those aren't even “smart quotes” (the term usually applied to the quote > characters from Microsoft's standards-violating character set). Those > are what might be called “TeX quotes” (though the convention pre-dates > even TeX), since TeX uses ‘`’ for

Re: [O] Dumbquotes in exported source listings

2011-04-30 Thread Ben Finney
Avdi Grimm writes: > One issue: my beta reviewers have noted that when copy-and-pasting > source code listings that contain single-quoted strings, they are > getting "smart quotes"--i.e. the first quote is a backquote, the > second quote is a single quote. This breaks the pasted code. Those aren

[O] Dumbquotes in exported source listings

2011-04-30 Thread Avdi Grimm
So I'm writing an eBook with lots of source code listings, using org-mode-LaTeX->PDF with the "minted" package providing source code highlighting. For the most part I'm really, really happy with the toolchain; thank you to those that pointed me in the direction of "minted". One issue: my beta revi