There is some progress. If you could create a branch I'd clone/pull. I think that the concpet will work, so we might start filling in the details (Makefile.in etc.). The fricas/src/doc/tmp folder corresponds to the tex_orig/. Some further remarks below (between).
1. convps.sh ==> converts ps/*.ps images to png/*.png 2. make.sh ==> tex_orig ->[awk]-> tex_new ->[pandoc] -> rst ->[sphinx]-> :) Preview: rst/ug*.rst https://kfp.bitbucket.io/rh_book/html/ Am 21.03.2017 um 23:52 schrieb Ralf Hemmecke: ... > Nevertheless, I somehow tend to open a branch on top of my mathjax > branch and create respective Makefile.in entries to automate the > creation of the respective .rst file(s). Choosing a name is your business ;) > > Obviously, it might even make sense to tweak the MathJax domain at > runtime in order to produce something that pandoc understands directly. > For example, generate $$ ... $$ instead of \begin{fricasmath}{1} ... > \end{fricasmath}. That would be nice, although not necessary. A pand.awk seems inevitable to me. There are some errors in few tex files, however, which should be fixed (later). > > Anyway, PanDoc has a way to run filters, I just don't yet know whether > simple awk scripts that run on the (generated) .tex file before feeding > them to pandoc are easier to write than filters that run on the pandoc > representation of the input. We should avoid filters (changed my mind after a closer look). Since AWK is used anyway it's not a new dependency. > > Anyway, in the end I'd like to see something that looks like > https://kfp.bitbucket.io/fricas-ug/, i.e., with TOC and a lot of inner > anchors so that one can point potential users exactly to the position in > the book that is relevant for their problem. The look and feel will depend on the style. I suggest using the "classic" style (like the API). The default is "Alabaster" at the moment (Maybe read-the-docs style, only if wished: http://docs.readthedocs.io/en/latest/getting_started.html). > > Ralf > -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To unsubscribe from this group and stop receiving emails from it, send an email to fricas-devel+unsubscr...@googlegroups.com. To post to this group, send email to fricas-devel@googlegroups.com. Visit this group at https://groups.google.com/group/fricas-devel. For more options, visit https://groups.google.com/d/optout.