From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: Hans Hagen <j.hagen@xs4all.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: lmtx: rotation problem with float numbers
Date: Wed, 27 May 2020 17:46:36 +0200 [thread overview]
Message-ID: <5df3b3ab-f8fd-087b-6f25-1fa63785fee3@gmail.com> (raw)
In-Reply-To: <3da96fea-bcfd-729f-8def-d12fdd72631b@xs4all.nl>
Hans Hagen schrieb am 27.05.2020 um 17:39:
> On 5/27/2020 5:30 PM, Wolfgang Schuster wrote:
>> Peter Rolf schrieb am 27.05.2020 um 16:38:
>>> Hi,
>>>
>>> this used to work, but wants a dimension now
>> In which way? Did you get the desired result or was there just no
>> error message.
>>> \starttext
>>> \rotate[rotation=-0.2]{Rotation}
>>> \stoptext
>>>
>>> No such problems with integer rotation numbers.
>> ConTeXt expects a integer for the rotation value and decimals are
>> only possible for a dimension.
> can you test with:
>
> \clf_analyzerotate % rather accurate
> \p_rotation_rotation\space
>
> in grph-trf.mkiv
It works.
\starttext
\blackrule[width=\textwidth,height=\linewidth]
\vskip-\baselineskip
\rotate[rotation=-0.2]{\blackrule[width=\textwidth,height=\linewidth]}
\vskip-\baselineskip
\rotate[rotation=-1]{\blackrule[width=\textwidth,height=\linewidth]}
\stoptext
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2020-05-27 15:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-27 14:38 Peter Rolf
2020-05-27 15:30 ` Wolfgang Schuster
2020-05-27 15:39 ` Hans Hagen
2020-05-27 15:46 ` Wolfgang Schuster [this message]
2020-05-27 16:55 ` Peter Rolf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5df3b3ab-f8fd-087b-6f25-1fa63785fee3@gmail.com \
--to=wolfgang.schuster.lists@gmail.com \
--cc=j.hagen@xs4all.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).