From: Lei Zhe <lzhes43@gmail.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Export to Latex without \author{}
Date: Fri, 26 Jun 2015 21:07:24 +0900 [thread overview]
Message-ID: <CALjq+LbwnsU4FSrd-8UH5cmWq4EaQrULbxWgu9E0uBuSnXPV7w@mail.gmail.com> (raw)
Dear orgers,
I am trying to export a beamer from org-mode with my own \author
command defined.
But when I export, org-mode always generates another \author after my
\author, which destroys the author list.
I tried:
1. #+author:
2. #+bind: latex-export-with-author ""
3. move #+author before my author command.
But none of them did make it. The \author{} always appears in the
place after my author command!
Then I tried to filter using:
(defun delete-empty-author (contents backend info)
(when (eq backend 'beamer)
(replace-regexp-in-string "\\\\author{}" "" contents)))
(add-to-list 'org-export-filter-keyword-functions 'delete-empty-author)
(add-to-list 'org-export-filter-plain-text-functions 'delete-empty-author)
(add-to-list 'org-export-filter-comment-functions 'delete-empty-author)
But it seems like that none of the filter functions is right.
So how can i solve this kind of problem?
llcc
next reply other threads:[~2015-06-26 12:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-26 12:07 Lei Zhe [this message]
2015-06-26 12:23 ` Export to Latex without \author{} Rasmus
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=CALjq+LbwnsU4FSrd-8UH5cmWq4EaQrULbxWgu9E0uBuSnXPV7w@mail.gmail.com \
--to=lzhes43@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 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).