Re: Inconsistent TC Section Title Indentation in mm?

Oliver Corff via GNU roff typesetting system discussion <[email protected]>
Newsgroups gmane.comp.printing.groff.general
Message-ID <[email protected]>
Hi Alexis,

I am not quite sure whether I see any difference in indentation, or any 
layout aspect at all. Not to the naked eye, at least. Then I tried a 
comparison with diffpdf and that did not reveal any differences either.

Best,

Oliver.


On 06/12/2025 01:03, Alexis (surryhill) wrote:
> Hi all,
>
> while familiarizing myself with the capabilities of the mm macros, I
> noticed that the section titles on the table of contents pages, list
> of figures, tables, etc. pages—produced by the TC macro—appear
> misaligned, i.e. not properly centered.
>
> To validate my assumption I replaced the section title strings with
> a line-length rule to visualize page offsets and line-lengths.
>
> Reading through m.tmac I found that adding an `.in` macro call before
> writing the section title in the print-ds macro definition seems
> to remedy the issue.
>
> Quite possibly this approach is just a workaround and the actual
> issues lies elsewhere. Hence I kindly request other groff and mm
> users to validate or refute the behaviour I'm observing and my
> attempt to resolve it.
>
> Please find attached a patch, a minimal working example to demonstrate
> the issue, and two PDFs showing the mwe output before and after the
> patch was applied.
>
>
> Thanks
> Alexis
>
>
>
> —————
> P.S: I'm using a groff built from the latest changeset; as of this
> writing that is 2542eb3f2ef12be6696e0e305937f82f87549df5
> from Fri Dec 5 07:02:13 2025 -0600 and have the following environment
> variables set:
> GROFF_ENCODING=utf-8
> GROFF_TYPESETTER=pdf
-- 

Dr. Oliver Corff
Wittelsbacherstr. 5A
10707 Berlin
G E R M A N Y
Tel.: +49-30-85727260
Mail:[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.