-
Notifications
You must be signed in to change notification settings - Fork 13
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
Allow code cell output to be read as raw text by latex processor #4
Comments
Aah, nice. thanks for testing this one out @amichuda . I will add this to my list of tasks. |
Thinking about this a bit more, wouldn't this require a special node |
@amichuda was working on this a bit. the one major problem I faced was in Sphinx LaTex writer, which escapes characters, like The above was converted to
not sure if the fix for executablebooks/MyST-NB#117 is gonna take this into account. Maybe @chrisjsewell can shed some more light on this. Else, the only option I could figure out to solve this was to handle it in the writing phase of |
Thanks for looking into this! I wonder if this can also just be handled by putting doubling the backslashes when generating the table:
|
yes, I do have created a post-transform to detect latex code. let me try doubling the backslashes and see. Thank you. |
Thank you so much! If this all works out I'm gonna add you and the jupyterbook team to the special thanks in my thesis! |
wohoo. need to work extra hard on this one then. :) |
@AakashGfude is this still an open issue? |
When printing raw latex code with python, such as:
Output:
The output is treated as a code block when running
jb build --builder pdflatex
, butRmarkdown
, for example, you can allow the results to be read as raw text so that the latex processor can actually render the table.Is something like that possible?
The text was updated successfully, but these errors were encountered: