* [New exporter] Org code blocks
@ 2012-10-22 12:12 Sebastien Vauban
2012-10-22 17:24 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Sebastien Vauban @ 2012-10-22 12:12 UTC (permalink / raw)
To: emacs-orgmode-mXXj517/zsQ
Hello Nicolas,
I've noticed that exporting a presentation such as:
--8<---------------cut here---------------start------------->8---
#+TITLE: Org code blocks
#+AUTHOR: Sebastien Vauban
#+LANGUAGE: en_US
#+startup: beamer
#+LaTeX_CLASS: beamer
#+LaTeX_CLASS_OPTIONS: [presentation,t]
#+OPTIONS: H:1 toc:nil
* How to center pictures horizontally?
- Add a caption:
#+begin_src org
,#+CAPTION: Dock
,#+ATTR_LaTeX: width=0.5\linewidth
[[~/Pictures/Dock.jpg]]
#+end_src
- Results:
#+CAPTION: Dock
#+ATTR_LaTeX: width=0.5\linewidth
[[~/Pictures/Dock.jpg]]
--8<---------------cut here---------------end--------------->8---
gives the following with the new exporter:
--8<---------------cut here---------------start------------->8---
% Created 2012-10-22 Mon 14:08
\documentclass[presentation,t]{beamer}
% ...
\begin{frame}[fragile,label=sec-1]{How to center pictures horizontally?}
\begin{itemize}
\item Add a caption:
\end{itemize}
\begin{verbatim}
#+CAPTION: Dock
#+ATTR_LaTeX: width=0.5\linewidth
,[[~/Pictures/Dock.jpg]]
\end{verbatim}
% ...
--8<---------------cut here---------------end--------------->8---
That is, there is a *wrong comma* in front of the link. It should not be
outputted, isn't it?
Best regards,
Seb
--
Sebastien Vauban
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [New exporter] Org code blocks
2012-10-22 12:12 [New exporter] Org code blocks Sebastien Vauban
@ 2012-10-22 17:24 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2012-10-22 17:24 UTC (permalink / raw)
To: Sebastien Vauban; +Cc: public-emacs-orgmode-mXXj517/zsQ
Hello,
"Sebastien Vauban"
<wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org> writes:
> That is, there is a *wrong comma* in front of the link. It should not be
> outputted, isn't it?
Correct. It should be fixed now. Thanks for the report.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-22 17:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-22 12:12 [New exporter] Org code blocks Sebastien Vauban
2012-10-22 17:24 ` Nicolas Goaziou
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.