Re: [NTG-context] additional space with sidebar and narrower
Am 2019-03-26 um 17:22 schrieb Wolfgang Schuster : > Henning Hraban Ramm schrieb am 26.03.19 um 16:04: >> Thank you, I found that myself (could have written). >> >> But the problem is that there’s space introduced if I use both environments, >> but not if I use only one. And I didn’t find how I can avoid that. > Change the order of both environment and put sidebar in the narrower block. > > The reason for the extra line is that \startsidebar begins a new paragraph > but \startnarrower end the lest paragraph which results in a single empty > line. Thank you, that works in my MWE, but not in my real life book. (I was sure I tested that approach already...) I’ll investigate further. Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD ___ 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] additional space with sidebar and narrower
Henning Hraban Ramm schrieb am 26.03.19 um 16:04: Thank you, I found that myself (could have written). But the problem is that there’s space introduced if I use both environments, but not if I use only one. And I didn’t find how I can avoid that. Change the order of both environment and put sidebar in the narrower block. The reason for the extra lien is that \startsidebar begins a new paragraph but \startnarrower end the lest paragraph which results in a single empty line. 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] additional space with sidebar and narrower
Thank you, I found that myself (could have written). But the problem is that there’s space introduced if I use both environments, but not if I use only one. And I didn’t find how I can avoid that. Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD Am 2019-03-26 um 15:22 schrieb Otared Kavian : > Hi, > > If the issue is the size of the sidebar, I think if you add something like > > \setupsidebar[topoffset=-5mm,bottomoffset=-5mm] > > you can get rid of the spurious length of the sidebar. Indeed here 5mm should > be replaced with what looks better with your setting of interlinespace. > > Best regards: OK > >> On 26 Mar 2019, at 11:16, Henning Hraban Ramm wrote: >> >> Ahoi, >> I’m trying to mark examples in a book with indent (\startnarrower) and a >> rule in the margin (\startsidebar). >> Each of those works on its own as it should, but combined there’s an >> additional empty line before and after introduced that I can’t get rid of. >> Any hints? >> >> \starttext >> >> \input tufte >> >> \startsidebar >> \startnarrower >> \input knuth >> \stopnarrower >> \stopsidebar >> >> \input tufte >> >> \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] additional space with sidebar and narrower
Hi, If the issue is the size of the sidebar, I think if you add something like \setupsidebar[topoffset=-5mm,bottomoffset=-5mm] you can get rid of the spurious length of the sidebar. Indeed here 5mm should be replaced with what looks better with your setting of interlinespace. Best regards: OK > On 26 Mar 2019, at 11:16, Henning Hraban Ramm wrote: > > Ahoi, > I’m trying to mark examples in a book with indent (\startnarrower) and a rule > in the margin (\startsidebar). > Each of those works on its own as it should, but combined there’s an > additional empty line before and after introduced that I can’t get rid of. > Any hints? > > \starttext > > \input tufte > > \startsidebar > \startnarrower > \input knuth > \stopnarrower > \stopsidebar > > \input tufte > > \stoptext > > > Greetlings, Hraban > --- > https://www.fiee.net > http://wiki.contextgarden.net > https://www.dreiviertelhaus.de > GPG Key ID 1C9B22FD > > ___ > 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 ___
[NTG-context] Write your own module?
Hi, I'd like to start writing a module, and test it using ConTeXt MkIV standalone installation. Dived into wiki.contextgarden.net but was unable to find a basic tutorial on how to tackle this. Yes, I did find a module template, but can't figure out where the module should go such that ConTeXt can find and load it. Any hint would be very helpful. Thanks in advance! Regards, Gerard ___ 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] additional space with sidebar and narrower
Ahoi, I’m trying to mark examples in a book with indent (\startnarrower) and a rule in the margin (\startsidebar). Each of those works on its own as it should, but combined there’s an additional empty line before and after introduced that I can’t get rid of. Any hints? \starttext \input tufte \startsidebar \startnarrower \input knuth \stopnarrower \stopsidebar \input tufte \stoptext Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD ___ 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] optional hyphenation patterns in ancient Greek
On Mon, Mar 25, 2019 at 08:57:40PM +0100, Pablo Rodriguez wrote: > I read your original message when you sent it, but the issue with that > kind of hyphenation exceptions is that they are document-based No. Why would they be restricted to a single document? > This is why I asked for the discussion of a new pattern set. Well, my contribution was sent five months ago, you didn’t reply to it until now, and since you talk about hyphenation exceptions above I suspect you haven’t really understood it. It doesn’t use exceptions at all, and takes instead advantage of LuaTeX’s ability to manipulate the pattern set on the fly. As such, it can actually be a step towards an entirely new pattern set, but it is of course not complete. I am however not prepared to put even more effort into this unless you contribute something too yourself. > But I didn’t know that ConTeXt doesn’t allow them. So, this has to be > solved before a different pattern set could make sense in ConTeXt. This paragraph is either nonsensical or counterfactual. I don’t understand what you’re trying to say. Best, Arthur ___ 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 ___