[OS X TeX] TeXShop 5.12

Murray Eisenberg murrayeisenberg at gmail.com
Sat Feb 25 16:40:36 EST 2023


Producing an html version of the TeXShop Manual works nicely now, with these methods:

(1) either with the minor editing of names with accents in Manual.tex, as suggested by Herb Schulz, or by leaving those accents alone but using the Lua-TeX4ht engine from Ulrich Groh (but the double accent over the "e" in "Hàn Thế Thành" is spread horizontally instead of stacked vertically); and

(2) for making separate pages for each section, using the "book.4ht" file as modified by "michal.h21" in https://tex.stackexchange.com/a/676531/13492, which is to appear soon in the TeX4ht sources on CTAN so as to link the title page to the rest by the usual tex4ht navigation menus.

For sectioned html, the TeXShop engine I'm actually using is now this file Lua-TeX4htSecs:

#!/bin/tcsh
# !TEX-bothPreview
set path= ($path /Library/TeX/texbin /usr/texbin /usr/local/bin)
make4ht --lua "$1" "mathjax,3"
lualatex  -file-line-error -synctex=1 "$1" 

Note that, since the documentclass is book rather than article, the sectioning parameter in the make4ht call is increented by 1, from 2 to 3 (if the source had been documentclass article, it would have been 2).

Would it be useful to include an html version of the Manual in future versions of TeXShop? Especially with such sectional navigation, browser-based documentation is sometimes easier than a single pdf file.

> On Feb 22, 2023, at 3:28 PM, Richard Koch <koch at uoregon.edu> wrote:
> 
> Murray,
> 
> Interesting idea. The complete TeX source for the manual is in the TeXShop source code, which is available on the TeXShop site. So you can download it, unzip it, find the source for the manual, and typeset with tex4ht. Give it a try.
> 
> Dick
> 
> 
>> On Feb 22, 2023, at 12:05 PM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
>> 
>> Bravo for the new user Manual! (This makes searching for information much easier (at least for me and for some things) than with the old Help Panel.)
>> 
>> I’d like to have, too, an HTML multi-page version. Would it be possible to provide that or at least distribute the .tex source of Manual.pdf so that a user could apply tex4ht to produce such?
> 
> ----------- 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

---
Murray Eisenberg		murrayeisenberg at gmail.com
Mobile (413)-427-5334
503 King Farm Blvd #101		
Rockville, MD 20850-6667	



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20230225/6460c0d8/attachment.htm>


More information about the MacOSX-TeX mailing list