groff
[Top][All Lists]
Advanced

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

How subscripts/superscripts work with grohtml?


From: Daniel Brigante
Subject: How subscripts/superscripts work with grohtml?
Date: Mon, 12 Aug 2024 20:56:30 -0300

Hi!
I've been trying to make grohtml produce <sub> and <sup> html tags from an
ms input without much success. From my current understanding, the grohtml
device driver should detect both a vertical position change and a font size
change from the device independent file (as it is described in the
start_superscript/start_subscript function in the post-html.cpp file), that
would cause the driver to emmit the <sub> or <sup> tag. When I try to force
this behaviour with \v and \s calls in my ms file, I get the expected
behaviour if I set the output device to ps, but when I set it to html I
only get a <small> tag generated by the device driver. I also noticed that
the "V" instructions, in the device independent file (using -Thtml and -Z
options with groff) get removed by (probably, I think, the html
preprocessor), only remaining the s instruction.

Best regards

Daniel


reply via email to

[Prev in Thread] Current Thread [Next in Thread]