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