groff
[Top][All Lists]
Advanced

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

[Groff] rotating a line of text turns a hole page


From: Holger Herrlich
Subject: [Groff] rotating a line of text turns a hole page
Date: Thu, 29 Mar 2012 13:45:42 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20120317 Icedove/3.0.11

Hi,
I have a problem setting a line of rotated text (test.groff). Output
device is post script.

Here is some processing (test.sh) that all succeeds but finally on a
call to ps2pdf the page containing the rotated line itself is rotated by
180deg.

Reasons unclear. A preceeding "void" helped, dropping \[:u] also.
However, at the production groff-source non of that works.

The issue first occured for my own rotate macro:
.de RT
\\X'ps: exec gsave currentpoint 2 copy translate -\\$2 rotate neg exch
neg exch translate'
\\$1
\\X'ps: exec grestore'
..

Since post script is ok, it seems to be a problem of gs at producing
pdf. However, is it possible to fix it at the groff level.

Regards Holger

Attachment: test.groff
Description: Text document

Attachment: test.sh
Description: Bourne shell script


reply via email to

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