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

PDF export via LaTeX is broken #25

Open
haniibrahim opened this issue Jun 21, 2022 · 1 comment
Open

PDF export via LaTeX is broken #25

haniibrahim opened this issue Jun 21, 2022 · 1 comment
Labels

Comments

@haniibrahim
Copy link

First, thank you for sharing your kernel. I use it with the classic Jupyter notebook. When I export a notebook as PDF (via LaTeX) it fails. I tested it on GNU/Linux and macOS. The PDF export works with Python3 or gnuplot kernel on both platforms.

This happens even with simple notebooks. Just with one disp command. I tested it with a couple notebooks.

When I export a notebook as LaTeX only there is a weird character which is also in the error message : ^^H
Refer LaTeX-file at https://hani-ibrahim.de/public/misc/nb.tex, line 390

Error message on GNU/Linux: 500 Internal kernel error

...

! Text line contains an invalid character.
l.390  ^^H
          
? 
! Emergency stop.
l.390  ^^H

....

Complete Linux-log at https://hani-ibrahim.de/public/misc/pdf-latex-errorlog.txt

GNU/Linux: Python 3.6
macOS: Python 3.8


Scilab kernel v0.9.10
Metakernel v0.28.2
Python v3.6.9 (default, Mar 15 2022, 13:55:28)
[GCC 8.4.0]
Python path: /usr/bin/python3

Connecting to Scilab...
Scilab connection established
Scilab version "6.1.0.1582621796"
scilab-6.1.0

@blink1073
Copy link
Contributor

Hi @haniibrahim, I believe this is related to pexpect/pexpect#669 (comment). We haven't had a work around it in metakernel yet.

@blink1073 blink1073 added the bug label Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants