Hello, all

I am trying to use the "unicode" front families for typesetting a PDF 
document in Russian but get a compilation error like:

Invalid negative number (-1) in chr at /usr/bin/gropdf line 3201, <> 
line 325.

Interestingly, the one-line text compiles all right an the error 
happens, most likely, at the attempt to make line transition. 
Another strange thing is that, in case of using mixed Russian/Latin 
symbols in pic and tbl objects, the Latin letters and numbers 
become mis-positioned.

I wonder what I am possibly do wrong. The GROFF version is 1.22.2 
on Ubuntu 14.04. The compilation command used is:

groff -Kutf8 -pet -Tpdf RuRest.rof > RuTest.pdf

A maximally simplified file demonstrating the error is attached.

I would be grateful for any hint. Sincerely,
Piotr Piatrou
.ig
 to be compiled as: groff -Kutf8 -pet -Tpdf RuRest.rof > RuTest.pdf
..
.\" ----------------------------- document settings ----------------------------
.nr @BM 2c
.fam U-T \" font family Unicode Times
.ps 10p
.vs 11p
.\" page transition macro
.de NP
'bp
'sp
..
.wh -\n[@BM]u NP \" a trap: when at bottom margin call macro NP
.\"------------------- Document starts here ------------------------------------


Проблема: при использовании \fBtbl\fP и \fBpic\fP 
слетает правильное позиционирование букв - они налезают друг на друга. 
Похоже, это случается только с латинскими буквами, но и с цифрами тоже.

Далее, просто русский текст вызывает 
ошибку компиляции, видимо, при переходе на новую строчку:

Invalid negative number (-1) in chr at /usr/bin/gropdf line 3201, <> line 325.

.TS
box, tab(&), center;
L L L
L L _
L L | LB
L L _
L L L .
январь & february & march
april & may
june & july & Месяцы
august & сентябрь
october & november & december
.TE

.PS
ellipse "документ";
arrow;
box width 0.6 "\fIgpic\/\fP(1)"
arrow;
box width 1.1 "\fIgtbl\/\fP(1) or \fIgeqn\/\fP(1)" "(необязательный)" dashed;
arrow;
box width 0.6 "\fIgtroff\/\fP(1)";
arrow;
ellipse "ПостСкрипт"
.PE

Reply via email to