Re: [NTG-context] Float positioning

2020-04-08 Thread Alexey Kryukov
On Mon, 6 Apr 2020 16:53:33 +0200 Tomas Hala wrote: > You can try the work around below, it is based on computation of > additional measures for special instance of figure. Thank you, this is helpful indeed, at least as a workaround. -- Regards, Alexey Kryukov Moscow State University Faculty

Re: [NTG-context] Short weekday option for date command

2020-04-08 Thread Adam Reviczky
Thank you Hans and Wolfgang, I have updated the wiki (https://wiki.contextgarden.net/Command/date) with the new dayshort/daylong options, but I seem to get an empty value for every day after day 7, see example: \starttext \date[d=7,m=4,y=2008][{\dayshort\normalday},{,~},day,~,month,~,year] \par

Re: [NTG-context] Short weekday option for date command

2020-04-08 Thread Wolfgang Schuster
Adam Reviczky schrieb am 08.04.2020 um 21:53: Thank you Hans and Wolfgang, I have updated the wiki (https://wiki.contextgarden.net/Command/date) with the new dayshort/daylong options, but I seem to get an empty value for every day after day 7, see example: \starttext

Re: [NTG-context] Short weekday option for date command

2020-04-08 Thread Adam Reviczky
Thank you Wolfgang! Adam On Wed, Apr 8, 2020 at 9:11 PM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Adam Reviczky schrieb am 08.04.2020 um 21:53: > > Thank you Hans and Wolfgang, > > > > I have updated the wiki (https://wiki.contextgarden.net/Command/date) > > with the new

Re: [NTG-context] Lmtx + pgfplots compilation error

2020-04-08 Thread Aditya Mahajan
Simpler example: \usemodule[pgfplots] \pgfplotsset{compat=newest} \starttext \starttikzpicture \startaxis [ xlabel=$x$, ylabel={$f(x) = x^2 - x +4$} ] \addplot {x^2 - x +4}; \stopaxis \stoptikzpicture \stoptext Works with LMTX 2019.12.31 but fails with the most recent

Re: [NTG-context] Lmtx + pgfplots compilation error

2020-04-08 Thread Fabrice Couvreur
Hi Henri, Sorry ! \usemodule[pgfplots] \pgfplotsset{compat=newest} \starttext \starttikzpicture \startaxis [ xlabel=$x$, ylabel={$f(x) = x^2 - x +4$} ] \addplot {x^2 - x +4}; \stopaxis \stoptikzpicture \stoptext tex error > tex error on line 5 in file

Re: [NTG-context] Lmtx + pgfplots compilation error

2020-04-08 Thread Aditya Mahajan
On Wed, 8 Apr 2020, Aditya Mahajan wrote: Simpler example: Sorry, pasted the wrong thing: \usemodule[pgfplots] \starttext \starttikzpicture \startaxis \addplot {x}; \stopaxis \stoptikzpicture \stoptext Works with LMTX 2019.12.31 but fails with the most recent LMTX (same error as

[NTG-context] Background color of a framedtext that covers floats

2020-04-08 Thread Fabrice Couvreur
Hi, Is there a more elegant way to have a white background for the table ? In fact, my question is more general : if we insert an image, the background color envelops this image : how to solve this problem ? Thank you. Fabrice \definecolor[fondpaille][c=0,m=0,y=0.2,k=0] \starttext

Re: [NTG-context] Background color of a framedtext that covers floats

2020-04-08 Thread Pablo Rodriguez
On 4/8/20 10:19 AM, Fabrice Couvreur wrote: > Hi, > Is there a more elegant way to have a white background for the table? Hi Fabrice, I think not including the table in the framed text is the easiest way to avoid the colored background. Or why do you need the table inside the framed text, which

Re: [NTG-context] Background color of a framedtext that covers floats

2020-04-08 Thread Fabrice Couvreur
Hi Pablo, Here a sample. Fabrice \useMPlibrary[dum] \definecolor[fondpaille][c=0,m=0,y=0.2,k=0] \starttext \startframedtext[width=max,background=color,backgroundcolor=fondpaille] \starthanging[location=right] {\startMPcode draw unitsquare scaled 2cm ;

Re: [NTG-context] Lmtx + pgfplots compilation error

2020-04-08 Thread Henri Menke
Hi Fabrice, Could you provide a MWE, or maybe even open an issue on the bugtracker? https://github.com/pgf-tikz/pgfplots/issues Cheers, Henri On 07/04/20, 14:22, Fabrice Couvreur wrote: > Hi Henri, > Thank you for answering me. We're entering an area that I don't really know. I > replaced all

Re: [NTG-context] xhtml export internal command \dostarttaging modify display and other XML/XHTML attributes

2020-04-08 Thread Christoph Hintermüller
Hi On Sun, 2020-04-05 at 15:56 +0200, Christoph Hintermüller wrote: > Hi > I'm helping to make t-vim module fully usable in xhtml and futher > epub > export. Getting a distingct tag for the individual lines was quiet > easy > to do using \dostarttagged and \dostoptagged internal macros. > What

Re: [NTG-context] Lmtx + pgfplots compilation error

2020-04-08 Thread Fabrice Couvreur
Hi Henri, This file works well with context but does not work with lmtx. \usemodule[pgfplots] \usemodule[pgfpltstable] \pgfplotsset{compat=newest} \starttext \starttikzpicture \startaxis[ title={\bf Relevé de notes chronologique}, ymajorgrids=true, grid style={cyan!30}, ymin=0,

Re: [NTG-context] Background color of a framedtext that covers floats

2020-04-08 Thread Pablo Rodriguez
On 4/8/20 11:32 AM, Fabrice Couvreur wrote: > [...] > \startframedtext[width=max,background=color,backgroundcolor=fondpaille] >      \starthanging[location=right] >          {\startMPcode >           draw unitsquare scaled 2cm ; >           \stopMPcode} >      \input tufte >      \stophanging >

[NTG-context] Why does this example from the MetaFun manual not work?

2020-04-08 Thread Gerben Wierda
I would like to use the result of transparent() straight in my macros, so I can pass the colors with transparency using a single parameter. That should be possible if I understand the MetaFun manual (where I’ve copy-pasted this example from): \starttext \startMPpage[instance=doublefun] vardef

Re: [NTG-context] Lmtx + pgfplots compilation error

2020-04-08 Thread Henri Menke
MINIMAL working example... Cheers, Henri On 08/04/20, 11:52, Fabrice Couvreur wrote: > Hi Henri, > This file works well with context but does not work with lmtx. > > \usemodule[pgfplots] > \usemodule[pgfpltstable] > \pgfplotsset{compat=newest} > \starttext > \starttikzpicture > \startaxis[ >