Re: [O] Directional quotes in html

2011-12-07 Thread Christian Moe
On 12/7/11 10:44 AM, Christer Boräng wrote: Does it handle possessive ' at the end of words ending with an "s" or "z" sound? Like "James' house"? Sure, but not because it cares what letter they end with, only because it turns any straight single quote that doesn't become an opening curly quot

Re: [O] Directional quotes in html

2011-12-07 Thread Christer Boräng
In message <4ede9d46.2020...@christianmoe.com>, Christian Moe writes: >The above now also handles single quotes, including apostrophes >between word characters ("it's"). The rule is that any single quote >that is not an opening quote is turned into a closing quote, which >works for apostrophes t

Re: [O] Directional quotes in html

2011-12-07 Thread Eric S Fraga
tycho garen writes: > On Tue, Dec 06, 2011 at 06:25:09PM +, Herbert Sitz wrote: >> In my exports to pdf standard double-quote and single-quote (apostrophe) >> characters both get translated to corresponding pairs of opening and closing >> quotes. But in export to html both double- and single

Re: [O] Directional quotes in html

2011-12-06 Thread Christian Moe
On 12/6/11 9:37 PM, Herbert Sitz wrote: Question: Does this work only if quotes both appear on the same line of Org-mode text? Or is the regex applied to paragraph as a whole after it's been assembled as part of export? Oops, that's embarrassing. I never even noticed. I'm not sure why it does

Re: [O] Directional quotes in html

2011-12-06 Thread Jambunathan K
tycho garen writes: > On Tue, Dec 06, 2011 at 06:25:09PM +, Herbert Sitz wrote: >> In my exports to pdf standard double-quote and single-quote (apostrophe) >> characters both get translated to corresponding pairs of opening and closing >> quotes. But in export to html both double- and single

Re: [O] Directional quotes in html

2011-12-06 Thread Herbert Sitz
tycho garen tychoish.com> writes: > > The directional quotes are processed by LaTeX and org have very little > to do with this. Ahh, thanks, I should have known that. > > > What is best way to get directional pairs of open- and close-quotes in html > > export? > > http://daringfireball.net/pr

Re: [O] Directional quotes in html

2011-12-06 Thread tycho garen
On Tue, Dec 06, 2011 at 06:25:09PM +, Herbert Sitz wrote: > In my exports to pdf standard double-quote and single-quote (apostrophe) > characters both get translated to corresponding pairs of opening and closing > quotes. But in export to html both double- and single-quotes seem to be same > i

Re: [O] Directional quotes in html

2011-12-06 Thread Herbert Sitz
Christian Moe christianmoe.com> writes: > > Hi, Herb, > > I keep this in my .emacs: > > (setq org-export-html-special-string-regexps >(cons > '(" \"\\([^\"]+\\)\"" . " “\\1”") > org-export-html-special-string-regexps)) > > There may be a better way to do it altogether,

Re: [O] Directional quotes in html

2011-12-06 Thread Christian Moe
On 12/6/11 7:25 PM, Herbert Sitz wrote: What is best way to get directional pairs of open- and close-quotes in html export? -- Herb Hi, Herb, I keep this in my .emacs: (setq org-export-html-special-string-regexps (cons '(" \"\\([^\"]+\\)\"" . " “\\1”") org-export-html-spe

[O] Directional quotes in html

2011-12-06 Thread Herbert Sitz
In my exports to pdf standard double-quote and single-quote (apostrophe) characters both get translated to corresponding pairs of opening and closing quotes. But in export to html both double- and single-quotes seem to be same in resulting html as they were in the org text, non-paired, non-directi