groff
[Top][All Lists]
Advanced

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

Re: (off topic?) Docbook? Re: manlint?


From: G. Branden Robinson
Subject: Re: (off topic?) Docbook? Re: manlint?
Date: Tue, 29 Sep 2020 19:20:46 +1000
User-agent: NeoMutt/20180716

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

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