-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
I'm trying to use this package to call latex using a utf8 string.
I need to make something python 2 and 3 compatible.
Here is the repo and traceback:
def test_cli_pdf(tmpdir):
from catex.cli import _cli
tmp_file = tmpdir.join("test.pdf")
files = ["tests/data/latex1.tex", "tests/data/latex2.tex"]
> _cli(files, tmp_file.strpath)
tests/test_cli.py:6:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox/py33-test/lib/python3.3/site-packages/catex/cli.py:22: in _cli
pdf = build_pdf(text)
.tox/py33-test/lib/python3.3/site-packages/latex/build.py:206: in build_pdf
return builder.build_pdf(source, texinputs)
<decorator-gen-2>:2: in build_pdf
???
.tox/py33-test/lib/python3.3/site-packages/data/decorators.py:82: in _
return f(*bvals.args, **bvals.kwargs)
.tox/py33-test/lib/python3.3/site-packages/latex/build.py:164: in build_pdf
raise_from(LatexBuildError(base_fn + '.log'), e)
.tox/py33-test/lib/python3.3/site-packages/latex/exc.py:15: in __init__
self.log = open(logfn).read()Metadata
Metadata
Assignees
Labels
No labels