LyX ⇒ No nomenclature ouput with LuaTex
No nomenclature ouput with LuaTex
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
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10397
- Joined: Mon Mar 10, 2008 9:44 pm
No nomenclature ouput with LuaTex
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
No nomenclature ouput with LuaTex
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: 10397
- Joined: Mon Mar 10, 2008 9:44 pm
No nomenclature ouput with LuaTex
ist can also be accessed via the LyX main menu, in Document / LaTeX log (for each run, pdfLaTeX and LuaLaTeX).
Stefan
No nomenclature ouput with LuaTex
- Attachments
-
- pdflatex.txt
- (9.41 KiB) Downloaded 219 times
-
- luatex.txt
- (13.85 KiB) Downloaded 234 times
- Stefan Kottwitz
- Site Admin
- Posts: 10397
- Joined: Mon Mar 10, 2008 9:44 pm
No nomenclature ouput with LuaTex
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.nlsmakeindex is the engine behind nomencl.Stefan
- Stefan Kottwitz
- Site Admin
- Posts: 10397
- Joined: Mon Mar 10, 2008 9:44 pm
No nomenclature ouput with LuaTex
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 logat the beginning in the code edit field abolve.
Stefan
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