Closed chrisdaaz closed 1 year ago
I've pushed a new branch: https://github.com/nulib-oer/linear-algebra/tree/pretext-cli
It includes some changes so that we can use the pretext build html
command to generate the HTML. It also starts to add (untested) LaTeX and PGF installation instructions so that the virtual machine can use tikz
to generate some figures.
Some issues:
pretext build html && pretext view html
), but the image paths not working for some reason. PreTeXt is setting the prebuilt image paths to external/images/...
but I need to figure out why.<latex-image>
element, but that's probably because I don't have the correct LaTeX environment on my laptop (I have a very minimal setup, so I'm likely missing packages).I've started using a preview version that deploys from the pretext-cli
branch, here: https://nulib-oer.github.io/linear-algebra/
I got the TikZ images working properly on my local machine, but I'm struggling with an error on the GH side I posted about here https://groups.google.com/u/1/g/pretext-support/c/xEk9cWoFBMU
@agreicius with the help of the pretext community, i think this has been figured out: https://nulib-oer.github.io/linear-algebra/s_changeofbasis.html
I don't recommend we make any changes while you're teaching, but when there's a good chance to update the workflow for this text or the calculus one, i think the pretext-cli
branch is a model
Add image processing dependencies to the
main.yml
workflow file.Dependencies are listed in:
ptx/index.ptx
-->latex-image
Makefile
pretext/pretext
We want to automate this workflow:
@agreicius can you edit the
build.sh
so that it works as it does locally?This is from the
Makefile
:@chrisdaaz will check for errors and create a staging branch deployment for testing.
Example
tikz
image forthcoming in the the 0.x section on proofs.