From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: [Latex Export] Influence placement of \maketitle command Date: Fri, 16 May 2014 08:15:18 +0100 Message-ID: <87zjii42k9.fsf@ucl.ac.uk> 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]:47825) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlDhs-0007Go-EP for emacs-orgmode@gnu.org; Fri, 16 May 2014 04:41:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WlDhk-0007j3-VQ for emacs-orgmode@gnu.org; Fri, 16 May 2014 04:41:32 -0400 Received: from mail-db3lp0081.outbound.protection.outlook.com ([213.199.154.81]:41649 helo=emea01-db3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlDhk-0007ia-Mz for emacs-orgmode@gnu.org; Fri, 16 May 2014 04:41:24 -0400 In-Reply-To: <87egzu22rd.fsf@mailbox.org> (Alexander Baier's message of "Thu, 15 May 2014 22:41:42 +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: Nick Dokos Cc: emacs-orgmode@gnu.org On Thursday, 15 May 2014 at 22:41, Alexander Baier wrote: > 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) > > Thanks, It was not in that thread and the email was tangentially about ignored headlines. I think it had to with beamer columns and generating articles. I'm offline currently so cannot check. In any case, this is what I use: (defun esf/remove-lines-with-ignore-heading-tag (backend) (message "Deleting lines with ignore heading tag") (while (search-forward-regexp "^\\*+.*[ \t]+[a-ZA-Z0-9:]*:ignoreheading:[a-ZA-Z0-9:]*$" (point-max) t) (cond ((eq backend 'latex) (replace-match "#+latex: % \\&" )) ((eq backend 'html) (replace-match "#+html: " )) (t (replace-match ""))))) (add-hook 'org-export-before-processing-hook 'esf/remove-lines-with-ignore-heading-tag) HTH, eric -- : Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.2.6-937-g60502a