* [ANN] Smart quotes in org-export.el
@ 2012-10-27 9:54 Nicolas Goaziou
2012-10-27 10:20 ` Bastien
2012-10-31 1:54 ` Michael Gauland
0 siblings, 2 replies; 5+ messages in thread
From: Nicolas Goaziou @ 2012-10-27 9:54 UTC (permalink / raw)
To: Org Mode List
Hello,
I've installed a smart quotes module in org-export.el (new exporter). It
is off by default. You can turn it on globally with
`org-export-with-smart-quotes' variable, or locally with:
#+OPTIONS: ':t
For now it includes quotes for de, en, es and fr languages only. If you
want to help completing it, you can improve
`org-export-smart-quotes-alist' defconst.
Also, it isn't perfect (which smart quote module is?) so, in the long
run, it may be required to tweak `org-export-smart-quotes-regexps'
defconst.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ANN] Smart quotes in org-export.el
2012-10-27 9:54 [ANN] Smart quotes in org-export.el Nicolas Goaziou
@ 2012-10-27 10:20 ` Bastien
2012-10-31 1:54 ` Michael Gauland
1 sibling, 0 replies; 5+ messages in thread
From: Bastien @ 2012-10-27 10:20 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: Org Mode List
Nicolas Goaziou <n.goaziou@gmail.com> writes:
> #+OPTIONS: ':t
I like this option, the choice of "'" is quite smart indeed!
Thanks for implementing this,
--
Bastien
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ANN] Smart quotes in org-export.el
2012-10-27 9:54 [ANN] Smart quotes in org-export.el Nicolas Goaziou
2012-10-27 10:20 ` Bastien
@ 2012-10-31 1:54 ` Michael Gauland
2012-10-31 12:23 ` Nicolas Goaziou
1 sibling, 1 reply; 5+ messages in thread
From: Michael Gauland @ 2012-10-31 1:54 UTC (permalink / raw)
To: emacs-orgmode
Nicolas Goaziou <n.goaziou <at> gmail.com> writes:
>
> Hello,
>
> I've installed a smart quotes module in org-export.el (new exporter). It
> is off by default. You can turn it on globally with
> `org-export-with-smart-quotes' variable, or locally with:
>
> #+OPTIONS: ':t
I thought I'd give this a try, but when I try to export the file below (to HTML
or LaTeX), I get an error:
org-export-activate-smart-quotes: Wrong type argument: numberp, nil
If I disable the option, the export works (but without smart quotes, of course).
Regards,
Mike
------- example -------
#+OPTIONS: ':t
This is a 'test' "file".
* Headline with 'quotes'
** Subheading with "quotes".
This is "some" 'text'.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ANN] Smart quotes in org-export.el
2012-10-31 1:54 ` Michael Gauland
@ 2012-10-31 12:23 ` Nicolas Goaziou
2012-11-01 0:11 ` Michael Gauland
0 siblings, 1 reply; 5+ messages in thread
From: Nicolas Goaziou @ 2012-10-31 12:23 UTC (permalink / raw)
To: Michael Gauland; +Cc: emacs-orgmode
Hello,
Michael Gauland <mikelygee@no8wireless.co.nz> writes:
> I thought I'd give this a try, but when I try to export the file below (to HTML
> or LaTeX), I get an error:
>
> org-export-activate-smart-quotes: Wrong type argument: numberp, nil
Fixed. Thank you for testing this feature and reporting back errors.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ANN] Smart quotes in org-export.el
2012-10-31 12:23 ` Nicolas Goaziou
@ 2012-11-01 0:11 ` Michael Gauland
0 siblings, 0 replies; 5+ messages in thread
From: Michael Gauland @ 2012-11-01 0:11 UTC (permalink / raw)
To: emacs-orgmode
Nicolas Goaziou <n.goaziou <at> gmail.com> writes:
> Fixed. Thank you for testing this feature and reporting back errors.
Thanks for the fix. I've verified it works on both emacs 23 (the debian
package), and NTemacs (24).
Kind Regards,
Mike
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-11-01 0:11 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-27 9:54 [ANN] Smart quotes in org-export.el Nicolas Goaziou
2012-10-27 10:20 ` Bastien
2012-10-31 1:54 ` Michael Gauland
2012-10-31 12:23 ` Nicolas Goaziou
2012-11-01 0:11 ` Michael Gauland
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).