At 2020-09-27T18:30:41-0400, James K. Lowden wrote:
> Any suggestions on how -ms macros could be compatibly extended to
> include classes and IDs?  I've always found that aspect of my
> "proposal" daunting.  

Well, why not have strings MS-CLASS and MS-ID?  The user can set them
with .ds any time they want.  The macro implementations can them
implement them as part of devtags embedded in any \X escapes.

I never did get very good at CSS but I think I got the basic concept
down; anything interpreting the devtag input can already use the tag
type (macro name), like "SH", as a top-level selector, so it's not like
the user would even need to be highly disciplined about re-setting the
registers.

This seems so simple and obvious to me that there has to be something
deeply wrong with it.

Examples:

  .ds MS-CLASS appendix\"
  .SH
  Frobnitz Internals

  .ds MS-ID obtaining-frobnitz\"
  .PP
  You can download Frobnitz from the Free Software Foundation at...

Regards,
Branden

Attachment: signature.asc
Description: PGP signature

Reply via email to