minoki / cluttex

Process LaTeX documents without cluttering your working directory
GNU General Public License v3.0
45 stars 3 forks source link

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

Closed gksato closed 2 years ago

gksato commented 2 years ago

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 https://github.com/minoki/cluttex/issues/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

minoki commented 2 years ago

Looks good to me.

ありがとうございます!