emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Exporting customized align attribute to LaTeX
@ 2010-05-12 15:39 Francesco Pizzolante
  2010-05-14 12:28 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Francesco Pizzolante @ 2010-05-12 15:39 UTC (permalink / raw)
  To: mailing-list-org-mode

Hi,

Exporting a customized align attribute for a table produces a wrong result.

Here's an example where I'm customizing the S column type (coming from the
siunitx package): I want to add the EUR symbol after each value in the
specified column.

--8<---------------cut here---------------start------------->8---
* TEST

  #+ATTR_LATEX: align=lS<{{\,\si{\EUR}}}
  | A   |  12584.35 |
  | BB  | 123456.67 |
  | CCC | 987654.32 |
--8<---------------cut here---------------end--------------->8---

When exporting to LaTeX, I get the following result:

--8<---------------cut here---------------start------------->8---
\section{TEST}
\label{sec-1}

\begin{center}
\begin{tabular}{lS<{{\}
 A    &   12584.35  \\
 BB   &  123456.67  \\
 CCC  &  987654.32  \\
\end{tabular}
\end{center}
--8<---------------cut here---------------end--------------->8---

I should get the following for the begin{tabular} line:

--8<---------------cut here---------------start------------->8---
\begin{tabular}{lS<{{\,\si{\EUR}}}}}
--8<---------------cut here---------------end--------------->8---

Is there a way to achieve this?

Thanks,
Francesco


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Exporting customized align attribute to LaTeX
  2010-05-12 15:39 Exporting customized align attribute to LaTeX Francesco Pizzolante
@ 2010-05-14 12:28 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2010-05-14 12:28 UTC (permalink / raw)
  To: Francesco Pizzolante; +Cc: mailing-list-org-mode

Hi Francesco,

thanks for the report - I have fixed this bug.

- Carsten

On May 12, 2010, at 5:39 PM, Francesco Pizzolante wrote:

> Hi,
>
> Exporting a customized align attribute for a table produces a wrong  
> result.
>
> Here's an example where I'm customizing the S column type (coming  
> from the
> siunitx package): I want to add the EUR symbol after each value in the
> specified column.
>
> --8<---------------cut here---------------start------------->8---
> * TEST
>
>  #+ATTR_LATEX: align=lS<{{\,\si{\EUR}}}
>  | A   |  12584.35 |
>  | BB  | 123456.67 |
>  | CCC | 987654.32 |
> --8<---------------cut here---------------end--------------->8---
>
> When exporting to LaTeX, I get the following result:
>
> --8<---------------cut here---------------start------------->8---
> \section{TEST}
> \label{sec-1}
>
> \begin{center}
> \begin{tabular}{lS<{{\}
> A    &   12584.35  \\
> BB   &  123456.67  \\
> CCC  &  987654.32  \\
> \end{tabular}
> \end{center}
> --8<---------------cut here---------------end--------------->8---
>
> I should get the following for the begin{tabular} line:
>
> --8<---------------cut here---------------start------------->8---
> \begin{tabular}{lS<{{\,\si{\EUR}}}}}
> --8<---------------cut here---------------end--------------->8---
>
> Is there a way to achieve this?
>
> Thanks,
> Francesco
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-14 12:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-12 15:39 Exporting customized align attribute to LaTeX Francesco Pizzolante
2010-05-14 12:28 ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).