emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
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 08:15:18 +0100	[thread overview]
Message-ID: <87zjii42k9.fsf@ucl.ac.uk> (raw)
In-Reply-To: <87egzu22rd.fsf@mailbox.org> (Alexander Baier's message of "Thu, 15 May 2014 22:41:42 +0200")

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

  parent reply	other threads:[~2014-05-16  8:41 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
2014-05-16  7:15         ` Eric S Fraga [this message]
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

  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=87zjii42k9.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=ndokos@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).