[NTG-context] Bug in counter

2022-07-04 Thread Johann Birnick via ntg-context
Hey there, please consider: \starttext \defineenumeration[definition][text=Definition, alternative=serried] \setupnumber[definition][way=bysection, numbersection=yes] \section{My section 1} \startdefinition My fist definition \stopdefinition

[NTG-context] Overbar bug

2022-07-04 Thread Johann Birnick via ntg-context
Hey there, please have a look at the following example: \starttext $\overbar{\alpha} \overbar{\beta}$ \stoptext The first one works just fine, whereas the second one looks very odd. (At least in MkIV...) Any ideas? Best, Johann

Re: [NTG-context] Multiline text in mathmode

2022-06-30 Thread Johann Birnick via ntg-context
Thank you! On Thu, 2022-06-30 at 07:58 +0200, Hans Hagen via ntg-context wrote: > On 6/30/2022 7:13 AM, Aditya Mahajan via ntg-context wrote: > > On Thu, 30 Jun 2022, Johann Birnick via ntg-context wrote: > > > > > I guess you will update to LMTX..? Unfortuna

Re: [NTG-context] Multiline text in mathmode

2022-06-29 Thread Johann Birnick via ntg-context
I guess you will update to LMTX..? Unfortunately I use MkIV, because of other math bugs in LMTX. Do you know any (can be ugly) way of doing this without the new stuff? Johann On Wed, 2022-06-29 at 20:12 +0200, Hans Hagen via ntg-context wrote: > On 6/29/2022 11:42 AM, Johann Birnick via

[NTG-context] Multiline text in mathmode

2022-06-29 Thread Johann Birnick via ntg-context
Hey there, does anybody know how to obtain a similar result as in the attached screenshot? I'm only asking about the multiline text in the big braces, the rest I know. Thank you, Johann ___ If your question is of

Re: [NTG-context] Detailed citation of reference

2022-06-24 Thread Johann Birnick via ntg-context
Works, thanks! On Fri, 2022-06-24 at 12:44 +0200, Wolfgang Schuster via ntg-context wrote: > Johann Birnick via ntg-context schrieb am 24.06.2022 um 11:59: > > Thanks! However, if I type \cite[righttext={, section 2.1}] is doesn't work > > anymore. Any ideas? &g

Re: [NTG-context] Detailed citation of reference

2022-06-24 Thread Johann Birnick via ntg-context
Thanks! However, if I type \cite[righttext={, section 2.1}] is doesn't work anymore. Any ideas? Johann On Fri, 2022-06-24 at 09:24 +0200, Henning Hraban Ramm via ntg-context wrote: > Am 24.06.22 um 02:09 schrieb Johann Birnick via ntg-context: > > Hi there, > > > > using

[NTG-context] Detailed citation of reference

2022-06-23 Thread Johann Birnick via ntg-context
Hi there, using \cite[myreference] I will get a result like "[1]", or I could also change the "1" into some more detailed information such as a tag. However, I want to obtain something like "[1, section 2.1]". How can I achieve this? Thank you very much, Johann

[NTG-context] Bug in \framed and \inframed

2021-05-06 Thread Johann Birnick
There is a bug with \framed and related commands: If this is the first object in a line, a linebreak is inserted! See the following example: \starttext This \inframed{works} fine. \inframed{But} this not. \stoptext Thank

[NTG-context] Download old version

2021-01-25 Thread Johann Birnick
How to download an old LMTX version? Best regards, Johann ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] Inline Fractions

2021-01-25 Thread Johann Birnick
Recently inline fractions stopped working correctly. For example symbol spacing, sub-/superscripts, the line is too short,... You can see the 3 named problems and how they sometimes appear and sometimes not in this two fractions: \starttext $\frac{\sin(x)}{16 \pi \epsilon_0 c^2 m_e^2}

Re: [NTG-context] Floating object in text - Spacing

2021-01-15 Thread Johann Birnick
Thank you. And is it possible to distribute the space equally between top and bottom? Or to set it to some specific dimension? Johann On Fri, 2021-01-15 at 21:43 -0500, Aditya Mahajan wrote: > On Sat, 16 Jan 2021, Johann Birnick wrote: > > > Consider the follo

[NTG-context] Floating object in text - Spacing

2021-01-15 Thread Johann Birnick
Consider the following example: \setupexternalfigures[location=default] \starttext \placefigure[right,none]{}{\externalfigure[hacker.jpg][scale=518]} \samplefile{lorem} \stoptex What bothers me is the top spacing. There is space to the top, and I dont want it to be there. On the bottom there is

Re: [NTG-context] Math align not working

