From: Peter Rolf <indiego@gmx.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: lmtx: rotation problem with float numbers
Date: Wed, 27 May 2020 16:38:16 +0200 [thread overview]
Message-ID: <6bdb1d29-8972-6765-4227-46b1ed0364b0@gmx.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 572 bytes --]
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
[-- Attachment #2: rotation.tex --]
[-- Type: text/plain, Size: 57 bytes --]
\starttext
\rotate[rotation=-0.2]{Rotation}
\stoptext
[-- Attachment #3: rotation.log --]
[-- Type: text/plain, Size: 1867 bytes --]
open source > level 1, order 1, name 'cont-yes.mkiv'
system >
system > ConTeXt ver: 2020.05.25 23:39 MKIV beta fmt: 2020.5.27 int: english/english
system >
system > 'cont-new.mkiv' loaded
open source > level 2, order 2, name 'V:/tmp/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system > beware: some patches loaded from cont-new.mkiv
close source > level 2, order 2, name 'V:/tmp/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system > files > jobname 'rotation', input './rotation', result 'rotation'
fonts > latin modern fonts are not preloaded
languages > language 'en' is active
open source > level 2, order 3, name './rotation.tex'
fonts > preloading latin modern fonts (second stage)
fonts > 'fallback modern-designsize rm 12pt' is loaded
tex error > tex error on line 2 in file ./rotation.tex: ! Illegal unit of measure (pt inserted)
<to be read again>
\relax
\grph_rotate_finish_yes ...f_analyzerotate \numexpr \p_rotation_rotation \relax
\d_grph_rotate_width \d_grph_rotate_height \d_grp...
\grph_rotate_finish_indeed ...h_rotate_finish_nop \else \grph_rotate_finish_yes
\fi \egroup
\syst_boxes_with_next_box ->\grph_rotate_finish_indeed
\egroup
l.2 \rotate[rotation=-0.2]{Rotation}
1 \starttext
2 >> \rotate[rotation=-0.2]{Rotation}
3 \stoptext
4
Dimensions can be in units of em, ex, in, pt, pc, cm, mm, dd, cc, nd, nc, bp, or
sp; but yours is a new one! I'll assume that you meant to say pt, for printer's
points. two letters.
[-- Attachment #4: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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 reply other threads:[~2020-05-27 14:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-27 14:38 Peter Rolf [this message]
2020-05-27 15:30 ` Wolfgang Schuster
2020-05-27 15:39 ` Hans Hagen
2020-05-27 15:46 ` Wolfgang Schuster
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=6bdb1d29-8972-6765-4227-46b1ed0364b0@gmx.net \
--to=indiego@gmx.net \
--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).