From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: [export] Should sidewaystable option automatically add rotating package? Date: Wed, 11 Sep 2013 14:30:32 +0200 Message-ID: References: <87ob7z4nzl.fsf@pinto.chemeng.ucl.ac.uk> <877gentvmv.fsf@gmx.us> <87eh8v4l36.fsf@pinto.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58225) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJjZH-0003Pa-0c for emacs-orgmode@gnu.org; Wed, 11 Sep 2013 08:30:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VJjZB-0005uF-F1 for emacs-orgmode@gnu.org; Wed, 11 Sep 2013 08:30:46 -0400 Received: from plane.gmane.org ([80.91.229.3]:55579) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJjZB-0005uA-0F for emacs-orgmode@gnu.org; Wed, 11 Sep 2013 08:30:41 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VJjZ9-0002tM-96 for emacs-orgmode@gnu.org; Wed, 11 Sep 2013 14:30:39 +0200 Received: from arn78-1-88-186-171-7.fbx.proxad.net ([88.186.171.7]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Sep 2013 14:30:39 +0200 Received: from Rainer by arn78-1-88-186-171-7.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Sep 2013 14:30:39 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Carsten Dominik writes: > On 11.9.2013, at 14:08, Eric S Fraga wrote: > >> Rasmus writes: >> >>> Hi Eric, >>> >>> Eric S Fraga 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: RMKruggmailcom