1

This question already has an answer here:

I am using the online editor ShareLatex and texmaker in miktex. When I try to compile my source files from ShareLatex with texmaker it doesnt work. For example the nomenclature of symbols isnt working. Does anyone have experience with using the source code of ShareLatex with offline programs? My OS is Windows 10.

Here is some if my code: main.tex

\documentclass[diplomgeo,german,nomencl]{zihpub}

 \usepackage{setspace}


 \usepackage{subfiles}
 \usepackage{nomencl}
 \makenomenclature
 \usepackage{color}
 \usepackage{tabularx}
 \usepackage{array}
 \usepackage{listings}
 \usepackage[scaled]{beramono}
    \lstset{basicstyle={\small \ttfamily}}

\usepackage{natbib}
  \bibliographystyle{dinat}

\usepackage{paralist}

\usepackage{multirow}
\usepackage{siunitx}
\usepackage{booktabs}

...

\begin{document}
\listoffigures
\listoftables
\setnomenclmargin{1cm}

The complete tex.main file: tex.main

And here is the *.cls stylesheet:

%Nomenclature
\if@nomencl
%  \if@german
%    \addcontentsline{toc}{chapter}{Symbolverzeichnis}
%  \else
%    \addcontentsline{toc}{chapter}{Nomenclature}
%  \fi
%  \label{sec:Nomenclature}
  \printnomenclature[\@nomenclmargin]
\fi

The complete *.cls you can download as txt file from here:

cls file

marked as duplicate by TeXnician, egreg, user36296, Zarko, Stefan Pinnow Jul 13 '17 at 14:19

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Have you installed all necessary packages for the code to run? Miktex often installs a small subset and installs the rest om the fly. – daleif Feb 6 '16 at 12:40
  • 2
    Btw how is the nomenclature made? Some constructions require you to run external programmes, something texmaker does not do by default – daleif Feb 6 '16 at 12:42
  • Texmaker asked me to install packages which the code requires. At least I think it did that. – yPennylane Feb 6 '16 at 12:52
  • Can you show us a small example code which will not run in your TeXMaker? That way, we might be able to tell, if you need to additional configure something? – user36296 Feb 6 '16 at 13:05
  • 1
    ShareLaTeX is some intelligent piece of software that just knows what compilation steps are needed and in which order they have to be done. With texmaker, you are iin charge of making all needed packages available and call external programs if needed. This might be complicated for a beginner. – Johannes_B Feb 6 '16 at 13:17

Browse other questions tagged or ask your own question.