Follow-up Comment #7, bug #57510 (project groff):
[comment #2 comment #2:]
> Proposed patch is attached.
>
> Comments?
>
I made two changes to my "test-nroff" in my "groff/build" part of my
local groff repository.
1) Added 'V' to the group of options without an argument
2) Added:
-P*)
opts="$opts $1" ;;
Option 'V' shows how the pipeline looks with the '-P' option,
when "man" is used.
I can now test the additions without any further changes.
1) test-nroff -P-i <e.g., .../man/nroff.1>
That changed the colour for italic text from bluish (underlining) to
green (italic),
which I like better based on colour and brightness.
2) ... -P-r ... | more
showed an error in the line break of some lines.
3) MANROFFOPT='-P-i' man nroff
Same colour change as in case 1, as my "man" uses "test-nroff".
To make changes permanent before I compile "groff" again,
I just have to transfer the changes to the "nroff.sh" file
(src/roff/nroff/nroff.sh),
as a new file, "test-nroff.am",
automatically creates "test-nroff" from "nroff.sh".
N.B.
"test-groff" allows me to make changes to it (and thus "test-nroff)
without touching the installed software.
For example add a new directory for macro files (build/s-tmac) that
can contain any version of a macro file.
I use is to test (permanently use) stripped macro files.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57510>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/