[OS X TeX] TeXShop syntax highlighting for expl3
Richard Koch
koch at uoregon.edu
Sat Jan 27 23:39:50 CET 2024
Alan,
I think this was requested by Jonathan Kew. I had forgotten about it.
The TeXShop Manual contains a chapter listing all hidden preferences, including this one.
But if you didn't know that it was there, I'm not sure how you'd find it.
A temporary preference to fix a bug which should soon be properly fixed by Apple will be a hidden preference. Any preference item requested by just a few people, but difficult to explain to other users, will be a hidden preference. A preference item requested by many users, but which I think is a bad idea, will be a hidden preference (example: turning off automatic saving).
Dick
On Jan 27, 2024, at 1:19 PM, Alan Munn via MacOSX-TeX <macosx-tex at email.esm.psu.edu> wrote:
Actually delving into the source a bit more, there is limited support for expl3 syntax already, with the hidden preference that came with v4.10.
defaults write TeXShop expl3SyntaxColoring YES
This at least formats code like \l_mymodule_foo:Nnn blue in the editor, which is an improvement over the default. But it would be nice to further distinguish functions from variables. I don't understand the code well enough to add that change, however.
BTW, I've never quite understood the criteria for making something a hidden preference vs. a selectable preference in the preference panes.
Alan
--
Alan Munn
amunn at gmx.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/macostex-archives/attachments/20240127/4d7854bc/attachment-0001.htm>
-------------- next part --------------
----------- 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.