Re: [NTG-context] TUG 2023
On Thu, 5 Jan 2023 18:20:14 +0100 Hans Hagen via ntg-context wrote: > The only meeting in my agende is the ctx meeting later that year, so > no plans. The seventeenth ConTEXt meeting will take place in Prague–Sibřina, Czech Republic on September 10th–16th, 2023 Anyone who has not been to Sibřina is missing something! (I say with likely regret, not expecting to be able to attend.) Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] MP figure continuation
On Fri, 6 Jan 2023 15:43:07 +0100 Alexandre Christe via ntg-context wrote: > Dear list, > > Is there a way to "continue" an MP figure? Like keeping the axes, > etc. and just adding code to the figure? > > Maybe I missed something, otherwise I'd find it super useful. > > Thanks in advance and happy new year, > Alex Another solution is to save the picture: \startMPcode draw fullcircle scaled 1cm ; picture mypicture ; mypicture := currentpicture ; \stopMPcode Then, the next call to \startMPcode (or whatever you use) will have access to the saved picture. \startMPcode currentpicture := mypicture ; draw unitsquare scaled 1cm withcolor red ; \stopMPcode currentpicture is reset for each MP call. Of course, you must not use save mypicture ; picture mypicture ; because that will make it local. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] Issue with location parameter in matrix
Hi all, Thank you for your recent assistance with calligraphic math fonts. I am trying to use a matrix example from math-ali.mkxl, but I am running into an issue. When I try to use the location parameter, I receive the error A was supposed to be here. I have also tried both location=bottom and location=top, but both give the same error. Do you have any ideas on how I can get the matrix in the desired locations? Thank you in advance for your help. Best regards, Jacob \starttext \startformula \startmatrix[left={\left(},right={\right)}] \NC A \NC B \NR \NC C \NC D \NR \stopmatrix = \startmatrix[left={\left(},right={\right)},location=low] \NC A \NC B \NR \NC C \NC D \NR \stopmatrix = \startmatrix[left={\left(},right={\right)},location=high] \NC A \NC B \NR \NC C \NC D \NR \stopmatrix \stopformula \stoptext signature.asc Description: Message signed with OpenPGP ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] Problem with latest version ?
Hi, >From my side, after the last update, it works. Thank you Hans. Fabrice Le ven. 6 janv. 2023 à 14:17, Gavin via ntg-context a écrit : > Hi Hans, > > > On Jan 5, 2023, at 5:49 AM, Hans Hagen via ntg-context < > ntg-context@ntg.nl> wrote: > > On 1/5/2023 11:40 AM, Gavin via ntg-context wrote: > >> ...I can try with the latest LMTX later today. The test file works with > TeXLive 2022 > >> Gavin > >> TEST FILE: > >> \usemodule[tikz] > >> \usemodule[pgfplots] % PGFPlots module for graphs > >> \starttext > >> \starttikzpicture > >> \draw (0, 0) circle (3cm); > >> \stoptikzpicture > >> \starttikzpicture > >> \startaxis > >>\addplot+[domain=0:360] > >>{sin(x)}; > >> \stopaxis > >> \stoptikzpicture > >> \stoptext > > fixed in next upload (later today) > > I downloaded yesterday's upload. It did not work for me. I did a clean > instal. > > ConTeXt ver: 2023.01.04 11:35 LMTX fmt: 2023.1.6 int: english/english > ... > tex error on line 14 in file ./TikZTest.tex: Control sequence expected > instead of undefined > >\startaxis > > \startaxis > > > -Gavin > > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > https://www.ntg.nl/mailman/listinfo/ntg-context > webpage : https://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : https://contextgarden.net > > ___ > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] MP figure continuation
Aye, thanks Mikael and Gavin. Hard 2023 re-start... Le ven. 6 janv. 2023 à 15:58, Gavin a écrit : > Hi Alex, > > > Is there a way to "continue" an MP figure? Like keeping the axes, etc. > and just adding code to the figure? > > Buffers might be what you want. From the MetaFun manual: > > > Buffers can be used to stepwise build graphics. By putting code in > multiple buffers, you can selectively process this code. [p.124] > > http://www.pragma-ade.nl/general/manuals/metafun-p.pdf > > Hope that helps. > > Gavin ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] MP figure continuation
Hi Alex, > Is there a way to "continue" an MP figure? Like keeping the axes, etc. and > just adding code to the figure? Buffers might be what you want. From the MetaFun manual: > Buffers can be used to stepwise build graphics. By putting code in multiple > buffers, you can selectively process this code. [p.124] http://www.pragma-ade.nl/general/manuals/metafun-p.pdf Hope that helps. Gavin ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] How to buy a copy of NTG MAPS 52 (2022.1)
Colleagues Can someone point me as to where I can purchase a copy of MAPS 52 (2022.1) published by the Nederlandstalige TeX Gebruikersgroep last year? I am not a member of the NTG and it is too early for it to be freely available for viewing on their site, but I would like to read the article by Fabrice Larribe "MetaFun for generative art (English)" within that volume. The article was also mentioned in Chapter 7 of the manual "On Target". Best Wishes Keith McKay ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] MP figure continuation
On Fri, Jan 6, 2023 at 3:43 PM Alexandre Christe via ntg-context wrote: > > Dear list, > > Is there a way to "continue" an MP figure? Like keeping the axes, etc. and > just adding code to the figure? > > Maybe I missed something, otherwise I'd find it super useful. > > Thanks in advance and happy new year, > Alex Hi Alex, Maybe there are other ways, but one can use \includeMPgraphic. One simple example given below. /Mikael \starttext \startuseMPgraphic{vanderwaerdenbas} u:=3cm ; def vdwbas(expr x) = abs(x-round x) enddef ; def vdw(expr n,x) = if n = 0: vdwbas(x) else: vdwbas(x*pow(4,n))/pow(4,n) fi enddef ; path xaxis, yaxis ; xaxis = ((-1.1,0)--(1.1,0)) scaled u ; yaxis = ((0,-0.1)--(0,0.6)) scaled u ; drawarrow xaxis withpen pencircle scaled 0.25 ; drawarrow yaxis withpen pencircle scaled 0.25 ; \stopuseMPgraphic \startuseMPgraphic{vanderwaerden0} \includeMPgraphic{vanderwaerdenbas} draw function(1,"x","vdw(0,x)",epsed(-1),epsed(1),1/1000) scaled u ; \stopuseMPgraphic \startuseMPgraphic{vanderwaerden1} \includeMPgraphic{vanderwaerdenbas} draw function(1,"x","vdw(1,x)",epsed(-1),epsed(1),1/1000) scaled u ; \stopuseMPgraphic \startuseMPgraphic{vanderwaerden2} \includeMPgraphic{vanderwaerdenbas} draw function(1,"x","vdw(2,x)",epsed(-1),epsed(1),1/1000) scaled u ; \stopuseMPgraphic \startuseMPgraphic{vanderwaerden3} \includeMPgraphic{vanderwaerdenbas} draw function(1,"x","vdw(3,x)",epsed(-1),epsed(1),1/1000) scaled u ; \stopuseMPgraphic \startuseMPgraphic{vanderwaerden01} \includeMPgraphic{vanderwaerdenbas} draw function(1,"x","vdw(1,x)+vdw(0,x)",epsed(-1),epsed(1),1/1000) scaled u ; \stopuseMPgraphic \startuseMPgraphic{vanderwaerden012} \includeMPgraphic{vanderwaerdenbas} draw function(1,"x","vdw(2,x)+vdw(1,x)+vdw(0,x)",epsed(-1),epsed(1),1/1000) scaled u ; \stopuseMPgraphic \startuseMPgraphic{vanderwaerden0123} \includeMPgraphic{vanderwaerdenbas} draw function(1,"x","vdw(3,x)+vdw(2,x)+vdw(1,x)+vdw(0,x)",epsed(-1),epsed(1),1/1000) scaled u ; \stopuseMPgraphic \startplacefigure[reference=fig:vdw] \startcombination[nx=2,ny=4] {\useMPgraphic{vanderwaerden0}} {(a)} {\useMPgraphic{vanderwaerden0}} {(b)} {\useMPgraphic{vanderwaerden1}} {(c)} {\useMPgraphic{vanderwaerden01}} {(d)} {\useMPgraphic{vanderwaerden2}} {(e)} {\useMPgraphic{vanderwaerden012}} {(f)} {\useMPgraphic{vanderwaerden3}} {(g)} {\useMPgraphic{vanderwaerden0123}}{(h)} \stopcombination \stopplacefigure \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] TUG 2023
Am Wed, 4 Jan 2023 17:50:52 +0100 schrieb Thomas A. Schmitz via ntg-context: > But to my topic: the official announcement for TUG 2023 is out. It will > be in Bonn, Germany, in a building literally (literally!) just across > the street from my university office. Interesting how near people can be ;-) I will have to go over the bridge ... > I guess I just what to get a feeling what to expect at a TUG conference. You could look at previous TUG videos to get a feeling https://www.youtube.com/@TeXUsersGroup/playlists but imho you shouldn't worry. -- Ulrike Fischer http://www.troubleshooting-tex.de/ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] MP figure continuation
Dear list, Is there a way to "continue" an MP figure? Like keeping the axes, etc. and just adding code to the figure? Maybe I missed something, otherwise I'd find it super useful. Thanks in advance and happy new year, Alex ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] regular online meet-up
You’re invited to join on Wednesday, January 11th, 15:00 CET (UTC+1) at https://lecture.senfcall.de/hen-rbr-rku-oke (same, but shorter: https://v34h.de/ctxmtg) ConTeXt users of all levels are welcome! Next meeting will be on February 8th. (Same blurb as every time:) [Howto] * No special software installation required; most modern browsers should work (WebRTC required). * Open the above URL, accept the privacy statement, * enter your name, * click "join" (or "start" if you’re the first), * click "with microphone", allow your browser to access it, check the audio. * Your microphone is muted if you join. Activate microphone and/or camera with the buttons at the bottom. * Minimize the default presentation with the "screen" button, bottom right. * If you’d like to share your screen or upload a file, you can make yourself the presenter: Click on your user name, change the setting, then you’ll see the "screen sharing" button beside the camera button; also there’s now "manage presentations" behind the "plus" button. Beware there is only one presenter at a time, so don’t kill someone else’s presentation. [Technical hints] * Sound is usually better if you use a headset (less noise for everyone). * Connection problems are mostly due to low bandwidth or high latency on your side, e.g. with mobile connections. * If audio/video doesn’t work for you, you can still use the text chat. * Screen sharing needs a lot of bandwidth. * BigBlueButton documentation applies: https://bigbluebutton.org/teachers/tutorials/ [Netiquette] * Please use a name that we recognize from here. Some feel uncomfortable with anonymous lurkers. * Mute your microphone while you’re not talking. * It’s nice to show your face at least when you join. * If there are connection problems, stop camera sharing. * The room is set to “everyone’s a moderator“, I trust you... See you, Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] Problem with latest version ?
Hi Hans, > On Jan 5, 2023, at 5:49 AM, Hans Hagen via ntg-context > wrote: > On 1/5/2023 11:40 AM, Gavin via ntg-context wrote: >> ...I can try with the latest LMTX later today. The test file works with >> TeXLive 2022 >> Gavin >> TEST FILE: >> \usemodule[tikz] >> \usemodule[pgfplots] % PGFPlots module for graphs >> \starttext >> \starttikzpicture >> \draw (0, 0) circle (3cm); >> \stoptikzpicture >> \starttikzpicture >> \startaxis >>\addplot+[domain=0:360] >>{sin(x)}; >> \stopaxis >> \stoptikzpicture >> \stoptext > fixed in next upload (later today) I downloaded yesterday's upload. It did not work for me. I did a clean instal. ConTeXt ver: 2023.01.04 11:35 LMTX fmt: 2023.1.6 int: english/english ... tex error on line 14 in file ./TikZTest.tex: Control sequence expected instead of undefined \startaxis \startaxis -Gavin ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___