LyX ⇒ No nomenclature ouput with LuaTex
No nomenclature ouput with LuaTex
Hi,
I have the problem that the nomenclature is not displayed in my documents created with LuaTex. Only when I switch to pdflatex is it displayed. If I then switch back to LuaTex, it is still there and is also updated when I add new entries.
That would at least be a workaround, but unfortunately I also have documents with features that pdflatex doesn't support and this procedure doesn't work for them.
Does anyone have an explanation for this strange behaviour?
Regards
Philip
I have the problem that the nomenclature is not displayed in my documents created with LuaTex. Only when I switch to pdflatex is it displayed. If I then switch back to LuaTex, it is still there and is also updated when I add new entries.
That would at least be a workaround, but unfortunately I also have documents with features that pdflatex doesn't support and this procedure doesn't work for them.
Does anyone have an explanation for this strange behaviour?
Regards
Philip
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
No nomenclature ouput with LuaTex
Hi Philip,
welcome to the forum!
Can you perhaps post both log files (pdfLaTeX and LuaLaTeX run) here, as attachment? The *Attachments* link is below the text edit field, when writing or editing a post here.
Stefan
welcome to the forum!
Can you perhaps post both log files (pdfLaTeX and LuaLaTeX run) here, as attachment? The *Attachments* link is below the text edit field, when writing or editing a post here.
Stefan
LaTeX.org admin
No nomenclature ouput with LuaTex
Hi Stefan,
can you tell me where I can find this log file? I expected it to be in the same folder as the lyx file but it is not.
can you tell me where I can find this log file? I expected it to be in the same folder as the lyx file but it is not.
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
No nomenclature ouput with LuaTex
Hi Philip,
ist can also be accessed via the LyX main menu, in Document / LaTeX log (for each run, pdfLaTeX and LuaLaTeX).
Stefan
ist can also be accessed via the LyX main menu, in Document / LaTeX log (for each run, pdfLaTeX and LuaLaTeX).
Stefan
LaTeX.org admin
No nomenclature ouput with LuaTex
Thanks!
- Attachments
-
- pdflatex.txt
- (9.41 KiB) Downloaded 197 times
-
- luatex.txt
- (13.85 KiB) Downloaded 210 times
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
No nomenclature ouput with LuaTex
It looks like the pdfLaTeX call runs makeindex implicitly, and the LuaLaTeX call doesn't.
It may need to be configured in the LyX compiler settings, or you do it manually on the command prompt, such as
Stefan
It may need to be configured in the LyX compiler settings, or you do it manually on the command prompt, such as
makeindex filename.nlo -s nomencl.ist -o filename.nls
makeindex
is the engine behind nomencl
.Stefan
LaTeX.org admin
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
No nomenclature ouput with LuaTex
By the way, technically it should work fine with LuaLaTeX. Here's a small example:
If you click on "Run LaTeX here", the forum translates it with LuaLaTeX, and the document properties show that it has been produced by LuaTeX-1.12.0.
Also, the corresponding .log file shows This is LuaHBTeX, Version 1.12.0 (TeX Live 2020) (format=lualatex 2021.3.22) when you insert
at the beginning in the code edit field abolve.
Stefan
Code: Select all
% !TEX lualatex
% !TEX makeindex -s nomencl.ist -o document.nls -t document.nlg document.nlo
\documentclass[oneside,12pt]{article}
\usepackage{nomencl}
\makenomenclature
\begin{document}
\[
e^{\pi i} = 1
\]
\nomenclature{$e$}{Euler's number}
\nomenclature{$i$}{Imaginary unit}
\nomenclature{$\pi$}{Ratio of circumference to diameter}
\printnomenclature
\end{document}
Also, the corresponding .log file shows This is LuaHBTeX, Version 1.12.0 (TeX Live 2020) (format=lualatex 2021.3.22) when you insert
% !TEX log
at the beginning in the code edit field abolve.
Stefan
LaTeX.org admin
No nomenclature ouput with LuaTex
What is the meaning of the .nlo and .list files? I can't find any files with these types in my project.Stefan Kottwitz wrote:makeindex filename.nlo -s nomencl.ist -o filename.nls
Stefan