From: tom s. <to...@as...> - 2006-08-17 14:33:46
|
Ardi <bo...@ya...> wrote: > Hello all, > what is the correct setting if I want to use external css file > this.css inside example.tex? > Is \htmlcss{d:/assa/Hyperlatex-2.8/bin/css.css} enough? - since > if I add inside example.tex This is right, though "d:/assa/Hyperlatex..." doesn't look like a valid URL or local reference to me. If you use this command, you'll get <link rel="stylesheet" href="d:/assa/..." type="text/css"> in your output, which ought to do what you want. > > ... > \begin{ifhtml} > \section{Intro} > The basic idea of Hyperlatex is to make it possible to write.\\ > \textcolor{red}{The basic idea of Hyperlatex is to make it > possible to write.} > <p class="dotted">A dotted borderfafaf.</p> > <h2>this is with h2.</h2> > \end{ifhtml} > ... This isn't right. Use \xmlattributes*{p}{class="dotted"} to generate <p class="dotted"> in the next <p> tag, or use \xmlattributes{p}{class="whatever"} to change it in all of them. But a caveat: <p> generation, unlike the other tags, is a bit unreliable. We are now testing a new release that fixes the problem, and I expect it to be released within a few weeks. -tom -- ------------------------ tomfool at as220 dot org http://sgouros.com http://whatcheer.net |