[OS X TeX] TeXShop 5.12

Richard Koch koch at uoregon.edu
Sun Feb 26 13:27:20 EST 2023


Murray,

I'm very impressed with your work converting the Manual to html. Thanks so much. 

Apologies for the delay responding. We were in the midst of notarizing MacTeX-2023. (That work 
ultimately panned out, and there is a new MacTeX-2023 in the TeX Live Pretest Area containing
all of TeX Live 2023, at least as it currently exists.)

Putting the html directly in TeXShop is a nice idea, but it is complicated because at least one person
has offered to translate the manual into another language. If TeXShop contained all localized
translations  and their html variants, it would be cumbersome to download
during upgrades. Another possibility is to make these translations and html versions available
via my web site. The right way to do all this is unclear to me. Let's wait a little and see if other
translations occur.

Dick

> On Feb 25, 2023, at 1:40 PM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
> 
> 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	
> 
> 
> 
> ----------- 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 MacOSX-TeX mailing list