groff && UTF-8
Matthias Apitz
guru at unixarea.de
Sun Jul 24 08:21:59 UTC 2011
El día Saturday, July 23, 2011 a las 08:25:10PM +0000, Christian Weisgerber escribió:
> > I've checked groff 1.21 from the ports but it seems to understand
> > only making UTF-8 output with its driver -Tutf8. Is there a way to make
> > it understand UTF-8 as input
>
> Use the preconv(1) command included with groff 1.21, or use the -k
> or -K <encoding> options with groff to automatically call preconv.
Thanks for the hint. I have overlooked that after installing
ports/textproc/groff, its man page is in
$ man -M/usr/local/man/ groff
Now, with preconv(1), which translates UTF-8 to `\[uXXXX]' it works;
still have to check how to let grops(1) generate correct Postscript to
use the FreeFonts...
Btw:
I have an older 9-CURRENT (r214444, from end of Octubre) and its ports
does not have ports/textproc/groff; I was 1st thinking in some mistake
of me on CVS checkout, but when one looks into the ports page:
http://www.freebsd.org/cgi/cvsweb.cgi/ports/textproc/groff/
it says that the port was added 6 months ago... what does this mean?
Wasn't there any groff before in the ports? I don't have any other
(older) FreeBSD 8.x handy to check this. I nearly can't believe this.
matthias
--
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru at unixarea.de> - w http://www.unixarea.de/
More information about the freebsd-questions
mailing list