[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] mom : unicode in .INCLUDE'd files
From: |
E. Hoffmann |
Subject: |
Re: [Groff] mom : unicode in .INCLUDE'd files |
Date: |
Sun, 23 Jul 2017 17:01:01 +0200 |
Am Sun, 23 Jul 2example17 13:example4:5example +example1exampleexample
schrieb Ralph Corderoy <address@hidden>:
> Hi Erich,
Hi Ralph. Thank you for looking into it.
[...]
> 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.
I wrote the following script:
----------------------------------------------------------------------\
for IN in $(ls *.mom); do
OU=${IN%%.*}
echo -n ·
preconv -eutf8 $IN > $OU
done
echo ';'
cat example
soelim example | pdfmom > example.pdf
----------------------------------------------------------------------/
The concerned lines in example.mom are:
----------------------------------------------------------------------\
.pp
latin1: Ä-Ö-Ü Ò-Ó-Ô-Õ- Ç ä-ö-ü ß ò-ó-ô-õ ç
.PP
UNICODE: -Ŏ-Ō- and -ŏ-ō-
.PP
so'eD FILE BEGINS:
.PP
.so identical_string
----------------------------------------------------------------------/
So I hoped that each momfile is preconv'ed, and yes it is, compare
identical_string:
----------------------------------------------------------------------\
.PP
latin1: \[u00C4]-\[u00D6]-\[u00DC] \[u00D2]-\[u00D3]-\[u00D4]-\[u00D5]-
\[u00C7] \[u00E4]-\[u00F6]-\[u00FC] \[u00DF]
\[u00F2]-\[u00F3]-\[u00F4]-\[u00F5] \[u00E7] .PP \# UNICODE:
-\[u014E]-\[u014C]- and -\[u014F]-\[u014D]- .PP
----------------------------------------------------------------------/
But again, only the latin1 chars show up, in both the example and the
identical_string files. Thus, the .so-handling is _not_ the problem.
I keep getting the error messages:
example.mom:12: warning: can't find special character `u004F_0306'
example.mom:12: warning: can't find special character `u004F_0304'
example.mom:12: warning: can't find special character `u006F_0306'
example.mom:12: warning: can't find special character `u006F_0304'
Which means, Ŏ Ō and ŏ ō are nowhere recognized.
OK I know that I'm not the sharpest knife in the drawer, perhaps
this is beyond my level, and I admit that I can't really follow the
'-V output' discussion. My fault.
Cheers, Erich
- Re: [Groff] mom : unicode in .INCLUDE'd files, (continued)
- 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, 2017/07/23
- Re: [Groff] mom : unicode in .INCLUDE'd files,
E. Hoffmann <=
- 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
- Re: [Groff] mom : unicode in .INCLUDE'd files, Ingo Schwarze, 2017/07/22