* new latex exporter and attr_latex
@ 2012-12-11 16:39 François Allisson
2012-12-11 16:47 ` Nick Dokos
2012-12-11 20:09 ` Michael Gauland
0 siblings, 2 replies; 7+ messages in thread
From: François Allisson @ 2012-12-11 16:39 UTC (permalink / raw)
To: Org mode
Hi,
The following example used to work for me
***************
#+ATTR_LATEX: align=lcr
| left | center | right |
***************
i.e. it was exported with the correct alignment rules. But now (Org
7.9.2-666/ Emacs 24.2.50.1), it seems to not work any more, as it get
exported as
**************
\begin{center}
\begin{tabular}{lll}
left & center & right\\
\end{tabular}
\end{center}
**************
The "lll", instead of "lcr" is what bother me...
Any change recently around attr_latex or align?
Thanks for any help,
François
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: new latex exporter and attr_latex
2012-12-11 16:39 new latex exporter and attr_latex François Allisson
@ 2012-12-11 16:47 ` Nick Dokos
2012-12-11 17:13 ` François Allisson
2012-12-11 20:09 ` Michael Gauland
1 sibling, 1 reply; 7+ messages in thread
From: Nick Dokos @ 2012-12-11 16:47 UTC (permalink / raw)
To: =?utf-8?Q?Fran=C3=A7ois?= Allisson; +Cc: Org mode
François Allisson <francois@allisson.co> wrote:
> Hi,
>
> The following example used to work for me
>
> ***************
> #+ATTR_LATEX: align=lcr
> | left | center | right |
> ***************
>
> i.e. it was exported with the correct alignment rules. But now (Org
> 7.9.2-666/ Emacs 24.2.50.1), it seems to not work any more, as it get
> exported as
>
> **************
> \begin{center}
> \begin{tabular}{lll}
> left & center & right\\
> \end{tabular}
> \end{center}
> **************
>
> The "lll", instead of "lcr" is what bother me...
>
> Any change recently around attr_latex or align?
>
See
http://thread.gmane.org/gmane.emacs.orgmode/62766
Nick
> Thanks for any help,
>
> François
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: new latex exporter and attr_latex
2012-12-11 16:47 ` Nick Dokos
@ 2012-12-11 17:13 ` François Allisson
2012-12-12 14:24 ` Nicolas Goaziou
0 siblings, 1 reply; 7+ messages in thread
From: François Allisson @ 2012-12-11 17:13 UTC (permalink / raw)
To: nicholas.dokos; +Cc: Org mode
Le mardi 11 décembre 2012 à 17h47, Nick Dokos a écrit:
> See
>
> http://thread.gmane.org/gmane.emacs.orgmode/62766
>
Thanks Nick!
#+attr_latex: :align lcr
works fine!
François
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: new latex exporter and attr_latex
2012-12-11 16:39 new latex exporter and attr_latex François Allisson
2012-12-11 16:47 ` Nick Dokos
@ 2012-12-11 20:09 ` Michael Gauland
2012-12-12 10:50 ` François Allisson
1 sibling, 1 reply; 7+ messages in thread
From: Michael Gauland @ 2012-12-11 20:09 UTC (permalink / raw)
To: emacs-orgmode
François Allisson <francois <at> allisson.co> writes:
>
> Hi,
>
> The following example used to work for me
>
> ***************
> #+ATTR_LATEX: align=lcr
> | left | center | right |
> ***************
> Any change recently around attr_latex or align?
>
Yes, the syntax has changed; see http://thread.gmane.org/gmane.emacs.orgmode/62766
In short, you should use:
#+ATTR_LATEX: :align lcr
Kind Regards,
Mike
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: new latex exporter and attr_latex
2012-12-11 20:09 ` Michael Gauland
@ 2012-12-12 10:50 ` François Allisson
0 siblings, 0 replies; 7+ messages in thread
From: François Allisson @ 2012-12-12 10:50 UTC (permalink / raw)
To: Michael Gauland; +Cc: emacs-orgmode
> Yes, the syntax has changed; see http://thread.gmane.org/gmane.emacs.orgmode/62766
>
> In short, you should use:
> #+ATTR_LATEX: :align lcr
>
> Kind Regards,
> Mike
Thanks. It works like that.
Best thoughts,
François
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: new latex exporter and attr_latex
2012-12-11 17:13 ` François Allisson
@ 2012-12-12 14:24 ` Nicolas Goaziou
2012-12-16 16:59 ` François Allisson
0 siblings, 1 reply; 7+ messages in thread
From: Nicolas Goaziou @ 2012-12-12 14:24 UTC (permalink / raw)
To: François Allisson; +Cc: nicholas.dokos, Org mode
Hello,
François Allisson <francois@allisson.co> writes:
> Le mardi 11 décembre 2012 à 17h47, Nick Dokos a écrit:
>> See
>>
>> http://thread.gmane.org/gmane.emacs.orgmode/62766
>>
>
> Thanks Nick!
>
> #+attr_latex: :align lcr
Or, perhaps better, since it will work across all export back-ends:
| <l> | <c> | <r> |
| left | center | right |
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: new latex exporter and attr_latex
2012-12-12 14:24 ` Nicolas Goaziou
@ 2012-12-16 16:59 ` François Allisson
0 siblings, 0 replies; 7+ messages in thread
From: François Allisson @ 2012-12-16 16:59 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: nicholas.dokos, Org mode
Le jeudi 12 décembre 2012 à 15h24, Nicolas Goaziou a écrit:
> Or, perhaps better, since it will work across all export back-ends:
>
> | <l> | <c> | <r> |
> | left | center | right |
>
Thanks for this cross-back-ends tips, this is indeed a powerful tool.
Best,
François
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-12-16 16:58 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-11 16:39 new latex exporter and attr_latex François Allisson
2012-12-11 16:47 ` Nick Dokos
2012-12-11 17:13 ` François Allisson
2012-12-12 14:24 ` Nicolas Goaziou
2012-12-16 16:59 ` François Allisson
2012-12-11 20:09 ` Michael Gauland
2012-12-12 10:50 ` François Allisson
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).