Hi! While using grohtml, I noticed that it wasn't being able to recognize the .SH heading level. The expected behaviour was an emission of a HTML <h"n"> tag, where "n" is the level of the section heading (passed as an argument to the macro), when grohtml encountered the .SH or .NH macros. This behaviour was working fine with the .NH macro, but the .SH macro always produced a <h1> tag.
Tracking down the problem, I've found that it was related to the device tag emitted when the .NH or .SH macros were found, which is used by grohtml to determine the level of the heading. Looking into the definition of the .@SH macro (line 1420 of s.tmac file), we have the emission of the device tag in line 1427 as: .DEVTAG-SH 1 which explains why grohtml wasn't producing a HTML heading tag with the level in accordance to the argument passed to de .SH macro. The device tag emitted always has a level 1. To produce the expected behaviour, I've changed this line (1427) to become: .DEVTAG-SH "\\$1" Which fixed the problem. Was this really an unknown problem in the MS macros or was it known and there is a reason behind it? Best regards, Daniel