Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Errors with algpseudocode #825
We are converting our intro AI book to html using latexml (0.8.2). We have hit a snag with algpseudocode. I have created a small examples that does not work.
Latex works fine. The command
and does not produce an output. This is preventing us from converting our book!
Aside: we are converting the second edition of our AI textbook from latex to HTML. The first edition used hyperlatex; see http://artint.info/html/ArtInt.html but we needed to do much postprocessing by hand. We have decided to use latexml because it supports mathml and many packages. The book is written using high-level semantic commands and we don't mind defining separate macros to render the latex and the html (which is how we got hyperlatex to work). Thanks for providing latexml.
hmm... it seems the binding for algpseudocode is assuming that the algorithm package is loaded, and wants to number the lines from within an algorithm counter, but that's not happening in your case. I've got to look into how to make it behave in both scenarios...
Nice textbook, btw!