LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender: Mailing list for the LaTeX3 project <[log in to unmask]>
Date: Thu, 4 Aug 2011 18:28:51 +0100
Reply-To: Mailing list for the LaTeX3 project <[log in to unmask]>
Message-ID: <[log in to unmask]>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
In-Reply-To: <[log in to unmask]>
Content-Type: text/plain; charset=ISO-8859-1
From: Joseph Wright <[log in to unmask]>
Parts/Attachments: text/plain (20 lines)
On 04/08/2011 18:10, Ulrike Fischer wrote:
> You mean \pdftex_if_engine will give true for all engines with the
> exception of xetex + luatex? Even with etex or omega?

Only three engines are supported: pdfTeX, XeTeX and LuaTeX, and even
then only in sufficiently-new versions. The reason is ultimately that we
need \pdfstrcmp or equivalent functionality. (expl3 will bail out if it
can't find \pdfstrcmp, \strcmp or Lua to emulate it.)

> In this case
> it is what I'm after. But why does nobody use it? E.g. siunitx
> contains 
> \xetex_if_engine:F {
>   \luatex_if_engine:F....  

That code was written before \pdftex_if_engine: was added to expl3. I
should alter it, I guess.
-- 
Joseph Wright

ATOM RSS1 RSS2