-
Notifications
You must be signed in to change notification settings - Fork 575
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
Colored Text Crashes PDF Export #1071
Comments
I found the issue. It has to do with
In line 142 the block begins with
This compiles without any problems into a PDF. The new line after
The trailing I don't know why closing the block the wrong way ate the necessary line break, but I'll make a pull request soon implementing this. |
The whitespace trimming in the stream block is there to make sure that the verbatim box is not larger than it needs to be. Otherwise there is a strangely large amount of whitespace after a stream block. I'd like to delve into the code for the ansi2latex filter before removing that whitespace gobbler (the |
Printing colored text results in latex conversion when exporting to pdf that fail to process by xelatex.
Executing and then exporting via
jupyter nbconvet --to=pdf ColorExportFail
Raises an exception:
Just exporting the latex via
jupyter nbconvet --to=latex ColorExportFail
producesInstead of
The extra newline breaks exports.
ColorExportFail.txt
This is on current master (5.5.0)
The text was updated successfully, but these errors were encountered: