From: Rik Kabel via ntg-context <ntg-context@ntg.nl>
To: ntg-context@ntg.nl
Cc: Rik Kabel <ConTeXt@rik.users.panix.com>
Subject: Re: Convertnumber with \ref[number] fails in MkIV, works in LMTX
Date: Wed, 27 Oct 2021 22:58:30 -0400 [thread overview]
Message-ID: <dd956570-10ac-431b-1862-7b6422ed6552@rik.users.panix.com> (raw)
In-Reply-To: <b9624f04-c124-ae60-9867-4951573df674@rik.users.panix.com>
[-- Attachment #1.1: Type: text/plain, Size: 1794 bytes --]
Following up on my own note, I see that this fails under LMTX if
compiled in a clean directory, but succeeds if first compiled with the
troublesome line removed, and then, restoring the line, compiled a
second time. It also works by placing a .tuc file from an older version
of the document into the directory before compiling. Very strange
indeed. The expected output, from one of those successful compilations:
So. I am clearly doing something wrong, but sometimes LMTX is letting me
get away with it.
--
Rik
On 10/27/2021 21:47, Rik Kabel via ntg-context wrote:
>
> 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
>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
[-- Attachment #1.2.1: Type: text/html, Size: 3210 bytes --]
[-- Attachment #1.2.2: qxrqMGhzvIYHWWt2.png --]
[-- Type: image/png, Size: 7124 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
___________________________________________________________________________________
next prev parent reply other threads:[~2021-10-28 2:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-28 1:47 Rik Kabel via ntg-context
2021-10-28 2:58 ` Rik Kabel via ntg-context [this message]
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
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=dd956570-10ac-431b-1862-7b6422ed6552@rik.users.panix.com \
--to=ntg-context@ntg.nl \
--cc=ConTeXt@rik.users.panix.com \
/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).