From: Rainer M Krug <Rainer@krugs.de>
To: emacs-orgmode@gnu.org
Subject: Re: [export] Should sidewaystable option automatically add rotating package?
Date: Wed, 11 Sep 2013 14:30:32 +0200 [thread overview]
Message-ID: <m2hadrpml3.fsf@krugs.de> (raw)
In-Reply-To: F4943135-741D-43C5-BAA4-200E4F420B38@gmail.com
Carsten Dominik <carsten.dominik@gmail.com> writes:
> On 11.9.2013, at 14:08, Eric S Fraga <e.fraga@ucl.ac.uk> wrote:
>
>> Rasmus <rasmus@gmx.us> writes:
>>
>>> Hi Eric,
>>>
>>> Eric S Fraga <e.fraga@ucl.ac.uk> writes:
>>>> A minor feature request. Feel free to ignore!
>>>>
>>>> Using the sidewaystable :float option for table exports to LaTeX
>>>> requires one to manually add a
>>>>
>>>> #+LaTeX_header: \usepackage{rotating}
>>>>
>>>> line to the org file. Could this package be added automatically by the
>>>> exporter if the sidewaystable option is present?
>>>
>>> My 2¢:
>>>
>>> I think the policy is that the ox-latex ain't going to track packages.
>>> Aaron made some patches for this some time ago, but they weren't
>>> included.
>>>
>>> So the question is should it be a default package?
>>>
>>> I think not. E.g. tabu isn't loaded. Amsmath isn't loaded if you
>>> generate a matrix.
>>
>> Okay. I can live with this!
>>
>> I guess it would help if the documentation indicated when additional
>> packages may be required. I had to do an internet search to find out I
>> needed the rotating package for the sidewaystable option described in
>> the org info pages.
>
> Well, this is documented on the LaTeX pages. Why would you duplicate this
> in Org's documentation? And What part of the LaTeX documentation exactly?
It certainly is, but the beauty of org is that it hides some of the
nitty-gritty to write LaTeX files (and odt - even more so).
One part would be 12.7.4 - LaTeX specific attributes.
It states:
,----
| :placement
| Float environment for the table. Possible values are
| sidewaystable, multicolumn, t and nil. When unspecified, a table with a
| caption will have a table environment. Moreover, :placement attribute
| can specify the positioning of the float.
`----
An addition like:
,----
| For some options, additional LaTeX packages need to be loaded. Please
| see LaTeX documentation for details.
`----
Would suffice, and be general enough.
Cheers,
Rainer
>
>>
>>> Also, a kitten dies every time the length of
>>> org-latex-default-packages-alist increases!
>
> That is a terrible thought. :)
>
>>
>> ;-)
>>
>> Thanks,
>> eric
>>
>> --
>> : Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org release_8.1.1-7-gaecdf5
>>
>>
>
<#secure method=pgpmime mode=sign>
--
Rainer M. Krug
email: RMKrug<at>gmail<dot>com
next prev parent reply other threads:[~2013-09-11 12:30 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-11 11:05 [export] Should sidewaystable option automatically add rotating package? Eric S Fraga
2013-09-11 12:01 ` Rasmus
2013-09-11 12:08 ` Eric S Fraga
2013-09-11 12:14 ` Carsten Dominik
2013-09-11 12:25 ` Rasmus
2013-09-11 15:24 ` Eric S Fraga
2013-09-11 12:30 ` Rainer M Krug [this message]
2013-09-12 17:42 ` Nicolas Goaziou
2013-09-12 18:33 ` Rasmus
2013-09-12 19:00 ` Nicolas Goaziou
2013-09-13 8:49 ` Sebastien Vauban
2013-09-12 19:22 ` Carsten Dominik
2013-09-13 8:01 ` Detlef Steuer
2013-09-15 4:49 ` Carsten Dominik
2013-09-15 14:02 ` Nicolas Girard
2013-09-16 8:08 ` Carsten Dominik
2013-09-16 10:47 ` Rasmus
2013-09-16 11:26 ` Rainer M Krug
2013-09-16 13:27 ` Carsten Dominik
2013-09-16 13:38 ` Carsten Dominik
2013-09-16 19:26 ` Rasmus
2013-09-16 20:21 ` Andreas Leha
2013-09-17 1:45 ` Eric Abrahamsen
2013-09-17 4:48 ` Carsten Dominik
2013-09-17 13:24 ` Rasmus
2013-09-18 13:18 ` Carsten Dominik
2013-09-18 22:21 ` Rasmus
2013-09-19 2:04 ` Carsten Dominik
2013-09-19 9:11 ` Rasmus
2013-09-19 9:28 ` Carsten Dominik
2013-09-19 9:38 ` Nicolas Girard
2013-09-19 11:05 ` Carsten Dominik
2013-09-25 7:04 ` Carsten Dominik
2013-09-25 7:45 ` Nicolas Girard
2013-09-25 7:50 ` Carsten Dominik
2013-09-25 9:09 ` Rasmus
2013-09-26 8:51 ` Marcin Borkowski
2013-09-17 13:30 ` Rasmus
2013-09-17 5:11 ` Carsten Dominik
2013-09-17 8:05 ` Eric S Fraga
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2hadrpml3.fsf@krugs.de \
--to=rainer@krugs.de \
--cc=emacs-orgmode@gnu.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 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).