emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: "Thomas S. Dye" <tsd@tsdye.com>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: New exporter queries, captions
Date: Thu, 13 Sep 2012 18:21:26 +0200	[thread overview]
Message-ID: <87obl9sxkp.fsf@gmail.com> (raw)
In-Reply-To: <m1bohb7x1d.fsf@poto.westell.com> (Thomas S. Dye's message of "Wed, 12 Sep 2012 11:26:22 -1000")

Hello,

tsd@tsdye.com (Thomas S. Dye) writes:

> Three queries about captions in the new exporter:
>
> 1) The old exporter allowed a structure like this #+CAPTION: [Short
> caption]{Long caption.} to export \caption[Short caption]{Long caption.}
> to LaTeX.  The new exporter gives something like this \caption{[Short
> caption]{Long caption.}}  Can the former behavior be implemented in the
> new exporter?

Correct syntax is:

  #+CAPTION[short]: long

much like:

  #+RESULTS[hash]: name

> 2) Caption text appears to require markup in the export target language,
> rather than org markup.  So, for LaTeX export I need something like
>
> #+CAPTION: Things: \textit{a}, some; \textit{b}, other.  
> Rather than, #+CAPTION: /a/, some; /b/, other.  Shouldn't caption text
>
> honor org markup so it can be exported correctly to different backends?
> Is there a switch for this?

That was a bug. Captions honor Org syntax again. Thanks.

> 3) My captions are often long.  Is it possible to enter these so they
> aren't all on one line?  Something like
>
> #+CAPTION: Line one
> #+CAPTION: Line two
>
> would be great.

It is now implemented.


Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2012-09-13 16:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-12 21:26 New exporter queries, captions Thomas S. Dye
2012-09-13 16:21 ` Nicolas Goaziou [this message]
2012-09-13 16:57   ` Thomas S. Dye
2012-09-30 21:59     ` Nicolas Goaziou
2012-10-01  5:20       ` Thomas S. Dye

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=87obl9sxkp.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=tsd@tsdye.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).