Follow-up Comment #20, bug #68497 (group groff):

Thanks for your feedback. Here are answers to the pending questions.


1.

>> The point is that there was a trailing space after ms.acc. groff -man
>> removed it silently, but groff -mgan takes it seriously as part of the
>> file name. I let you decide who is right.
> 
> I advise you to slightly alter that one man page of yours as recommended
> in groff 1.24.0's release notes or the corresponding entry in its "NEWS"
> file. [...]
> What is it your man(7) document trying to do?

I removed the extra-space in the man page as you suggested, which solves
the problem.



2.

>> .if t .so /usr/share/lib/tmac/ms.acc
> 
> ...uh...on a different node, why is your man(7) document attempting to
> load a module of the ms(7) package?  That is not documented as supported
> by any AT&T troff I know of, and it certainly is not by groff.

The persons who wroted this manual page wanted to have accented letters in
their names, e.g., Se\*'verine. This has no effect when the man page is
displayed using nroff, but worked properly in the PS/PDF files generated by
troff. I am open to any better approach that would no import the ms macros.



3.

>> With groff 1.24.1 after patching /usr/share/lib/tmac/an as you
>> suggested, groff -man fails on 18 out of 95 man pages, with the
>> following error message:
>> 
>> Assertion failed: context != DELIMITER_GROFF_EXPRESSION, file
>> /jenkins/jobs/oi-userland/workspace/components/text/groff/groff-1.24.1/src/roff/troff/input.cpp,
>> line 2887, function is_usable_as_delimiter
>> grops:<standard input>: warning: no final 'x stop' command
>> groff: error: gtroff: Aborted (core dumped)
> 
> Please send us a reproducer for this problem.  One of the 18 failing man
> pages
> will do.

I attach a simplified file named 9.l, which is derived from a real manual
page
by removing many parts that do not cause problems to groff 1.24.1.

On OpenIndiana, the command "groff -man -Tps 9.l > /dev/null" aborts, whereas
"groff -mgan -Tps 9.l > /dev/null" works.


4.

Finally, I should point out that the output of groff -mgan is slightly
different from
the one of groff -man. This is illustrated with the attached PNG file.



    _______________________________________________________

Reply to this item at:

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

_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to