Re: [NTG-context] Floating object in text - Spacing
Thank you. And is it possible to distribute the space equally between top and bottom? Or to set it to some specific dimension? Johann On Fri, 2021-01-15 at 21:43 -0500, Aditya Mahajan wrote: > On Sat, 16 Jan 2021, Johann Birnick wrote: > > > Consider the following example: > > > > \setupexternalfigures[location=default] > > \starttext > > \placefigure[right,none]{}{\externalfigure[hacker.jpg][scale=518]} > > \samplefile{lorem} > > \stoptext > > > > What bothers me is the top spacing. There is space to the top, and I dont > > want > > it to be there. On the bottom there is no spacing. I would expect it to be > > evenly distributed. But the spacing on the top will always be there. How to > > remove this? > > Add 'high' keyword: > > \placefigure[right,high,none]{}{\externalfigure[hacker.jpg][scale=518]} > > Aditya > __ > _ > 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] Floating object in text - Spacing
On Sat, 16 Jan 2021, Johann Birnick wrote: > Consider the following example: > > \setupexternalfigures[location=default] > \starttext > \placefigure[right,none]{}{\externalfigure[hacker.jpg][scale=518]} > \samplefile{lorem} > \stoptext > > What bothers me is the top spacing. There is space to the top, and I dont want > it to be there. On the bottom there is no spacing. I would expect it to be > evenly distributed. But the spacing on the top will always be there. How to > remove this? Add 'high' keyword: \placefigure[right,high,none]{}{\externalfigure[hacker.jpg][scale=518]} Aditya ___ 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] Floating object in text - Spacing
Consider the following example: \setupexternalfigures[location=default] \starttext \placefigure[right,none]{}{\externalfigure[hacker.jpg][scale=518]} \samplefile{lorem} \stoptex What bothers me is the top spacing. There is space to the top, and I dont want it to be there. On the bottom there is no spacing. I would expect it to be evenly distributed. But the spacing on the top will always be there. How to remove this? Thank you, Johann ___ 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] LMTX isn't typesetting math correctly with Pagella
On 1/15/2021 1:33 PM, Jack Hill wrote: Hi, I've been having some trouble with ConTeXt not typesetting math correctly when using the Pagella font (I do not know if the same issue occurs with other fonts as I haven't tested them). If I compile with LMTX, the spacing between letters becomes very small so that when I type "|f|", for example, the second "|" intersects the f and looks rather ugly. However, compiling with the --luatex switch fixes these issues and the math looks nice again. Can anybody else replicate this issue, and does anybody know why it is happening? This the code I used to test: |\setupbodyfont[pagella] \starttext \startformula |f| = \sqrt{\int_0^1 |f(t)|^2 \text{d}t} \stopformula \stoptext ||| I'll check it ... smells like some interference between newer and older corrections (these gyre fonts need some special treatment). 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] LMTX isn't typesetting math correctly with Pagella
Hi Jack,I tested your example both with Pagella and Lucida OT: indeed typesetting with the latest LMTX, with Pagella the math italic « f » runs into the right bar of « |f| ».However the result with mkiv is correct.I am attaching the PDF output with LMTX.Best regards: Otared bar-distance-f.pdf Description: Adobe PDF document On 15 Jan 2021, at 13:33, Jack Hillwrote: Hi,I've been having some trouble with ConTeXt not typesetting math correctly when using the Pagella font (I do not know if the same issue occurs with other fonts as I haven't tested them).If I compile with LMTX, the spacing between letters becomes very small so that when I type "|f|", for example, the second "|" intersects the f and looks rather ugly. However, compiling with the --luatex switch fixes these issues and the math looks nice again.Can anybody else replicate this issue, and does anybody know why it is happening?This the code I used to test: \setupbodyfont[pagella] \starttext \startformula |f| = \sqrt{\int_0^1 |f(t)|^2 \text{d}t} \stopformula \stoptext Jack ___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-contextwebpage : http://www.pragma-ade.nl / http://context.aanhet.netarchive : 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 ___
[NTG-context] LMTX isn't typesetting math correctly with Pagella
Hi, I've been having some trouble with ConTeXt not typesetting math correctly when using the Pagella font (I do not know if the same issue occurs with other fonts as I haven't tested them). If I compile with LMTX, the spacing between letters becomes very small so that when I type "|f|", for example, the second "|" intersects the f and looks rather ugly. However, compiling with the --luatex switch fixes these issues and the math looks nice again. Can anybody else replicate this issue, and does anybody know why it is happening? This the code I used to test: |\setupbodyfont[pagella] \starttext \startformula |f| = \sqrt{\int_0^1 |f(t)|^2 \text{d}t} \stopformula \stoptext ||| Jack || ___ 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 ___