emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [Latex Export] Influence placement of \maketitle command


From: Alexander Baier
Subject: Re: [O] [Latex Export] Influence placement of \maketitle command
Date: Fri, 16 May 2014 10:36:07 +0200
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux)

On 2014-05-16 06:19 Nick Dokos wrote:
> Alexander Baier <address@hidden> writes:
>
>> On 2014-05-15 21:57 Eric S Fraga wrote:
>>> I put it under its own heading with an :ignoreheading: tag and use the
>>> filter that was posted on this list (today in fact):
>>
>> I can't find the filter you are referring to. I guess it is in the
>> org-ref thread?  I did not follow that thread as org-ref seems to be
>> a somewhat full-fledged solution including a lot of things I do not
>> need.  I looked through the thread but wasn't lucky to find said
>> filter.  Could you kindly post a link? (if that's not to much to ask)
>>
>
> I don't have a link, but I have the following in an example file (which
> afaik still works fine):

This works like charm, thanks!

> Suvayu's filter to get rid of :ignoreheading: tagged headlines - used
> in bib.org
> #+BEGIN_SRC emacs-lisp :results silent
> (defun sa-ignore-headline (contents backend info)
>   "Ignore headlines with tag `ignoreheading'."
>   (when (and (org-export-derived-backend-p backend 'latex 'html 'ascii)
>           (string-match "\\`.*ignoreheading.*\n"
>                 (downcase contents)))
>     (replace-match "" nil nil contents)))
>
> (add-to-list 'org-export-filter-headline-functions 'sa-ignore-headline)
> #+END_SRC

And thanks to Suvayu for providing this filter in the first place!

> Using #+include also largely resolves your original concern I think

This is also a good idea. But for now my document is small enough to
maintain it in a single org file.

Regards,
-- 
Alexander Baier



reply via email to

[Prev in Thread] Current Thread [Next in Thread]