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

Problem with autogobble #44

Closed
AndreyAkinshin opened this issue Jul 25, 2014 · 2 comments
Closed

Problem with autogobble #44

AndreyAkinshin opened this issue Jul 25, 2014 · 2 comments

Comments

@AndreyAkinshin
Copy link

My tex:

\begin{minted}[autogobble]{matlab}
                for i = 1:10
                    x(i) = a(i);
                end
\end{minted}

autogabble don't works, log:

File "<string>", line 1 import sys; import textwrap; from io import open; f = open(\'tabsize.pyg\', \'r\', encoding=\'UTF8\'); t = f.read(); f.close(); f = open(\'tabsize.pyg\', \'w\', encoding=\'UTF8\'); f.write(textwrap.dedent(t)); f.close(); ^ SyntaxError: unexpected character after line continuation character

What the problem?

@gpoore
Copy link
Owner

gpoore commented Jul 25, 2014

It doesn't look like you are using the latest version of minted.sty. Earlier versions had issues with autogobble under some operating systems. Try using the latest version and see if that fixes things.

@AndreyAkinshin
Copy link
Author

Thank you. Lastest version helped me.

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