[l2h] can't find local .sty in texfm

andy andybrookestar at googlemail.com
Tue Jul 16 10:11:22 CEST 2019


The slackbuild at https://slackbuilds.org/repository/14.2/academic/latex2html/?search=latex2html produces a package where the user can take advantage of .sty files located in : 
usr/share/texmf/tex/latex/

For custom .sty files it didn’t work for me. I respected a TLD structure : 



texmf
|-- bibtex
|   `-- bst
|       `-- aernobold.bst
|-- ls-R
`-- tex
    `-- latex
        |-- andystyle
        |   `-- andystyle.sty

 kpsewhich –var-value=TEXHOME confirmed texmf  , in my home dieectory is place for tex and ran
$ texlsr texmf to update ls-R


using a text document eg 

\documentclass[11pt]{article}
\usepackage{xcolor}

sucessfuly finds and makes use of  xcolor.sty in usr/share/texmf/tex/latex/ but does not find andystyle .sty  in the tree above.


In the configure flags I’m using in the slackbuild are :

./configure \
  --prefix=/usr \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --sysconfdir=/etc \
  --localstatedir=/var \
   --with-perl=/usr/bin/perl \
    --enable-pipes \
    --enable-shared=yes \
  --enable-paths  \
  --enable-eps \
  --enable-gif \
  --enable-png \
  --with-pdftocairo=/usr/bin/pdftocairo \
    --build=$ARCH-slackware-linux \
  --host=$ARCH-slackware-linux

the output when running

$ latex2html hello.tex is:

*********** WARNINGS ***********  
No implementation found for style `andystyle'
 

any ideas wht local .sty is not being found 

cheers

andy brookes 




More information about the latex2html mailing list