Good day,
thx, I got it.
refer -p refer.trf xxx.mm | groff -mm -k -Tpdf > xxx.pdf && zathura xxx.pdf
-
I struggle just with with -R I get always a bad result.
groff xxx.mm -R refer.trf -mm -k -Tpdf > xxx.pdf && zathura xxx.pdf
regards, Marko
Am 23.11.19 um 18:22 schrieb Ralph Corderoy:
Hi Marko,
i try for a while to get an reference with refer, unfortunately it
doesn't work for me.
...
.fi
.H 3
.br
.P
[
122
]
The macros are called `[' and `]' and are invoked with a leading dot;
see Citations in refer(1).
mmroff test.mm -r -p refer.trf -s -t -mm -k -p -mpdfmark -Tpdf >test.pdf
It's conventional to have all the options first. You're passing -p to
mmroff, i.e. groff, twice. Once for pic(1), and the second as
refer(1)'s -p argument. That won't invoke refer at all. Instead, try
-R and read its documentation for how to specify refer.trf.
You can also just run refer directly and get that working first.
refer -p refer.trf test.mm