[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #66332] [mom] Image caption not centered when set to render after l
From: |
G. Branden Robinson |
Subject: |
[bug #66332] [mom] Image caption not centered when set to render after label |
Date: |
Mon, 14 Oct 2024 17:57:14 -0400 (EDT) |
Follow-up Comment #6, bug #66332 (group groff):
Hi Peter,
At 2024-10-14T17:20:27-0400, Peter Schaffter wrote:
> Follow-up Comment #5, bug #66332 (group groff):
>
> Branden --
>
> > 1. mom should confirm that she's in a diversion before employing
> > `\!` unless she intends to write grout commands to the output
> > stream.
> >
> > 2. mom could use the `output` request instead of `\!`. The request
> > works the same, except that it only bubbles groff input up through
> > diversions, and does not penetrate the barrier of transmission to
> > the output stream.
I'm sorry--I got that completely ass-backwards.
`output` goes straight to "grout" (GNU troff output) _regardless_ of the
identity of the current diversion.
I apologize for my error. However, this doesn't clear everything up.
> Images and pic diagrams are always inside diversions so confirming it
> is redundant.
Okay. Then I wonder how it's getting out!
> Various attempts all fail (the List of Figures remains steadfastly
> blank). The \!s currently in place create no formatting problems and
> emit no warnings/errors, so I'm disinclined to change things.
I see an error from grops when formatting one of 's exhibits.
$ /usr/bin/groff --version| head -n 1
GNU groff version 1.22.4
$ /usr/bin/groff -mom ATTIC/66332.mom >| ATTIC/66332.ps
gropdf-info:href fig:1
grops:<standard input>:113: warning: unrecognized command '.'
grops:<standard input>:119: X command without 'ps:' tag ignored
The first line can be ignored--it's going to stderr and is presumably
useful for multi-pass formatting. (If I'm picking nits, I'd gate that
behind a non-default register setting, but we can fry that fish later.)
The last line is expected and valid under the circumstances.
Here's what the "grout" looks like around line 113, which is why
_grops_(1) complains.
$ /usr/bin/groff -Z -mom ATTIC/66332.mom | sed -n '112,114p'
gropdf-info:href fig:1
n16158 0
. TO_FIGURES "View of the Raetikon Group approximately two thirds
along the way."
V138474
This output remains in groff 1.23.0. And in Git HEAD, though the
location moves.
$ ~/groff-HEAD/bin/groff -Z -mom ATTIC/66332.mom | sed -n '110,112p'
gropdf-info:href fig:1
n16158 0
. TO_FIGURES "View of the Raetikon Group approximately two thirds
along the way."
V138474
I'll try to attach my exhibit via the email-reply interface to Savannah
that I'm using. Never done an attachment that way before--might not
work. If it doesn't I'll follow up with a comment including it via the
Web interface.
> Open, of course, to correction and instruction.
Since I'm the one with the hypothesis that escape is happening from the
top-level diversion, I'll instrument "om.tmac" and see if I can confirm
that.
Will follow up soon, I hope!
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66332>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
- [bug #66332] [mom] Image caption not centered when set to render after label, Sven Schober, 2024/10/14
- [bug #66332] [mom] Image caption not centered when set to render after label, Sven Schober, 2024/10/14
- [bug #66332] [mom] Image caption not centered when set to render after label, G. Branden Robinson, 2024/10/14
- [bug #66332] [mom] Image caption not centered when set to render after label, Peter Schaffter, 2024/10/14
- [bug #66332] [mom] Image caption not centered when set to render after label, Peter Schaffter, 2024/10/14
- [bug #66332] [mom] Image caption not centered when set to render after label, Peter Schaffter, 2024/10/14
- [bug #66332] [mom] Image caption not centered when set to render after label,
G. Branden Robinson <=
- [bug #66332] [mom] Image caption not centered when set to render after label, G. Branden Robinson, 2024/10/14
- [bug #66332] [mom] Image caption not centered when set to render after label, G. Branden Robinson, 2024/10/14
- [bug #66332] [mom] Image caption not centered when set to render after label, G. Branden Robinson, 2024/10/14
- [bug #66332] [mom] Image caption not centered when set to render after label, Peter Schaffter, 2024/10/14
- [bug #66332] [mom] Image caption not centered when set to render after label, G. Branden Robinson, 2024/10/14
- [bug #66332] [mom] image caption not centered when set to render after label, G. Branden Robinson, 2024/10/15
- [bug #66332] [mom] image caption not centered when set to render after label, Sven Schober, 2024/10/15