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 LaTeX exporter captions
Date: Sun, 28 Oct 2012 22:48:19 +0100	[thread overview]
Message-ID: <87r4oiqndo.fsf@gmail.com> (raw)
In-Reply-To: <m1y5iqfggm.fsf@tsdye.com> (Thomas S. Dye's message of "Sun, 28 Oct 2012 11:13:13 -1000")

Hello,

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

> An example I gave on the ML a few days ago doesn't really work right.
>
> #+name: fundamental-model
> #+header: :exports results
> #+header: :file fundamental-model.pdf
> #+BEGIN_SRC dot
>   graph G
>         { 
>         graph [margin="0.01"];
>           d [label = "Dated event", shape ="box"];
>           t [label = "Target event"];
>           d -- t [label = "Association", dir = "both", len = 2];
>           {rank=same; d t;}
>           }
> #+END_SRC          
>
> #+CAPTION[The fundamental relationship of a chronological model]: 
> #+CAPTION: The fundamental relationship of a chronological model based on radiometric dating.
> #+ATTR_LaTeX: width=232pt
> #+NAME: fig:fundamental
> #+RESULTS: fundamental-model
> [[file:fundamental-model.pdf]]
>
> In particular, the short part of caption doesn't export unless the colon
> is followed by some content.  Is this intentional?

At first, only one caption line was allowed. Thus, it didn't make much
sense to provide a short caption but no long caption. Now captions are
multi-lines, it may be possible to do so. I've removed the restriction
in master branch.

Note that you can also use the following:

  #+CAPTION[The fundamental relationship of a chronological model]: The fundamental
  #+CAPTION: relationship of a chronological model based on radiometric dating.


Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2012-10-28 21:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-28 21:13 New LaTeX exporter captions Thomas S. Dye
2012-10-28 21:48 ` Nicolas Goaziou [this message]
2012-10-28 22:48   ` 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=87r4oiqndo.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).