TransWikia.com

Using Sharelatex for nomeclature is not working

TeX - LaTeX Asked by Hisakat on December 6, 2020

Trying to get a list of nomenclature together for my bachelor but it’s not working. I have a main file and everything in seperate files(not sure how good of an explanation this is, not very good at LateX). Anyhow the code I’m using works fine when i create a new project, but it refuses to work in my main folder. Could anyone offer some insight/tips?

documentclass{article}
usepackage[utf8]{inputenc}

usepackage{nomencl}
makenomenclature

begin{document}
mbox{}

nomenclature{$c$}{Speed of light in a vacuum inertial frame}
nomenclature{$h$}{Planck constant}

printnomenclature
end{document}

One Answer

I got a solution for you guys open a file in sharelatex and call it latexmkrc then put the following content in it

add_cus_dep("nlo", "nls", 0, "nlo2nls");

sub nlo2nls {
        system("makeindex $_[0].nlo -s nomencl.ist -o $_[0].nls -t $_[0].nlg");
}

Then recompile

Answered by Florian Spieß on December 6, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP