[OS X TeX] How get sections in separate html pages with TeX4ht?

Murray Eisenberg murrayeisenberg at gmail.com
Fri Sep 2 19:22:07 CEST 2022


The question is how to produce separate html pages, one for each document section (with the usual kind of next and previous page links) In TeXShop, 

Allegedly, the optional parameter “2” to the make4ht command does that.

I’m trying this with the source document Fourier.tex from ~/Library/TeXShop/New/Demo/Fourier-for-TeXShop.

First I tried modifying the new TeXr4ht.engoine by changing its line

	make4ht "$1" "mathjax”

to:

	make4ht "$1" "mathjax,2”.

But when I typeset, I get a single html file.

Next I tried doing the same thing from a Terminal command line:

	make4ht Fourier "mathjax,2”

(followed by pdflatex Fourier). But still a single html page.

Any idea how to make it work?
---
Murray Eisenberg		murrayeisenberg at gmail.com
Mobile (413)-427-5334
503 King Farm Blvd #101		
Rockville, MD 20850-6667	



----------- Please Consult the Following Before Posting -----------
TeX FAQ: https://www.tug.org/mactex/faq/index.html
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/TeX/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: https://www.tug.org/mactex/index.html
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex



More information about the macostex-archives mailing list.