Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ad-hoc fix for expl3 driver detection: l3backend renamed #6

Merged
merged 1 commit into from
Nov 4, 2021

Conversation

gksato
Copy link
Contributor

@gksato gksato commented Nov 3, 2021

l3backend, i.e. expl3's driver-specific backend, got renamed as
l3backend-pdfmode -> l3backend-pdftex, l3backend-luatex
l3backend-xdvipdfmx -> l3backend-xetex.

This caused cluttex to unnecessarily warn user for mismatched driver
setup for expl3, as reported in
#5.
With this pull request, in order to fix this, cluttex will
additionally detect the load of l3backend-pdftex, luatex and xetex.

I have run make bin/cluttex on my machine and checked that the warning
has been eliminated for my paper, but this PR doesn't include the change for
make bin/cluttex. If you'd like it included, I'll do it in an extra commit. Also,
my fix is rather ad-hoc here, so if you'd like a better fix, please tell me do that!

#5 の修正です. make bin/cluttex は手元環境で実行し,自分の論文に対しては試して
警告が消えたのを確認しましたが,その他のケースで確認をやったわけでもないというのもあり,
make bin/cluttex の結果は含めていません.必要であれば追加のコミットでやります.
また,コードを見るとわかりますが,今回の変更は割とアドホックなので,
もうちょっとマシな変更にして欲しいのであればお知らせいただけると.

Will fix: #5

l3backend, i.e. expl3's driver-specific backend, got renamed as
l3backend-pdfmode -> l3backend-pdftex, l3backend-luatex
l3backend-xdvipdfmx -> l3backend-xetex.

This caused cluttex to unnecessarily warn user for mismatched driver
setup for expl3, as reported in
minoki#5.
With this commit, in order to fix this, cluttex will
additionally detect the load of l3backend-pdftex, luatex and xetex.
@minoki minoki merged commit 0788100 into minoki:master Nov 4, 2021
@minoki
Copy link
Owner

minoki commented Nov 4, 2021

Looks good to me.

ありがとうございます!

@gksato gksato deleted the checkdriver-expl3-update branch November 5, 2021 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expected backends for expl3 are no longer correct for XeTeX, PDFTeX, LuaTeX
2 participants