You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This isn't a proper solution, since this is included in the book, which is not what I want. Hopefully hiding it from the book will be an easy fix. I have tried wrapping it in an \ifx statement, but this removes it from the latex file and doesn't call the code.
Hello JamieMair.
The pythontex documentation states:
"Notice that there is not a command or environment for console content that
parallels the block command and environment. That is, there is not a command
or environment that both typesets and executes code in the console, but does not
show the output. This is intentional. In most cases, if you are going to use the
console, you should use it consistently, showing input and output together."
Unfortunately, as you have seen, there are cases where we do actually want to use the console without showing input and output together. This currently seems to require a change to pythontex to enable that functionality.
I have an algorithm defined as follows:
This algorithm is rendered correctly and I can use it in tests, but not in the console environment:
Doing this produces the following:
How can I access these functions in the console space?
The text was updated successfully, but these errors were encountered: