emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Rasmus <rasmus@gmx.us>
Cc: emacs-orgmode@gnu.org
Subject: Re: [export] Should sidewaystable option automatically add rotating package?
Date: Thu, 19 Sep 2013 11:28:09 +0200	[thread overview]
Message-ID: <93CBF49E-932D-4289-82B3-654990D85128@gmail.com> (raw)
In-Reply-To: <87pps5rxay.fsf@gmx.us>

[-- Attachment #1: Type: text/plain, Size: 2331 bytes --]

Hi Rasmus,

On 19.9.2013, at 11:11, Rasmus <rasmus@gmx.us> wrote:

> Hi Carsten,
> 
> Carsten Dominik <carsten.dominik@gmail.com> writes:
> 
>> On 19.9.2013, at 00:21, Rasmus <rasmus@gmx.us> wrote:
>> 
>>> Carsten Dominik <carsten.dominik@gmail.com> 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 #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 455 bytes --]

  reply	other threads:[~2013-09-19  9:28 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
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 [this message]
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=93CBF49E-932D-4289-82B3-654990D85128@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rasmus@gmx.us \
    /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).