emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Alexander Baier <alexander.baier@mailbox.org>
To: Nick Dokos <ndokos@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [Latex Export] Influence placement of \maketitle command
Date: Fri, 16 May 2014 10:36:07 +0200	[thread overview]
Message-ID: <871tvu15oo.fsf@mailbox.org> (raw)
In-Reply-To: <87iop6z771.fsf@gmail.com> (Nick Dokos's message of "Fri, 16 May 2014 00:19:30 -0400")

On 2014-05-16 06:19 Nick Dokos wrote:
> Alexander Baier <alexander.baier@mailbox.org> 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)

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.

Alexander Baier

  reply	other threads:[~2014-05-16  8:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-14 18:26 [Latex Export] Influence placement of \maketitle command Alexander Baier
2014-05-14 19:01 ` Nick Dokos
2014-05-14 21:28   ` Alexander Baier
2014-05-15 19:02   ` Alexander Baier
2014-05-15 19:57     ` Eric S Fraga
2014-05-15 20:41       ` Alexander Baier
2014-05-16  4:19         ` Nick Dokos
2014-05-16  8:36           ` Alexander Baier [this message]
2014-05-16  7:15         ` Eric S Fraga
2014-05-16  9:15           ` Alexander Baier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871tvu15oo.fsf@mailbox.org \
    --to=alexander.baier@mailbox.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=ndokos@gmail.com \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).