Skip to content
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

Better optional math support #3

Open
mrtzh opened this issue Sep 19, 2019 · 2 comments
Open

Better optional math support #3

mrtzh opened this issue Sep 19, 2019 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@mrtzh
Copy link
Owner

mrtzh commented Sep 19, 2019

The current is not suitable for very math heavy documents. Additional plugins or filters, such as equation numbers or environment references, would be needed.

@mrtzh mrtzh added the help wanted Extra attention is needed label Sep 19, 2019
@boazbk
Copy link

boazbk commented Feb 13, 2021

I got into these issues in my book ( https://introtcs.org )

I ended up writing some filters you can find on https://github.com/boazbk/panbook

I used the panflute package http://scorreia.com/software/panflute/

The approach I used is to make the latex aux file the source for label numbers in the html as well.

I have some Python code that converts the aux to yaml and then use this to make the labels in html

Also at some point I gave up on generating chapters independently and just broke up the main pdf book into parts.

@mrtzh
Copy link
Owner Author

mrtzh commented Feb 13, 2021

Very cool. In the most recent update that I just pushed I did something much more basic for cross references. You can take a look at it in filters/crossrefs.py. It was sufficient for what we were doing though. I will leave this issue open, since what I implemented so far is very basic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants