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

Sage cannot compile, when there is an empty sagesilent or sageblock #48

Open
Alexnortung opened this issue May 16, 2020 · 1 comment
Open
Labels

Comments

@Alexnortung
Copy link

The following latex code will fail with the following fail.

\begin{sagesilent}

\end{sagesilent}
File "main.sagetex.sage.py", line 32
    except:
    ^
IndentationError: expected an indented block

To reproduce:
Create a .tex document and include the sagetex package.
Then add the codeblock above and run

pdflatex main.tex
sage main.sagetex.sage
@dimpase
Copy link
Member

dimpase commented Jun 7, 2020

thanks for the report, and please feel free to provide a PR to fix this issue.

@dimpase dimpase added the bug label Jun 7, 2020
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