From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [export] Should sidewaystable option automatically add rotating package? Date: Thu, 19 Sep 2013 11:28:09 +0200 Message-ID: <93CBF49E-932D-4289-82B3-654990D85128@gmail.com> References: <87ob7z4nzl.fsf@pinto.chemeng.ucl.ac.uk> <877gentvmv.fsf@gmx.us> <87wqmmos25.fsf@gmail.com> <20130913100125.257db23d@vknecht-intel.unibw-hamburg.de> <87ioy1vya1.fsf@gmx.us> <874n9kwott.fsf@gmx.us> <87zjrcmdai.fsf@ericabrahamsen.net> <170A71C4-F232-4E00-BB52-3EB667D570BC@gmail.com> <87ioxztwbw.fsf@pank.eu> <87txhhsrcy.fsf@gmx.us> <87pps5rxay.fsf@gmx.us> Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: multipart/signed; boundary="Apple-Mail=_2D69C361-6C85-4778-AF71-EDC8FBC2FA9E"; protocol="application/pgp-signature"; micalg=pgp-sha1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40055) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMaX6-0005EF-Pp for emacs-orgmode@gnu.org; Thu, 19 Sep 2013 05:28:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VMaX0-0000Of-To for emacs-orgmode@gnu.org; Thu, 19 Sep 2013 05:28:20 -0400 Received: from mail-ea0-x234.google.com ([2a00:1450:4013:c01::234]:50580) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMaX0-0000OZ-IP for emacs-orgmode@gnu.org; Thu, 19 Sep 2013 05:28:14 -0400 Received: by mail-ea0-f180.google.com with SMTP id h10so4058683eaj.11 for ; Thu, 19 Sep 2013 02:28:13 -0700 (PDT) In-Reply-To: <87pps5rxay.fsf@gmx.us> 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: Rasmus Cc: emacs-orgmode@gnu.org --Apple-Mail=_2D69C361-6C85-4778-AF71-EDC8FBC2FA9E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Hi Rasmus, On 19.9.2013, at 11:11, Rasmus wrote: > Hi Carsten, >=20 > Carsten Dominik writes: >=20 >> On 19.9.2013, at 00:21, Rasmus wrote: >>=20 >>> Carsten Dominik writes: >>>=20 >>>>> [...] >>>>> The output tex file looks something like this: >>>>>=20 >>>>> \ifPDFTeX\usepackage[utf8]{inputenc}\else\fi >>>>> \ifPDFTeX\usepackage[T1]{fontenc}\else\fi >>>>=20 >>>> this looks excellent. I think we will implement this as the = default >>>> behavior, but only after 8.2. >>>> Does this capture all the possible cases, or are there more cases = to consider? >>>=20 >>> I'm not sure what you mean by all cases. It depends on the the = iftex >>> package, so everything will break down if it ain't loaded or if it >>> ain't loaded before it's used. >>>=20 >>> So what would the goal be? To make it compatible with XeLaTeX and >>> LuaLaTeX out of the box? >>=20 >> Yes, this is what I mean. I would be happy to have some clever line >> in there that would do the right thing for variants of LaTeX. THis = is >> also what I mean by "all cases". >=20 > OK now I appreciate the idea. It should be doable at the expend of > depending on some magic such as iftex. A clever scheme would have to > be made up so that you wouldn't end up in cases where \ifPDFTeX is > used, but iftex isn't loaded. >=20 > It could be a fourth *optional* argument to Org LaTeX package alists. That is what I thought as well. > E.g. '("T1" "fontenc" t 'pdf) Or we make a forth argument that is the actual code to be inserted into the document. I think this would allow for more flexibility. E.g. '("" "fontenc" t "\ifPDFTeX\usepackage[utf8]{inputenc).....") Then we could put is a really complex TeX expression that will do all necessary tests and load the right stuff. Maybe you can come up with this expression, one that covers xetex and = whatever you can think of. - Carsten > could produce > \ifPDFTeX\usepackage[T1]{fontenc}\else\fi. Depending on the level of > support of iftex one would have to recognize the keywords > (lua -lua xe -xe pdf -pdf) where '-' is the negation (e.g. not pdf). >=20 > Anyway, after 8.2 is still a bit away. >=20 > =96Rasmus >=20 > --=20 > El Rey ha muerto. =A1Larga vida al Rey! >=20 >=20 --Apple-Mail=_2D69C361-6C85-4778-AF71-EDC8FBC2FA9E Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJSOsOpAAoJEO+gg/nAZuwMglAH/Rq2jRNCSB7+bM3liYuHCggj qytTuwWRMo3JmEh4l5wISOegQyuqPPp29Fn4iEXU1TrGi53ssyIU0ckXq88lXC8O 1Pafwa3zGZYUiow9sB/cKuULlAU4LWcqVvSq1upXUHHiY54YjC0pt2TS5xQXJ2nu 06BqByssmvS2GZbmi3evccKOmQEnp3ipBi972ZwtxDWhPXXrpv0SmpOlNCNkup9P HRXSgnc01WfJ1JUl0bg5QnZCETXqBjKxcqwlieE8NpmYyaA1HZtQ8hUAvcEQmdUU x0JiIe0qunRN7nzF/2ZDuwApSiPjXa+eH469koYwhYseal1VHc8FyzCcHW863SU= =QzlT -----END PGP SIGNATURE----- --Apple-Mail=_2D69C361-6C85-4778-AF71-EDC8FBC2FA9E--