ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* lmtx: rotation problem with float numbers
@ 2020-05-27 14:38 Peter Rolf
  2020-05-27 15:30 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Rolf @ 2020-05-27 14:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-05-27 16:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-27 14:38 lmtx: rotation problem with float numbers Peter Rolf
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

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).