[OS X TeX] TeXlive 2007 and texdoc

Enrico Franconi franconi at inf.unibz.it
Wed Mar 28 22:07:16 EDT 2007


On 29 Mar 2007, at 05:13, Victor Ivrii wrote:

> There is a solution which does not cure any external links, not
> affects links to texmf-local, to fonts, dtx, sty (so thousands of them
> are left intact) but it fixes tens of thousand bad links and while
> replaces some bad links by other bad links, it does not seem to break
> good links :-) So use it to your own peril:
>
> cd /usr/local/texlive/2007/texmf-doc/doc/english/catalogue/entries
>
> sudo fixcatalog *
>
> where fixcatalog is perl script:
>
> #!/usr/bin/perl -i
> #
> $old =  "../../../macros/latex/contrib/";
> $new = "../../../../texmf-dist/doc/latex/"
> while (<>){
> 	s/$old/$new/og;
> 		print;
> 		}

syntax error at /usr/local/bin/fixtexcatalog line 5, near "){"
syntax error at /usr/local/bin/fixtexcatalog line 8, near "}"
Execution of /usr/local/bin/fixtexcatalog aborted due to compilation  
errors.

--e.



------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the MacOSX-TeX mailing list