emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Charles C. Berry" <ccberry@ucsd.edu>
To: Ken Mankoff <mankoff@gmail.com>
Cc: Fanpeng Kong <kshark343@gmail.com>, Org-mode <emacs-orgmode@gnu.org>
Subject: Re: org mode latex export excude title
Date: Fri, 30 Dec 2016 11:55:48 -0800	[thread overview]
Message-ID: <alpine.OSX.2.20.1612301146060.982@charles-berrys-macbook.local> (raw)
In-Reply-To: <CAFdBzEpPXQPaQYz9MneM5yaYGp60vGcMq=92_vPfBTgRD7O8Pw@mail.gmail.com>

On Fri, 30 Dec 2016, Ken Mankoff wrote:

> (setq-local org-latex-title-command "")
>
> Can be set as a buffer local variable.
>

True, but not relevant to the OPs query:

>>> Is there any way to excude the empty `\title{}` command?

And if you browse thru org-latex-template, you will see that

 	 "\\title{%s%s}\n"

is hard coded.  The value of org-latex-title-command has no effect on that 
part of the template.

So, the OP can either use a filter as I suggested or write a derived 
backend supplying a different template transcoder that drops the string 
quoted above.

Chuck

      reply	other threads:[~2016-12-30 19:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-30 12:11 org mode latex export excude title Fanpeng Kong
2016-12-30 17:26 ` Charles C. Berry
2016-12-30 19:13   ` Ken Mankoff
2016-12-30 19:55     ` Charles C. Berry [this message]

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=alpine.OSX.2.20.1612301146060.982@charles-berrys-macbook.local \
    --to=ccberry@ucsd.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=kshark343@gmail.com \
    --cc=mankoff@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).