2021-01-09 Thread Johann Birnick
Hi Aditya, thank you very much, now I need to specify the alignment only for one "column" and it gets applied for all of them. However, there is still the problem with the standard setting of the alignment. For example, \starttext \startformula \startalign[m=2, align={right,left}] \NC ab \NC =

[NTG-context] Math blackboard (bug?)

2021-01-09 Thread Johann Birnick
To write blackboard math, the syntax was $\blackboard{N}$ , but now this also makes the rest of the text blackboard. So one has to use ${\blackboard N}$ . Is this indented? (the old way is a bit easier to use) Secondly, I want to address the blackboard font. Try out \starttext ${\blackboard

Re: [NTG-context] xrightarrow specific size issue

2021-01-02 Thread Johann Birnick
On Sat, 2021-01-02 at 17:08 +0100, Wolfgang Schuster wrote: > Johann Birnick schrieb am 02.01.2021 um 17:04: > > On Sat, 2021-01-02 at 14:30 +, Bruce Horrocks wrote: > > > I'm not sure which manual you are looking in to find a reference to the > > > ability

Re: [NTG-context] xrightarrow specific size issue

2021-01-02 Thread Johann Birnick
On Sat, 2021-01-02 at 14:30 +, Bruce Horrocks wrote: > I'm not sure which manual you are looking in to find a reference to the > ability to add a specific dimension. > > In the source I can only find named sizes of 'none', 'normal', 'small', > 'medium' and 'big'. You can 'kludge' these by

[NTG-context] blank pages bug [pagecolumns]

2021-01-01 Thread Johann Birnick
Hi there, I noticed a bug when using pagecolumns. If there is a title on the right column, a blank page gets added at the end of the document. For example \starttext \startpagecolumns[n=2] \title{lorem} \title{ipsum}

Re: [NTG-context] xrightarrow specific size issue

2021-01-01 Thread Johann Birnick
the example from a documentation doesn't work) Best regards, Johann On Fri, 2021-01-01 at 01:50 -0500, Aditya Mahajan wrote: > On Thu, 31 Dec 2020, Johann Birnick wrote: > > > Hi there, > > > > \starttext > > $\xrightarrow[50pt]$ > > \stoptext > &g

Re: [NTG-context] underbrace spacing

2021-01-01 Thread Johann Birnick
Thanks!! On Fri, 2021-01-01 at 01:48 -0500, Aditya Mahajan wrote: > On Thu, 31 Dec 2020, Johann Birnick wrote: > > > Hi there, > > > > if I do > > > > \starttext > > $4 \underbrace{+ 3}_{\text{because of lorem} + 2}$ > > \stoptext > > &g

Re: [NTG-context] prevent error page

2021-01-01 Thread Johann Birnick
context --nodummy works fine with my viewer, thanks!! On Fri, 2021-01-01 at 11:10 +0100, Hans Hagen wrote: > On 12/31/2020 8:31 PM, Johann Birnick wrote: > > Hi there, > > > > in my setup I constantly have a pdf viewer open showing the output of > > context. >

[NTG-context] underbrace spacing

2020-12-31 Thread Johann Birnick
Hi there, if I do \starttext $4 \underbrace{+ 3}_{\text{because of lorem} + 2}$ \stoptext then the spacing gets really big because of the long. How can I prevent this? (in LaTeX one can use \mathcal or so and that works) Best regards, Johann

[NTG-context] xrightarrow specific size issue

2020-12-31 Thread Johann Birnick
Hi there, \starttext $\xrightarrow[50pt]$ \stoptext doesn't work. But it should, right? In the manual \starttext $\xrightarrow[50]$ \stoptext is shown, but that doesn't work either. Best regards, Johann ___ If

[NTG-context] prevent error page

2020-12-31 Thread Johann Birnick
Hi there, in my setup I constantly have a pdf viewer open showing the output of context. When I recompile the viewer updates. Now if there is an error, the document fails to compile, of course. Previously the pdf file just remainded untouched, nice. But now with LMTX, the pdf will be overwritten

Re: [NTG-context] Math align not working

2020-12-30 Thread Johann Birnick
\NC 8y + 5z \NC < \NC 20 \NR > \stopalign \stopformula > > \stoptext > > > > On 29 Dec 2020, at 14:36, Johann Birnick wrote: > > > > Hi there, > > > > I noticed that Math align is not working prop

Re: [NTG-context] Math align not working

2020-12-30 Thread Johann Birnick
2020-12-30 at 11:26 +0100, Alain Delmotte wrote: > Hi Johann, > The 4 is right aligned, but for this column you have two position in the > second and one in the first. > You could try ~4 and it will align with 10. > Best regards, > Alain > Le 29/12/2020 à 22:27, Johann Birnick

Re: [NTG-context] Math align not working

2020-12-29 Thread Johann Birnick
fine here with LMTX version 2020.12.28 01:41. > Which version of ConTeXt are you using ? > > Best regards: Otared > > > On 29 Dec 2020, at 14:36, Johann Birnick wrote: > > > > Hi there, > > > > I noticed that Math align is not working properly. In pa

[NTG-context] Math align not working

2020-12-29 Thread Johann Birnick
Hi there, I noticed that Math align is not working properly. In particular I mean the alignment. For example, the following code \starttext \startformula \startalign[m=2,distance=8em,n=5,

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Johann Birnick
On Thu, 2020-11-26 at 21:01 +0100, Johann Birnick wrote: > On Thu, 2020-11-26 at 20:11 +0100, Wolfgang Schuster wrote: > > Johann Birnick schrieb am 26.11.2020 um 19:42: > > > Ah, sorry again. I use > > > > > > \usemodule[Scite] > > > > >

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Johann Birnick
On Thu, 2020-11-26 at 20:11 +0100, Wolfgang Schuster wrote: > Johann Birnick schrieb am 26.11.2020 um 19:42: > > Ah, sorry again. I use > > > > \usemodule[Scite] > > > > at the begin of the document. Removing this helps. But I need it for the C > > and

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Johann Birnick
On Thu, 2020-11-26 at 19:39 +0100, Johann Birnick wrote: > On Thu, 2020-11-26 at 19:35 +0100, Wolfgang Schuster wrote: > > Johann Birnick schrieb am 26.11.2020 um 19:26: > > > I didn't want to copy paste it :D Just add [option=XML] to \starttext like > > > this: &g

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Johann Birnick
On Thu, 2020-11-26 at 19:35 +0100, Wolfgang Schuster wrote: > Johann Birnick schrieb am 26.11.2020 um 19:26: > > I didn't want to copy paste it :D Just add [option=XML] to \starttext like > > this: > > Why do pass a option for the typing environment to \starttext? > &

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Johann Birnick
On Thu, 2020-11-26 at 19:17 +0100, Wolfgang Schuster wrote: > Johann Birnick schrieb am 26.11.2020 um 19:10: > > On Thu, 2020-11-26 at 17:31 +0100, Wolfgang Schuster wrote: > > > Johann Birnick schrieb am 26.11.2020 um 17:00: > > > > On Thu, 2020-11-26 at 09:

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Johann Birnick
On Thu, 2020-11-26 at 17:31 +0100, Wolfgang Schuster wrote: > Johann Birnick schrieb am 26.11.2020 um 17:00: > > On Thu, 2020-11-26 at 09:38 -0500, Aditya Mahajan wrote: > > > On Thu, 26 Nov 2020, Johann Birnick wrote: > > > > > > > How to surround such th

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Johann Birnick
On Thu, 2020-11-26 at 09:38 -0500, Aditya Mahajan wrote: > On Thu, 26 Nov 2020, Johann Birnick wrote: > > > How to surround such things properly? I just want a background to these and > > a > > sidebar. No addition spacing / empty lines. > > A MWE will help...

[NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Johann Birnick
Hi there, in my document(s) I have enumerations (created with \defineenumeration) and "typing"s (created with \definetyping) and I need to give a specific layout to them. In particular, I want to add textbackground (created with \definetextbackground) and sometimes a sidebar (created with

Re: [NTG-context] Piecewise margin line

2020-11-20 Thread Johann Birnick
On Fri, 2020-11-20 at 08:17 +0100, mf wrote: > Il 20/11/20 02:06, Johann Birnick ha scritto: > > On Thu, 2020-11-19 at 11:25 +0100, mf wrote: > > > Il 19/11/20 10:39, Johann Birnick ha scritto: > > > > Hello, > > > > > > > > I want to setup

Re: [NTG-context] Piecewise margin line

2020-11-19 Thread Johann Birnick
On Thu, 2020-11-19 at 11:25 +0100, mf wrote: > Il 19/11/20 10:39, Johann Birnick ha scritto: > > Hello, > > > > I want to setup some fancy theorem style for my math notes. For this I want > > to > > have a colored margin line next to my theorems. It shou

[NTG-context] Piecewise margin line

2020-11-19 Thread Johann Birnick
Hello, I want to setup some fancy theorem style for my math notes. For this I want to have a colored margin line next to my theorems. It should look like this: https://i.ibb.co/F6L59pD/idea.png The line should stretch over the whole theorem, not just the first line. (But the latter would be a