bug-groff
[Top][All Lists]
Advanced

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

[bug #60422] [ms]: FAM applies too broadly


From: G. Branden Robinson
Subject: [bug #60422] [ms]: FAM applies too broadly
Date: Tue, 20 Apr 2021 14:46:33 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Update of bug #60422 (project groff):

                  Status:                    None => In Progress            
             Assigned to:                    None => gbranden               

    _______________________________________________________

Follow-up Comment #1:

I think I have this nut cracked.

[comment #0 original submission:]
> Without having dug into the package internals yet, I would say that:

I have now done said digging.

> 1. ms should use environments for footnotes and titles.

It already does.  They are named 'fn' and 'h', respectively.

> 2. FAM strings for footnotes and titles should be exposed, perhaps FAMFN and
FAMHF, or perhaps, I'm inclined to think, package-internal strings since few
document authors will desire the effect described above.

I've created these strings.  For now I'm using internal string names and not
documenting them.

I've given them more intelligible names than "fn" and "h", though, I think. 
:-|

> 3. ms initialization should copy FAMFN and FAMHF from FAM.

Done, modulus the name change.

> 4. FAMFN and FAMHF should be used to determine the font family in the
footnote and title environments, respectively.

Ditto.

> 5. A paragraph reset should change _only_ FAM.

This was more interesting since the par@reset macro is used both for regular
paragraphs and footnote paragraphs.  Writing a conditional based on the name
of the environment got the desired behavior.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60422>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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