Re: [NTG-context] Lower limit of integrals shifted
On 1/10/2019 7:56 AM, Mikael P. Sundqvist wrote: Hi, the output of \setupmathematics[ integral=nolimits, ] \starttext \startTEXpage[offset=2bp] $\displaystyle\int_0^1x^2\,dx=\frac{1}{3}$ \stopTEXpage \stoptext is attached. Clearly, the lower limit in the integral is not correctly placed. With hope of a quick fix, The problem is in the fonts ... some have proper math kerns, some don't, some have italic, some don't, so one solution for all is impossible one way to deal with this is setting options (but these can be different per font and i'm not sure yet how to support that) you can try if \mathnolimitsmode=3 works ok for you will work ok for you \startTEXpage[offset=2bp] $\mathnolimitsmode0\displaystyle\int_0^1 x^2\,dx=\frac{1}{3}$\par $\mathnolimitsmode1\displaystyle\int_0^1 x^2\,dx=\frac{1}{3}$\par $\mathnolimitsmode2\displaystyle\int_0^1 x^2\,dx=\frac{1}{3}$\par $\mathnolimitsmode3\displaystyle\int_0^1 x^2\,dx=\frac{1}{3}$\par $\mathnolimitsmode4\displaystyle\int_0^1 x^2\,dx=\frac{1}{3}$\par $\mathnolimitsmode2000 \displaystyle\int_0^1 x^2\,dx=\frac{1}{3}$\par \stopTEXpage - 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] Lower limit of integrals shifted
On 1/11/2019 2:43 PM, Mikael P. Sundqvist wrote: Oh, that sounds bad if it is in the fonts (I don't understand, it seemed to work fine with lmodern, stixtwo, lucidaot, ... just before, has something changed recently?) well, then always enable mode 3 ... the default to mode 0 is because fonts can have kerns to deal with this but anyone can choose his/her preference ... as said, i'm nto sure hot to deal with it in context (as i might as well decide to add proper kerns to these fonts at runtime) Two related questions: 1) This \mathnolimitsmode does not seem to have any effect in a \startformula \stopformula. 2) Could one set this globally (both inline and displayed formulas) in a document? you can try something \appendtoks ... \to \everymathematics (i might cook up some more granularity in the future - i have some ideas about it - but that will then be experimental for a while) Hans - 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] Lower limit of integrals shifted
On Fri, Jan 11, 2019 at 11:36 AM Hans Hagen wrote: > > On 1/10/2019 7:56 AM, Mikael P. Sundqvist wrote: > > Hi, > > > > the output of > > > > \setupmathematics[ > > integral=nolimits, > > ] > > > > \starttext > > \startTEXpage[offset=2bp] > > $\displaystyle\int_0^1x^2\,dx=\frac{1}{3}$ > > \stopTEXpage > > \stoptext > > > > is attached. Clearly, the lower limit in the integral is not correctly > > placed. > > > > With hope of a quick fix, > The problem is in the fonts ... some have proper math kerns, some don't, > some have italic, some don't, so one solution for all is impossible > > one way to deal with this is setting options (but these can be different > per font and i'm not sure yet how to support that) > > you can try if \mathnolimitsmode=3 works ok for you > > will work ok for you > > \startTEXpage[offset=2bp] > $\mathnolimitsmode0\displaystyle\int_0^1 x^2\,dx=\frac{1}{3}$\par > $\mathnolimitsmode1\displaystyle\int_0^1 x^2\,dx=\frac{1}{3}$\par > $\mathnolimitsmode2\displaystyle\int_0^1 x^2\,dx=\frac{1}{3}$\par > $\mathnolimitsmode3\displaystyle\int_0^1 x^2\,dx=\frac{1}{3}$\par > $\mathnolimitsmode4\displaystyle\int_0^1 x^2\,dx=\frac{1}{3}$\par > $\mathnolimitsmode2000 \displaystyle\int_0^1 x^2\,dx=\frac{1}{3}$\par > \stopTEXpage > > > > - >Hans Hagen | PRAGMA ADE >Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl > - Oh, that sounds bad if it is in the fonts (I don't understand, it seemed to work fine with lmodern, stixtwo, lucidaot, ... just before, has something changed recently?) Two related questions: 1) This \mathnolimitsmode does not seem to have any effect in a \startformula \stopformula. 2) Could one set this globally (both inline and displayed formulas) in a document? /Mikael ___ 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] Fwd: Footnotes in float combinations missing in output
Bump. -- Forwarded message - From: Lars Date: Mi., 9. Jan. 2019 um 23:01 Uhr Subject: Footnotes in float combinations missing in output To: mailing list for ConTeXt users Hi there, hi Hans, I just want to let you know that footnotes insterted in float-combinations don't get rendered properly, i. e. only the last footnote is placed in the output. MWE: \starttext \startplacefigure[title={OuterCap\footnote{Outer footnote}}] \startfloatcombination[nx=3] \placefigure{Fnote1\footnote{Hello}}{\externalfigure[cow][width={.2\textwidth}]} \placefigure{Fnote2\footnote{small}}{\externalfigure[cow][width={.2\textwidth}]} \placefigure{Fnote3\footnote{world}}{\externalfigure[cow][width={.2\textwidth}]} \stopfloatcombination \stopplacefigure \stoptext gives the following: Can you confirm and tell me that it's not my fault? Greetings, Lars. ___ 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] Bibliography not rendered
On Fri, 11 Jan 2019 16:44:39 +0100 "Jan U. Hasecke" wrote: > Hi, > > using the first example from mkiv-publications.pdf I don't get a > rendered bibliography. > > juh > @misc{} is not a defined category using the "default" rendering style (which only recognizes @book and @article). See publ-imp-default.lua ___ 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] Bibliography not rendered
Hi, using the first example from mkiv-publications.pdf I don't get a rendered bibliography. juh @misc{greenpeace_dell_2017, title = {Dell}, url = {http://www.greenpeace.org/usa/wp-content/uploads/2017/10/GGE2017_Dell.pdf}, publisher = {Greenpeace Guide to greener Electronics â 2017 Company Report Card}, editor = {Greenpeace}, urldate = {2019-01-07}, date = {2017}, file = {GGE2017_Dell.pdf:/home/juh/.mozilla/firefox/1momrzyf.default-1472492810914/zotero/storage/MJ3ST9YB/GGE2017_Dell.pdf:application/pdf} } @misc{matrix-entwicklungsteam_arbeitsbuch_2017, title = {Arbeitsbuch zur Gemeinwohlbilanz 5.0 Kompakt}, url = {https://www.ecogood.org/media/filer_public/04/8e/048e113f-5802-494e-866b-c3f8c8a6a674/gwoe_arbeitsbuch_5_0_kompaktbilanz.pdf}, publisher = {Gemeinwohl-Ãkonomie e.V.}, author = {Blachfellner, Manfred and Drosg-Plöckinger, Angela and Fieber, Susanna and Hofielen, Gerd and Knakrügge, Lutz and Kofranek, Manfred and Koloo, Sigrid and Loy, Christian and Rüther, Christian and Sennes, Dominik and Sörgel, Regina and Teriete, Moritz}, editor = {Matrix-Entwicklungsteam}, urldate = {2019-01-07}, date = {2017}, file = {gwoe_arbeitsbuch_5_0_kompaktbilanz.pdf:/home/juh/.mozilla/firefox/1momrzyf.default-1472492810914/zotero/storage/7HD7PQ2Y/gwoe_arbeitsbuch_5_0_kompaktbilanz.pdf:application/pdf} }\usebtxdataset[mwe.bib] \starttext \startbodymatter a citation: \cite[matrix-entwicklungsteam_arbeitsbuch_2017,greenpeace_dell_2017] \stopbodymatter \startbackmatter \startchapter[title=Bibliography] \placelistofpublications \stopchapter \stopbackmatter \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 ___
Re: [NTG-context] Bibliography not rendered
Sorry, I forgot to include the pdf I get. Am 11.01.19 um 16:44 schrieb Jan U. Hasecke: > Hi, > > using the first example from mkiv-publications.pdf I don't get a > rendered bibliography. > > juh > mwe.pdf Description: Adobe PDF document ___ 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] fontloader error in latex: attempt to call upvalue 'getdirection' (a nil value)
Am Thu, 10 Jan 2019 17:13:26 +0100 schrieb Pablo Rodriguez: > On 1/7/19 12:40 AM, Ulrike Fischer wrote: >> I just tried to import the fontloader from 2019-01-03 into latex, >> and get on a simple document the error >> >> (./test-utf8.aux)error: >> ...ad/texmf/tex/luatex/luaotfload/fontloader-2019-01-03.lua:23868: >> attempt to call upvalue 'getdirection' (a nil value) >> [...] >> I have no idea (yet) if this is latex specific or if it could affect >> context too but thought I better mention it. The line refers to this >> part of the code: >> >> pardirstate=function(start) >> local nxt=getnext(start) >> local dir=getdirection(start) --<-- >> if dir==lefttoright then >> return nxt,1,1 > > Many thanks for your report, Ulrike. > > This was the same problem that prevented the compilation of the > following code: > > \setupdirections[bidi=on, method=two] > \starttext > \input zapf > \stoptext > > After your report, Hans fixed the issue Well not for generic. I tried yesterday the context state from 2019-01-07 and still have the problem that getdirection is called somewhere but actually nil. But I don't have the time to investigate or to try to create a generic example currently. -- Ulrike Fischer https://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 / 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] fontloader error in latex: attempt to call upvalue 'getdirection' (a nil value)
On 1/11/2019 8:23 PM, Ulrike Fischer wrote: Am Thu, 10 Jan 2019 17:13:26 +0100 schrieb Pablo Rodriguez: On 1/7/19 12:40 AM, Ulrike Fischer wrote: I just tried to import the fontloader from 2019-01-03 into latex, and get on a simple document the error (./test-utf8.aux)error: ...ad/texmf/tex/luatex/luaotfload/fontloader-2019-01-03.lua:23868: attempt to call upvalue 'getdirection' (a nil value) [...] I have no idea (yet) if this is latex specific or if it could affect context too but thought I better mention it. The line refers to this part of the code: pardirstate=function(start) local nxt=getnext(start) local dir=getdirection(start) --<-- if dir==lefttoright then return nxt,1,1 Many thanks for your report, Ulrike. This was the same problem that prevented the compilation of the following code: \setupdirections[bidi=on, method=two] \starttext \input zapf \stoptext After your report, Hans fixed the issue Well not for generic. I tried yesterday the context state from 2019-01-07 and still have the problem that getdirection is called somewhere but actually nil. But I don't have the time to investigate or to try to create a generic example currently. afaiks it's ok for luatex 1.09+ (i have no time now either) Hans - 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] fontloader error in latex: attempt to call upvalue 'getdirection' (a nil value)
Am Fri, 11 Jan 2019 22:51:30 +0100 schrieb Hans Hagen: > afaiks it's ok for luatex 1.09+ Oh, good tipp. You are right with luatex 1.09 it compiles fine. That means that I don't need to debug but should stick to the state of 2018-12-19 until texlive 2019 comes out. -- Ulrike Fischer https://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 / 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 ___