[NTG-context] Access current element in xmlsetsetup via xml.expressions

2019-10-01 Thread achim
Hello, I'm trying to build an xmlsetsetup with an own lua function. XML in MKIV says on pg. 33: You can also use normal Lua functions as long as you make sure that you pass the right arguments. There are a few predefined variables available inside such functions. list table the list of matches

Re: [NTG-context] circuitikz meters

2019-10-01 Thread Hans Hagen
On 10/1/2019 7:42 PM, Martin Althoff wrote: Thanks for that Henri. I didn't expect a simple thing like that. As I had some similar "glitches" before, I'll have a look through the module. If there are more such commands we can add them to the tikz module loader. Just collect them. All the

Re: [NTG-context] circuitikz meters

2019-10-01 Thread Martin Althoff
Thanks for that Henri. I didn't expect a simple thing like that. As I had some similar "glitches" before, I'll have a look through the module. All the best, Martin On Tue, 2019-10-01 at 14:03 +1300, Henri Menke wrote: > Circuitikz uses \textbf inside, which is a LaTeX macro. Unfortunately,

Re: [NTG-context] Multi-letter words/identifiers in math

2019-10-01 Thread Hans Hagen
On 10/1/2019 6:52 PM, Shuxian Wang wrote: Thanks Hans! Your suggestion does partially solve the problem, but it seems that `\mfunction` internally called `\rm` to set upright Roman font in math mode. Does achieving the same effects (text-like kerning) for italics and bold style still

Re: [NTG-context] Column sets (span) & unwanted vertical gap

2019-10-01 Thread Wolfgang Schuster
Procházka Lukáš Ing. schrieb am 01.10.2019 um 14:51: Hello, the code bellow produces unwanted vertical gap between the bottom border of the figure and the following title "A" in the first column (marked by red arrows "<->" in the PDF attached). Note that in the second column there is no

[NTG-context] Column sets (span) & unwanted vertical gap

2019-10-01 Thread Procházka Lukáš Ing .
Hello, the code bellow produces unwanted vertical gap between the bottom border of the figure and the following title "A" in the first column (marked by red arrows "<->" in the PDF attached). Note that in the second column there is no such gap. I tried to play with "before", "inbetween",

Re: [NTG-context] About \textrule [ ]

2019-10-01 Thread Fabrice Couvreur
Thank you for your suggestions, Fabrice Le mar. 1 oct. 2019 à 11:35, Taco Hoekwater a écrit : > > > > On 1 Oct 2019, at 11:09, Fabrice Couvreur > wrote: > > > > Hello, > > The top line is in the text, how to fix this problem ? > > % alternative=serried, > inbetween=, > > Best wishes, >

Re: [NTG-context] About \textrule [ ]

2019-10-01 Thread Taco Hoekwater
> On 1 Oct 2019, at 11:09, Fabrice Couvreur wrote: > > Hello, > The top line is in the text, how to fix this problem ? % alternative=serried, inbetween=, Best wishes, Taco > Thank you. > Fabrice > > \setuptextrules[width=0.5cm] > > \define[1]\ProprieteHeadcommand >

Re: [NTG-context] About \textrule [ ]

2019-10-01 Thread Otared Kavian
Hi Fabrice, Is this what you are looking for? Best regards: OK \setuptextrules[width=.5cm] \define[1]\ProprieteHeadcommand {\textrule[top]{Propriété}} \defineenumeration[propriete] [headstyle={bold}, style=italic, number=no,

Re: [NTG-context] Mkiv, fonts in text and math mode, with \definebodyfont

2019-10-01 Thread Hans Hagen
On 9/30/2019 7:32 PM, Stefano Sanguinetti wrote: Hello, I am trying to understand something more about fonts in text and math mode, in Mkiv Context. I would like to be able to change things at the "define body fonts" level. I tried the following, in order to have rsfs fonts :

[NTG-context] About \textrule [ ]

2019-10-01 Thread Fabrice Couvreur
Hello, The top line is in the text, how to fix this problem ? Thank you. Fabrice \setuptextrules[width=0.5cm] \define[1]\ProprieteHeadcommand {\textrule[top]{#1}} \defineenumeration [propriete] [text=Propriété, title=yes, headstyle={bold}, alternative=serried, style=italic,

Re: [NTG-context] Error during installation of LMTX

2019-10-01 Thread Hans Hagen
On 9/30/2019 8:26 PM, Mojca Miklavec wrote: On Mon, 30 Sep 2019 at 20:04, Jan U. Hasecke wrote: I tried to update or install LMTX today and get this error: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /home/juh/context-linux-64/bin/mtxrun) I am running debian

Re: [NTG-context] Column(set)s & overlapping lines

2019-10-01 Thread Procházka Lukáš Ing .
Hello, thank you for quick response - I didn't notice such question. I added some info to wiki: https://wiki.contextgarden.net/Command/startcolumnset#Note Best, Lukas On Tue, 01 Oct 2019 08:24:19 +0200, Henri Menke wrote: This has been asked many times. Columnsets need grid.

Re: [NTG-context] Column(set)s & overlapping lines

2019-10-01 Thread Henri Menke
This has been asked many times. Columnsets need grid. \setuplayout[grid=yes] Cheers, Henri On 10/1/19 7:16 PM, Procházka Lukáš Ing. wrote: > Hello, > > I have the following code: > > > \definecolumnset[example][n=3,balancing=no] > \definecolumnsetspan[wide][n=2] > >

[NTG-context] Column(set)s & overlapping lines

2019-10-01 Thread Procházka Lukáš Ing .
Hello, I have the following code: \definecolumnset[example][n=3,balancing=no] \definecolumnsetspan[wide][n=2] \setupexternalfigures[location=default] % \starttext \startcolumnset[example] \startcolumnsetspan[wide] %\externalfigure[hacker][width=120mm] % Produces overlapping