1

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

yPennylane
  • 165
  • 7
  • 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 06 '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 06 '16 at 12:42
  • Texmaker asked me to install packages which the code requires. At least I think it did that. – yPennylane Feb 06 '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? – samcarter_is_at_topanswers.xyz Feb 06 '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 06 '16 at 13:17
  • I edited my post and included some of the source code – yPennylane Feb 06 '16 at 13:50
  • is that all of the class file? – Johannes_B Feb 06 '16 at 14:33
  • No. Only a part of it. With class file you mean cls file? – yPennylane Feb 06 '16 at 14:36
  • The cls file is huge. I cannot post it here. That's why I only postet a little part which includes the nomenclature of symbols. – yPennylane Feb 06 '16 at 15:10
  • And how exactly do you expect others to help if they do not have access to something we can compile and test. Isn't the class file downloadable from somewhere? – daleif Feb 06 '16 at 17:25
  • I uploaded it and edited my post – yPennylane Feb 06 '16 at 18:02
  • Please also make your doc example complete – daleif Feb 06 '16 at 18:20
  • I edited and included the link for the tex.main file – yPennylane Feb 06 '16 at 18:40
  • Before uploading, have you checked the copyright if you are allowed to distribute the class file? Have you checked if you ran all external programs that need to be run? If it works in sharelatex, this is the most likely case and has absolutely nothing to do with the class file. – Johannes_B Feb 06 '16 at 19:46
  • The cls can be downloaded by everyone from the University Website. How do I know which external programs I should run? – yPennylane Feb 06 '16 at 21:16
  • You should read the documentation of package nomencl. Wie kompiliere ich im Terminal Since you seem to be an absolute beginner, maybe have a look at LaTeX for complete novices? – Johannes_B Feb 07 '16 at 08:58
  • Actually I have worked with Latex ohne year ago. My script works perfectly with ShareLatex. So why would I start all over again? – yPennylane Feb 07 '16 at 09:20
  • Well, if it works with sharelatex, stick with it. Why go into all that trouble to make it run on your computer? You don't have to read an introduction, i was just assuming you are a starter based on the information you are giving and questions you are asking. – Johannes_B Feb 07 '16 at 09:23
  • I' ll read the documentation. – yPennylane Feb 07 '16 at 09:33
  • By the way, if you want to ping somebody, write the @-sign and the name, you can auto-complete using tab => @ypennylane This way, the user gets notified. Since you are writing in german, maybe checkout golatex.de, a classical discussion forum without the annoying comment structure. – Johannes_B Feb 07 '16 at 10:16

0 Answers0