Changeset 1816 for pyromaths


Ignore:
Timestamp:
Jun 3, 2016, 10:34:42 AM (3 years ago)
Author:
Juanma
Message:

enabled force-generation mode to latex

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pyromaths/trunk/fuentes/src/pyromaths/outils/System.py

    r423 r1816  
    235235        if socket.gethostname() == "sd-27355.pyromaths.org":
    236236            os.environ['PATH'] += os.pathsep + "/usr/local/texlive/2014/bin/x86_64-linux"
    237             call(["latexmk", "-shell-escape", "-silent", "-interaction=nonstopmode", "-output-directory=%s" % dir0, "-pdfps", "%s.tex" % f0noext], env=os.environ, stdout=log)
    238             call(["latexmk", "-c", "-silent", "-output-directory=%s" % dir0], env=os.environ, stdout=log)
     237            call(["latexmk", "-shell-escape","-f", "-silent", "-interaction=nonstopmode", "-output-directory=%s" % dir0, "-pdfps", "%s.tex" % f0noext], env=os.environ, stdout=log)
     238            call(["latexmk", "-c", "-f","-silent", "-output-directory=%s" % dir0], env=os.environ, stdout=log)
    239239        elif os.name == 'nt':
    240             call(["latexmk", "-pdfps", "-shell-escape", "-silent", "-interaction=nonstopmode", "%s.tex" % f0noext], env={"PATH": os.environ['PATH'], "WINDIR": os.environ['WINDIR'], 'USERPROFILE': os.environ['USERPROFILE']}, stdout=log)
    241             call(["latexmk", "-silent", "-c"], env={"PATH": os.environ['PATH'], "WINDIR": os.environ['WINDIR'], 'USERPROFILE': os.environ['USERPROFILE']}, stdout=log)
     240            call(["latexmk", "-pdfps", "-shell-escape", "-f","-silent", "-interaction=nonstopmode", "%s.tex" % f0noext], env={"PATH": os.environ['PATH'], "WINDIR": os.environ['WINDIR'], 'USERPROFILE': os.environ['USERPROFILE']}, stdout=log)
     241            call(["latexmk", "-f","-silent", "-c"], env={"PATH": os.environ['PATH'], "WINDIR": os.environ['WINDIR'], 'USERPROFILE': os.environ['USERPROFILE']}, stdout=log)
    242242        else:
    243             call(["latexmk", "-pdfps", "-shell-escape", "-silent", "-interaction=nonstopmode", "%s.tex" % f0noext], stdout=log)
     243            call(["latexmk", "-pdfps", "-shell-escape", "-f","-silent", "-interaction=nonstopmode", "%s.tex" % f0noext], stdout=log)
    244244            call(["latexmk", "-silent", "-c", "-f"], stdout=log)
    245245        log.close()
     
    260260                os.environ['PATH'] += os.pathsep + "/usr/local/texlive/2014/bin/x86_64-linux"
    261261                call(["latexmk", "-shell-escape", "-silent", "-interaction=nonstopmode", "-output-directory=%s" % dir1, "-pdfps", "%s.tex" % f1noext], env=os.environ, stdout=log)
    262                 call(["latexmk", "-c", "-silent", "-output-directory=%s" % dir1], env=os.environ, stdout=log)
     262                call(["latexmk", "-c", "-f","-silent", "-output-directory=%s" % dir1], env=os.environ, stdout=log)
    263263            elif os.name == 'nt':
    264264                call(["latexmk", "%s.tex" % f1noext], env={"PATH": os.environ['PATH'], "WINDIR": os.environ['WINDIR'], 'USERPROFILE': os.environ['USERPROFILE']}, stdout=log)
Note: See TracChangeset for help on using the changeset viewer.