So does this seem to be the pathname problem? You can run htlatex
file.tex. Can you run htlatex path/file.tex? Can you run htlatex
c:/path/file.tex? If you can run the former, this is fixable, because we
can use the relative pathname.

I'm not sure what to do about this. HTML View and Export have been
broken for ages. They work now on Linux and (I believe) OSX. So one
possibility, absent a fix for Windows, is to alter configure.py so it
only installs the htlatex HTML converter on Linux. I suppose it could
still check for html2latex. The other option would be to try to ship
some python script or something that would fix the problem on Windows.

Richard

Edwin Leuven wrote:
> Richard Heck wrote:
>> Can someone see if using htlatex.bat rather than htlatex on Windows
>> helps with the "can't use pathnames" problem? I've found some references
>> to this on the web.
>
> no luck (works fine if i run htlatex on the .tex file)
>
>
>
> C:\tmp\lyx_tmpdir4220a04156\lyx_tmpbuf0\classno.html.conversion>latex
> \makeatle
> tter\def\HCode{\futurelet\HCode\HChar}\def\HChar{\ifx"\HCode\def\HCode"##1"{\Lin
>
> [EMAIL PROTECTED]@mac
>
> [EMAIL PROTECTED],html]{tex4ht}}\let\HCode\documentstyle\
>
> def\documentstyle{\let\documentstyle\HCode\expandafter\def\csname
> tex4ht\endcsna
> me{#1,html}\def\HCode####1{\documentstyle[tex4ht,[EMAIL PROTECTED]
>
> tstyle[tex4ht]}}}\makeatother\HCode .a.b.c.\input
> "C:/tmp/lyx_tmpdir4220a04156/
> lyx_tmpbuf0/classno.tex"
> This is pdfeTeX, Version 3.141592-1.30.6-2.2 (MiKTeX 2.5)
> entering extended mode
> LaTeX2e <2005/12/01>
> Babel <v3.8g> and hyphenation patterns for english, dumylang,
> nohyphenation, fr
> ench, dutch, norsk, loaded.
> (C:\tmp\lyx_tmpdir4220a04156\lyx_tmpbuf0\classno.tex
>
> C:\tmp\lyx_tmpdir4220a04156\lyx_tmpbuf0\classno.html.conversion>latex
> \makeatle
> tter\def\HCode{\futurelet\HCode\HChar}\def\HChar{\ifx"\HCode\def\HCode"##1"{\Lin
>
> [EMAIL PROTECTED]@mac
>
> [EMAIL PROTECTED],html]{tex4ht}}\let\HCode\documentstyle\
>
> def\documentstyle{\let\documentstyle\HCode\expandafter\def\csname
> tex4ht\endcsna
> me{#1,html}\def\HCode####1{\documentstyle[tex4ht,[EMAIL PROTECTED]
>
> tstyle[tex4ht]}}}\makeatother\HCode .a.b.c.\input
> "C:/tmp/lyx_tmpdir4220a04156/
> lyx_tmpbuf0/classno.tex"
> This is pdfeTeX, Version 3.141592-1.30.6-2.2 (MiKTeX 2.5)
> entering extended mode
> LaTeX2e <2005/12/01>
> Babel <v3.8g> and hyphenation patterns for english, dumylang,
> nohyphenation, fr
> ench, dutch, norsk, loaded.
> (C:\tmp\lyx_tmpdir4220a04156\lyx_tmpbuf0\classno.tex
>
> C:\tmp\lyx_tmpdir4220a04156\lyx_tmpbuf0\classno.html.conversion>latex
> \makeatle
> tter\def\HCode{\futurelet\HCode\HChar}\def\HChar{\ifx"\HCode\def\HCode"##1"{\Lin
>
> [EMAIL PROTECTED]@mac
>
> [EMAIL PROTECTED],html]{tex4ht}}\let\HCode\documentstyle\
>
> def\documentstyle{\let\documentstyle\HCode\expandafter\def\csname
> tex4ht\endcsna
> me{#1,html}\def\HCode####1{\documentstyle[tex4ht,[EMAIL PROTECTED]
>
> tstyle[tex4ht]}}}\makeatother\HCode .a.b.c.\input
> "C:/tmp/lyx_tmpdir4220a04156/
> lyx_tmpbuf0/classno.tex"
> This is pdfeTeX, Version 3.141592-1.30.6-2.2 (MiKTeX 2.5)
> entering extended mode
> LaTeX2e <2005/12/01>
> Babel <v3.8g> and hyphenation patterns for english, dumylang,
> nohyphenation, fr
> ench, dutch, norsk, loaded.
> (C:\tmp\lyx_tmpdir4220a04156\lyx_tmpbuf0\classno.tex
>
> C:\tmp\lyx_tmpdir4220a04156\lyx_tmpbuf0\classno.html.conversion>tex4ht
> \dirchar
> "C:/tmp/lyx_tmpdir4220a04156/lyx_tmpbuf0/classno.tex"
> -ic:\tex4ht\texmf\tex4ht\
> ht-fonts\ -ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env
> ----------------------------
> tex4ht.c (2006-09-13-14:27 Windows MiKTeX)
> tex4ht \dirchar
>   C:/tmp/lyx_tmpdir4220a04156/lyx_tmpbuf0/classno.tex
>   -ic:\tex4ht\texmf\tex4ht\ht-fonts\
>   -ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env
> (C:/Program Files/MiKTeX 2.5/tex4ht/base/win32/tex4ht.env)
> (C:/Program Files/MiKTeX
> 2.5/tex4ht/ht-fonts/iso8859/1/charset/unicode.4hf)
> (C:/Program Files/MiKTeX 2.5/fonts/tfm/adobe/times/ptmri8t.tfm)
> (C:/Program Files/MiKTeX
> 2.5/tex4ht/ht-fonts/alias/adobe/times/ptmri8t.htf)
> Searching `lm-ec.htf' for `ptmri8t.htf'
> (C:/Program Files/MiKTeX 2.5/tex4ht/ht-fonts/unicode/lm/lm-ec.htf)
> (C:/Program Files/MiKTeX 2.5/fonts/tfm/adobe/times/ptmr8t.tfm)
> (C:/Program Files/MiKTeX
> 2.5/tex4ht/ht-fonts/alias/adobe/times/ptmr8t.htf)
> Searching `lm-ec.htf' for `ptmr8t.htf'
> (C:/Program Files/MiKTeX 2.5/tex4ht/ht-fonts/unicode/lm/lm-ec.htf)
> (C:/Program Files/MiKTeX 2.5/fonts/tfm/adobe/times/zptmcm7y.tfm)
> (C:/Program Files/MiKTeX
> 2.5/tex4ht/ht-fonts/alias/adobe/mathptmx/zptmcm7y.htf)
> Searching `zpzccmry.htf' for `zptmcm7y.htf'
> (C:/Program Files/MiKTeX
> 2.5/tex4ht/ht-fonts/unicode/adobe/mathptm/zpzccmry.htf)
>
> (C:/Program Files/MiKTeX 2.5/fonts/tfm/adobe/times/zptmcm7m.tfm)
> (C:/Program Files/MiKTeX
> 2.5/tex4ht/ht-fonts/alias/adobe/mathptmx/zptmcm7m.htf)
> Searching `zptmcmrm.htf' for `zptmcm7m.htf'
> (C:/Program Files/MiKTeX
> 2.5/tex4ht/ht-fonts/unicode/adobe/mathptm/zptmcmrm.htf)
>
> (C:/Program Files/MiKTeX 2.5/fonts/tfm/adobe/times/zptmcm7t.tfm)
> (C:/Program Files/MiKTeX
> 2.5/tex4ht/ht-fonts/alias/adobe/mathptmx/zptmcm7t.htf)
> Searching `zptmcmr.htf' for `zptmcm7t.htf'
> (C:/Program Files/MiKTeX
> 2.5/tex4ht/ht-fonts/unicode/adobe/mathptm/zptmcmr.htf)
> (C:/Program Files/MiKTeX 2.5/fonts/tfm/adobe/times/ptmb8t.tfm)
> (C:/Program Files/MiKTeX
> 2.5/tex4ht/ht-fonts/alias/adobe/times/ptmb8t.htf)
> Searching `lm-ec.htf' for `ptmb8t.htf'
> (C:/Program Files/MiKTeX 2.5/tex4ht/ht-fonts/unicode/lm/lm-ec.htf)
> (C:/Program Files/MiKTeX 2.5/fonts/tfm/adobe/times/ptmb8t.tfm)
> (C:/Program Files/MiKTeX
> 2.5/tex4ht/ht-fonts/alias/adobe/times/ptmb8t.htf)
> Searching `lm-ec.htf' for `ptmb8t.htf'
> (C:/Program Files/MiKTeX 2.5/tex4ht/ht-fonts/unicode/lm/lm-ec.htf)
> (C:/Program Files/MiKTeX 2.5/fonts/tfm/adobe/times/ptmr8t.tfm)
> (C:/Program Files/MiKTeX
> 2.5/tex4ht/ht-fonts/alias/adobe/times/ptmr8t.htf)
> Searching `lm-ec.htf' for `ptmr8t.htf'
> (C:/Program Files/MiKTeX 2.5/tex4ht/ht-fonts/unicode/lm/lm-ec.htf)
> (C:/Program Files/MiKTeX 2.5/fonts/tfm/adobe/times/ptmr8t.tfm)
> (C:/Program Files/MiKTeX
> 2.5/tex4ht/ht-fonts/alias/adobe/times/ptmr8t.htf)
> Searching `lm-ec.htf' for `ptmr8t.htf'
> (C:/Program Files/MiKTeX 2.5/tex4ht/ht-fonts/unicode/lm/lm-ec.htf)
> (C:/Program Files/MiKTeX 2.5/fonts/tfm/adobe/times/zptmcm7y.tfm)
> (C:/Program Files/MiKTeX
> 2.5/tex4ht/ht-fonts/alias/adobe/mathptmx/zptmcm7y.htf)
> Searching `zpzccmry.htf' for `zptmcm7y.htf'
> (C:/Program Files/MiKTeX
> 2.5/tex4ht/ht-fonts/unicode/adobe/mathptm/zpzccmry.htf)
>
> (C:/Program Files/MiKTeX 2.5/fonts/tfm/adobe/times/zptmcm7t.tfm)
> (C:/Program Files/MiKTeX
> 2.5/tex4ht/ht-fonts/alias/adobe/mathptmx/zptmcm7t.htf)
> Searching `zptmcmr.htf' for `zptmcm7t.htf'
> (C:/Program Files/MiKTeX
> 2.5/tex4ht/ht-fonts/unicode/adobe/mathptm/zptmcmr.htf)
> (C:/Program Files/MiKTeX 2.5/fonts/tfm/adobe/times/ptmr8t.tfm)
> (C:/Program Files/MiKTeX
> 2.5/tex4ht/ht-fonts/alias/adobe/times/ptmr8t.htf)
> Searching `lm-ec.htf' for `ptmr8t.htf'
> (C:/Program Files/MiKTeX 2.5/tex4ht/ht-fonts/unicode/lm/lm-ec.htf)
> (C:/Program Files/MiKTeX 2.5/fonts/tfm/adobe/times/ptmr8t.tfm)
> (C:/Program Files/MiKTeX
> 2.5/tex4ht/ht-fonts/alias/adobe/times/ptmr8t.htf)
> Searching `lm-ec.htf' for `ptmr8t.htf'
> (C:/Program Files/MiKTeX 2.5/tex4ht/ht-fonts/unicode/lm/lm-ec.htf)
> (C:/Program Files/MiKTeX 2.5/fonts/tfm/public/ams/msbm10.tfm)
> (C:/Program Files/MiKTeX
> 2.5/tex4ht/ht-fonts/unicode/ams/symbols/msbm.htf)
> (C:/Program Files/MiKTeX 2.5/fonts/tfm/adobe/times/zptmcm7v.tfm)
> (C:/Program Files/MiKTeX
> 2.5/tex4ht/ht-fonts/alias/adobe/mathptmx/zptmcm7v.htf)
> Searching `zpsycmrv.htf' for `zptmcm7v.htf'
> (C:/Program Files/MiKTeX
> 2.5/tex4ht/ht-fonts/unicode/adobe/mathptm/zpsycmrv.htf)
>
> (C:/Program Files/MiKTeX 2.5/fonts/tfm/adobe/times/zptmcm7y.tfm)
> (C:/Program Files/MiKTeX
> 2.5/tex4ht/ht-fonts/alias/adobe/mathptmx/zptmcm7y.htf)
> Searching `zpzccmry.htf' for `zptmcm7y.htf'
> (C:/Program Files/MiKTeX
> 2.5/tex4ht/ht-fonts/unicode/adobe/mathptm/zpzccmry.htf)
>
> (C:/Program Files/MiKTeX 2.5/fonts/tfm/adobe/times/zptmcm7y.tfm)
> (C:/Program Files/MiKTeX
> 2.5/tex4ht/ht-fonts/alias/adobe/mathptmx/zptmcm7y.htf)
> Searching `zpzccmry.htf' for `zptmcm7y.htf'
> (C:/Program Files/MiKTeX
> 2.5/tex4ht/ht-fonts/unicode/adobe/mathptm/zpzccmry.htf)
>
> (C:/Program Files/MiKTeX 2.5/fonts/tfm/adobe/times/zptmcm7m.tfm)
> (C:/Program Files/MiKTeX
> 2.5/tex4ht/ht-fonts/alias/adobe/mathptmx/zptmcm7m.htf)
> Searching `zptmcmrm.htf' for `zptmcm7m.htf'
> (C:/Program Files/MiKTeX
> 2.5/tex4ht/ht-fonts/unicode/adobe/mathptm/zptmcmrm.htf)
>
> (C:/Program Files/MiKTeX 2.5/fonts/tfm/adobe/times/zptmcm7t.tfm)
> (C:/Program Files/MiKTeX
> 2.5/tex4ht/ht-fonts/alias/adobe/mathptmx/zptmcm7t.htf)
> Searching `zptmcmr.htf' for `zptmcm7t.htf'
> (C:/Program Files/MiKTeX
> 2.5/tex4ht/ht-fonts/unicode/adobe/mathptm/zptmcmr.htf)
> (C:/Program Files/MiKTeX 2.5/fonts/tfm/adobe/times/ptmr8t.tfm)
> (C:/Program Files/MiKTeX
> 2.5/tex4ht/ht-fonts/alias/adobe/times/ptmr8t.htf)
> Searching `lm-ec.htf' for `ptmr8t.htf'
> (C:/Program Files/MiKTeX 2.5/tex4ht/ht-fonts/unicode/lm/lm-ec.htf)
> (C:/Program Files/MiKTeX 2.5/fonts/tfm/adobe/times/ptmr8t.tfm)
> (C:/Program Files/MiKTeX
> 2.5/tex4ht/ht-fonts/alias/adobe/times/ptmr8t.htf)
> Searching `lm-ec.htf' for `ptmr8t.htf'
> (C:/Program Files/MiKTeX 2.5/tex4ht/ht-fonts/unicode/lm/lm-ec.htf)
> [1 file C:/tmp/lyx_tmpdir4220a04156/lyx_tmpbuf0/classno.htm
> ] [2] [3] [4] [5]
> [6] [7] [8] [9] [10] [11] [12] [13] [14] [15]
> [16] [17] [18] [19] [20] [21] [22] [23] [24] [25]
> Execute script `C:/tmp/lyx_tmpdir4220a04156/lyx_tmpbuf0/classno.lg'
>
> C:\tmp\lyx_tmpdir4220a04156\lyx_tmpbuf0\classno.html.conversion>t4ht
> \dirchar "C
> :/tmp/lyx_tmpdir4220a04156/lyx_tmpbuf0/classno.tex"
> -ec:\tex4ht\texmf\tex4ht\ba
> se\win32\tex4ht.env
> ----------------------------
> t4ht.c (2007-01-05-03:17 Windows MiKTeX)
> t4ht \dirchar
>   C:/tmp/lyx_tmpdir4220a04156/lyx_tmpbuf0/classno.tex
>   -ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env
> (C:/Program Files/MiKTeX 2.5/tex4ht/base/win32/tex4ht.env)
> Entering C:/tmp/lyx_tmpdir4220a04156/lyx_tmpbuf0/classno.lg
> Error: Cannot convert file
> ----------------------------------------
> An error occurred whilst running htlatex.bat
> "C:/tmp/lyx_tmpdir4220a04156/lyx_tm
> pbu


-- 
==================================================================
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==================================================================
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto

Reply via email to