[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [groff] UTF8 characters to pdf
From: |
John Gardner |
Subject: |
Re: [groff] UTF8 characters to pdf |
Date: |
Fri, 25 Jan 2019 00:41:30 +1100 |
Make sure you have GhostScript installed as well, especially if you plan on
producing PDF versions of your documents:
brew install ghostscript
And yes, what Ralph said will fix the encoding issue. =)
$ echo 'Hasta mañana. 32 años. ¡Está bien! ¡Sí!' > ~/Desktop/test.roff
$ groff -Tutf8 test.roff
Hasta mañana. 32 años. ¡Está bien! ¡SÃ!
$ groff -Tutf8 -k test.roff
Hasta mañana. 32 años. ¡Está bien! ¡Sí!
As a side-note, you should use Homebrew to update whatever you can. Apple
ships macOS with woefully outdated versions of *everything*, yet nobody
knows why...
On Fri, 25 Jan 2019 at 00:26, Ralph Corderoy <address@hidden> wrote:
> Hi jonathan,
>
> > I have seen some people use a `preconv`command or a `-k` flag to
> > convert their files for utf-8 into latin1 within the groff command.
> > But the build I have on my Mac computer doesn’t seem to have this
> > (version 1.19.2).
>
> I don't have any Apple hardware myself, but I understand Homebrew is
> used by many users to get up to date versions of the software Apple
> ships. It supplies groff 1.22.4.
>
> https://brew.sh/
> https://formulae.brew.sh/formula/groff
>
> --
> Cheers, Ralph.
>
>
- [groff] UTF8 characters to pdf, jonathan ahumada, 2019/01/24
- Re: [groff] UTF8 characters to pdf, Ralph Corderoy, 2019/01/24
- Re: [groff] UTF8 characters to pdf,
John Gardner <=
- Re: [groff] UTF8 characters to pdf, Colin Watson, 2019/01/24
- Re: [groff] UTF8 characters to pdf, John Gardner, 2019/01/24
- Re: [groff] UTF8 characters to pdf, Ralph Corderoy, 2019/01/24
- Re: [groff] UTF8 characters to pdf, John Gardner, 2019/01/24
- Re: [groff] UTF8 characters to pdf, Colin Watson, 2019/01/24
- Re: [groff] UTF8 characters to pdf, Colin Watson, 2019/01/27
- Re: [groff] UTF8 characters to pdf, John Gardner, 2019/01/27
- Re: [groff] UTF8 characters to pdf, John Gardner, 2019/01/28
- Re: [groff] UTF8 characters to pdf, Colin Watson, 2019/01/28