chirun-ncl / chirun

A Python package providing the command line interface for building flexible and accessible content with Chirun.
https://chirun.org.uk/
Other
29 stars 4 forks source link

Runnable code environment pulling in next line after code #160

Closed aamirzk closed 10 months ago

aamirzk commented 11 months ago

Using the runnable code environment in LaTeX pulls in the line of text after the code environment.

Screenshot 2023-07-27 at 12 02 00
aamirzk commented 10 months ago

Still having this issue with pulling in lines after \end{runnableCode}.

christianp commented 10 months ago

Can you give me a link to a package where this happens?

aamirzk commented 10 months ago

Towards the end of Chapter 3 of this package.

christianp commented 10 months ago

Ah, I don't think I updated the docker image which the production server uses. I'm doing that now, so I'll rebuild that package and see if it works.

christianp commented 10 months ago

Nope, that's not it. I'll have to have a closer look.

christianp commented 10 months ago

Works in my development environment, so this must be the Docker image being out of date. Arggg!!

christianp commented 10 months ago

Yes, I finally managed to rebuild the docker image properly: I'd given --build-arg version=... instead of --build-arg VERSION=.... I've rebuilt your package and the runnable code block only contains what it should now.