[NTG-context] Bug or feature? \numexpression and hashes

2023-09-04 Thread Jairo A. del Rio
Hi, list. The following fails with a "Missing number, treated as zero" error prompt: \starttext \expandedrepeat2{\expandedrepeat2{\the\numexpression#I+#P\relax\ }} \stoptext OTOH, \numexpr works seamlessly. Tested on ConTeXt 2023.09.03 19:03. Thanks in advance. Best regards, Jairo

[NTG-context] Bug or feature?

2011-12-21 Thread Andreas Harder
Hi, with the latest beta there is always a line break after a \blackrule … bug or feature? \starttext % \dontleavehmode% \blackrule[width=3cm] unwanted line break! \stoptext Regards Andreas ___ If your

Re: [NTG-context] Bug or feature?

2011-12-21 Thread Wolfgang Schuster
Am 21.12.2011 um 12:04 schrieb Andreas Harder: Hi, with the latest beta there is always a line break after a \blackrule … bug or feature? \starttext % \dontleavehmode% \blackrule[width=3cm] unwanted line break! \stoptext It’s neither a bug nor a feature, just a result of TeX’s

Re: [NTG-context] Bug or feature?

2011-12-21 Thread Andreas Harder
On 21.12.2011, at 12:33, Wolfgang Schuster wrote: Am 21.12.2011 um 12:04 schrieb Andreas Harder: Hi, with the latest beta there is always a line break after a \blackrule … bug or feature? \starttext % \dontleavehmode% \blackrule[width=3cm] unwanted line break! \stoptext It’s

Re: [NTG-context] Bug or feature?

2011-12-21 Thread Hans Hagen
On 21-12-2011 15:02, Wolfgang Schuster wrote: -\setvalue{\??ut:\v!auto }\setautostrut % \setvalue{\??ut:\v!auto }{\setautostrut} +\letvalue{\??ut:\v!auto }\setautostrut % \setvalue{\??ut:\v!auto }{\setautostrut} ah, interesting that something works at all ... fixed Hans

[NTG-context] Bug or feature in list and error with setuptructure?

2010-11-30 Thread Cedric Mauclair
Hi list, I am using the following code with a recent beta (last week): \setuplist[subsection][numberstopper=, right=), style=\slanted] and the ')' is not slanted. However, it is the following: \setuplist[subsection][numberstopper=), style=\slanted] So, bug or feature? Also,

[NTG-context] Bug or feature? Strange counter behaviour in macro

2008-01-12 Thread Carsten Fechtmann
Hello everyone, first off: I am new to ConTeXt (even if not so new to LaTeX) and would like to transfer some of my old macros to ConTeXt... I am well aware, that this means re-programming (most) of them. So be it. Furthermore, I am not sure if this is really the right way (read ConTeXt Way)

Re: [NTG-context] Bug or feature? Strange counter behaviour in macro

2008-01-12 Thread Aditya Mahajan
Hi Carsten, On Fri, 11 Jan 2008, Carsten Fechtmann wrote: first off: I am new to ConTeXt (even if not so new to LaTeX) and would like to transfer some of my old macros to ConTeXt... I am well aware, that this means re-programming (most) of them. So be it. Have you looked at enumerations?

Re: [NTG-context] Bug or feature? Strange counter behaviour in macro

2008-01-12 Thread Carsten Fechtmann
Hi Aditya, thanks for taking the time to answer this. And yes, I looked at what ConTeXt has already built in. On 12.01.2008 at 18:44 wrote Aditya Mahajan: I haven't looked at your code below. First check if one the in-built stuctural environments of ConTeXt do what you want. As a matter

Re: [NTG-context] Bug or feature? Strange counter behaviour in macro

2008-01-12 Thread Aditya Mahajan
Hi Carsten, On Sat, 12 Jan 2008, Carsten Fechtmann wrote: What this all burns down is, that I /really/ would like to understand, how I can pass a value from a counter as (constant) argument to a self- defined function. As that seems to be the core of the matter/problem here. You need to

Re: [NTG-context] Bug or feature? Strange counter behaviour in macro

2008-01-12 Thread Carsten Fechtmann
Hi Aditya, yes, looking at the .tuo did the trick. :-D I had tried things with expanded already, but at that time I still had {\expanded{\Issue[\IssueCounter]{Issue~\IssueCounter:}{\currentdate}}} as command. Which does NOT work (due to the tilde ~ resulting in an error message then) The rest

Re: [NTG-context] Bug or feature? Strange counter behaviour in macro

2008-01-12 Thread Aditya Mahajan
On Sun, 13 Jan 2008, Carsten Fechtmann wrote: Hi Aditya, yes, looking at the .tuo did the trick. :-D I had tried things with expanded already, but at that time I still had {\expanded{\Issue[\IssueCounter]{Issue~\IssueCounter:}{\currentdate}}} as command. Which does NOT work (due to the