Am 14.03.2017 um 23:00 schrieb Ralf Hemmecke:
>> I'm still analyzing >> https://github.com/hemmecke/fricas/blob/mathjax/src/doc/ht.awk > > Maybe helpful, but that is not enough, I'm afraid. > First, that produces something for HyperDoc, and if I am not completely > wrong, then it misses some lines that were not important for the > HyperDoc version. Eventually, the generated .tex files should be the > source from which to translate into .rst. The LaTeX in there is quite > simple, but one has to figure out all \commands and treat some of their > arguments in a special way. > You're right. The first idea was to reuse ht.awk to rst.awk by transforming the print lines. Using .tex also seems easier to me (than comprehending htex). > It'll be probably some work to parse all the TeX \commands and their > arguments and produce a respective .rst form. > Maybe, but seems feasible. > I have, however no idea, how the generated .ps files can make it into > the .rst file. One probably has to convert to .png or so ... not sure if eps/ps is allowed. At the moment it is .png: .. |picture1| image:: ps/bessintr.png > > Ralf > BTW: your branch compiled well with SBCL 1.3.0, however, using 1.3.15 stopped: Compiling FriCAS source code from file /root/fricas/src/algebra/MATHJAX.spad using old system compiler. MATHJAX abbreviates domain MathJaxFormat >> System error: :ASCII stream decoding error on #<SB-SYS:FD-STREAM for "file /root/fricas/src/algebra/MATHJAX.spad" {1005FABD73}>: the octet sequence #(226) cannot be decoded. -- 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.