mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #3466 from jfbu/lualatexsettings
same default settings for lualatex as for xelatex
This commit is contained in:
@@ -14,6 +14,7 @@ import os
|
||||
import re
|
||||
from itertools import product
|
||||
from subprocess import Popen, PIPE
|
||||
from shutil import copyfile
|
||||
|
||||
from six import PY3
|
||||
import pytest
|
||||
@@ -67,6 +68,9 @@ def compile_latex_document(app):
|
||||
with cd(app.outdir):
|
||||
try:
|
||||
ensuredir(app.config.latex_engine)
|
||||
# keep a copy of latex file for this engine in case test fails
|
||||
copyfile('SphinxTests.tex',
|
||||
app.config.latex_engine + '/SphinxTests.tex')
|
||||
p = Popen([app.config.latex_engine,
|
||||
'--interaction=nonstopmode',
|
||||
'-output-directory=%s' % app.config.latex_engine,
|
||||
|
||||
Reference in New Issue
Block a user