groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] editing chinese?


From: Werner LEMBERG
Subject: Re: [Groff] editing chinese?
Date: Sun, 11 Mar 2012 19:27:36 +0100 (CET)

>> 4. Call the attached script `make-tmac' to generate a macro file.
>>    It defines a single command to activate the CJK font; use this
>>    instead of issuing a `\f[...]' command.
> 
> I did not find that script in your mail.

Oops.  Now attached.

>> 你 家 有 几 口 人 ?
> 
> Excuse me, is this "Chinesisch für Anfänger" Lektion 3 S.27? ;-)

我不知道。我不認識這本書。


  Grüße aus Linz an der Donau


    Werner
for i in *.tfm; do
  fontname=`echo $i | sed -e 's/..\.tfm$//'`
  break
done

tmacfile=$fontname.tmac
rm -f $tmacfile

echo ".de $fontname" >> $tmacfile
printf ".  special TR TI MI S SA SB CW" >> $tmacfile

for i in *.tfm; do
  fontfile=`echo $i | sed -e 's/\.tfm$//'`
  printf " \\%s\n           %s" "" $fontfile >> $tmacfile
done

printf "\n" >> $tmacfile
echo ".." >> $tmacfile

reply via email to

[Prev in Thread] Current Thread [Next in Thread]