[tex-live] texdoc not working in texlive 2012 for win

Siep Kroonenberg siepo at cybercomm.nl
Fri Jul 20 20:35:55 CEST 2012

On Fri, Jul 20, 2012 at 04:50:49PM +0200, Salvatore Vassallo wrote:
> I've installed TeXLive 2012 on a windows 7 machine (collections basic
> binextra doc-base doc-english doc-italian fontsextra fontreccomended
> fontutils formatextra genericextra genericreccomended htmlxml
> langenglish langitalian latex latexextra latexrecommended mathextra
> pictures plainextra pstricks texworks wintools).
> Texdoc-gui does not work at all and if I launch texdoc from the command
> line I obtain the following error message
> C:\texlive\2012\bin\win32\runscript.tlu:608:
> c:/texlive/2012/texmf/scripts/texdoc/texdoc.tlu:7: module 'texdoc.main'
> not found:
>         no field package.preload['texdoc.main']
>         [kpse lua searcher] file not found: 'texdoc.main'
>         [kpse C searcher] file not found: 'texdoc.main'
>         [kpse All-in-one searcher] file not found: 'texdoc'
> Moreover when I run updmap in my  home folder texlive creates a folder
> named .texlive2008 instead of .texlive2012
> I've made the same installation of TeXLive on another pc (always with
> windows 7) and I obtained the same error.
> On both machines TeXLive 2011 worked properly

1. TeX Live 2012 has a menu entry `TeX Live command-line'. Does texdoc
fail when you run e.g. `texdoc texlive-en' from this command-line?

2. Did you install for the current user or for all users?

3. Does Control Panel / Programs and Features list any old TeX Live

4. What is your path in a regular command prompt?

On my w7 test machine, texdoc and texdoctk work fine.

Siep Kroonenberg

More information about the tex-live mailing list