[OS X TeX] Spotlight importers

Bruno Voisin bvoisin at mac.com
Tue May 3 10:55:09 CEST 2005


Le 3 mai 05 à 04:04, Adam R. Maxwell a écrit :

> I wrote a couple of Spotlight importers that people may find  
> useful.  BibImporter (for BibTeX files), and DVIImporter (reads  
> text of DVI files).  In my testing, they work fine, but let me know  
> of any problems (crashes or memory leaks).  Source is available on  
> request; DVIImporter has dvi2tty from gwTeX bundled with it.
>
> The importers are available at <http://homepage.mac.com/amaxwell/>,  
> and can be installed in ~/Library/Spotlight or /Library/Spotlight.   
> You can force Spotlight to index your teTeX tree with `mdimport -f / 
> usr/local/teTeX` in Terminal, and the DVI importer should give you  
> access to the contents of the DVI documentation files from  
> Spotlight, while Apple's importers will index the others.

Reporting on this: here's the Terminal output when running the above  
command.

HTH,

Bruno Voisin

$ mdimport -f /usr/local/teTeX
PSSniffer error: No such file or directory
2005-05-03 10:20:44.460 mdimport[462] -[FileProcessor  
importMetadataFromFileAtPath:] Got exception *** -[NSCFArray  
addObject:]: attempt to insert nil for path '/usr/local/teTeX/share/ 
texmf.gwtex/doc/fonts/tipa/tipa.bib'
2005-05-03 10:22:31.986 mdimport[462] -[FileProcessor  
importMetadataFromFileAtPath:] Got exception *** -[NSCFArray  
addObject:]: attempt to insert nil for path '/usr/local/teTeX/share/ 
texmf.local/bibtex/bib/jfm/bibsamp.bib'
PSSniffer error: No such file or directory
2005-05-03 10:22:55.544 mdimport[462] -[FileProcessor  
importMetadataFromFileAtPath:] Got exception *** -[NSCFArray  
addObject:]: attempt to insert nil for path '/usr/local/teTeX/share/ 
texmf.tetex/bibtex/bib/ams/amsxport-options.bib'
2005-05-03 10:22:55.632 mdimport[462] -[FileProcessor  
importMetadataFromFileAtPath:] Got exception *** -[NSCFArray  
addObject:]: attempt to insert nil for path '/usr/local/teTeX/share/ 
texmf.tetex/bibtex/bib/ams/mrabbrev.bib'
2005-05-03 10:22:55.654 mdimport[462] -[FileProcessor  
importMetadataFromFileAtPath:] Got exception *** -[NSCFArray  
addObject:]: attempt to insert nil for path '/usr/local/teTeX/share/ 
texmf.tetex/bibtex/bib/base/test.bib'
2005-05-03 10:22:55.670 mdimport[462] -[FileProcessor  
importMetadataFromFileAtPath:] Got exception *** -[NSCFArray  
addObject:]: attempt to insert nil for path '/usr/local/teTeX/share/ 
texmf.tetex/bibtex/bib/base/xampl.bib'
2005-05-03 10:22:55.686 mdimport[462] -[FileProcessor  
importMetadataFromFileAtPath:] Got exception *** -[NSCFArray  
addObject:]: attempt to insert nil for path '/usr/local/teTeX/share/ 
texmf.tetex/bibtex/bib/plbib/plbib.bib'
2005-05-03 10:22:56.203 mdimport[462] -[FileProcessor  
importMetadataFromFileAtPath:] Got exception *** -[NSCFArray  
addObject:]: attempt to insert nil for path '/usr/local/teTeX/share/ 
texmf.tetex/doc/bibtex/base/btxdoc.bib'
Expected integer; found `n' instead.
Missing or invalid generation number.
missing or invalid cross-reference stream.
Invalid stream length 547; should be 546.
Invalid stream length 5831; should be 5830.
Invalid stream length 1327; should be 1326.
Invalid stream length 10041; should be 10040.
Invalid stream length 915; should be 914.
Invalid stream length 4268; should be 4267.
Invalid stream length 3809; should be 3808.
Invalid stream length 298; should be 297.
Invalid stream length 5974; should be 5973.
Invalid stream length 4418; should be 4417.
Invalid stream length 2491; should be 2490.
Invalid stream length 3857; should be 3856.
Invalid stream length 962; should be 961.
Invalid stream length 864; should be 863.
Invalid stream length 8526; should be 8525.
Invalid stream length 813; should be 812.
Invalid stream length 7416; should be 7415.
Invalid stream length 8109; should be 8108.
Invalid stream length 793; should be 792.
Invalid stream length 19349; should be 19348.
Invalid stream length 3446; should be 3445.
Invalid stream length 795; should be 794.
Invalid stream length 3834; should be 3833.
Invalid stream length 5733; should be 5732.
Invalid stream length 683; should be 682.
Invalid stream length 4363; should be 4362.
Invalid stream length 7993; should be 7992.
Invalid stream length 3549; should be 3548.
Invalid stream length 3280; should be 3279.
Invalid stream length 3501; should be 3500.
Invalid stream length 1532; should be 1531.
Invalid stream length 5165; should be 5164.
Invalid stream length 5260; should be 5259.
Invalid stream length 2649; should be 2648.
Invalid stream length 2684; should be 2683.
Invalid stream length 6007; should be 6006.
Invalid stream length 6746; should be 6745.
Invalid stream length 4169; should be 4168.
Invalid stream length 5501; should be 5500.
Invalid stream length 12901; should be 12900.
Invalid stream length 5930; should be 5929.
Invalid stream length 4270; should be 4269.
Invalid stream length 3458; should be 3457.
Invalid stream length 8313; should be 8312.
Invalid stream length 499; should be 498.
Invalid stream length 3683; should be 3682.
Invalid stream length 212; should be 211.
Invalid stream length 5357; should be 5356.
Invalid stream length 2536; should be 2535.
Invalid stream length 3100; should be 3099.
Invalid stream length 6395; should be 6394.
Invalid stream length 398; should be 397.
Invalid stream length 387; should be 386.
Invalid stream length 424; should be 423.
Invalid stream length 418; should be 417.
Invalid stream length 412; should be 411.
Invalid stream length 14388; should be 14387.
Invalid stream length 1572; should be 1571.
Invalid stream length 1607; should be 1606.
Invalid stream length 10009; should be 10008.
Invalid stream length 673; should be 672.
Invalid stream length 2795; should be 2794.
Invalid stream length 330; should be 329.
Invalid stream length 6165; should be 6164.
Invalid stream length 7729; should be 7728.
Invalid stream length 2928; should be 2927.
Invalid stream length 2046; should be 2045.
Invalid stream length 2928; should be 2927.
Invalid stream length 1242; should be 1241.
Invalid stream length 8875; should be 8874.
Invalid stream length 1547; should be 1546.
Invalid stream length 2945; should be 2944.
Invalid stream length 1887; should be 1886.
Invalid stream length 1256; should be 1255.
Invalid stream length 1860; should be 1859.
Invalid stream length 2557; should be 2556.
Invalid stream length 3565; should be 3564.
Invalid stream length 3816; should be 3815.
Invalid stream length 15318; should be 15317.
Invalid stream length 10110; should be 10109.
Invalid stream length 7500; should be 7499.
Invalid stream length 10340; should be 10339.
Invalid stream length 12294; should be 12293.
Invalid stream length 7840; should be 7839.
Invalid stream length 10541; should be 10540.
Invalid stream length 13332; should be 13331.
Invalid stream length 4138; should be 4137.
Invalid stream length 9334; should be 9333.
Invalid stream length 16561; should be 16560.
Invalid stream length 18057; should be 18056.
Invalid stream length 11840; should be 11839.
Invalid stream length 14881; should be 14880.
Invalid stream length 11791; should be 11790.
Invalid stream length 16811; should be 16810.
Invalid stream length 15803; should be 15802.
Invalid stream length 18527; should be 18526.
Invalid stream length 11607; should be 11606.
Invalid stream length 10446; should be 10445.
Invalid stream length 4744; should be 4743.
Invalid stream length 10413; should be 10412.
Invalid stream length 10694; should be 10693.
Invalid stream length 22435; should be 22434.
Invalid stream length 24570; should be 24569.
Invalid stream length 31438; should be 31437.
Invalid stream length 32145; should be 32144.
Invalid stream length 5773; should be 5772.
2005-05-03 10:25:57.939 mdimport[462] -[FileProcessor  
importMetadataFromFileAtPath:] Got exception *** -[NSCFArray  
addObject:]: attempt to insert nil for path '/usr/local/teTeX/share/ 
texmf.tetex/doc/latex/amscls/jr.bib'
2005-05-03 10:26:23.774 mdimport[462] -[FileProcessor  
importMetadataFromFileAtPath:] Got exception *** -[NSCFArray  
addObject:]: attempt to insert nil for path '/usr/local/teTeX/share/ 
texmf.tetex/doc/latex/bibtopic/articles.bib'
2005-05-03 10:26:23.863 mdimport[462] -[FileProcessor  
importMetadataFromFileAtPath:] Got exception *** -[NSCFArray  
addObject:]: attempt to insert nil for path '/usr/local/teTeX/share/ 
texmf.tetex/doc/latex/bibtopic/books.bib'
PSSniffer error: No such file or directory
PSSniffer error: No such file or directory
2005-05-03 10:28:14.211 mdimport[462] -[FileProcessor  
importMetadataFromFileAtPath:] Got exception *** -[NSCFArray  
addObject:]: attempt to insert nil for path '/usr/local/teTeX/share/ 
texmf.tetex/doc/latex/revtex4/sample/apssamp.bib'
PSSniffer error: No such file or directory
PSSniffer error: Not a directory
PSSniffer error: Not a directory
Failed to find PDF header: `%PDF' not found.
PDFSniffer error: Not a directory--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the macostex-archives mailing list