SageMathOER-CCC / sage-discrete-math

An open textbook for Discrete Mathematics with SageMath, as taught at the City Colleges of Chicago
https://sagemathoer-ccc.github.io/sage-discrete-math/
Other
2 stars 2 forks source link

Embed Sage code outputs into the pdf/printed version #112

Open boughrira opened 2 months ago

boughrira commented 2 months ago

Currently, most -if not all, Sage code is not being evaluated when generating the output pdf file, and a placeholder comment is being inserted instead, unlike when having the online/interactive browser-based version PDF Format image

Browser Format image

Unsure if this was intentional or temporary, and if it's the former, perhaps we should look into options to enable the evaluation of Sage code during the pretext build command

Samuel-Lubliner commented 2 months ago

Good catch. In May we agreed on removing the output section of the sage blocks. These should be removed.

boughrira commented 2 months ago

I will keep this issue open for now as a TODO, and close it once we make the change to remove the output section (and the comment that shows in the printed version)