Browse Source

Raffinement du commit c443321d5e

pull/3/head
Louis 11 years ago
parent
commit
7ab9920cdc
  1. 4
      songbook/build.py

4
songbook/build.py

@ -177,7 +177,9 @@ 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') if not os.environ.has_key('TEXINPUTS'):
os.environ['TEXINPUTS'] = ''
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