muzimuzhi / sicp

HTML5/EPUB3 version of SICP
http://muzimuzhi.github.io/sicp/
Other
0 stars 0 forks source link

Adapt to use standard texi2any from gnu-texinfo #2

Open muzimuzhi opened 3 years ago

muzimuzhi commented 3 years ago

To locally make this project (on macOS 10.15.6) with the texi2any file located in this repo, I have to set PERL5LIB=/usr/local/opt/texinfo (this doesn't work), as suggested in https://github.com/sarabander/sicp/issues/37.

If texi2any from standard gnu-texinfo is used (by changing ./texi2any to texi2any in Makefile), CLI option --split=section (set in Makefile, see its doc here) is ignored hence wrong per-node html files are created.

muzimuzhi commented 3 years ago

It seems a texinfo v5.1 is forcibly required, as mentioned in https://github.com/sarabander/sicp#source.