ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Convertnumber with \ref[number] fails in MkIV, works in LMTX
@ 2021-10-28  1:47 Rik Kabel via ntg-context
  2021-10-28  2:58 ` Rik Kabel via ntg-context
  0 siblings, 1 reply; 9+ messages in thread
From: Rik Kabel via ntg-context @ 2021-10-28  1:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Rik Kabel


[-- Attachment #1.1: Type: text/plain, Size: 675 bytes --]

Hello list,

The following fails with ConTeXt  ver: 2021.10.24 21:45 MKIV but works 
with the companion LMTX. The error message is:tex error       > tex 
error on line 6 in file G:/TestConTeXt/convert.tex: ! Incompatible glue 
units , pointing to the second \convertnumber line.

    \definelabel[XX]%[text=,before=,after=,alternative=inright]
    \startTEXpage[offset=2em]
      abc\XX[xx]\par
      \ref[number][xx] ·
      \convertnumber{r}{1} ·
      \convertnumber{R}{\ref[number][xx]}
    \stopTEXpage

In this case I am trying to display with roman numerals the number 
generated in the label created through \definelabel.

Suggestions welcomed.

-- 
Rik

[-- Attachment #1.2: Type: text/html, Size: 1072 bytes --]

[-- Attachment #2: 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] 9+ messages in thread

end of thread, other threads:[~2022-12-06 21:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-28  1:47 Convertnumber with \ref[number] fails in MkIV, works in LMTX Rik Kabel via ntg-context
2021-10-28  2:58 ` Rik Kabel via ntg-context
2021-10-28  6:56   ` Hans Hagen via ntg-context
2021-10-28 17:59     ` Rik Kabel via ntg-context
2022-01-19 17:39   ` Rik Kabel via ntg-context
2022-12-06 20:06     ` Rik Kabel via ntg-context
2022-12-06 20:32       ` Hans Hagen via ntg-context
2022-12-06 21:04         ` Rik Kabel via ntg-context
2022-12-06 21:54           ` Hans Hagen via ntg-context

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