On 12/6/2022 10:04 PM, Rik Kabel via ntg-context wrote:
On 2022-12-06 15:32, Hans Hagen via ntg-context wrote:
On 12/6/2022 9:06 PM, Rik Kabel via ntg-context wrote:
\definelabel[X][text=]
\startTEXpage[offset=1cm]
\X\X[a]\X[b]\X\par
\convertnumber{R}{\ref[number][a]}
\convertnumber
On 2022-12-06 15:32, Hans Hagen via ntg-context wrote:
On 12/6/2022 9:06 PM, Rik Kabel via ntg-context wrote:
\definelabel[X][text=]
\startTEXpage[offset=1cm]
\X\X[a]\X[b]\X\par
\convertnumber{R}{\ref[number][a]}
\convertnumber{G}{\ref[number][b]}
\stopTEXpage
maybe like this
On 12/6/2022 9:06 PM, Rik Kabel via ntg-context wrote:
\definelabel[X][text=]
\startTEXpage[offset=1cm]
\X\X[a]\X[b]\X\par
\convertnumber{R}{\ref[number][a]}
\convertnumber{G}{\ref[number][b]}
\stopTEXpage
maybe like this:
\definelabel[X][text=]
\startTEXpage[offset=1cm]
(\X
On 2022-01-19 12:39, Rik Kabel via ntg-context wrote:
This is still a problem with the current standalone.
\definelabel[X][text=]
\startTEXpage[offset=1cm]
\X\X[a]\X[b]\X\par
\convertnumber{R}{\ref[number][a]}
\convertnumber{G}{\ref[number][b]}
\stopTEXpage
This is still a problem with the current standalone.
\definelabel[X][text=]
\startTEXpage[offset=1cm]
\X\X[a]\X[b]\X\par
\convertnumber{R}{\ref[number][a]}
\convertnumber{G}{\ref[number][b]}
\stopTEXpage
%% The above example fails to compile when there is no tuc
[arfootnote]
[before=\setlatin,
alternative=text,
]
\setupnote
[arfootnote]
[headstyle={\switchtobodyfont[amiri]},
textcommand=\footnotenotenumbercommand,
alternative=text,
]
\protected\def\footnotenotenumbercommand#1{{\high{({\convertnumber{arabicdecimals}{#1
).
\setupnote [arfootnote] [
headstyle={\switchtobodyfont[kitab]},
textcommand=\footnotenotenumbercommand,
alternative=text,
]
\define[1]\footnotenotenumbercommand{{\high{(\convertnumber{arabicdecimals}{#1})}}}
Since the update, for the 123rd footnote, I now get `(123arabic)`
instead of `(١٢٣
]},
textcommand=\footnotenotenumbercommand,
alternative=text,
]
\define[1]\footnotenotenumbercommand{{\high{(\convertnumber{arabicdecimals}{#1})}}}
Since the update, for the 123rd footnote, I now get `(123arabic)` instead
of `(١٢٣)`.
Elsewhere, I do get the expected output (i.e. `١٢٣٢`) when calling
ble 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
ond \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 numer
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=,bef
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.
\definela
Has to be \defineheadalternative:
\defineheadalternative[mysection][renderingsetup=mysection]
\startsetups[mysection]
\vbox\bgroup
\headsetupspacing
\strut\headnumbercontent\par
\begstrut\headtextcontent\endstrut
\egroup
\stopsetups
\setuplabeltext[en][section={, Section}]
\se
Am 11.06.2013 um 15:53 schrieb Jan Pohanka :
>
>> \definesectionalternative[mysection][renderingsetup=mysection]
>>
>> \startsetups[mysection]
>> \vbox\bgroup
>> \headsetupspacing
>> \strut\headnumbercontent\par
>> \begstrut\headtextcontent\endstrut
>> \egroup
>> \stopsetups
>>
\definesectionalternative[mysection][renderingsetup=mysection]
\startsetups[mysection]
\vbox\bgroup
\headsetupspacing
\strut\headnumbercontent\par
\begstrut\headtextcontent\endstrut
\egroup
\stopsetups
\setuplabeltext[en][section={}{Section]
\setuphead[section][alternative=mys
Am 11.06.2013 um 14:36 schrieb Jan Pohanka :
>
>>> \convertnumber does not work on command parameter. What am I doing wrong? I
>>> know that I can use conversion key in setuphead, but I need slightly more
>>> complicated command.
>>
>> Use \setup
\convertnumber does not work on command parameter. What am I doing
wrong? I know that I can use /conversion/ key in setuphead, but I
need slightly more complicated command.
Use \setuphead[section][conversion=I], you can't use \convertnumber
because the first argument is the formatted (s
Am 11.06.2013 um 14:22 schrieb Jan Pohanka :
> Hi,
>
> just another newbie question
>
> \setuphead[section]
> [command=\MyCommand]
>
> \define[2]\MyCommand%
> {\convertnumber{I}{#1} --- #2}
>
> \convertnumber does not work on command parameter. What a
Hi,
just another newbie question
\setuphead[section]
[command=\MyCommand]
\define[2]\MyCommand%
{\convertnumber{I}{#1} --- #2}
\convertnumber does not work on command parameter. What am I doing
wrong? I know that I can use /conversion/ key in setuphead, but I need
slightly more
19 matches
Mail list logo