From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: [Latex Export] Influence placement of \maketitle command Date: Fri, 16 May 2014 00:19:30 -0400 Message-ID: <87iop6z771.fsf@gmail.com> References: <87tx8sw72f.fsf@mailbox.org> <874n0snq0p.fsf@alphaville.bos.redhat.com> <87iop627df.fsf@mailbox.org> <87sioastlt.fsf@ucl.ac.uk> <87egzu22rd.fsf@mailbox.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wl9cZ-0004cG-Ln for emacs-orgmode@gnu.org; Fri, 16 May 2014 00:19:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wl9cV-0001zy-3c for emacs-orgmode@gnu.org; Fri, 16 May 2014 00:19:47 -0400 Received: from plane.gmane.org ([80.91.229.3]:50133) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wl9cU-0001zq-UG for emacs-orgmode@gnu.org; Fri, 16 May 2014 00:19:43 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Wl9cR-0000Mz-Qu for emacs-orgmode@gnu.org; Fri, 16 May 2014 06:19:39 +0200 Received: from pool-98-110-160-12.bstnma.fios.verizon.net ([98.110.160.12]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 May 2014 06:19:39 +0200 Received: from ndokos by pool-98-110-160-12.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 May 2014 06:19:39 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Alexander Baier 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