This PR adds tex to the list of output formats like pdf, preprint, jats, etc.
The point is that it uses the same configuration as the pdf final build, but it outputs the latex file.
This is important so we can make a semantic diff on the latex instead of just checking the resulting binaries for the PDFs generated from this latex are the same. It turns out that it's not trivial to make the PDFs build the same way in the CI pipeline and locally (esp on an M3 mac if you can't build the docker image yourself easily)
Closes #81
This PR adds
tex
to the list of output formats likepdf
,preprint
,jats
, etc.The point is that it uses the same configuration as the
pdf
final build, but it outputs the latex file.This is important so we can make a semantic diff on the latex instead of just checking the resulting binaries for the PDFs generated from this latex are the same. It turns out that it's not trivial to make the PDFs build the same way in the CI pipeline and locally (esp on an M3 mac if you can't build the docker image yourself easily)