[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [New exporter] Org code blocks
From: |
Sebastien Vauban |
Subject: |
[O] [New exporter] Org code blocks |
Date: |
Mon, 22 Oct 2012 14:12:49 +0200 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2 (windows-nt) |
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
- [O] [New exporter] Org code blocks,
Sebastien Vauban <=