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
Charles Berry 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 will play with th

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

2013-03-06 Thread Eric S Fraga
Nicolas Goaziou 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 > (he

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

2013-03-05 Thread Charles Berry
Suvayu Ali 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! > > You c

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

2013-03-05 Thread Nicolas Goaziou
Hello, Eric S Fraga 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 > (org-latex-headline headlin

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

2013-03-05 Thread Nicolas Goaziou
Hello, Eric S Fraga writes: > Suvayu Ali 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

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.

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

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

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 wrote: > > > Suvayu Ali 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 t

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

2013-03-05 Thread Nick Dokos
Eric S Fraga wrote: > Suvayu Ali 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 hel

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

2013-03-05 Thread Eric S Fraga
Suvayu Ali 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 documentation of that varia

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)

[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 'o