Browse Source

Correction d'un bug dans le cas où la variable TEXIMPUTS n'existe pas.

pull/3/head
Luthaf 11 years ago
parent
commit
c443321d5e
  1. 2
      songbook/build.py

2
songbook/build.py

@ -177,7 +177,7 @@ def buildsongbook(sb, basename):
# Make TeX file # Make TeX file
makeTexFile(sb, texFile) makeTexFile(sb, texFile)
os.environ['TEXINPUTS'] += os.pathsep + os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', 'latex') os.environ['TEXINPUTS'] = os.pathsep + os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', 'latex')
os.environ['TEXINPUTS'] += os.pathsep + os.path.join(sb['datadir'], 'latex') os.environ['TEXINPUTS'] += os.pathsep + os.path.join(sb['datadir'], 'latex')
# First pdflatex pass # First pdflatex pass

Loading…
Cancel
Save