[OS X TeX] .sty files listed as Kind STY and Asian characters

Murray Eisenberg murrayeisenberg at gmail.com
Tue Sep 29 16:59:15 CEST 2020


On 29 Sep2020, at 1:09 AM, Adam R. Maxwell via MacOSX-TeX <macosx-tex at email.esm.psu.edu> wrote:
> 
>> On Sep 28, 2020, at 11:59 , Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
>> 
>> I’m seeding that (on .cls, too, not just .sty) in any Finder window I open anywhere there is such a file. For example, in subfolders of my own Documents and in every subfolder of  /usr/local/texlive/2020/texmf-dist/tex/latex that I open in Finder.
> 
> The first step is to run mdls on a .sty file in Terminal and see what it gives you for kMDItemKind and kMDItemContentType (I think those are the relevant ones).
> 
> Once you find the kMDItemContentType, you'll probably end up having to inspect the output of lsregister to see what application or plugin is defining it. I'd guess that whatever is defining it has a localization problem with the way types are defined. On Mojave the command is:
> 
> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -dump 
> 


I ran mdls on both memhfixc.sty and memoir.cls in /usr/local/texlive/2020/texmf-dist/tex/latex/memoir. Those are two from among _all_ .sty and .cls files that now show the two Japanese (?) characters in the Kind column of Finder list view. Output included:

		mdls memhfixc.sty
	kMDItemKind = "sty"
	kMDItemContentType = “org.tug.sty"

		mdls memoir.cls
	kMDItemKind = “cls"
	kMDItemContentType = "org.tug.cls"

I tried next "lsregister - dump”, but the output is huge, and I have no idea what to look for or do with the output. I tried piping to, e.g., “grep org.tug.sty” but get so many lines and no hint of what to do with that.
 
---
Murray Eisenberg			murrayeisenberg at gmail.com
503 King Farm Blvd #101	Home (240)-246-7240
Rockville, MD 20850-6667	Mobile (413)-427-5334


----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
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: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex



More information about the macostex-archives mailing list.