From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: [New exporter] Org code blocks Date: Mon, 22 Oct 2012 14:12:49 +0200 Message-ID: <80bofun1ry.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org 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