lmtx: rotation problem with float numbers

Hi, this used to work, but wants a dimension now \starttext \rotate[rotation=-0.2]{Rotation} \stoptext No such problems with integer rotation numbers. Peter T:\tmp>context --version mtx-context | ConTeXt Process Management 1.03 mtx-context | mtx-context | main context file: V:/tmp/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2020.05.25 23:39 mtx-context | main context file: V:/tmp/context/tex/texmf-context/tex/context/base/mkiv/context.mkxl mtx-context | current version: 2020.05.25 23:39

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
Peter Rolf schrieb am 27.05.2020 um 16:38: possible for a dimension. Wolfgang

On 5/27/2020 5:30 PM, Wolfgang Schuster wrote:
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
Peter Rolf schrieb am 27.05.2020 um 16:38: possible for a dimension. can you test with:
\clf_analyzerotate % rather accurate \p_rotation_rotation\space in grph-trf.mkiv Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.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

Am 27.05.2020 um 17:46 schrieb Wolfgang Schuster:
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.
Thanks for the quick fix and the testing :)
participants (3)
-
Hans Hagen
-
Peter Rolf
-
Wolfgang Schuster