mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
update style files checklist for latex tests
This commit is contained in:
parent
5142d17e41
commit
4d3f5b3c1c
@ -27,9 +27,9 @@ from test_build_html import ENV_WARNINGS
|
|||||||
|
|
||||||
LATEX_ENGINES = ['pdflatex', 'lualatex', 'xelatex']
|
LATEX_ENGINES = ['pdflatex', 'lualatex', 'xelatex']
|
||||||
DOCCLASSES = ['howto', 'manual']
|
DOCCLASSES = ['howto', 'manual']
|
||||||
STYLEFILES = ['article.sty', 'fancyhdr.sty', 'titlesec.sty', 'amsmath.sty',
|
STYLEFILES = ['article.cls', 'fancyhdr.sty', 'titlesec.sty', 'amsmath.sty',
|
||||||
'framed.sty', 'color.sty', 'fancyvrb.sty', 'fncychap.sty',
|
'framed.sty', 'color.sty', 'fancyvrb.sty', 'threeparttable.sty',
|
||||||
'threeparttable.sty', 'geometry.sty']
|
'fncychap.sty', 'geometry.sty', 'kvoptions.sty', 'hyperref.sty']
|
||||||
|
|
||||||
LATEX_WARNINGS = ENV_WARNINGS + """\
|
LATEX_WARNINGS = ENV_WARNINGS + """\
|
||||||
%(root)s/index.rst:\\d+: WARNING: unknown option: &option
|
%(root)s/index.rst:\\d+: WARNING: unknown option: &option
|
||||||
@ -61,7 +61,7 @@ def kpsetest(*filenames):
|
|||||||
|
|
||||||
def test_latex():
|
def test_latex():
|
||||||
if kpsetest(*STYLEFILES) is False:
|
if kpsetest(*STYLEFILES) is False:
|
||||||
raise SkipTest('not running latex, the required styles doesn\'t seem to be installed')
|
raise SkipTest('not running latex, the required styles do not seem to be installed')
|
||||||
|
|
||||||
for engine, docclass in product(LATEX_ENGINES, DOCCLASSES):
|
for engine, docclass in product(LATEX_ENGINES, DOCCLASSES):
|
||||||
yield build_latex_doc, engine, docclass
|
yield build_latex_doc, engine, docclass
|
||||||
|
Loading…
Reference in New Issue
Block a user