From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: New LaTeX exporter captions Date: Sun, 28 Oct 2012 22:48:19 +0100 Message-ID: <87r4oiqndo.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58084) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSalJ-00064V-RG for emacs-orgmode@gnu.org; Sun, 28 Oct 2012 17:51:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TSalI-0000RH-NN for emacs-orgmode@gnu.org; Sun, 28 Oct 2012 17:51:17 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:47255) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSalI-0000R9-GQ for emacs-orgmode@gnu.org; Sun, 28 Oct 2012 17:51:16 -0400 Received: by mail-wi0-f177.google.com with SMTP id hj13so1308495wib.12 for ; Sun, 28 Oct 2012 14:51:15 -0700 (PDT) In-Reply-To: (Thomas S. Dye's message of "Sun, 28 Oct 2012 11:13:13 -1000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Thomas S. Dye" Cc: Org-mode 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