-
Notifications
You must be signed in to change notification settings - Fork 0
support lua*tex engines detection #1
Comments
yes we can certainly do something, it would be good though if we could rationalise these if... packages, iftex here detecting [pdf|lua|xe]tex, then wearing a different hat, ho-tex/oberdiek/ifluatex detecting luatex (which could also be extended for luhbtex in the same way) ZR's ifptex package, @wspr's ifxetex package, .. and so it goes. Perhaps one for TL list but I'm wondering if this iftex package should be moved out of this bidi collection to something more central, and made to detect all variants, with the other if... packages just including it for legacy compat reasons. For latex, expl3 already has robust engine detection and it could use that, but probably best to keep these generic (@josephwright ?) |
Well yes, there is a lot of code if all you want to do is work out which engine is which. Could we get all the packages 'together' and have one |
@josephwright exactly, yes. |
Hi Thanks a lot Norbert |
@norbusan An initial sketch at https://github.com/davidcarlisle/iftex not to be taken too seriously any part could be changed but comments welcome |
@davidcarlisle What should I do with my ifptex package then? |
@zr-tex8r Yes I think it's best that if ifptex status stays exactly as it is (we should check that if both are loaded then something sensible happens). If you would rather it was all combined in to one, that is another possibility but in that case I'd need to give you write access as I wouldn't trust me to maintain those tests... But I think it's reasonable to have the basic tests here and the more specific tests in the separate ptex-specific package, but really I have no experience here I need to go on whatever you suggest? |
development moved to https://github.com/latex3/iftex/ and first release made to ctan. |
Dear all,
would it be possible to include code similar to the following, which allows detection of which luatex engine is actually used:
Furthermore, at the same time, detecting whether harfbuzz rendering is enabled could be detected with
Thanks
Norbert
The text was updated successfully, but these errors were encountered: