Le 11/05/2012 04:01, CV Radhakrishnan a écrit :
I think, there is some fundamental problem with your tex4ht
installation. I tried a file called, test.tex, I could not replicate
your problem. The log in my case for the corresponding location looked
like:
htlatex test.tex "xhtml,docbook" " -cunihtf" "-cdocbk"
nothink is done (no files *.lg, *.log ... generated) so I'm afraid
you're right, there is a problem in the htlatex installation :
I've attached the console messages (no log file generated) there is also
a warning :
--- warning --- Can't find/open file ` -cunihtf.lg'
Philippe.
C:\Users\philippe\Documents\informatique\latex\docbook>latex -cdocbk
\makeatletter\def\HCode{\futurelet\HCode\HChar}\def\HChar{\ifx"\HCode\def\HCode"##1"{\Link##1}\expandafter\HCode\else\expandafter\Link\fi}\def\Link#1.a.b.c.{\g@addto@macro\@documentclasshook{\RequirePackage[#1,html]{tex4ht}}\let\HCode\documentstyle\def\documentstyle{\let\documentstyle\HCode\expandafter\def\csname
tex4ht\endcsname{#1,html}\def\HCode####1{\documentstyle[tex4ht,}\@ifnextchar[{\HCode}{\documentstyle[tex4ht]}}}\makeatother\HCode
xhtml.a.b.c.\input test.tex
C:\Users\philippe\Documents\informatique\latex\docbook>latex -cdocbk
\makeatletter\def\HCode{\futurelet\HCode\HChar}\def\HChar{\ifx"\HCode\def\HCode"##1"{\Link##1}\expandafter\HCode\else\expandafter\Link\fi}\def\Link#1.a.b.c.{\g@addto@macro\@documentclasshook{\RequirePackage[#1,html]{tex4ht}}\let\HCode\documentstyle\def\documentstyle{\let\documentstyle\HCode\expandafter\def\csname
tex4ht\endcsname{#1,html}\def\HCode####1{\documentstyle[tex4ht,}\@ifnextchar[{\HCode}{\documentstyle[tex4ht]}}}\makeatother\HCode
xhtml.a.b.c.\input test.tex
C:\Users\philippe\Documents\informatique\latex\docbook>latex -cdocbk
\makeatletter\def\HCode{\futurelet\HCode\HChar}\def\HChar{\ifx"\HCode\def\HCode"##1"{\Link##1}\expandafter\HCode\else\expandafter\Link\fi}\def\Link#1.a.b.c.{\g@addto@macro\@documentclasshook{\RequirePackage[#1,html]{tex4ht}}\let\HCode\documentstyle\def\documentstyle{\let\documentstyle\HCode\expandafter\def\csname
tex4ht\endcsname{#1,html}\def\HCode####1{\documentstyle[tex4ht,}\@ifnextchar[{\HCode}{\documentstyle[tex4ht]}}}\makeatother\HCode
xhtml.a.b.c.\input test.tex
C:\Users\philippe\Documents\informatique\latex\docbook>tex4ht test.tex
-ic:\tex4ht\texmf\tex4ht\ht-fonts\docbook
-ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env
----------------------------
tex4ht.c (2009-01-31-07:33 Windows kpathsea)
tex4ht test.tex
-ic:\tex4ht\texmf\tex4ht\ht-fonts\docbook
-ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env
(C:/Program Files (x86)/MiKTeX 2.9/tex4ht/base/win32/tex4ht.env)
(C:/Program Files (x86)/MiKTeX
2.9/tex4ht/ht-fonts/iso8859/1/charset/uni/unicode.4hf)
(C:/Program Files (x86)/MiKTeX 2.9/fonts/tfm/public/cm/cmr12.tfm)
(C:/Program Files (x86)/MiKTeX 2.9/tex4ht/ht-fonts/alias/lm/lm-rep-cmrm/cmr.htf)
Searching `lm-rep-cmrm.htf' for `cmr12.htf'
(C:/Program Files (x86)/MiKTeX 2.9/tex4ht/ht-fonts/unicode/lm/lm-rep-cmrm.htf)
(C:/Program Files (x86)/MiKTeX 2.9/fonts/tfm/public/cm/cmr17.tfm)
(C:/Program Files (x86)/MiKTeX 2.9/tex4ht/ht-fonts/alias/lm/lm-rep-cmrm/cmr.htf)
Searching `lm-rep-cmrm.htf' for `cmr17.htf'
(C:/Program Files (x86)/MiKTeX 2.9/tex4ht/ht-fonts/unicode/lm/lm-rep-cmrm.htf)
(C:/Program Files (x86)/MiKTeX 2.9/fonts/tfm/public/cm/cmr10.tfm)
(C:/Program Files (x86)/MiKTeX 2.9/tex4ht/ht-fonts/alias/lm/lm-rep-cmrm/cmr.htf)
Searching `lm-rep-cmrm.htf' for `cmr10.htf'
(C:/Program Files (x86)/MiKTeX 2.9/tex4ht/ht-fonts/unicode/lm/lm-rep-cmrm.htf)
[1 file test.html
file test.css
file test.tmp
] [2] [3]
Execute script `test.lg'
C:\Users\philippe\Documents\informatique\latex\docbook>t4ht test.tex "
-cunihtf" -ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env
----------------------------
t4ht.c (2009-01-31-07:34 kpathsea)
t4ht test.tex
-cunihtf
-ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env
(C:/Program Files (x86)/MiKTeX 2.9/tex4ht/base/win32/tex4ht.env)