Re: [O] Filter not working (org 8.0.3)

2013-09-05 Thread Roger Mason
Hello, On 09/05/2013 04:15 PM, Nicolas Goaziou wrote: #+LATEX_HEADER: \usepackage[right=2in,left=0.5in]{geometry} #+LATEX_HEADER: \usepackage{parskip} * Setup :noexport: #+BEGIN_SRC emacs-lisp :exports both (defun marg

[O] Filter not working (org 8.0.3)

2013-09-05 Thread Roger Mason
Hello, I have this at the top of an org file in order to put graphics in the margin: #+LATEX_HEADER: \usepackage[right=2in,left=0.5in]{geometry} \usepackage{parskip} #+BEGIN_SRC emacs-lisp (defun margin-graphics (contents backend info) (when (eq backend 'latex) (replace-regexp-in-stri

Re: [O] Filter not working (org 8.0.3)

2013-09-05 Thread Nicolas Goaziou
Roger Mason writes: > Unfortunately, :exports both does not make any difference. Looking at > the generated LaTeX file I see that it contains: > > \begin{verbatim} > (defun margin-graphics (contents backend info) > (when (eq backend 'latex) > (replace-regexp-in-string "\\`includegraphi

Re: [O] Filter not working (org 8.0.3)

2013-09-05 Thread Roger Mason
Hello, On 09/05/2013 04:39 PM, Nicolas Goaziou wrote: In this case, you need to remove "\\`" from your regexp. Regards, That fixed it. Many thanks. Roger This electronic communication is governed by the terms and conditions at http://www.mun.ca/cc/policies/electronic_communications_disclaime

Re: [O] Filter not working (org 8.0.3)

2013-09-05 Thread Nicolas Goaziou
Roger Mason writes: > On 09/05/2013 04:15 PM, Nicolas Goaziou wrote: >> #+LATEX_HEADER: \usepackage[right=2in,left=0.5in]{geometry} >>#+LATEX_HEADER: \usepackage{parskip} >> >>* Setup >> :noexport: >>#+BEGIN_SRC emacs-li

Re: [O] Filter not working (org 8.0.3)

2013-09-05 Thread Roger Mason
Hello again, On 09/05/2013 01:48 PM, Nicolas Goaziou wrote: Hello, Roger Mason writes: I have this at the top of an org file in order to put graphics in the margin: #+LATEX_HEADER: \usepackage[right=2in,left=0.5in]{geometry} \usepackage{parskip} #+BEGIN_SRC emacs-lisp (defun margin-graphic

Re: [O] Filter not working (org 8.0.3)

2013-09-05 Thread Nicolas Goaziou
Hello, Roger Mason writes: > I have this at the top of an org file in order to put graphics in the > margin: > > #+LATEX_HEADER: \usepackage[right=2in,left=0.5in]{geometry} > \usepackage{parskip} > > #+BEGIN_SRC emacs-lisp > (defun margin-graphics (contents backend info) >(when (eq backend