macOS: Spotlight indexing of manuals?
Spotlight on macOS can help me to find the right documentation. When I copy the contents of the folder (the manuals for ConTeXt) from its original location /usr/local/context-osx-64/tex/texmf-context/doc/context/documents/general/manuals to ~/Downloads/TestFolder they are indexed and found by Spotlight. But not in their original location. Why? And how do I fix this, because I want the manuals and such in /usr/local to be found. Any Mac user who knows? G
Maybe this is the solution, haven't tried it myself.https://support.apple.com/en-us/HT201716JanneMed Vänlig Hälsning Jan-Erik Hägglöf
-------- Originalmeddelande --------Från: Gerben Wierda
I already had done all of that including command line versions like ‘sudo mdutil -E’ It turns out macOS apparently excludes /usr (amongst other things) and I haven’t found a way to configure that. So, when ConTeXt is installed in /usr/local (which is pretty typical), SpotLight doesn’t find the manuals, whereas when it has been installed in — say — /Applications, it will find them. G
On 31 Mar 2020, at 06:21, janerik.hagglof
wrote: Maybe this is the solution, haven't tried it myself.
https://support.apple.com/en-us/HT201716
Janne
Med Vänlig Hälsning
Jan-Erik Hägglöf
-------- Originalmeddelande -------- Från: Gerben Wierda
Datum: 2020-03-30 23:52 (GMT+01:00) Till: mailing list for ConTeXt users Ämne: [NTG-context] macOS Spotlight on macOS can help me to find the right documentation.
When I copy the contents of the folder (the manuals for ConTeXt) from its original location /usr/local/context-osx-64/tex/texmf-context/doc/context/documents/general/manuals to ~/Downloads/TestFolder they are indexed and found by Spotlight.
But not in their original location. Why? And how do I fix this, because I want the manuals and such in /usr/local to be found.
Any Mac user who knows?
G ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________
If I understand the policy of Apple correctly, then it is that \usr is not meant to be a directory to be used by the user and therefore spotlight by default will not index anything in that directory. When opening Finder then the mentioned folder is not even shown i.e. it is hidden and spotlight will accordingly not index such directories. Willi
On 31 Mar 2020, at 10:44, Gerben Wierda
wrote: I already had done all of that including command line versions like ‘sudo mdutil -E’
It turns out macOS apparently excludes /usr (amongst other things) and I haven’t found a way to configure that. So, when ConTeXt is installed in /usr/local (which is pretty typical), SpotLight doesn’t find the manuals, whereas when it has been installed in — say — /Applications, it will find them.
G
On 31 Mar 2020, at 06:21, janerik.hagglof
wrote: Maybe this is the solution, haven't tried it myself.
https://support.apple.com/en-us/HT201716
Janne
Med Vänlig Hälsning
Jan-Erik Hägglöf
-------- Originalmeddelande -------- Från: Gerben Wierda
Datum: 2020-03-30 23:52 (GMT+01:00) Till: mailing list for ConTeXt users Ämne: [NTG-context] macOS Spotlight on macOS can help me to find the right documentation.
When I copy the contents of the folder (the manuals for ConTeXt) from its original location /usr/local/context-osx-64/tex/texmf-context/doc/context/documents/general/manuals to ~/Downloads/TestFolder they are indexed and found by Spotlight.
But not in their original location. Why? And how do I fix this, because I want the manuals and such in /usr/local to be found.
Any Mac user who knows?
G ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________
participants (3)
-
Gerben Wierda
-
janerik.hagglof
-
Willi Egger