Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) by h1439878.stratoserver.net (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id t8G0rJl3004014 for ; Wed, 16 Sep 2015 02:53:20 +0200 Received: from relay2.uni-heidelberg.de ([129.206.119.212]) by mx-ha.gmx.net (mxgmx012) with ESMTPS (Nemesis) id 0Lxbxb-1YWW490rwR-017EPY for ; Wed, 16 Sep 2015 02:53:14 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t8G0pbAt016894 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 16 Sep 2015 02:51:37 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t8FM13Xb027579; Wed, 16 Sep 2015 02:51:36 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 12529174 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Wed, 16 Sep 2015 02:51:36 +0200 Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.119.212]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t8G0paVl005042 for ; Wed, 16 Sep 2015 02:51:36 +0200 Received: from mail-ig0-f180.google.com (mail-ig0-f180.google.com [209.85.213.180]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t8G0pTOL016857 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=FAIL) for ; Wed, 16 Sep 2015 02:51:32 +0200 Received: by igcpb10 with SMTP id pb10so25552564igc.1 for ; Tue, 15 Sep 2015 17:51:29 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.50.98.7 with SMTP id ee7mr11202026igb.13.1442364689264; Tue, 15 Sep 2015 17:51:29 -0700 (PDT) Received: by 10.36.81.201 with HTTP; Tue, 15 Sep 2015 17:51:29 -0700 (PDT) References: <20150915081218.GA31916@hzdr.de> <55F88867.90907@morningstar2.co.uk> Content-Type: text/plain; charset=UTF-8 Message-ID: Date: Tue, 15 Sep 2015 20:51:29 -0400 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Bruno Le Floch Subject: Re: interface for test on driver being used To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <55F88867.90907@morningstar2.co.uk> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: Envelope-To: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=V3; X-GMX-Antivirus: 0 (no virus found) X-UI-Filterresults: notjunk:1;V01:K0:hQshliYZwLE=:woawfY8NDWWt4eIpMj/wKcc75D tLlWM2fhEwqSI0SPTZoQoU2sbebnMgdpYp3GnFKJZsOMtngmJvdCXa7JvNcXstLlhWFFCYqkx 4M5So7dGP3L9eMM4rE6+FJwKwDfLUq5+Wj1UTPeuRgNdwexbc1xhNbEbhCbN8h2klGyW8KRQt cQLVocdyl+dyWkrni4u0ZkKxMSsYIZeYBzFv5o+6k8S7WAYtPxTZoyow+USynK+O40lQvDtyO gsBwn7Z0xVlJ6PAHYRpX25+x658p4eyRzC0lXwS1AaEwWDCKDYjzSdBi9F/dHufc2q2f2aTJm YJaYvFZyrCk9ZoMDPd78qWDLp3QzR2YHhHomz8vDFqheP+4hWHjA3ls6DG066PnRvAJhtGtmI 1ae6vCqmvbcYA8nEuusnf7X4AubndkuK5tZLGWRBLTwuo3MuapVGCJ1zmP5KffdNXL9XHq16L EnleCZ3aDJ2xlUYCohXDwyt0SLwC1KN33expeW68JTh0fOm3Ey1wyIAWqMpdTpbv6JiZvAdYP RGw5k8lLo1YoFhJ5e4E+rAVT15hRdn4oBB6dwJAqPK7CdXNhwrcmHvUzUFFic76nYLqXtUYhQ XCzXu4vYBthxBvmwcgvF8sOH3JwBqoH3IbBMb5N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TMxtvb3x1avmPcq2B5e9h5R29whK 1v/p5IMcJ7fcf0baZ3Zj1ye5YsrW7ypTL7K20bocbbBA/aaaYqmfM+rRKBihAAR5hf4W6R/cP GQxialrEncQAvvlFmCx7aD16jFBDb6NEvO73bbBfm/c+T5VHIEJMcruTG54lTX5g4L4X9iABD BryaH/Cj2NjCq7lhAERtqBzoXWwAYMpnQMxN/L7LIV+4ajQ3nWJ15N+FhLZCIkidTdqK2zwd3 jEyomM2gLcPuqQwvCxbUUWj6UUOoPpCA0TXH2YkXo3mM0qAaYNzp/GqGCXk+f7P3WWUr5bKOF sUnyQzbEQ5eAANPJI/WaqTK9pbQhkMe+wSIsyLV9wk97hc65AwyK70oxwvlXpEuGsbI7YY9tN lEUptuKaOWD6vsbHkCc78CioIES+EtG7/DP2nQ67nUIMeUwzDzkX X-Scanned-By: MIMEDefang 2.71 on 85.214.41.38 Status: R X-Status: X-Keywords: X-UID: 7875 On 9/15/15, Joseph Wright wrote: > On 15/09/2015 09:12, Alexander Grahn wrote: >> Good morning, >> >> There is a number of functions in the new l3sys package for testing the >> current engine, but I am still missing a public interface for testing >> the driver. The l3drivers package internally uses some mechanism to >> distinguish between pdfmode, dvips, dvipdfmx and xdvipdfmx. Will there be >> such a testing be included in the public interface of expl3 one day? >> >> Currently, I am still using a combination if the `ifpdf' package and the >> \*_if_engine* functions for the purpose of driver detection. >> >> Kind regards, >> Alexander > > Hello Alexander, > > Adding material to l3sys is on the 'to do' list but there are several > things there for 'soon'! I can certainly look to add a DVI/PDF test > (definitely one to do). > > In terms of drivers, we could/should move that code to l3sys anyway. The > question of to what extent any code of this form should be outside of > the kernel is tricky: for say drawing I can imagine something akin to > pgf's system layer with a low-level public interface on top (there are a > limited number of well-defined operations). For what you want (I'm > guessing) that's not so clear: I've not looked in detail but I assume > the entire set up for movie inclusion is highly system-dependent. > > Joseph I think it makes sense indeed to provide a conditional for the driver in use. However, we should provide wrappers for most operations (drawing, graphics inclusion, color handling) and explicitly advise people to use these wrappers rather than the driver conditional. Movie inclusion is a bit special and may be beyond what we want to provide wrappers for. But maybe it could make sense to include a trimmed-down version of media9 as a team-supported package? Bruno