From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [Latex Export] Influence placement of \maketitle command
Date: Fri, 16 May 2014 00:19:30 -0400 [thread overview]
Message-ID: <87iop6z771.fsf@gmail.com> (raw)
In-Reply-To: 87egzu22rd.fsf@mailbox.org
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):
--8<---------------cut here---------------start------------->8---
#+LATEX_CLASS: article
#+include: "ch1.org"
#+include: "ch2.org" :minlevel 1
#+include: "ch3.org" :minlevel 1
#+include: "ch4.org" :minlevel 1
#+include: "ch5.org" :minlevel 1
#+include: "bib.org"
* Code :noexport:
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
--8<---------------cut here---------------end--------------->8---
Using #+include also largely resolves your original concern I think
and is invaluable for larger files.
HTH,
--
Nick
next prev parent reply other threads:[~2014-05-16 4:19 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 [this message]
2014-05-16 8:36 ` Alexander Baier
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87iop6z771.fsf@gmail.com \
--to=ndokos@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.