You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The gametex.pl from Ken's GameTex doesn't work correctly when any of the individual {character,green,blue} sheets to be printed includes \usepackage statements. Because Ken constructs a single LaTeX file incorporating all of the individual sheets, LaTeX requires the \usepackage statements to be in the root document -- the one constructed by the script.
These can be identified globally with the following shell script:
do
for file in $(ls |grep \.tex)
do
grep -P "\\\\usepackage" $directory/$file
done
done
One option is to rewrite gametex.pl to search as above for \usepackage statements and incorporate them into the generated LaTeX code. I will probably reproduce the relevant operation of gametex.pl in Python with the above inclusion rather than hacking the Perl script, for the sake of creating a single complete frontend.
The text was updated successfully, but these errors were encountered:
The gametex.pl from Ken's GameTex doesn't work correctly when any of the individual {character,green,blue} sheets to be printed includes \usepackage statements. Because Ken constructs a single LaTeX file incorporating all of the individual sheets, LaTeX requires the \usepackage statements to be in the root document -- the one constructed by the script.
These can be identified globally with the following shell script:
One option is to rewrite gametex.pl to search as above for \usepackage statements and incorporate them into the generated LaTeX code. I will probably reproduce the relevant operation of gametex.pl in Python with the above inclusion rather than hacking the Perl script, for the sake of creating a single complete frontend.
The text was updated successfully, but these errors were encountered: