emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [export] Should sidewaystable option automatically add rotating


From: Carsten Dominik
Subject: Re: [O] [export] Should sidewaystable option automatically add rotating package?
Date: Thu, 19 Sep 2013 11:28:09 +0200

Hi Rasmus,

On 19.9.2013, at 11:11, Rasmus <address@hidden> wrote:

> Hi Carsten,
> 
> Carsten Dominik <address@hidden> writes:
> 
>> On 19.9.2013, at 00:21, Rasmus <address@hidden> wrote:
>> 
>>> Carsten Dominik <address@hidden> writes:
>>> 
>>>>> [...]
>>>>> The output tex file looks something like this:
>>>>> 
>>>>> \ifPDFTeX\usepackage[utf8]{inputenc}\else\fi
>>>>> \ifPDFTeX\usepackage[T1]{fontenc}\else\fi
>>>> 
>>>> 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?
>>> 
>>> 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.
>>> 
>>> So what would the goal be?  To make it compatible with XeLaTeX and
>>> LuaLaTeX out of the box?
>> 
>> 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".
> 
> 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.
> 
> 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).
> 
> Anyway, after 8.2 is still a bit away.
> 
> –Rasmus
> 
> -- 
> El Rey ha muerto. ¡Larga vida al Rey!
> 
> 

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


reply via email to

[Prev in Thread] Current Thread [Next in Thread]