wannesm / adsphd

KU Leuven Arenberg Doctoral School PhD dissertation latex class
http://set.kuleuven.be/phd/
73 stars 46 forks source link

Set root document #86

Closed trldp closed 5 years ago

trldp commented 5 years ago

By adding the '% !TeX root = ../../thesis.tex' to the chapter files, TeXstudio (and possibly others) will detects 'thesis.tex' as the root file, so that features like pressing the compile button, label names, ... work correctly.

I've also solved a bug in the run.py script: the variable chaptersdir doesn't exist, so I replaced it by settings.chaptersdir.

wannesm commented 5 years ago

Thanks