[NTG-context] Re: distance in \setupinitial
Am 09.02.24 um 22:06 schrieb Thomas Meyer: Thank you, Pablo, next question: why does it say here https://wiki.contextgarden.net/Command/setupinitial default is 0pt? Why does the information not match? Crazy! Either it changed since 2020, or Garulfo just assumed wrongly when they wrote it. Anyway, I changed it. You could have done it yourself. Thank you, Pablo, for looking it up! Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: distance in \setupinitial
Thank you, Pablo, next question: why does it say here https://wiki.contextgarden.net/Command/setupinitial default is 0pt? Why does the information not match? Crazy! Am 09.02.24 um 20:02 schrieb Pablo Rodriguez via ntg-context: On 2/9/24 09:53, Thomas Meyer wrote: Hi folks, if I understand it correct it is not necessary to set default parameters. In my example it is a difference to set it or not (distance=0pt should be default): Hi Thomas, the default (as per line 65 in typo-drp.mkxl) is .125\emwidth. This is the reason why your results differ with distance set to 0pt. Just in case it helps, Pablo ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :ntg-context@ntg.nl /https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage :https://www.pragma-ade.nl /https://context.aanhet.net (mirror) archive :https://github.com/contextgarden/context wiki :https://wiki.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://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: distance in \setupinitial
On 2/9/24 09:53, Thomas Meyer wrote: > Hi folks, > > if I understand it correct it is not necessary to set default parameters. > In my example it is a difference to set it or not (distance=0pt should > be default): Hi Thomas, the default (as per line 65 in typo-drp.mkxl) is .125\emwidth. This is the reason why your results differ with distance set to 0pt. Just in case it helps, Pablo ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] distance in \setupinitial
Hi folks, if I understand it correct it is not necessary to set default parameters. In my example it is a difference to set it or not (distance=0pt should be default): \setupinitial%[distance=0pt] \starttext \placeinitial \input knuth \stoptext Why? Greetings Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] \setupinitial: style Parameter resets size
Hi, since the lettrine module does not work with LMTX, I’ve looked into \setupinitial. (There is a different thread about this.) There is a „style“ parameter to change the style, but whenever I change the style, the font size is reset. This is not what I expected. This was the case in context before LMTX, thus it is not a regression. % !TEX TS-program = ConTeXt (LuaTeX LMTX2021) % !TEX encoding = UTF-8 Unicode \starttext \setupinitial[color=red] \start \setupinitial[n=2,m=1] \placeinitial\input ward \stop \start \setupinitial[style=\tf,n=2,m=1] \placeinitial\input ward \stop \start \setupinitial[font=Roman at 32 pt,n=2,m=1] \placeinitial\input ward \stop \start \setupinitial[style=\it,n=2,m=1] \placeinitial\input ward \stop \start \setupinitial[font=Italic at 32 pt,n=2,m=1] \placeinitial\input ward \stop \start \setupinitial[style=\it,font=Italic at 32 pt,n=2,m=1] \placeinitial\input ward \stop \stoptext Are my expectations wrong? Greetings Axel ___ 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] distance parameter of \setupinitial
Hi, I’d like an initial in front of the text block. It works more or less, but I find the behaviour of the distance parameter confusing: If I set it to -1em (like in the MWE below), the text lines get indented a bit on the right side. With somewhat bigger values, the indent disappears, but the initial is moved to the left. But the initial should nearly touch the first characters, and the text lines should be full width. The behavior is the same with (latest) MkIV and LMTX. Is there a misunderstanding of the parameters on my side, or is this a bug? \setupinitial[ distance=-1em, n=2, hoffset=1em, ] \showframe \starttext \placeinitial{L}orem ipsum. \input lorem \stoptext Hraban ___ 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 ___