[OS X TeX] TeXShop syntax highlighting for expl3

Herbert Schulz via MacOSX-TeX macosx-tex at email.esm.psu.edu
Sun Jan 28 01:57:47 CET 2024



> On Jan 27, 2024, at 4:39 PM, Richard Koch <koch at uoregon.edu> wrote:
> 
> 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

Howdy,

Hmmm... how many more are there? :-)

Dick, will this be added to the document about hidden preferences, Help->Comment Lines and Hidden Preferences? Easier to find there than searching through the Source Code even if rather obscure. :-)

Good Luck,

Herb Schulz
herbs2 at mac.com


----------- 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.