Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by h1439878.stratoserver.net (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id t8G6OW48011492 for ; Wed, 16 Sep 2015 08:24:33 +0200 Received: from relay.uni-heidelberg.de ([129.206.100.212]) by mx-ha.gmx.net (mxgmx006) with ESMTPS (Nemesis) id 0Lbhkp-1YsKw637RT-00lDba for ; Wed, 16 Sep 2015 08:24:26 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id t8G6MFOt025468 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 16 Sep 2015 08:22:15 +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 t8FM13md027579; Wed, 16 Sep 2015 08:22:15 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 12530969 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Wed, 16 Sep 2015 08:22:14 +0200 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t8G6MEIo030172 for ; Wed, 16 Sep 2015 08:22:14 +0200 Received: from ar-005-i207.relay.mailchannels.net (ar-005-i207.relay.mailchannels.net [162.253.144.89]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id t8G6M6Fv025376 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 16 Sep 2015 08:22:10 +0200 X-Sender-Id: netnames|x-authuser|joseph.wright@morningstar2.co.uk Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 475C11D0B30 for ; Wed, 16 Sep 2015 06:22:05 +0000 (UTC) Received: from smtp3.easily.co.uk (ip-10-220-9-73.us-west-2.compute.internal [10.220.9.73]) by relay.mailchannels.net (Postfix) with ESMTPA id 812C11D0995 for ; Wed, 16 Sep 2015 06:22:03 +0000 (UTC) X-Sender-Id: netnames|x-authuser|joseph.wright@morningstar2.co.uk Received: from smtp3.easily.co.uk (smtp3.easily.co.uk [10.42.130.4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA) by 0.0.0.0:2500 (trex/5.5.1); Wed, 16 Sep 2015 06:22:04 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: netnames|x-authuser|joseph.wright@morningstar2.co.uk X-MailChannels-Auth-Id: netnames X-MC-Loop-Signature: 1442384524095:1337652680 X-MC-Ingress-Time: 1442384524095 Received: from [31.52.244.167] (port=58402 helo=palladium.home) by smtp3.easily.co.uk with esmtpa (Exim 4.43) id 1Zc66T-0008Rq-2M for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Wed, 16 Sep 2015 07:22:01 +0100 References: <20150915081218.GA31916@hzdr.de> <55F88867.90907@morningstar2.co.uk> User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-AuthUser: joseph.wright@morningstar2.co.uk Message-ID: <55F90A88.6050308@morningstar2.co.uk> Date: Wed, 16 Sep 2015 07:22:00 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Joseph Wright Subject: Re: interface for test on driver being used To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: 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:PZQpUNQPPfE=:1Qnvkbs/9U3ok2ingOSgYWhaBV wJa50zrJXJb3VWe+nP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ned-By: MIMEDefang 2.71 on 85.214.41.38 Status: R X-Status: X-Keywords: X-UID: 7876 On 16/09/2015 01:51, Bruno Le Floch wrote: > 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 Quite: I can see how to abstract graphics inclusion, basic drawing operations, etc. but probably not the complexities of movie inclusion! Joseph