LyX v2.4.0 RC4 -> Unicode in Program Listing (again...)
Bernt Lie
Bernt.Lie at usn.no
Tue Apr 16 17:22:17 UTC 2024
OK -- this is the status on my on-going experimentation on Windows 11... (I hope I'm almost there):
1. I experiment with KOMA script Book
2. I have:
* Upgraded all packages in MikTeX
* Installed Pygments ("pip install Pygments" in Windows Prompt)
* Figured out where the "pygmetize" script is located on my computer,
and added location to PATH.
* In the LyX document, Documents/Settings/Fonts, checked "use non-TeX fonts
* In the Documents/Settings/Listings, changed "Syntax Highlighting Package" to "minted"
[This didn't work until I set the PATH to "pygmetize"]
* In Tools/Preferences/File Handling/Converters, added "-shell-escape" at the end
of the Converter line:
[cid:image001.png at 01DA9032.84834190]
[This line is slightly different from the Embedded document, since that assumed pdflatex as converter).
3. STATUS:
[cid:image002.png at 01DA9032.E4467C00]
QUESTION 1: What is wrong? I *did* envoke the “-shell-escape” flag, didn’t I?
QUESTION 2: By default, Ctrl+R is keyboard shortcut for generating PDF via pdflatex. After I chose “use non-TeX fonts”, Ctrl+R implies generating PDF via XeTeX. How can I change the set-up so that Ctrl+R implies using luatex?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20240416/839d7c74/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 9676 bytes
Desc: image001.png
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20240416/839d7c74/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 24748 bytes
Desc: image002.png
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20240416/839d7c74/attachment-0003.png>
More information about the lyx-users
mailing list