Update README with instructions on how to include the run script in TexWorks.
Delete glossary.sty, as I'm fairly sure this is no longer used (instead, the standard glossaries is used).
One of my Windows-loving colleagues (who shall remain unnamed) was having troubles with the glossary of the LaTeX template, so of course I was asked to fix them (I am not writing my thesis yet myself :slightly_smiling_face: ).
Turns out the issue was with TexWorks not supporting the makeindex out of the box.
I settled on the following solution: introduce the --ignore-errors flag (so that the script doesn't stop when it hits one of their numerous errors which will be fixed later), generate a W10 exe and add a custom tool in TexWorks which runs the exe.
This way, the entire LaTeX "process" is always run in one single sweep, from inside TexWorks itself.
The W10 exe is built in a W10 VM using PyInstaller:
pyinstaller run.py --onefile
(Minor remark: I changed all tabs to 4 spaces in run.py, because my Python was complaining about mixed indentation. If requested, I can revert the file back to tabs of course.)
Hi,
I propose the following changes:
--ignore-errors
option to therun.py
script, which avoid thesys.exit
whenever a command fails due to errors.glossary.sty
, as I'm fairly sure this is no longer used (instead, the standardglossaries
is used).One of my Windows-loving colleagues (who shall remain unnamed) was having troubles with the glossary of the LaTeX template, so of course I was asked to fix them (I am not writing my thesis yet myself :slightly_smiling_face: ). Turns out the issue was with TexWorks not supporting the
makeindex
out of the box.I settled on the following solution: introduce the
--ignore-errors
flag (so that the script doesn't stop when it hits one of their numerous errors which will be fixed later), generate a W10 exe and add a custom tool in TexWorks which runs the exe.This way, the entire LaTeX "process" is always run in one single sweep, from inside TexWorks itself.
The W10 exe is built in a W10 VM using PyInstaller:
(Minor remark: I changed all tabs to 4 spaces in run.py, because my Python was complaining about mixed indentation. If requested, I can revert the file back to tabs of course.)