Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Texify to tableofcontents #353

Open
EnriqueDiazCLS opened this issue Jun 27, 2022 · 1 comment
Open

Texify to tableofcontents #353

EnriqueDiazCLS opened this issue Jun 27, 2022 · 1 comment

Comments

@EnriqueDiazCLS
Copy link

We are trying to use the next command for the compiler:

self.doc.generate_pdf(file_name,compiler='texify',compiler_args=['pdf','synctex','-clean'], clean_tex=False)

This configuration is a copy from TeXworks

image

But when I run it with PyLatex I get the next error:

Sorry, but texify did not succeed.

Command '['texify', 'pdf', 'synctex', '-clean', '--interaction=nonstopmode', 'C:\ESAPPS\AirbusReport\HR8956AAG12 - MMI-3.tex']' returned non-zero exit status 1.

@marijnschraagen
Copy link

Maybe the extra hyphen in '-clean' is the problem, i.e., use compiler_args=['pdf','synctex','clean'] instead. Or maybe the combination of spaces and hyphens in the filename confuses texify into thinking that there are additional options (although that would be a bug), you could try a simpler filename like C:\ESAPPS\AirbusReport\HR8956AAG12MMI3.tex.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants