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
pycon lexer outputs all grey text #65
Comments
Also, I'm on texlive 2013.20140215-1 on Ubuntu 14.04. I'm not sure how to find the minted version number. |
It works fine for me with minted 2.0 and Pygments 1.6. The minted version shouldn't matter for this, though. Can you give me a complete example document that causes the problem? There might be a package conflict. |
I have the issue on Ubuntu 14.04 as well. @moorepants I found my minted version by reading /usr/share/texlive/texmf-dist/tex/latex/minted/minted.sty, which said I have v1.7. |
Yes @gpoore, see the document here: chrisdembia/python-yeadon-paper#50 |
Thanks @chrisdembia I have 1.7 installed also. |
This is due to a particular interaction between your document and Pygments. You are using minted as at https://github.com/chrisdembia/python-yeadon-paper/blob/issue-15/main.tex#L516-537. The code is indented, and then you use If you try your code at the Pygments site, but indent it, you get the same grey results. In terms of working around this, you have a few options. You could just not indent the code. Or, you could upgrade to minted 2.0, which adds an |
@gpoore Awesome, thanks for the debug and the great package! We will just unindent for this situation. I'll wait on minted 2.0 to get into texlive instead of installing it manually. Thanks! |
minted 2.0 is already on TeX Live. You should be able to update it via |
@klmr thanks for the tip. I assume |
We use the ShareLaTeX CI Github integration and they seem to have minted < 2.0, so I'll probably just go with the work around above. |
|
Hi,
I'm using minted to highlight a Python console session but it outputs all grey text instead of highlighting it properly. The PR showing my code is here:
chrisdembia/python-yeadon-paper#50
The example code is:
It works on the Pygments website:
http://pygments.org/demo/1302679/
But looks like this on my machine build and on the sharelatex CI build:
I have pygments 1.6:
Am I doing something wrong?
The text was updated successfully, but these errors were encountered: