-
Notifications
You must be signed in to change notification settings - Fork 669
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
Include cell outputs in the latex build. #1065
Comments
Hmmm, that's weird - I feel like this wasn't an issue before, maybe it is a regression? @mmcky do your latex builds not work for quantecon anymore? |
The quantecon example uses the Python kernel, does it not? I don't. And we've seen that Jupyter Book sometimes handles different kernels in different ways. Cf. #1043 |
ahhh interesting...can you paste the |
hey @RojerGS and @choldgraf. Outputs do typically get included (as the pdf artifact on quantecon-mini-example shows). The style needs to be improved to make @RojerGS if you're able to share the |
@mmcky you can find a MWE in the same repo I used for issue 1043 (repo link). That repo is nice because it has a short python and a short APL notebook, so you can compare both outputs. The cell above that got included (with the {
"cell_type": "code",
"execution_count": 310,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"RANK ERROR\n",
"Frame[4] f[1 r;1 c]←2 2⍴⎕UCS 9484 9488 9492 9496\n",
" ∧\n"
]
}
],
"source": [
"Frame 'We are not out of the wood'"
]
} One of the cells included in the screenshot above whose output was not included follows: {
"cell_type": "code",
"execution_count": 29,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<span style=\"white-space:pre; font-family: monospace\">1\n",
"</span>"
]
},
"execution_count": 29,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"AMHM times"
]
} I trust this was the info you were requesting? Feel free to ask for more clarifications if needed. |
The APL kernel I am using is the Dyalog Jupyter kernel available on GH. Inside the Jupyter interface, using the menu to go to Help > About shows little info about the kernel:
|
@RojerGS ok I know why this is happening. It looks like the |
Is your feature request related to a problem? Please describe.
When I generate a
.tex
file, the code outputs are not added to the file, only code inputs. In #810 @mmcky has mentioned that this is being worked on.I suspect it's because the metadata of the cells are different, but "code outputs" from code that errors seem to be getting included in the
.tex
file while regular outputs don't.Describe the solution you'd like
I would like code outputs to be included in the
.tex
file as well.Additional context
Two code cells whose outputs were not included:
And a code cell whose output was an error and was included:
I would be up for helping on this, but I am not sure who is working on this.
The text was updated successfully, but these errors were encountered: