[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Fw: utf8 encoded input and soelim
From: |
Erich Hoffmann |
Subject: |
Re: [Groff] Fw: utf8 encoded input and soelim |
Date: |
Thu, 28 Jan 2010 17:23:48 +0100 |
Am Thu, 28 Jan 2010 16:58:35 +0100 (CET)
schrieb Werner LEMBERG <address@hidden>:
>
> > I'm experimenting with the -K utf8 option, because I'd like to input
[...]
> > But when I use
> > additional files with the .so request, the characters are not
> > recognized. What am I doing wrong?
>
> Nothing. This is a known limitation. Try soelim directly:
[...]
> Perhaps it makes sense to exchange preconv and soelim in the groff
> pipe?
>
> soelim Input.ms | preconv -eutf8 | troff -ms -Tps | grops
Works perfectly!
> This should be easy to implement, methinks...
It's a simple pipeline. I put it into my makefile -
btw. make doesn't seem to accept the |'s, so I broke it down into
several steps, see below.
Thanks a lot!
Erch
RAW = 0.ms
SOE = 0.soelim
IN = 0.preconv
OUT = 0
ADD = -t -ms -mul
ERR = 2> 0.err
raw:
soelim $(RAW) > $(SOE)
all: raw
preconv -eutf8 $(SOE) > $(IN)
dvi: all
groff $(ADD) -Tdvi $(IN) > $(OUT).dvi $(ERR)
ps: all
groff $(ADD) -Tps $(IN) > $(OUT).ps $(ERR)