[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: docBook or latex



On 2007-08-29 21:38:44 +0000, Douglas A. Tutty wrote:
> Try tex4ht.  Makes html, docbook, +?

On the same file:

vin:~/wd/tex> tex4ht wcinverse.tex
----------------------------
tex4ht.c (2007-04-21-21:07 kpathsea)
tex4ht wcinverse.tex 
--- warning --- Problem with command line
--- error --- Can't find/open file `wcinverse.dvi'

The man page says that I have to use the htlatex shell script, but
it fails when trying to create the dvi (now, I usually directly use
pdflatex, and it seems that latex can't handle figures in PDF, and
BTW, I created the figure with inkscape, so that it is available in
SVG too, which would be more suitable for the web).

The htlatex should problably detect PDF figures and executed
"pdftops -eps" on them. I did that manually, but htlatex gave me
the following error:

----------------------------
tex4ht.c (2007-04-21-21:07 kpathsea)
tex4ht -f/wcinverse.tex 
  -i/usr/share/texmf/tex4ht/ht-fonts/ 
--- warning --- Can't find/open file `tex4ht.env | .tex4ht'
--- error --- Illegal storage address
----------------------------
t4ht.c (2007-01-05-03:17 kpathsea)
t4ht -f/wcinverse.tex 
--- warning --- Can't find/open file `tex4ht.env | .tex4ht'
--- warning --- Can't find/open file `wcinverse.lg'

/usr/share/doc/tex4ht/README.Debian.gz says:

  The configuration file for tex4ht is searched for by kpathsearch
  library routines. You can put this file in the following places (see
  README.kpathsea for details).

        $PWD/tex4ht.env, $PWD/.tex4ht, $HOME/tex4ht.env, $HOME/.tex4ht
        /usr/share/texmf/tex4ht/tex4ht.env

  The last file is provided by the package as a symlink to
  /etc/tex4ht/tex4ht.env in keeping with the Debian convention on
  configuration files.

The symbolic link and /etc/tex4ht/tex4ht.env both exist. So, I don't
understand why it can't be found.

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)



Reply to: