Re: [NTG-context] Error in MetaFun LMTX
should be D := instead of D : = On Tue, Feb 25, 2020 at 2:35 PM Jan-Erik Hägglöf wrote: > The following code gives an error, my goal is to draw 4 different arrows > but only three functions successfully. > > The error log shows > > metapost> initializing number mode 'scaled' > metapost log> > metapost log> loading metafun, including plain.mp version 1.004 for > metafun iv and xl > metapost log> > metapost log> >> unknown path D > metapost log> ! Isolated expression. > metapost log> > metapost log>: > metapost log> <*> ... :=(12cm, -1cm)--(11cm, -1cm); path D ; D : > metapost log> > =(4cm, -1cm)--(3cm, -1cm)... > metapost log> > > And the code is as follows > > \startMPcode > path A ; A :=(0cm, -1cm)--(1cm, -1cm); > path B ; B :=(13.5cm, -1cm)--(14.5cm, -1cm); > path C ; C :=(12cm, -1cm)--(11cm, -1cm); > path D ; D : =(4cm, -1cm)--(3cm, -1cm); > drawarrow A; drawarrow B; drawarrow C ; drawarrow D ; > \stopMPcode > > Unless I uncomment D it gives the above error. > > Mysterious issue > > /Janne > > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > ___ > -- Todas as coisas fatigam o corpo, salvo a música, que não fatiga nem o corpo nem seus membros, por ser descanso da alma, primavera do coração, distração do aflito, entretenimento do solitário, e viático do viajante. Kunnâsh al-Hâ'ik (Cancioneiro de al-Hâ'ik) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Error in MetaFun LMTX
The following code gives an error, my goal is to draw 4 different arrows but only three functions successfully. The error log shows metapost> initializing number mode 'scaled' metapost log> metapost log> loading metafun, including plain.mp version 1.004 for metafun iv and xl metapost log> metapost log> >> unknown path D metapost log> ! Isolated expression. metapost log> metapost log>: metapost log> <*> ... :=(12cm, -1cm)--(11cm, -1cm); path D ; D : metapost log>=(4cm, -1cm)--(3cm, -1cm)... metapost log> And the code is as follows \startMPcode path A ; A :=(0cm, -1cm)--(1cm, -1cm); path B ; B :=(13.5cm, -1cm)--(14.5cm, -1cm); path C ; C :=(12cm, -1cm)--(11cm, -1cm); path D ; D : =(4cm, -1cm)--(3cm, -1cm); drawarrow A; drawarrow B; drawarrow C ; drawarrow D ; \stopMPcode Unless I uncomment D it gives the above error. Mysterious issue /Janne___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Error in MetaFun LMTX
On 2/25/2020 6:34 PM, Jan-Erik Hägglöf wrote: The following code gives an error, my goal is to draw 4 different arrows but only three functions successfully. The error log shows metapost > initializing number mode 'scaled' metapost log > metapost log > loading metafun, including plain.mp version 1.004 for metafun iv and xl metapost log > metapost log > >> unknown path D metapost log > ! Isolated expression. metapost log > metapost log > : metapost log > <*> ... :=(12cm, -1cm)--(11cm, -1cm); path D ; D : metapost log > =(4cm, -1cm)--(3cm, -1cm)... metapost log > And the code is as follows \startMPcode path A ; A :=(0cm, -1cm)--(1cm, -1cm); path B ; B :=(13.5cm, -1cm)--(14.5cm, -1cm); path C ; C :=(12cm, -1cm)--(11cm, -1cm); path D ; D : =(4cm, -1cm)--(3cm, -1cm); ^ remove the space drawarrow A; drawarrow B; drawarrow C ; drawarrow D ; \stopMPcode Unless I uncomment D it gives the above error. Mysterious issue /Janne ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___ -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Error in MetaFun LMTX
Sorry, I discovered the issue myself Space between the : and = sign was the origin of error. Problem solved by itself > 25 feb. 2020 kl. 18:34 skrev Jan-Erik Hägglöf : > > The following code gives an error, my goal is to draw 4 different arrows but > only three functions successfully. > > The error log shows > > metapost> initializing number mode 'scaled' > metapost log> > metapost log> loading metafun, including plain.mp version 1.004 for > metafun iv and xl > metapost log> > metapost log> >> unknown path D > metapost log> ! Isolated expression. > metapost log> > metapost log>: > metapost log> <*> ... :=(12cm, -1cm)--(11cm, -1cm); path D ; D : > metapost log>=(4cm, > -1cm)--(3cm, -1cm)... > metapost log> > > And the code is as follows > > \startMPcode > path A ; A :=(0cm, -1cm)--(1cm, -1cm); > path B ; B :=(13.5cm, -1cm)--(14.5cm, -1cm); > path C ; C :=(12cm, -1cm)--(11cm, -1cm); > path D ; D : =(4cm, -1cm)--(3cm, -1cm); > drawarrow A; drawarrow B; drawarrow C ; drawarrow D ; > \stopMPcode > > Unless I uncomment D it gives the above error. > > Mysterious issue > > /Janne > ___ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Shading
On Tue, 25 Feb 2020 12:34:00 +0100 Fabrice Couvreur wrote: > Hi, > In the Metafun documentation on page 410, there is a shaded bullet "fill > fullcircle shaded cshade". > I tried to reproduce the same effect, but it is not exactly the same result. It's different because your code isn't the same as the example in the manual. \starttext \startMPcode fill fullcircle scaled 4cm shaded withshademethod "circular" ; \stopMPcode \stoptext > \starttext > \startMPcode > fill fullcircle scaled 4cm shaded withshademethod "circular" >withshadevector (1,0) >withshadecolors (red, white) ; > \stopMPcode > \stoptext Not sure what you're trying to achieve but this is closer the example above. \starttext \startMPcode fill fullcircle scaled 4cm shaded withshademethod "circular" withshadefactor 0.75 withshadecolors (white,red) ; \stopMPcode \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setbreakpoints[compound] not working?
On 2/25/20 8:56 PM, Wolfgang Schuster wrote: > On Tue, 25 Feb 2020 20:43:59 +0100 Pablo Rodriguez wrote: >> [...] >> I mean, line isn’t broken after any "/". >> >> Is this a bug in MkXL (and MkIV) or am I missing something? > > The break happpens only when letters are on the left and right side > but not for numbers. Many thanks for your fast reply, Wolfgang. I didn’t have the need to line break with numbers before. Many thanks for your help, Pablo -- http://www.ousia.tk ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] \setbreakpoints[compound] not working?
Dear list, I cannot get this working: \setuppapersize[A9] \setupbodyfont[26pt] \setbreakpoints[compound] \starttext 1989/3242/CEE\\ 2009/3926/UE\\ \stoptext I mean, line isn’t broken after any "/". Is this a bug in MkXL (and MkIV) or am I missing something? Many thanks for your help, Pablo -- http://www.ousia.tk ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setbreakpoints[compound] not working?
On Tue, 25 Feb 2020 20:43:59 +0100 Pablo Rodriguez wrote: > Dear list, > > I cannot get this working: > > \setuppapersize[A9] > \setupbodyfont[26pt] > \setbreakpoints[compound] > \starttext > 1989/3242/CEE\\ > 2009/3926/UE\\ > \stoptext > > I mean, line isn’t broken after any "/". > > Is this a bug in MkXL (and MkIV) or am I missing something? The break happpens only when letters are on the left and right side but not for numbers. \setbreakpoints[compound] \starttext \hsize=1pt xxx/yyy 111/222 \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] body text invades space for notes
On 2/18/20 11:17 AM, Philipp A. wrote: > For me it’s even worse (in mkiv), a paragraph of body text completely > overlaps my footnote. > > Where are the bottom notes placed? In the footer? Or how does it work? > How to debug it? Hi Philipp, I’m afraid that this misbehaviour is caused by the use of lists in the same page. Even not using lists, the space before seems not to be honored when using \setupnote[footnote]. Note handling seems to have been improved in both LMTX and MkIV. A side-effect of this new handling is the random clash between body and notes texts when using lists in the same page. BTW, foonotes cannot be placed in the footer. \showframe\showgrid \setuppapersize[A9] \starttext \dorecurse{3}{% text\footnote{note}\\} \stoptext Sorry, but I’m afraid that I don’t know any way of debugging it. Pablo > Am Sa., 14. Dez. 2019 um 19:41 Uhr schrieb Pablo Rodriguez: > > Dear list, > > I’m afraid to admit that ConTeXt notes are increasily problematic for > me. I don’t think this is special to me and I hope we can discuss the > general issue. > > Bottom notes are somewhat tricky in ConTeXt. The user expects that these > notes (either footnotes, or linenotes) aren’t moved to the next page. I > mean, no reader expects to find a full footnote in the next page from > the one that calls it. (At least, I have never seen that in any book > read or paged through.) > > There may be good reasons for that, but ConTeXt doesn’t enable this by > default. Both options "split=verystrict" and "scope=text" have to be > used in "\setupnote". > > This translated in wrong space before notes when paragraph form was > used. I was very interested to use these (line)notes for critical > editions, but sometimes the text run into the notes. I’m afraid that > left linenotes extremely problematic to be used. > > With the arrival of LMTX, space before footnotes is more problematic > than before. No paragraph notes, see the attached sample (wrong-6.png). > In other cases, ConTeXt seems to ignore totally that the page bottom > contains footnotes. > > I cannot provide minimal samples. Consider that if it were so easy to > reproduce, problably the issue would have been gone long ago. > > Even when one avoids the problematic bottom partition (which I did in > that case by removing the "before" option from "\setupnote[footnote]"), > there is clearly an issue with the footnote having its space before > remaining blank from the body text (wrong-2.png). > > My first question is why the bottom notes have problems to preserve the > space before them (and simultaneously remain in the same page where they > come from). This applies also for paragraph notes. > > My second question is what can be improved to achieve what may be > considered as a basic typographic feature. > > Sorry for not providing more than output samples. Bear with me. I may > not be an expert user, but I think I’m a frequent ConTeXt user. And I > don’t think it is totally wrong to consider this a basic feature that > needs to be improved. > > Many thanks for your help in advance, > > Pablo -- http://www.ousia.tk ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Shading
Hi, In the Metafun documentation on page 410, there is a shaded bullet "fill fullcircle shaded cshade". I tried to reproduce the same effect, but it is not exactly the same result. Thank you. Fabrice \starttext \startMPcode fill fullcircle scaled 4cm shaded withshademethod "circular" withshadevector (1,0) withshadecolors (red, white) ; \stopMPcode \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___