emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Georgios Kaklamanos <georgios.kaklamanos@gwdg.de>
To: emacs-orgmode@gnu.org
Subject: Feature request: Add "SHORT_TITLE" metadata field for LaTeX exporter.
Date: Tue, 26 Mar 2019 17:15:12 +0100	[thread overview]
Message-ID: <7973d578-9a38-a7a4-b43f-56fe26259a19@gwdg.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 1344 bytes --]

Hello all,

In a number of LaTeX commands (as in \title), there is the following format:

\title[<short version for footer>]{<long version for titlepage>}

This format is also supported in Org at some keywords, (e.g CAPTION).

From the docs [1]:

"""
Optionally, the caption can take the form:

  #+CAPTION[Caption for list of tables]: Caption for table.
"""

and this is exported to the following in LaTeX:

  \caption[Caption for list of tables]{Caption for table.}


I assume that adding this functionality to the general #+TITLE field,
might be problematic, since it will involve a number of non-LaTeX
exporters.

So, would it be possible to add a new metadata field #+SHORT_TITLE, to
replace this functionality?

For example, the following org code:

"""
#TITLE: This is a very long title that I don't want to see in my Table
of contents
#SHORT_TITLE: This is better
"""

would render into:

"""
\title[This is better]{This is a very long title that I don't want to
see in my Table of contents}
"""

Thoughts / ideas? Did I miss something that already does this?

Cheers,
Georgios

P.S. My motivation for this, is that I use Org-Mode to create Beamer
slides, and this always messes up the way the title is shown in the footer.

[1]: https://orgmode.org/manual/Images-and-tables.html



[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 5358 bytes --]

                 reply	other threads:[~2019-03-26 16:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=7973d578-9a38-a7a4-b43f-56fe26259a19@gwdg.de \
    --to=georgios.kaklamanos@gwdg.de \
    --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).