emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Help with beamer environments + org-special-blocks!


From: Sebastien Vauban
Subject: Re: [O] Help with beamer environments + org-special-blocks!
Date: Fri, 28 Jun 2013 11:48:12 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (windows-nt)

Hello Nicolas,

Nicolas Goaziou wrote:
>> What do you call a recent Org?  I'm blocked on commit 26a9b02, from May 27th,
>> as long as the #+SETUPFILE: bug is not fixed (fontification is broken).
>>
>> So, is that one (4 weeks old) a recent Org?
>
> No. I fixed it ten days ago (dffdc49).

Though I'm now on Org-mode version 8.0.3 (release_8.0.3-295-g91a4c8), pulled
this morning, I don't see it fixed.

Here an ECM:

--8<---------------cut here---------------start------------->8---
#+TITLE:     ECM Arguments for environments
#+Time-stamp: <2013-06-28 Fri 11:42>

* Tables

** Via Options attribute -- OK

#+TBLNAME: table1
#+ATTR_LaTeX: :options {-2.5cm}{0cm}
#+begin_mychangemargin
| a | very | very | ... | very | wide | table |
#+end_mychangemargin

** On the environment opening, with no space -- Invalid LaTeX

#+TBLNAME: table2
#+begin_mychangemargin{-2.5cm}{0cm}
| a | very | very | ... | very | wide | table |
#+end_mychangemargin

** On the environment opening, with a space separator -- Argument ignored

#+TBLNAME: table3
#+begin_mychangemargin {-2.5cm}{0cm}
| a | very | very | ... | very | wide | table |
#+end_mychangemargin
--8<---------------cut here---------------end--------------->8---

The resulting LaTeX:

--8<---------------cut here---------------start------------->8---
% ...
\section{Tables}
\label{sec-1}

\subsection{Via Options attribute -- OK}
\label{sec-1-1}

\begin{mychangemargin}{-2.5cm}{0cm}
\label{table1}
\begin{center}
\begin{tabular}{lllllll}
a & very & very & \ldots{} & very & wide & table\\
\end{tabular}
\end{center}
\end{mychangemargin}
\subsection{On the environment opening, with no space -- Invalid \LaTeX{}}
\label{sec-1-2}

\#+begin\_mychangemargin\{-2.5cm\}\{0cm\}
\begin{center}
\begin{tabular}{lllllll}
a & very & very & \ldots{} & very & wide & table\\
\end{tabular}
\end{center}
\#+end\_mychangemargin
\subsection{On the environment opening, with a space separator -- Argument 
ignored}
\label{sec-1-3}

\begin{mychangemargin}
\label{table3}
\begin{center}
\begin{tabular}{lllllll}
a & very & very & \ldots{} & very & wide & table\\
\end{tabular}
\end{center}
\end{mychangemargin}
% Emacs 24.3.50.1 (Org mode 8.0.3)
\end{document}
--8<---------------cut here---------------end--------------->8---

Best regards,
  Seb

-- 
Sebastien Vauban




reply via email to

[Prev in Thread] Current Thread [Next in Thread]