Menu

#6 Adding more CSS capabilities

open
nobody
None
5
2014-08-19
2004-10-29
Craig Small
No

Hello,
I've been using hyperlatex for a long while. We use
it to document some Free Software projects such as
JFFNMS (also on the SF website).

Anyhow, I was wondering if you are able to add some CSS
classes to the converted HTML. That way a table from
tabular enviroment would be formatted differently to a
table from the menu. All it would need to do this
would be to put some class="blah" fields in the
existing tags.

I would suggest that the class name be derived from the
environment or tag name from LaTeX. So the tabular
table could use class="tabular" or class="hlxtabular".

Doing this would mean people could make each enviroment
or tag do whatever they want, just by changing the CSS
file. I don't think it would be that hard to change in
hyperlatex either.

Unfortunately Lisp is not one of the languages I
understand so I cannot give you a patch.

One other thing, more of a bug really. In a figure
environment Latex or pdflatex needs the caption after
the includegraphic while hyperlatex needs the caption
before the htmlimg. I get around this problem by using
a texorhtml but thought you'd like to know about it.

- Craig

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.