[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] mom : unicode in .INCLUDE'd files
From: |
Ralph Corderoy |
Subject: |
Re: [Groff] mom : unicode in .INCLUDE'd files |
Date: |
Sun, 23 Jul 2017 13:04:50 +0100 |
Hi Erich,
> > > $ soelim foo | preconv | groff -Tutf8 | grep .
...
> > > $ groff -V -Tutf8 -sk foo
> > > preconv foo | soelim | troff -Tutf8 | grotty
...
> >preconv -eutf8 example.mom | soelim | troff -Tutf8 | grotty
>
> Output:
>
> > Abschnitt.DOCTYPE DEFAULT UNICODE: Ä‐Ö‐Ü Ò‐Ó‐Ô‐Õ‐Ŏ‐Ō‐
> > Ç ä‐ö‐ü‐ ß ò‐ó‐ô‐õ‐ŏ‐ō‐ ç so’eD FILE BEGINS: UNICODE: Ã‐Ã‐Ã Ã‐Ã‐
> > Ã‐Ã‐Å‐Å‐ à ä‐ö‐ü‐ à ò‐ó‐ô‐õ‐Å‐Å‐ ç
And that's faulty output since you didn't request `²', for example.
> But I want pdfmom and change that to
>
> preconv -eutf8 example.mom | soelim | pdfmom > example.preconv.pdf
And you're carrying the fault over. My email that Peter replied to
above shows how groff gets the pipeline order wrong for your needs, and
thus -V's output is wrong too.
> As it seems, the preconv-pipe manages latin1, but not the "true"
> utf-8.
preconv is only processing example.mom, converting it to input groff can
read. When groff does that, it sees the .so and goes off and reads a
second file, one that preconv hasn't converted. That's you problem.
--
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy
- Re: [Groff] mom : unicode in .INCLUDE'd files, (continued)
- Re: [Groff] mom : unicode in .INCLUDE'd files, Ralph Corderoy, 2017/07/23
- Re: [Groff] mom : unicode in .INCLUDE'd files, Mike Bianchi, 2017/07/23
- Re: [Groff] mom : unicode in .INCLUDE'd files, John Gardner, 2017/07/23
- Re: [Groff] mom : unicode in .INCLUDE'd files, Ralph Corderoy, 2017/07/23
- Re: [Groff] mom : unicode in .INCLUDE'd files, John Gardner, 2017/07/23
- Re: [Groff] mom : unicode in .INCLUDE'd files, Keith Marshall, 2017/07/23
- Re: [Groff] mom : unicode in .INCLUDE'd files, E. Hoffmann, 2017/07/22
- Re: [Groff] mom : unicode in .INCLUDE'd files, Mike Bianchi, 2017/07/22
- Re: [Groff] mom : unicode in .INCLUDE'd files, Mike Bianchi, 2017/07/22
- Re: [Groff] mom : unicode in .INCLUDE'd files, Steffen Nurpmeso, 2017/07/22
- Re: [Groff] mom : unicode in .INCLUDE'd files,
Ralph Corderoy <=
- Re: [Groff] mom : unicode in .INCLUDE'd files, E. Hoffmann, 2017/07/23
- Re: [Groff] mom : unicode in .INCLUDE'd files, Dale Snell, 2017/07/23
- Re: [Groff] mom : unicode in .INCLUDE'd files SOLVED, E. Hoffmann, 2017/07/23
- Re: [Groff] mom : unicode in .INCLUDE'd files SOLVED, Dale Snell, 2017/07/23
- Re: [Groff] mom : unicode in .INCLUDE'd files SOLVED, E. Hoffmann, 2017/07/25
- Re: [Groff] mom : unicode in .INCLUDE'd files, Deri James, 2017/07/23
- Re: [Groff] mom : unicode in .INCLUDE'd files, Dale Snell, 2017/07/23
- Re: [Groff] mom : unicode in .INCLUDE'd files, E. Hoffmann, 2017/07/25
- Re: [Groff] mom : unicode in .INCLUDE'd files, hohe72, 2017/07/24
- Re: [Groff] mom : unicode in .INCLUDE'd files, Steffen Nurpmeso, 2017/07/21