Re: [NTG-context] Percentage stacked bars chart

2021-07-23 Thread Jorge Manuel
Dear Hans I think this is a very important piece of code (https://akela.mendelu.cz/~thala/statcharts/). Unfortunately it still doesn't work with lmtx. As I need to make graphics, I keep waiting for its compatibility with lmtx. Thanks for your time and support. Have a great day and, please,

Re: [NTG-context] lmt_chart_bar with data from luacode

2021-07-23 Thread Jorge Manuel
Dear Hans I tried this code, but it didn't work. This is not my day. %%% \starttext \startluacode  document.samples = {  { 10, 30, 30, 40, 50 }  }  function document.dados()  return { { 10, 30, 30, 40, 50 }}  end \stopluacode \startMPcode  draw lmt_chart_bar [  samples =

Re: [NTG-context] Every odd row with a background color with extreme tables?

2021-07-23 Thread T. Kurt Bond
Thanks, this has been very helpful. On Fri, Jul 23, 2021 at 1:02 PM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > T. Kurt Bond schrieb am 23.07.2021 um 17:55: > > With natural tables I can define a color, tell the table to have to > > use color backgrounds and turn the frame

Re: [NTG-context] Use of lettrine module in LMTX

2021-07-23 Thread Gerben Wierda
Gerben Wierda (LinkedIn ) R Enterprise Architecture (main site) Book: Chess and the Art of Enterprise Architecture Book: Mastering ArchiMate > On 23 Jul 2021, at

[NTG-context] weekend update

2021-07-23 Thread Hans Hagen
Hi, This time the update has, appart from already mentioned mp fixes and additions, another new feature. % runpath=texruns:whatever % runpath=e:/temporary/texruns/runtest % runpath=temp:texruns/runtest % runpath=home:texruns/runtest \starttext test \stoptext In context the first line

Re: [NTG-context] Every odd row with a background color with extreme tables?

2021-07-23 Thread Wolfgang Schuster
T. Kurt Bond schrieb am 23.07.2021 um 17:55: With natural tables I can define a color, tell the table to have to use color backgrounds and turn the frame off and get every odd row in all my tables will have that color for the background. == Example

Re: [NTG-context] Every odd row with a background color with extreme tables?

2021-07-23 Thread Henning Hraban Ramm
> Am 23.07.2021 um 17:55 schrieb T. Kurt Bond : > > With natural tables I can define a color, tell the table to have to > use color backgrounds and turn the frame off and get every odd row in > all my tables will have that color for the background. > > Can I get this same effect with extreme

Re: [NTG-context] Percentage stacked bars chart

2021-07-23 Thread Hans Hagen
On 7/23/2021 4:43 PM, Jorge Manuel wrote: Dear Sirs, Is there a way (out of the box) to draw percentage stacked bars chart with  metapost or MetaFun xl? Thanks for your time and support. you can have a look at https://akela.mendelu.cz/~thala/statcharts/ (at some point i'll see if i can

Re: [NTG-context] lmt_chart_bar with data from luacode

2021-07-23 Thread Hans Hagen
On 7/23/2021 11:07 AM, Jorge Manuel wrote: Dear Sirs If I tried: \starttext \startluacode sample = {10,30,30,40}  function MP.GetP()  mp.print(sample)  end \stopluacode \startMPcode draw lmt_chart_bar [  width = 8cm,  height = 10mm,  samples = {lua.MP.GetP()} ,  trace = true,  

[NTG-context] Every odd row with a background color with extreme tables?

2021-07-23 Thread T . Kurt Bond
With natural tables I can define a color, tell the table to have to use color backgrounds and turn the frame off and get every odd row in all my tables will have that color for the background. == Example

[NTG-context] Percentage stacked bars chart

2021-07-23 Thread Jorge Manuel
Dear Sirs, Is there a way (out of the box) to draw percentage stacked bars chart with   metapost or MetaFun xl? Thanks for your time and support. Jorge Magalhães ___ If your question is of interest to others as

Re: [NTG-context] Use of lettrine module in LMTX

2021-07-23 Thread Arthur Rosendahl
On Fri, Jul 23, 2021 at 03:10:59PM +0200, Gerben Wierda wrote: > I just made a remark on ConTeXtgarden not mentioning this. The ConTeXt garden is a collaborative effort; feel free to edit the page that contains incomplete or inaccurate information. Arthur

[NTG-context] LMTX: some alignment issues

2021-07-23 Thread Gerben Wierda
[still working to somewhat reproduce my old mkii setup in LMTX] The following is a minimal example that shows the following: context test2.tex results in The first line after the initials not as much indented as it should be Character protrusion in a footnote does not work (see “refer-“ at the

Re: [NTG-context] TrueType font styles suddenly not found anymore

2021-07-23 Thread Gerben Wierda
That fixed it. Thanks. G On 23 Jul 2021, at 13:22, Wolfgang Schuster wrote: > > Gerben Wierda schrieb am 23.07.2021 um 12:35: >> My font setup is like this: >> [...] >> Now, both worked earlier today. But I’ve lost the old Optima font somehow. >> If I now try —mode=OPTIMA I get: >>

Re: [NTG-context] TrueType font styles suddenly not found anymore

2021-07-23 Thread Wolfgang Schuster
Gerben Wierda schrieb am 23.07.2021 um 12:35: My font setup is like this: [...] Now, both worked earlier today. But I’ve lost the old Optima font somehow. If I now try —mode=OPTIMA I get: selectfont      > the requested font 'Optima' has no files for the 'tf' alternative, Latin Modern is

Re: [NTG-context] Use of lettrine module in LMTX

2021-07-23 Thread Wolfgang Schuster
Gerben Wierda schrieb am 22.07.2021 um 08:43: So, basically, the page on ConTeXt garden about using older modules in LMTX is incomplete: not all modules actually work. Many of the modules on the garden are 10 years and older and predate MkIV/LuaTeX. A lot has changed since then and LMTX

Re: [NTG-context] Math cases

2021-07-23 Thread Jack Hill
Thank you. I've updated the wiki to reflect those changes. The wiki's version of ConTeXt still seems to use the old \NC and \MC commands though. Jack ___ If your question is of interest to others as well, please

[NTG-context] TrueType font styles suddenly not found anymore

2021-07-23 Thread Gerben Wierda
My font setup is like this: \startmode[OPTIMANOVA] \definefontfamily [bookfont] [ss] [Optima nova LT Pro] [tf=style:Regular, bf=style:Medium, it=style:Italic, bi=style:Medium

[NTG-context] lmt_chart_bar with data from luacode

2021-07-23 Thread Jorge Manuel
Dear Sirs If I tried: \starttext \startluacode sample = {10,30,30,40}  function MP.GetP()  mp.print(sample)  end \stopluacode \startMPcode draw lmt_chart_bar [  width = 8cm,  height = 10mm,  samples = {lua.MP.GetP()} ,  trace = true,  maximum = 100,  linewidth = 1mm,  showlabels = false,  

Re: [NTG-context] MP boxes: boxjoin not recognized?

2021-07-23 Thread Hans Hagen
On 7/23/2021 6:38 AM, Aditya Mahajan wrote: On Wed, 21 Jul 2021, Hans Hagen wrote: On 7/21/2021 12:29 PM, Rudd, Kevin wrote: Hi--- All of my figures that use MP boxes are now failing. It looks like "boxjoin" (from the MP "boxes" macros) is not being recognized. Also, apparently unrelated, I