Re: [O] [new exporter] ignoring a headline on export to PDF?via?latex

2013-03-10 Thread Suvayu Ali
Hi Charles, On Wed, Mar 06, 2013 at 07:11:48AM +, Charles Berry wrote: I added to org-hacks.org at the bottom of ** Exporting org files. I tried to push to worg but got a permission error - its been years since I last pushed anything, so something on my end probably needs to be updated.

Re: [O] [new exporter] ignoring a headline on export to PDF via latex

2013-03-06 Thread Eric S Fraga
Nicolas Goaziou n.goaz...@gmail.com writes: [...] Indeed, this won't work anymore: `org-latex-translate-alist' has been removed. The equivalent would just be to use a defadvice: #+begin_src emacs-lisp (defadvice org-latex-headline (around my-latex-skip-headlines

Re: [O] [new exporter] ignoring a headline on export to PDF via latex

2013-03-06 Thread Eric S Fraga
Charles Berry ccbe...@ucsd.edu writes: [...] If you just want the latex to have \section{} you can do this [...] Chuck, thanks for this. It makes sense and I will give it a try. This approach still does require creating a new backend. The implications of this are not clear to me but I

[O] [new exporter] ignoring a headline on export to PDF via latex

2013-03-05 Thread Eric S Fraga
Hello, I used to use the following to ignore a headline when exporting to PDF: #+begin_src emacs-lisp (defun my-e-latex-headline (headline contents info) (if (member ignoreheading (org-element-property :tags headline)) contents (org-latex-headline headline contents info))) (add-to-list

Re: [O] [new exporter] ignoring a headline on export to PDF via latex

2013-03-05 Thread Suvayu Ali
On Tue, Mar 05, 2013 at 02:43:30PM +, Eric S Fraga wrote: Hello, I used to use the following to ignore a headline when exporting to PDF: #+begin_src emacs-lisp (defun my-e-latex-headline (headline contents info) (if (member ignoreheading (org-element-property :tags headline))

Re: [O] [new exporter] ignoring a headline on export to PDF via latex

2013-03-05 Thread Eric S Fraga
Suvayu Ali fatkasuvayu+li...@gmail.com writes: [...] Try using your function with a filter. This filter might work: org-export-filter-headline-functions. Of course it goes without saying you will have to update your function. Thanks Suvayu. It is this update that I need help with! The

Re: [O] [new exporter] ignoring a headline on export to PDF via latex

2013-03-05 Thread Nick Dokos
Eric S Fraga e.fr...@ucl.ac.uk wrote: Suvayu Ali fatkasuvayu+li...@gmail.com writes: [...] Try using your function with a filter. This filter might work: org-export-filter-headline-functions. Of course it goes without saying you will have to update your function. Thanks Suvayu.

Re: [O] [new exporter] ignoring a headline on export to PDF via latex

2013-03-05 Thread Suvayu Ali
On Tue, Mar 05, 2013 at 01:25:03PM -0500, Nick Dokos wrote: Eric S Fraga e.fr...@ucl.ac.uk wrote: Suvayu Ali fatkasuvayu+li...@gmail.com writes: [...] Try using your function with a filter. This filter might work: org-export-filter-headline-functions. Of course it goes without

Re: [O] [new exporter] ignoring a headline on export to PDF via latex

2013-03-05 Thread Charles Berry
Suvayu Ali fatkasuvayu+linux at gmail.com writes: On Tue, Mar 05, 2013 at 01:25:03PM -0500, Nick Dokos wrote: Eric S Fraga e.fraga at ucl.ac.uk wrote: Suvayu Ali fatkasuvayu+linux at gmail.com writes: [...] Try using your function with a filter. This filter might work:

Re: [O] [new exporter] ignoring a headline on export to PDF via?latex

2013-03-05 Thread Suvayu Ali
On Tue, Mar 05, 2013 at 08:58:28PM +, Charles Berry wrote: [...] FWIW, I defun'ed filters like the above for all of the filter functions that can take (text backend info) as arguments. Then using a derived backend like the above `latex3', I can see where the filterable elements are. It

Re: [O] [new exporter] ignoring a headline on export to PDF via latex

2013-03-05 Thread Nicolas Goaziou
Hello, Eric S Fraga e.fr...@ucl.ac.uk writes: Suvayu Ali fatkasuvayu+li...@gmail.com writes: [...] Try using your function with a filter. This filter might work: org-export-filter-headline-functions. Of course it goes without saying you will have to update your function. Thanks

Re: [O] [new exporter] ignoring a headline on export to PDF via latex

2013-03-05 Thread Nicolas Goaziou
Hello, Eric S Fraga e.fr...@ucl.ac.uk writes: I used to use the following to ignore a headline when exporting to PDF: #+begin_src emacs-lisp (defun my-e-latex-headline (headline contents info) (if (member ignoreheading (org-element-property :tags headline)) contents

Re: [O] [new exporter] ignoring a headline on export to PDF via?latex

2013-03-05 Thread Charles Berry
Suvayu Ali fatkasuvayu+linux at gmail.com writes: On Tue, Mar 05, 2013 at 08:58:28PM +, Charles Berry wrote: [...] FWIW, I defun'ed filters like the above for all of the filter functions [...] if anyone is interested, I can post or upload somewhere. That would be wonderful!