Re: [Groff] mom : unicode in .INCLUDE'd files

2017-07-21 Thread Ralph Corderoy
Hi Erich, > When I enter unicode, like: > > ÄÖÜ SS ÒÓÔÕŎŌ Ç äöü ß òóôõŏō ç > > ...and process them with pdfmom, they show up perfectly. But if I > include the same characters in a file with the .INCLUDE macro, they > disappear. Those are Unicode codepoints, but what enco

Re: [Groff] mom : unicode in .INCLUDE'd files

2017-07-21 Thread Peter Schaffter
On Fri, Jul 21, 2017, Ralph Corderoy wrote: > As Denis said, soelim(1) looks for `.so' lines. `.INCLUDE' means > nothing to it. You've just reminded me. I'll make a note of it in the momdocs. > You could try replacing `.INCLUDE' with `.so'. First thing I tried with the OP. Same problem. .so

Re: [Groff] mom : unicode in .INCLUDE'd files

2017-07-21 Thread Ralph Corderoy
Hi Peter, > > You could try replacing `.INCLUDE' with `.so'. > > First thing I tried with the OP. Same problem. .so is definitely not > playing nice with unicode. Ah, well, in that case, I think this explains it. $ cat foo .nf foo: ÄÖÜ SS ÒÓÔÕŎŌ Ç äöü ß òóôõŏō ç .so bar $

Re: [Groff] mom : unicode in .INCLUDE'd files

2017-07-21 Thread Peter Schaffter
Ralph -- On Fri, Jul 21, 2017, Ralph Corderoy wrote: > Ah, well, in that case, I think this explains it. > > $ soelim foo | preconv | groff -Tutf8 | grep . > foo: ÄÖÜ SS ÒÓÔÕŎŌ Ç äöü ß òóôõŏō ç > bar: ÄÖÜ SS ÒÓÔÕŎŌ Ç äöü ß òóôõŏō ç > $ > $ groff -V -Tutf8 -sk foo > pre

Re: [Groff] mom : unicode in .INCLUDE'd files

2017-07-21 Thread Steffen Nurpmeso
Ralph Corderoy wrote: |>> You could try replacing `.INCLUDE' with `.so'. |> |> First thing I tried with the OP. Same problem. .so is definitely not |> playing nice with unicode. | |Ah, well, in that case, I think this explains it. .. |$ soelim foo | preconv | groff -Tutf8 | grep . |