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] > > > > > > at the begin of the document. Removing this helps. But I

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

2020-11-26 Thread Wolfgang Schuster
Johann Birnick schrieb am 26.11.2020 um 21:40: I have updated and now it works. Thank you very much for all your efforts. The problem was fixed at the end of march. Now let's come to my second problem: the sidebar. Proudly, I present to you my first MWE: \definetyping[CPP] [before=\star

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 > > Cpp pretty printer. So do you know what'

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

2020-11-26 Thread Wolfgang Schuster
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 Cpp pretty printer. So do you know what's going on with Scite module? 1. There is still no working minimal example, just anoth

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: > > > > Why do pass a option for th

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? > > > \definetextbackground[code

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

2020-11-26 Thread Wolfgang Schuster
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? \definetextbackground[code][background=color, backgroundcolor=lightgray, frame=off, location=paragraph

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

2020-11-26 Thread Aditya Mahajan
On Thu, 26 Nov 2020, Johann Birnick wrote: > 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, 202

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:38 -0500, Aditya Mahajan wrote: > > > >

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

2020-11-26 Thread Wolfgang Schuster
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:38 -0500, Aditya Mahajan wrote: On Thu, 26 Nov 2020, Johann Birnick wrote: How to surround such things properly?

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 things properly? I just want a background to

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

2020-11-26 Thread Wolfgang Schuster
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 things properly? I just want a background to these and a sidebar. No addition spacing / empty lines. A MWE will help... Adi

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

2020-11-26 Thread Aditya Mahajan
On Thu, 26 Nov 2020, Johann Birnick wrote: > 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 line

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... > > Aditya For example, take: \de

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

2020-11-26 Thread Aditya Mahajan
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... Aditya ___ If your question

[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 \defines