From: "Sebastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: [New exporter] Org code blocks
Date: Mon, 22 Oct 2012 14:12:49 +0200 [thread overview]
Message-ID: <80bofun1ry.fsf@somewhere.org> (raw)
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
next reply other threads:[~2012-10-22 12:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-22 12:12 Sebastien Vauban [this message]
2012-10-22 17:24 ` [New exporter] Org code blocks Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=80bofun1ry.fsf@somewhere.org \
--to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
--cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.