Re: [O] [ANN] Smart quotes in org-export.el

2012-10-31 Thread Nicolas Goaziou
Hello,

Michael Gauland mikely...@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



Re: [O] [ANN] Smart quotes in org-export.el

2012-10-31 Thread Michael Gauland
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





Re: [O] [ANN] Smart quotes in org-export.el

2012-10-30 Thread Michael Gauland
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'.





[O] [ANN] Smart quotes in org-export.el

2012-10-27 Thread Nicolas Goaziou
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



Re: [O] [ANN] Smart quotes in org-export.el

2012-10-27 Thread Bastien
Nicolas Goaziou n.goaz...@gmail.com writes:

   #+OPTIONS: ':t

I like this option, the choice of ' is quite smart indeed!

Thanks for implementing this,

-- 
 Bastien