latextemplates / scientific-thesis-template

LaTeX template for Master, Bachelor, Diploma, and Student Theses
http://latextemplates.github.io/scientific-thesis-template/
BSD Zero Clause License
358 stars 120 forks source link

Changing language breaks the build #29

Closed eiselems closed 8 years ago

eiselems commented 8 years ago

I tried to change the language from german to english without success in one of my repositories.

Running pdflatex ausarbeitung throws an error (see following log): https://gist.github.com/eiselems/12415524bb1c82df50674346ae595698

This is pdfTeX, Version 3.14159265-2.6-1.40.16 (MiKTeX 2.9)
entering extended mode
(ausarbeitung.tex
LaTeX2e <2016/03/31>
Babel <3.9r> and hyphenation patterns for 75 language(s) loaded.
(C:\MiKTeX\tex\latex\oberdiek\kvoptions-patch.sty
(C:\MiKTeX\tex\generic\oberdiek\etexcmds.sty
(C:\MiKTeX\tex\generic\oberdiek\infwarerr.sty)
(C:\MiKTeX\tex\generic\oberdiek\ifluatex.sty)))
(C:\MiKTeX\tex\latex\nag\nag.sty (C:\MiKTeX\tex\latex\nag\nag-l2tabu.cfg)
(C:\MiKTeX\tex\latex\nag\nag-orthodox.cfg))
(C:\MiKTeX\tex\latex\koma-script\scrbook.cls
Document Class: scrbook 2015/10/03 v3.19a KOMA-Script document class (book)
(C:\MiKTeX\tex\latex\koma-script\scrkbase.sty
(C:\MiKTeX\tex\latex\koma-script\scrbase.sty
(C:\MiKTeX\tex\latex\graphics\keyval.sty)
(C:\MiKTeX\tex\latex\koma-script\scrlfile.sty
Package scrlfile, 2015/10/03 v3.19a KOMA-Script package (loading files)
                  Copyright (C) Markus Kohm

))) (C:\MiKTeX\tex\latex\koma-script\tocbasic.sty)

Class scrbook Warning: You've used obsolete option `pointlessnumbers'.
(scrbook)              Usage of this option indicates an old document
(scrbook)              and changes compatibility level using
(scrbook)              `numbers=noenddot,version=first'.
(scrbook)              If you don't want this, you should simply
(scrbook)              replace option `pointlessnumbers' by `numbers=noenddot'.

(C:\MiKTeX\tex\latex\koma-script\scrsize12pt.clo)
(C:\MiKTeX\tex\latex\koma-script\typearea.sty
Package typearea, 2015/10/03 v3.19a KOMA-Script package (type area)
                  Copyright (C) Frank Neukam, 1992-1994
                  Copyright (C) Markus Kohm, 1994-

)) (preambel/packages_and_options.tex (C:\MiKTeX\tex\latex\base\inputenc.sty
(C:\MiKTeX\tex\latex\base\utf8.def (C:\MiKTeX\tex\latex\base\t1enc.dfu)
(C:\MiKTeX\tex\latex\base\ot1enc.dfu) (C:\MiKTeX\tex\latex\base\omsenc.dfu)))
(C:\MiKTeX\tex\latex\xcolor\xcolor.sty (C:\MiKTeX\tex\latex\00miktex\color.cfg)
(C:\MiKTeX\tex\latex\pdftex-def\pdftex.def
(C:\MiKTeX\tex\generic\oberdiek\ltxcmds.sty))
(C:\MiKTeX\tex\latex\graphics\dvipsnam.def))
(C:\MiKTeX\tex\generic\babel\babel.sty
*************************************
* Local config file bblopts.cfg used
*
(C:\MiKTeX\tex\latex\arabi\bblopts.cfg)
(C:\MiKTeX\tex\latex\babel-english\english.ldf
(C:\MiKTeX\tex\generic\babel\babel.def)))
(C:\MiKTeX\tex\latex\csquotes\csquotes.sty
(C:\MiKTeX\tex\latex\etoolbox\etoolbox.sty)
(C:\MiKTeX\tex\latex\csquotes\csquotes.def)
(C:\MiKTeX\tex\latex\csquotes\csquotes.cfg))
(C:\MiKTeX\tex\latex\paralist\paralist.sty)
(C:\MiKTeX\tex\latex\koma-script\scrpage2.sty)
(C:\MiKTeX\tex\latex\amsmath\amsmath.sty
For additional information on amsmath, use the `?' option.
(C:\MiKTeX\tex\latex\amsmath\amstext.sty
(C:\MiKTeX\tex\latex\amsmath\amsgen.sty))
(C:\MiKTeX\tex\latex\amsmath\amsbsy.sty)
(C:\MiKTeX\tex\latex\amsmath\amsopn.sty))
(C:\MiKTeX\tex\latex\mathtools\mathtools.sty
(C:\MiKTeX\tex\latex\tools\calc.sty) (C:\MiKTeX\tex\latex\mathtools\mhsetup.sty
)) (C:\MiKTeX\tex\latex\ntheorem\ntheorem.sty
Style `ntheorem', Version 1.33 <2011/08/15>
(C:\MiKTeX\tex\latex\base\ifthen.sty)) (C:\MiKTeX\tex\latex\tools\xspace.sty)
(C:\MiKTeX\tex\latex\appendix\appendix.sty)
(C:\MiKTeX\tex\latex\graphics\graphicx.sty
(C:\MiKTeX\tex\latex\graphics\graphics.sty
(C:\MiKTeX\tex\latex\graphics\trig.sty)
(C:\MiKTeX\tex\latex\00miktex\graphics.cfg)))
(C:\MiKTeX\tex\latex\oberdiek\epstopdf.sty
(C:\MiKTeX\tex\latex\oberdiek\epstopdf-base.sty
(C:\MiKTeX\tex\latex\oberdiek\grfext.sty
(C:\MiKTeX\tex\generic\oberdiek\kvdefinekeys.sty))
(C:\MiKTeX\tex\latex\oberdiek\kvoptions.sty
(C:\MiKTeX\tex\generic\oberdiek\kvsetkeys.sty))
(C:\MiKTeX\tex\generic\oberdiek\pdftexcmds.sty
(C:\MiKTeX\tex\generic\oberdiek\ifpdf.sty))))
(C:\MiKTeX\tex\latex\tools\array.sty) (C:\MiKTeX\tex\latex\tools\longtable.sty)
(C:\MiKTeX\tex\latex\multirow\multirow.sty) (C:\MiKTeX\tex\latex\url\url.sty)
(C:\MiKTeX\tex\latex\listings\listings.sty
(C:\MiKTeX\tex\latex\listings\lstmisc.sty)
(C:\MiKTeX\tex\latex\listings\listings.cfg))
(C:\MiKTeX\tex\latex\fancyvrb\fancyvrb.sty
Style option: `fancyvrb' v2.7a, with DG/SPQR fixes, and firstline=lastline fix 
<2008/02/07> (tvz)) (C:\MiKTeX\tex\latex\caption\caption.sty
(C:\MiKTeX\tex\latex\caption\caption3.sty)
(C:\MiKTeX\tex\latex\caption\ltcaption.sty))
(C:\MiKTeX\tex\latex\oberdiek\pdflscape.sty
(C:\MiKTeX\tex\latex\graphics\lscape.sty)
(C:\MiKTeX\tex\generic\ifxetex\ifxetex.sty))
(C:\MiKTeX\tex\latex\float\float.sty) (C:\MiKTeX\tex\latex\yafoot\fnpos.sty)
(C:\MiKTeX\tex\latex\tools\varioref.sty)
(C:\MiKTeX\tex\latex\booktabs\booktabs.sty)
(C:\MiKTeX\tex\latex\todonotes\todonotes.sty
(C:\MiKTeX\tex\latex\xkeyval\xkeyval.sty
(C:\MiKTeX\tex\generic\xkeyval\xkeyval.tex
(C:\MiKTeX\tex\generic\xkeyval\xkvutils.tex)))
(C:\MiKTeX\tex\latex\pgf\frontendlayer\tikz.sty
(C:\MiKTeX\tex\latex\pgf\basiclayer\pgf.sty
(C:\MiKTeX\tex\latex\pgf\utilities\pgfrcs.sty
(C:\MiKTeX\tex\generic\pgf\utilities\pgfutil-common.tex
(C:\MiKTeX\tex\generic\pgf\utilities\pgfutil-common-lists.tex))
(C:\MiKTeX\tex\generic\pgf\utilities\pgfutil-latex.def
(C:\MiKTeX\tex\latex\ms\everyshi.sty))
(C:\MiKTeX\tex\generic\pgf\utilities\pgfrcs.code.tex))
(C:\MiKTeX\tex\latex\pgf\basiclayer\pgfcore.sty
(C:\MiKTeX\tex\latex\pgf\systemlayer\pgfsys.sty
(C:\MiKTeX\tex\generic\pgf\systemlayer\pgfsys.code.tex
(C:\MiKTeX\tex\generic\pgf\utilities\pgfkeys.code.tex
(C:\MiKTeX\tex\generic\pgf\utilities\pgfkeysfiltered.code.tex))
(C:\MiKTeX\tex\generic\pgf\systemlayer\pgf.cfg)
(C:\MiKTeX\tex\generic\pgf\systemlayer\pgfsys-pdftex.def
(C:\MiKTeX\tex\generic\pgf\systemlayer\pgfsys-common-pdf.def)))
(C:\MiKTeX\tex\generic\pgf\systemlayer\pgfsyssoftpath.code.tex)
(C:\MiKTeX\tex\generic\pgf\systemlayer\pgfsysprotocol.code.tex))
(C:\MiKTeX\tex\generic\pgf\basiclayer\pgfcore.code.tex
(C:\MiKTeX\tex\generic\pgf\math\pgfmath.code.tex
(C:\MiKTeX\tex\generic\pgf\math\pgfmathcalc.code.tex
(C:\MiKTeX\tex\generic\pgf\math\pgfmathutil.code.tex)
(C:\MiKTeX\tex\generic\pgf\math\pgfmathparser.code.tex)
(C:\MiKTeX\tex\generic\pgf\math\pgfmathfunctions.code.tex
(C:\MiKTeX\tex\generic\pgf\math\pgfmathfunctions.basic.code.tex)
(C:\MiKTeX\tex\generic\pgf\math\pgfmathfunctions.trigonometric.code.tex)
(C:\MiKTeX\tex\generic\pgf\math\pgfmathfunctions.random.code.tex)
(C:\MiKTeX\tex\generic\pgf\math\pgfmathfunctions.comparison.code.tex)
(C:\MiKTeX\tex\generic\pgf\math\pgfmathfunctions.base.code.tex)
(C:\MiKTeX\tex\generic\pgf\math\pgfmathfunctions.round.code.tex)
(C:\MiKTeX\tex\generic\pgf\math\pgfmathfunctions.misc.code.tex)
(C:\MiKTeX\tex\generic\pgf\math\pgfmathfunctions.integerarithmetics.code.tex)))
(C:\MiKTeX\tex\generic\pgf\math\pgfmathfloat.code.tex))
(C:\MiKTeX\tex\generic\pgf\basiclayer\pgfcorepoints.code.tex)
(C:\MiKTeX\tex\generic\pgf\basiclayer\pgfcorepathconstruct.code.tex)
(C:\MiKTeX\tex\generic\pgf\basiclayer\pgfcorepathusage.code.tex)
(C:\MiKTeX\tex\generic\pgf\basiclayer\pgfcorescopes.code.tex)
(C:\MiKTeX\tex\generic\pgf\basiclayer\pgfcoregraphicstate.code.tex)
(C:\MiKTeX\tex\generic\pgf\basiclayer\pgfcoretransformations.code.tex)
(C:\MiKTeX\tex\generic\pgf\basiclayer\pgfcorequick.code.tex)
(C:\MiKTeX\tex\generic\pgf\basiclayer\pgfcoreobjects.code.tex)
(C:\MiKTeX\tex\generic\pgf\basiclayer\pgfcorepathprocessing.code.tex)
(C:\MiKTeX\tex\generic\pgf\basiclayer\pgfcorearrows.code.tex)
(C:\MiKTeX\tex\generic\pgf\basiclayer\pgfcoreshade.code.tex)
(C:\MiKTeX\tex\generic\pgf\basiclayer\pgfcoreimage.code.tex
(C:\MiKTeX\tex\generic\pgf\basiclayer\pgfcoreexternal.code.tex))
(C:\MiKTeX\tex\generic\pgf\basiclayer\pgfcorelayers.code.tex)
(C:\MiKTeX\tex\generic\pgf\basiclayer\pgfcoretransparency.code.tex)
(C:\MiKTeX\tex\generic\pgf\basiclayer\pgfcorepatterns.code.tex)))
(C:\MiKTeX\tex\generic\pgf\modules\pgfmoduleshapes.code.tex)
(C:\MiKTeX\tex\generic\pgf\modules\pgfmoduleplot.code.tex)
(C:\MiKTeX\tex\latex\pgf\compatibility\pgfcomp-version-0-65.sty)
(C:\MiKTeX\tex\latex\pgf\compatibility\pgfcomp-version-1-18.sty))
(C:\MiKTeX\tex\latex\pgf\utilities\pgffor.sty
(C:\MiKTeX\tex\latex\pgf\utilities\pgfkeys.sty
(C:\MiKTeX\tex\generic\pgf\utilities\pgfkeys.code.tex))
(C:\MiKTeX\tex\latex\pgf\math\pgfmath.sty
(C:\MiKTeX\tex\generic\pgf\math\pgfmath.code.tex))
(C:\MiKTeX\tex\generic\pgf\utilities\pgffor.code.tex
(C:\MiKTeX\tex\generic\pgf\math\pgfmath.code.tex)))
(C:\MiKTeX\tex\generic\pgf\frontendlayer\tikz\tikz.code.tex
(C:\MiKTeX\tex\generic\pgf\libraries\pgflibraryplothandlers.code.tex)
(C:\MiKTeX\tex\generic\pgf\modules\pgfmodulematrix.code.tex)
(C:\MiKTeX\tex\generic\pgf\frontendlayer\tikz\libraries\tikzlibrarytopaths.code
.tex)))
(C:\MiKTeX\tex\generic\pgf\frontendlayer\tikz\libraries\tikzlibrarypositioning.
code.tex)) (C:\MiKTeX\tex\latex\biblatex\biblatex.sty
(C:\MiKTeX\tex\latex\biblatex\biblatex_.sty
(C:\MiKTeX\tex\latex\logreq\logreq.sty (C:\MiKTeX\tex\latex\logreq\logreq.def))
(C:\MiKTeX\tex\latex\biblatex\blx-dm.def)
(C:\MiKTeX\tex\latex\biblatex\blx-compat.def)
(C:\MiKTeX\tex\latex\biblatex\biblatex_.def)
(C:\MiKTeX\tex\latex\biblatex\bbx\alphabetic.bbx
(C:\MiKTeX\tex\latex\biblatex\bbx\standard.bbx))
(C:\MiKTeX\tex\latex\biblatex\cbx\alphabetic.cbx)
(C:\MiKTeX\tex\latex\biblatex\biblatex.cfg)

Package biblatex Warning: 'firstinits' option is deprecated, use 'giveninits' i
nstead.

)) (C:\MiKTeX\tex\latex\blindtext\blindtext.sty)
(C:\MiKTeX\tex\latex\hyperref\hyperref.sty
(C:\MiKTeX\tex\generic\oberdiek\hobsub-hyperref.sty
(C:\MiKTeX\tex\generic\oberdiek\hobsub-generic.sty))
(C:\MiKTeX\tex\latex\oberdiek\auxhook.sty)
(C:\MiKTeX\tex\latex\hyperref\pd1enc.def)
(C:\MiKTeX\tex\latex\00miktex\hyperref.cfg))

Package hyperref Message: Driver (autodetected): hpdftex.

(C:\MiKTeX\tex\latex\hyperref\hpdftex.def
(C:\MiKTeX\tex\latex\oberdiek\rerunfilecheck.sty))
(C:\MiKTeX\tex\latex\cleveref\cleveref.sty)
(C:\MiKTeX\tex\latex\algorithms\algorithm.sty)
(C:\MiKTeX\tex\latex\algorithmicx\algpseudocode.sty
(C:\MiKTeX\tex\latex\algorithmicx\algorithmicx.sty
Document Style algorithmicx 1.2 - a greatly improved `algorithmic' style
)
Document Style - pseudocode environments for use with the `algorithmicx' style
) (preambel/fonts.tex (C:\MiKTeX\tex\latex\amsfonts\amssymb.sty
(C:\MiKTeX\tex\latex\amsfonts\amsfonts.sty))
(C:\MiKTeX\tex\latex\base\textcomp.sty (C:\MiKTeX\tex\latex\base\ts1enc.def
(C:\MiKTeX\tex\latex\base\ts1enc.dfu))) (C:\MiKTeX\tex\latex\lm\lmodern.sty)
(C:\MiKTeX\tex\latex\psnfss\helvet.sty) (C:\MiKTeX\tex\latex\psnfss\charter.sty
) (C:\MiKTeX\tex\latex\bera\beramono.sty) (C:\MiKTeX\tex\latex\base\fontenc.sty
(C:\MiKTeX\tex\latex\base\t1enc.def))
(C:\MiKTeX\tex\latex\microtype\microtype.sty
(C:\MiKTeX\tex\latex\microtype\microtype-pdftex.def)
(C:\MiKTeX\tex\latex\microtype\microtype.cfg)))
(C:\MiKTeX\tex\latex\oberdiek\hypcap.sty) (uni-stuttgart-cs-cover.sty
Package: `uni-stuttgart-cs-cover' v3.0

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.170 

? 
eiselems commented 8 years ago

Think i got it figured out somehow. During 82ffa18da327663174028451717f82bed240813f a hint to give reason why some terms are not translated was added. Since \% is used - It seems that those are getting printed before the document has even started => leading to this error.

@koppor Is there reasoning in the being prefixed with \% instead of just % - Do you want it to get printed?

If you want the hint converted to a real comment see PR #30

koppor commented 8 years ago

Was an accident. Thank you for the fix!

eiselems commented 8 years ago

You're welcome. Glad I could help :wink: