[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #60616] [mdoc] groff_mdoc(7) shows section headings in internal TOC
From: |
G. Branden Robinson |
Subject: |
[bug #60616] [mdoc] groff_mdoc(7) shows section headings in internal TOC in small font |
Date: |
Fri, 25 Feb 2022 08:42:38 -0500 (EST) |
Follow-up Comment #5, bug #60616 (project groff):
[comment #4 comment #4:]
> The "Tn" macro in mandoc is deprecated, see bug #59415 (closed as
invalid).
Thanks, Bjarni. That should make my change to the rendering of its arguments
less contentious.
commit 5125754cdfaa7008f65d9c3f2936626b7bcf0498
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date: Wed Feb 23 22:08:01 2022 +1100
[mdoc]: Stop setting `Tn` arguments smaller.
* tmac/doc.tmac (Tn):
* tmac/mdoc/doc-syms (Ux, Bx): Stop interpolating string
`doc-Tn-font-size` to set macro arguments at a smaller type size.
This leaves the string without a purpose, so...
* tmac/mdoc/doc-ditroff:
* tmac/mdoc/doc-nroff: Drop definitions of `doc-Tn-font-size`.
* tmac/mdoc/doc-syms: Drop interpolations of that string from numerous
other string definitions.
Fixes <https://savannah.gnu.org/bugs/?60616>.
commit 49d1b3401ff09fd6442df207abae7ba05c252d6c
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date: Wed Feb 23 22:44:53 2022 +1100
[mdoc]: Drop `doc-curr-size` register.
* tmac/doc.tmac (initialization): Drop definition of `doc-curr-size`
register. It is no longer needed since nothing internal to the
package now changes the type size.
* tmac/doc.tmac (Fl, doc-print-recursive, doc-print-prefixes,
doc-generic-macro, Ar, Cd, doc-do-func-decl, Fd, In, Nm, Pa, Tn,
doc-enclose-string, Ef, Bd, doc-save-global-vars,
doc-restore-global-vars, doc-diag-list, Xr, Dl, Vt, Ft, Fa,
doc-do-func, Fn, doc-do-func-args, Fo, Fc, %A, %B, %C, %D, %I, %J, %N,
%O, %P, %Q, %R, %T, %U, %V, doc-do-reference, Hf, An, Lk):
* tmac/mdoc/doc-common (Sh, Ss, Rd):
* tmac/mdoc/doc-syms (Ux, Bx, At, Dx, Fx, Nx, Ox, Bsx, St, Lb): Drop
interpolations of the string and comments documenting that each macro
has a side effect on the type size.
The commits above are pending, not yet pushed.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60616>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/