Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jul 2011 10:21:56 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: groff && UTF-8
Message-ID:  <20110724082156.GA16096@tinyCurrent>
In-Reply-To: <j0fan6$1o6g$1@lorvorc.mips.inka.de>
References:  <20110718104939.GA32254@sh4-5.1blu.de> <j0fan6$1o6g$1@lorvorc.mips.inka.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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@unixarea.de> - w http://www.unixarea.de/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110724082156.GA16096>