* latex short caption broken?
@ 2011-06-30 20:15 Chris Malone
2011-06-30 23:51 ` suvayu ali
0 siblings, 1 reply; 4+ messages in thread
From: Chris Malone @ 2011-06-30 20:15 UTC (permalink / raw
To: emacs-orgmode
Hi all,
Tom Dye came up with a great patch to pass an optional title to
LaTeX's =\caption= command: see here
http://lists.gnu.org/archive/html/emacs-orgmode/2011-05/msg00311.html
That thread says the patch has been applied, and as far as I can tell
it appears to be in the code. I'm using version =org-version= 7.3.
This is a minimal non-working example:
---------------------------------------------------------------------------------------------------------------------------------------------------
#+TITLE: mnwe.org
#+AUTHOR: Chris Malone
#+EMAIL: xxxxx
#+DATE: 2011-06-30 Thu
#+DESCRIPTION:
#+KEYWORDS:
#+LANGUAGE: en
#+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc
#+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgm
ode.org/org-info.js
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport
#+LINK_UP:
#+LINK_HOME:
#+XSLT:
#+BEGIN_LATEX
\listoffigures
#+END_LATEX
* A minimal (non-working) example
Let's include a figure!
#+CAPTION: [Caption to list]{Caption to figure.}
#+ATTR_LATEX: width=\textwidth
[[file:f1.pdf]]
---------------------------------------------------------------------------------------------------------------------------------------------------
this produces the following .tex file:
---------------------------------------------------------------------------------------------------------------------------------------------------
% Created 2011-06-30 Thu 16:08
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fixltx2e}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{soul}
\usepackage{textcomp}
\usepackage{marvosym}
\usepackage{wasysym}
\usepackage{latexsym}
\usepackage{amssymb}
\usepackage{hyperref}
\tolerance=1000
\usepackage{color}
\usepackage{listings}
\providecommand{\alert}[1]{\textbf{#1}}
\title{mnwe.org}
\author{Chris Malone}
\date{2011-06-30 Thu}
\begin{document}
\maketitle
\setcounter{tocdepth}{3}
\tableofcontents
\vspace*{1cm}
\listoffigures
\section{A minimal (non-working) example}
\label{sec-1}
Let's include a figure!
\begin{figure}[htb]
\centering
\includegraphics[width=\textwidth]{f1.pdf}
\caption{Caption to figure.}
\end{figure}
\end{document}
---------------------------------------------------------------------------------------------------------------------------------------------------
As you can see, the optional ([...]) argument to the caption command
is completely ignored upon export. Am I doing something wrong, or is
something else breaking this?
Chris
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: latex short caption broken?
2011-06-30 20:15 latex short caption broken? Chris Malone
@ 2011-06-30 23:51 ` suvayu ali
2011-07-01 8:28 ` Bastien
0 siblings, 1 reply; 4+ messages in thread
From: suvayu ali @ 2011-06-30 23:51 UTC (permalink / raw
To: Chris Malone; +Cc: emacs-orgmode
On Thu, Jun 30, 2011 at 1:15 PM, Chris Malone <chris.m.malone@gmail.com> wrote:
> Hi all,
>
> Tom Dye came up with a great patch to pass an optional title to
> LaTeX's =\caption= command: see here
> http://lists.gnu.org/archive/html/emacs-orgmode/2011-05/msg00311.html
>
> That thread says the patch has been applied, and as far as I can tell
> it appears to be in the code. I'm using version =org-version= 7.3.
I think the patch was applied after the 7.5 release.
--
Suvayu
Open source is the future. It sets us free.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: latex short caption broken?
2011-06-30 23:51 ` suvayu ali
@ 2011-07-01 8:28 ` Bastien
2011-07-01 14:49 ` Chris Malone
0 siblings, 1 reply; 4+ messages in thread
From: Bastien @ 2011-07-01 8:28 UTC (permalink / raw
To: suvayu ali; +Cc: Chris Malone, emacs-orgmode
suvayu ali <fatkasuvayu+linux@gmail.com> writes:
>> That thread says the patch has been applied, and as far as I can tell
>> it appears to be in the code. I'm using version =org-version= 7.3.
>
> I think the patch was applied after the 7.5 release.
I confirm -- Chris, please upgrade, or wait one week if you want to
upgrade to 7.6.
--
Bastien
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: latex short caption broken?
2011-07-01 8:28 ` Bastien
@ 2011-07-01 14:49 ` Chris Malone
0 siblings, 0 replies; 4+ messages in thread
From: Chris Malone @ 2011-07-01 14:49 UTC (permalink / raw
To: Bastien; +Cc: emacs-orgmode
Hi Bastien and Suvayu,
Hmm...somehow my cron job on my machine to checkout org-mode from git
stopped working some time ago. I hadn't paid attention to the various
releases, because I thought I was up-to-date! Thanks for figuring
this out.
Chris
On Fri, Jul 1, 2011 at 4:28 AM, Bastien <bzg@altern.org> wrote:
> suvayu ali <fatkasuvayu+linux@gmail.com> writes:
>
>>> That thread says the patch has been applied, and as far as I can tell
>>> it appears to be in the code. I'm using version =org-version= 7.3.
>>
>> I think the patch was applied after the 7.5 release.
>
> I confirm -- Chris, please upgrade, or wait one week if you want to
> upgrade to 7.6.
>
> --
> Bastien
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-07-01 14:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-30 20:15 latex short caption broken? Chris Malone
2011-06-30 23:51 ` suvayu ali
2011-07-01 8:28 ` Bastien
2011-07-01 14:49 ` Chris Malone
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.