Bug 461235 - Quickpreview + XeLaTex runs pdftex instead of XeLaTex
Summary: Quickpreview + XeLaTex runs pdftex instead of XeLaTex
Status: REPORTED
Alias: None
Product: kile
Classification: Applications
Component: general (other bugs)
Version First Reported In: 2.9.93
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Michel Ludwig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-31 08:38 UTC by jules.bouton
Modified: 2022-10-31 08:38 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jules.bouton 2022-10-31 08:38:07 UTC
SUMMARY

I'm currently having troubles with the QuickPreview tool. (not the LivePreview one)
When setting it to XeLaTex (in order to manage packages like polyglossia), it behaves as follows :
- When using it on an environment : kile uses pdftek instead of xelatex. Of course, it doesn't work.
- When using it on a sub-document : kile uses xelatex, as expected, and... it works (as expected)
This doesn't depend on the content of the document.
I observed the same behavior with LuaLaTex settings.
Setting "Quickpreview" to "XeLaTex" or to "XeLaTex + PDF (okular)" doesn't change anything.
I had really no idea to fix the problem, as QuickPreview settings are (I guess) not in kilerc file. So : how could I fix it ? Any idea ? Is it an internal bug in the definition of quickpreview ?
Thanks for your help !
J

STEPS TO REPRODUCE
1.  In config panel, Preview > Set first parameter to "XeLaTex" or "XeLaTex --> PDF"
2.  Run a quickpreview of an env with the package polyglossia : it runs the following command :  pdflatex -synctex=1 -interaction=nonstopmode -output-directory=/tmp/kile-livepreview.ozSfBF modele.tex
3.  Run a quickpreview of a subdoc : it uses xelatex : xelatex -interaction=nonstopmode preview.tex

OBSERVED RESULT
As expected :
2. does not work, because it used pdftex
3. does work, because it used xelatex

EXPECTED RESULT
We expect 2. to use xelatex, and not pdftex

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.13.19-2-MANJARO (64 bit)
KDE Plasma Version:  5.25.5
KDE Frameworks Version: 5.98.0
Qt Version:  5.15.6

ADDITIONAL INFORMATION