[NTG-context] Re: removing whitespace

2024-02-13 Thread Wolfgang Schuster
Michael Guravage schrieb am 13.02.2024 um 14:01: While reading the documentation I spotted something similar from which I derived this solution: \setupinteraction[state=start] \def\squeeze#1%   {     \goto{#1} [url(tel:\ctxlua{context(string.gsub("#1", " ", ""))})]   } ConTeXt has a Lua f

[NTG-context] Re: removing whitespace

2024-02-13 Thread Michael Guravage
While reading the documentation I spotted something similar from which I derived this solution: \setupinteraction[state=start] \def\squeeze#1% { \goto{#1} [url(tel:\ctxlua{context(string.gsub("#1", " ", ""))})] } \starttext Call \squeeze{01234 56789} \stoptext With kind regards, Micha

[NTG-context] removing whitespace

2024-02-12 Thread Michael Guravage
In the example below I pass the macro a string with a space, but the space should not appear in the url. I've tried using \ctxlua to invoke string substitution, but without success. What is the proper way to remove this space, and to perform string manipulation more generally? \setupinteraction[s

Re: [NTG-context] \getbuffer without extra whitespace?

2023-05-29 Thread Wolfgang Schuster via ntg-context
Gerben Wierda via ntg-context schrieb am 29.05.2023 um 16:19: If I do something like: \startbuffer[version]20230529a\stopbuffer Version: \getbuffer[version]-en I get whitespace between the content of the buffer and “-en” What is the proper LMTX way to do this? You need the \inlinebuffer

[NTG-context] \getbuffer without extra whitespace?

2023-05-29 Thread Gerben Wierda via ntg-context
If I do something like: \startbuffer[version]20230529a\stopbuffer Version: \getbuffer[version]-en I get whitespace between the content of the buffer and “-en” What is the proper LMTX way to do this? Gerben Wierda (LinkedIn <https://www.linkedin.com/in/gerbenwierda>) R&A Enterprise Ar

Re: [NTG-context] XML, dealing with whitespace

2022-01-17 Thread Denis Maier via ntg-context
Hi Wolfgang, Von: Wolfgang Schuster Gesendet: Samstag, 15. Januar 2022 20:28 An: mailing list for ConTeXt users ; Denis Maier via ntg-context Cc: Maier, Denis Christian (UB) Betreff: Re: [NTG-context] XML, dealing with whitespace Denis Maier via ntg-context schrieb am 15.01.2022 um 13:04

Re: [NTG-context] XML, dealing with whitespace

2022-01-15 Thread Wolfgang Schuster via ntg-context
Denis Maier via ntg-context schrieb am 15.01.2022 um 13:04: Hi all, I have sources that look like this: %    Bla Bla Bla   Bla   , Bla Bla. % Typesetting this with context gives me a spurious space after the underlined Bl

[NTG-context] XML, dealing with whitespace

2022-01-15 Thread Denis Maier via ntg-context
leading and trailing whitespace. I've found \xmlstrip and \xmlstripped, but I don't really understand how they work. I've also found out about \ignorespaces\xmlflush{#1}\removeunwantedspaces but this has then to be added to every definition, which would be a bit tedious... Ther

Re: [NTG-context] Unwanted whitespace at beginning of document

2020-09-30 Thread Denis Maier
Am 29.09.2020 um 16:16 schrieb Wolfgang Schuster: Denis Maier schrieb am 29.09.2020 um 14:26: Hi, I have ended up with unwanted whitespace at the beginning of my document. The environment definition is already quite complex, so I cannot easily tell where the whitespace is coming from. Any

Re: [NTG-context] Unwanted whitespace at beginning of document

2020-09-29 Thread Wolfgang Schuster
Denis Maier schrieb am 29.09.2020 um 14:26: Hi, I have ended up with unwanted whitespace at the beginning of my document. The environment definition is already quite complex, so I cannot easily tell where the whitespace is coming from. Any advice how I could track that down? Are there some

Re: [NTG-context] Unwanted whitespace at beginning of document

2020-09-29 Thread Hans van der Meer
nis Maier wrote: > > Hi, > > I have ended up with unwanted whitespace at the beginning of my document. The > environment definition is already quite complex, so I cannot easily tell > where the whitespace is coming from. Any advice how I could track that down? > Are th

[NTG-context] Unwanted whitespace at beginning of document

2020-09-29 Thread Denis Maier
Hi, I have ended up with unwanted whitespace at the beginning of my document. The environment definition is already quite complex, so I cannot easily tell where the whitespace is coming from. Any advice how I could track that down? Are there some tricks for this? Best, Denis

Re: [NTG-context] LMTX running on macOS Catalina; fuzzy paragraphs; unwanted whitespace

2020-03-23 Thread T. Kurt Bond
Yes, that did the trick! Thanks! On Mon, Mar 23, 2020 at 3:15 PM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > T. Kurt Bond schrieb am 23.03.2020 um 16:50: > > It turns out that the extra whitespace before and after the section > > headers in the bo

Re: [NTG-context] LMTX running on macOS Catalina; fuzzy paragraphs; unwanted whitespace

2020-03-23 Thread Wolfgang Schuster
T. Kurt Bond schrieb am 23.03.2020 um 16:50: It turns out that the extra whitespace before and after the section headers in the body appears when I put \startcolumns[n=2] before the body text and \stopcolumns after it.  Here's the MWE, just slightly modified from your example:

Re: [NTG-context] LMTX running on macOS Catalina; fuzzy paragraphs; unwanted whitespace

2020-03-23 Thread T. Kurt Bond
It turns out that the extra whitespace before and after the section headers in the body appears when I put \startcolumns[n=2] before the body text and \stopcolumns after it. Here's the MWE, just slightly modified from your example: begin example \setuphead [chapter,section,subse

Re: [NTG-context] LMTX running on macOS Catalina; fuzzy paragraphs; unwanted whitespace

2020-03-22 Thread Wolfgang Schuster
n this document with different unhelpful errors, by the way.) Both LMTX and TeXLive 2019 ran 5 to 10 times slower than TeXLive 2018, and both complain about "fuzzy paragraphs" with a list of U+ codepoints.  What's that mean? However, the PDF has unwanted whitespace i

[NTG-context] LMTX running on macOS Catalina; fuzzy paragraphs; unwanted whitespace

2020-03-22 Thread T. Kurt Bond
TeXLive 2019 ran 5 to 10 times slower than TeXLive 2018, and both complain about "fuzzy paragraphs" with a list of U+ codepoints. What's that mean? However, the PDF has unwanted whitespace in many areas. - It has unwanted whitespace between the entries in the Table of Content

Re: [NTG-context] whitespace inside a description

2018-12-01 Thread Pablo Rodriguez
On 12/1/18 9:21 AM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 30.11.18 um 19:36: >> [...] >> How can I get a different whitespace inside the description? > > \setupdescription >[description] >[style={\setupwhitespace[small]}] Many thanks for your

Re: [NTG-context] whitespace inside a description

2018-12-01 Thread Wolfgang Schuster
}, inbetween={\directsetup[small:whitespace]}] \starttext \input knuth \startdescription{Knuth} \input knuth \stopdescription \stoptext How can I get a different whitespace inside the description? \setupdescription [description] [style={\setupwhitespace[small

[NTG-context] whitespace inside a description

2018-11-30 Thread Pablo Rodriguez
]}] \starttext \input knuth \startdescription{Knuth} \input knuth \stopdescription \stoptext How can I get a different whitespace inside the description? Many thanks for your help, Pablo -- http://www.ousia.tk

Re: [NTG-context] In-Margin Title + whitespace/indent bug

2018-02-20 Thread Wolfgang Schuster
Wolfgang Schuster 19. Februar 2018 um 21:28 This is a shortened version of the original question with a section title in the margin (\setuphead[...][alternative=margintext]) where \noindent is part of the code (strc-ren.mkiv). Wolfgang Hans Hagen

Re: [NTG-context] In-Margin Title + whitespace/indent bug

2018-02-19 Thread Hans Hagen
On 2/19/2018 9:28 PM, Wolfgang Schuster wrote: Brian Hunt 18. Februar 2018 um 13:48 Hi all, I reported a curiosity on tex.stackexchange.com and a user noted that it appears to be a bug / regression that should be reported as the i

Re: [NTG-context] In-Margin Title + whitespace/indent bug

2018-02-19 Thread Wolfgang Schuster
Brian Hunt 18. Februar 2018 um 13:48 Hi all, I reported a curiosity on tex.stackexchange.com and a user noted that it appears to be a bug / regression that should be reported as the issue occurs in the latest beta (2018.02.14 22:5

Re: [NTG-context] In-Margin Title + whitespace/indent bug

2018-02-19 Thread Hans Hagen
On 2/19/2018 8:33 PM, Wolfgang Schuster wrote: I can’t provide a fix but I was able to create a minimal example which shows the "disable" option for \blank produces the unwanted space. \setuplayout   [backspace=2in,    width=middle] \setupindenting [yes,medium] \setupwhitespace[line] \startt

Re: [NTG-context] In-Margin Title + whitespace/indent bug

2018-02-19 Thread Wolfgang Schuster
I can’t provide a fix but I was able to create a minimal example which shows the "disable" option for \blank produces the unwanted space. \setuplayout [backspace=2in, width=middle] \setupindenting [yes,medium] \setupwhitespace[line] \starttext \noindent\inmargin{Ward}% \directcheckedvspac

[NTG-context] In-Margin Title + whitespace/indent bug

2018-02-19 Thread Brian Hunt
Hi all, I reported a curiosity on tex.stackexchange.com and a user noted that it appears to be a bug / regression that should be reported as the issue occurs in the latest beta (2018.02.14 22:56) but not TL2017 (2017.05.15 21:48). You can see the details here: https://tex.stackexchange.com/quest

Re: [NTG-context] whitespace between endnotes

2017-07-14 Thread Meer, Hans van der
Exactly what I was looking for. Thanks! Hans van der Meer > On 14 Jul 2017, at 17:07, Pablo Rodriguez wrote: > > On 07/14/2017 02:44 PM, Meer, Hans van der wrote: >> \placenotes[endnote] puts a list of endnotes spaced out with the >> setting of \setupwhitespace. Is there a means to keep >> \

Re: [NTG-context] whitespace between endnotes

2017-07-14 Thread Pablo Rodriguez
On 07/14/2017 02:44 PM, Meer, Hans van der wrote: > \placenotes[endnote] puts a list of endnotes spaced out with the > setting of \setupwhitespace. Is there a means to keep > \setupwhitespace undisturbed but changing this for the endnotes > alone? Some parameter to be specified in \setupnote, \setu

[NTG-context] whitespace between endnotes

2017-07-14 Thread Meer, Hans van der
\placenotes[endnote] puts a list of endnotes spaced out with the setting of \setupwhitespace. Is there a means to keep \setupwhitespace undisturbed but changing this for the endnotes alone? Some parameter to be specified in \setupnote, \setupnotation or one of its friends perhaps? Han

Re: [NTG-context] whitespace before/after \startformula…\stopformula

2017-05-29 Thread Alan Bowen
Bowen" : >> >> How does one control/suppress the whitespace before and after >> \startformula…\stopformula? >> >> Alan >> >> >> ___ >> If your question is of inter

Re: [NTG-context] whitespace before/after \startformula…\stopformula

2017-05-29 Thread Alan Bowen
Thanks, Mikael. That is just what I needed. All best, Alan On Mon, May 29, 2017 at 1:02 PM, Mikael P. Sundqvist wrote: > Den 29 maj 2017 6:13 em skrev "Alan Bowen" : > > How does one control/suppress the whitespace before and after > \startformula…

Re: [NTG-context] whitespace before/after \startformula…\stopformula

2017-05-29 Thread Aditya Mahajan
On Mon, 29 May 2017, Alan Bowen wrote: How does one control/suppress the whitespace before and after \startformula…\stopformula? Using spacebefore and spaceafter in \setupformula Aditya___ If your question is of

Re: [NTG-context] whitespace before/after \startformula…\stopformula

2017-05-29 Thread Mikael P. Sundqvist
Den 29 maj 2017 6:13 em skrev "Alan Bowen" : How does one control/suppress the whitespace before and after \startformula…\stopformula? Alan ___ If your question is of interest to others as well, please ad

[NTG-context] whitespace before/after \startformula…\stopformula

2017-05-29 Thread Alan Bowen
How does one control/suppress the whitespace before and after \startformula…\stopformula? Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

[NTG-context] indenting and whitespace in framedtext

2016-11-09 Thread Meer, Hans van der
Quoting from the command reference: \startframedtext inherits \setupframedtext and \setupframedtext ... indenting = inherits \setupindenting I interprete this as \setupindenting is carried to the inside of the framedtext but this thus not happen. Instead one explicitely sets it on the call of \

[NTG-context] Reduced whitespace when nesting different itemgroups

2016-10-20 Thread Florian Leupold
Dear list, I have noticed a strange behavior when nesting different itemgroups: The whitespace before the lower-level group is reduced. This does not happen when nesting itemgroups of the same kind. And this can somehow be circumvented by setting [columns, one], see MWE below. Is this

Re: [NTG-context] Problem with margin figures and whitespace in text

2015-04-26 Thread Rik Kabel
On 2015-04-26 14:01, Hans Hagen wrote: On 4/26/2015 3:32 AM, Rik Kabel wrote: I have two problems with figures placed into the left or right margin. When the figure is in a group, extra whitespace is inserted between the paragraphs that precede and follow the placefigure command. This happens

Re: [NTG-context] Problem with margin figures and whitespace in text

2015-04-26 Thread Hans Hagen
On 4/26/2015 3:32 AM, Rik Kabel wrote: I have two problems with figures placed into the left or right margin. When the figure is in a group, extra whitespace is inserted between the paragraphs that precede and follow the placefigure command. This happens for figures placed by startplacefigure

[NTG-context] Problem with margin figures and whitespace in text

2015-04-25 Thread Rik Kabel
I have two problems with figures placed into the left or right margin. When the figure is in a group, extra whitespace is inserted between the paragraphs that precede and follow the placefigure command. This happens for figures placed by startplacefigure/stopplacefigure and tradiitonal

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-22 Thread Wolfgang Schuster
> Am 21.03.2015 um 19:49 schrieb Gerben Wierda : > > On 20 Mar 2015, at 18:33, Wolfgang Schuster > wrote: > >> >>> Am 20.03.2015 um 14:43 schrieb Gerben Wierda : >>> >>> Sorry to ask again, but is there no solution? >> >> Can you send a *working* minimal example! > > I don’t know how. It h

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-21 Thread Gerben Wierda
On 20 Mar 2015, at 18:33, Wolfgang Schuster wrote: > >> Am 20.03.2015 um 14:43 schrieb Gerben Wierda : >> >> Sorry to ask again, but is there no solution? > > Can you send a *working* minimal example! I don’t know how. It happens with my project. I can’t publish my entire project’s source co

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-20 Thread Wolfgang Schuster
> Am 20.03.2015 um 14:43 schrieb Gerben Wierda : > > Sorry to ask again, but is there no solution? Can you send a *working* minimal example! Wolfgang ___ If your question is of interest to others as well, please ad

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-20 Thread Gerben Wierda
ssues with my mkii-to-mkiv conversion project >>> >>> - The \chapter command in mkiv uses more whitespace between the header and >>> the first paragraph. How can I influence this? >> >> The different space before the \chapter is caused by the “fixed” keyw

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-16 Thread Gerben Wierda
On 15 Mar 2015, at 23:24, Wolfgang Schuster wrote: > >> Am 14.03.2015 um 15:54 schrieb Gerben Wierda : >> >> I am running into two issues with my mkii-to-mkiv conversion project >> >> - The \chapter command in mkiv uses more whitespace between the header and

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-15 Thread Wolfgang Schuster
> Am 14.03.2015 um 15:54 schrieb Gerben Wierda : > > I am running into two issues with my mkii-to-mkiv conversion project > > - The \chapter command in mkiv uses more whitespace between the header and > the first paragraph. How can I influence this? The different space befo

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-15 Thread Wolfgang Schuster
> Am 15.03.2015 um 15:57 schrieb Gerben Wierda : > > The itemize white space issue was a difference in handling \reference. In > mkii a \reference between \startitemize and the first item did not produce > empty space, in mkiv it does. I moved the \reference to inside the \item For numbered it

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-15 Thread Gerben Wierda
t;> Am 14.03.2015 um 15:54 schrieb Gerben Wierda : >> >> I am running into two issues with my mkii-to-mkiv conversion project >> >> - The \chapter command in mkiv uses more whitespace between the header and >> the first paragraph. How can I influence this? >> - \sta

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-15 Thread Gerben Wierda
mkiv result On 14 Mar 2015, at 17:14, Wolfgang Schuster wrote: > >> Am 14.03.2015 um 15:54 schrieb Gerben Wierda : >> >> I am running into two issues with my mkii-to-mkiv conversion project >> >> - The \chapter command in mkiv uses more whitespace bet

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-15 Thread Gerben Wierda
14.03.2015 um 15:54 schrieb Gerben Wierda : >> >> I am running into two issues with my mkii-to-mkiv conversion project >> >> - The \chapter command in mkiv uses more whitespace between the header and >> the first paragraph. How can I influence this? >> - \s

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-15 Thread Gerben Wierda
mkii result On 14 Mar 2015, at 17:14, Wolfgang Schuster wrote: > >> Am 14.03.2015 um 15:54 schrieb Gerben Wierda : >> >> I am running into two issues with my mkii-to-mkiv conversion project >> >> - The \chapter command in mkiv uses more whitespace bet

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-14 Thread Wolfgang Schuster
> Am 14.03.2015 um 15:54 schrieb Gerben Wierda : > > I am running into two issues with my mkii-to-mkiv conversion project > > - The \chapter command in mkiv uses more whitespace between the header and > the first paragraph. How can I influence this? > - \startitemize[pac

[NTG-context] mkiv versus mkii: whitespace issues

2015-03-14 Thread Gerben Wierda
I am running into two issues with my mkii-to-mkiv conversion project - The \chapter command in mkiv uses more whitespace between the header and the first paragraph. How can I influence this? - \startitemize[packed,joinedup] inserts whitespace between the list and the paragraph before it where

[NTG-context] \placetable whitespace problem in columnset

2014-11-02 Thread Bryor Snefjella
I have a document using columnsets to place tables near an entry in a long list of sorts. The problem is that wherever I issue a \placetable \placefigure etc command, I get unwanted extra whitespace between entries where the command is issued. I have tried changing the parameters in \setupfloats

Re: [NTG-context] whitespace in \setuplist[chapter]

2014-10-05 Thread Pablo Rodriguez
On 10/05/2014 02:59 AM, Thangalin wrote: > Try: > > \setuplist[chapter][before={\blank[4*big]}] Many thanks for your reply, Thangalin. I completely forgot the before option. Of course that was the right way to set the separation between chapter entries in the TOC. Many thanks for your help, P

Re: [NTG-context] whitespace in \setuplist[chapter]

2014-10-04 Thread Thangalin
Try: \setuplist[chapter][ before={\blank[4*big]} ] \starttext \completecontent \dorecurse{50}{\chapter{My Chapter}} \stoptext See also: http://wiki.contextgarden.net/Command/setuplist http://tex.stackexchange.com/questions/89758/ ___

[NTG-context] whitespace in \setuplist[chapter]

2014-10-04 Thread Pablo Rodriguez
the right way to setup whitespace in TOC, but it doesn’t seem to work. Which is the right way to do it? Many thanks for your help, Pablo -- http://www.ousia.tk ___ If your question is of interest to others as well

Re: [NTG-context] \startframed spurious whitespace

2014-07-23 Thread Rik Kabel
On 2014-07-23 02:20, Herbert Voss wrote: Am 23.07.2014 03:20, schrieb Rik Kabel: There appears to be a bug with \startframed. In the following example, the instance with no optional argument sets correctly, while with the use of an optional argument (even empty []) a whitespace is introduced

Re: [NTG-context] \startframed spurious whitespace

2014-07-22 Thread Herbert Voss
Am 23.07.2014 03:20, schrieb Rik Kabel: > There appears to be a bug with \startframed. In the following example, > the instance with no optional argument sets correctly, while with the > use of an optional argument (even empty []) a whitespace is introduced > before the text. > &

[NTG-context] \startframed spurious whitespace

2014-07-22 Thread Rik Kabel
There appears to be a bug with \startframed. In the following example, the instance with no optional argument sets correctly, while with the use of an optional argument (even empty []) a whitespace is introduced before the text. \starttext \startframed[] Why a space? \stopframed

Re: [NTG-context] Figure whitespace overflows page

2014-07-20 Thread Rik Kabel
On 2014-03-26 19:35, Rik Kabel wrote, originally with the subject "Caption whitespace overflows page": How can I get rid of the space at the top of the first line of text on page three in the following MWE. The \setupfloats[spaceafter=none] masks the problem rather than addresses t

Re: [NTG-context] Whitespace within framedtexts

2014-07-13 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 13 Jul 2014 16:46:00 -0600, Aditya Mahajan wrote: On Jul 13, 2014, at 6:35 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear gang, How do we activate/control whitespace (and indenting) within framed texts? The following seems to fail: == \setupframedtexts

Re: [NTG-context] Whitespace within framedtexts

2014-07-13 Thread Aditya Mahajan
> On Jul 13, 2014, at 6:35 PM, Idris Samawi Hamid ادريس سماوي حامد > wrote: > > Dear gang, > > How do we activate/control whitespace (and indenting) within framed texts? > The following seems to fail: > > == > \setupframedtexts > [frame=off, &g

Re: [NTG-context] Whitespace within framedtexts

2014-07-13 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 13 Jul 2014 16:35:32 -0600, Idris Samawi Hamid ادريس سماوي حامد wrote: See attached. Attached -- Idris Samawi Hamid, Professor Department of Philosophy Colorado State University Fort Collins, CO 80523 framedtexts.pdf Description: Adobe PDF document _

[NTG-context] Whitespace within framedtexts

2014-07-13 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, How do we activate/control whitespace (and indenting) within framed texts? The following seems to fail: == \setupframedtexts [frame=off, location=middle, before={\blank[medium]\setupwhitespace[medium]}, after={\blank[medium]}] \setupwhitespace[medium] \setupindenting

Re: [NTG-context] Empty heads after leading whitespace

2014-05-06 Thread Hans Hagen
On 5/6/2014 7:08 AM, Thangalin wrote: \setuphead [section] [placehead=empty, page=yes, after={\blank[0em]\blank[disable]}] That works for me. I don't know if it is "better," but if it works for you as well then it is probably the way to go. mtx-context | current version: 2014.

[NTG-context] Empty heads after leading whitespace

2014-05-06 Thread Maggyero
> after={\blank[0em]\blank[disable]}] Yes it also works, thank you Thangalin. So here is the final solution (I have added the 'nowhite' keyword in the second blank to kill whitespaces when they are active) to get real empty heads (sections here) in the document: \setupwhitespace[line] \setuphea

Re: [NTG-context] Empty heads after leading whitespace

2014-05-05 Thread Thangalin
\setuphead [section] [placehead=empty, page=yes, after={\blank[0em]\blank[disable]}] That works for me. I don't know if it is "better," but if it works for you as well then it is probably the way to go. mtx-context | current version: 2014.01.03 00:40

[NTG-context] Empty heads after leading whitespace

2014-05-05 Thread Maggyero
> Avoid vskip. Do you have a better solution? ___ 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 web

Re: [NTG-context] Empty heads after leading whitespace

2014-05-05 Thread Thangalin
Avoid vskip. http://wiki.contextgarden.net/Command/vskip ___ 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-

[NTG-context] Empty heads after leading whitespace

2014-05-04 Thread Maggyero
For those who are interested, I've finally solved my problem (the vertical space before a subsection which was not automatically swallowed at the top of a page when the page started with an empty section) by using the pair 'after={\vskip 0em\blank[disable]}' for sections: \setuphead [section]

[NTG-context] Empty heads after leading whitespace

2014-05-03 Thread Maggyero
Thanks Wolfgang. I could even have sections in the TOC with '\setuptexttexts[{\placerawheaddata[section]}]'. However, how can I start a new page at each new section? The 'page=yes' pair does no longer work with your solution 'placehead=hidden' (since the head is not placed I guess). I also tried

Re: [NTG-context] Empty heads after leading whitespace

2014-05-03 Thread Wolfgang Schuster
efore={\blank[line]}, > after={\blank[line]}] > > \starttext > \showframe > \section{My section} > \subsection{My subsection (whitespace before: problem)} > \input knuth > \subsection{My subsection (whitespace before: fine)} > \input knuth > \page > \sub

[NTG-context] Empty heads after leading whitespace

2014-05-03 Thread Maggyero
{My subsection (whitespace before: problem)} \input knuth \subsection{My subsection (whitespace before: fine)} \input knuth \page \subsection{My subsection (NO whitespace before: fine)} \input knuth \subsection{My subsection (whitespace before: fine)} \input knuth \stoptext

[NTG-context] Empty heads after leading whitespace

2014-05-01 Thread Maggyero
> before=\empty, \empty is not even required. The problem with your solution (setting 'before=' i.e. empty) is that there is also no whitespace before a subsection which doesn't start on a new page.

Re: [NTG-context] Empty heads after leading whitespace

2014-05-01 Thread Thangalin
\setuphead[section][% placehead=empty, before=, after=] \setuphead[subsection][% placehead=yes, before=\empty, after={\blank[line]}] \setupheadertexts[section] \starttext \showframe \section{My section} \subsection{My subsection (whitespace before)} % Here is my problem

[NTG-context] Empty heads after leading whitespace

2014-04-30 Thread Maggyero
(whitespace before: )} % Here is my problem. \page \subsection{My subsection (NO whitespace before)} \stoptext The mechanism that automatically removes the leading whitespace at the top of a page doesn't work if there is an EMPTY head followed by another head (of a different level). How

Re: [NTG-context] Unwanted whitespace for tables and enumerations after \inmargin headings

2014-04-19 Thread Rik
On 2014-04-19 04:55, Wolfgang Schuster wrote: \setuphead [section] [alternative=text, command=\SectionCommand, distance=0pt, insidesection={\blank[overlay]}] \define[2]\SectionCommand {\inmargin{#1 -- #2}} \setuplayout[backspace=4cm] \starttext \startsection[title={First}] \in

Re: [NTG-context] Unwanted whitespace for tables and enumerations after \inmargin headings

2014-04-19 Thread Thangalin
Hi, >insidesection={\blank[overlay]}] This appears to require the latest beta. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.n

Re: [NTG-context] Unwanted whitespace for tables and enumerations after \inmargin headings

2014-04-19 Thread Wolfgang Schuster
t;>> \defineitemgroup[itemz] >>> \setupitemgroup[itemz][each][joinedup] >>> >>> \startbuffer[Item] >>> \startitemz >>> \item Item >>> \item Item >>> \stopitemz >>> \stopbuffer >>> >>> \starttext >&

Re: [NTG-context] Unwanted whitespace for tables and enumerations after \inmargin headings

2014-04-18 Thread Rik Kabel
ction][ alternative=text, command=\MarginHead, ] \defineitemgroup[itemz] \setupitemgroup[itemz][each][joinedup] \startbuffer[Item] \startitemz \item Item \item Item \stopitemz \stopbuffer \starttext \section{No Whitespace} No extra whitespace before items. \getbuffer[Item] \section{

Re: [NTG-context] Unwanted whitespace for tables and enumerations after \inmargin headings

2014-04-18 Thread Aditya Mahajan
nHead, ] \defineitemgroup[itemz] \setupitemgroup[itemz][each][joinedup] \startbuffer[Item] \startitemz \item Item \item Item \stopitemz \stopbuffer \starttext \section{No Whitespace} No extra whitespace before items. \getbuffer[Item] \section{Extra Whitespace} \getbuffer[Item] Unexpected

Re: [NTG-context] Unwanted whitespace for tables and enumerations after \inmargin headings

2014-04-18 Thread Thangalin
group[itemz][each][joinedup] \startbuffer[Item] \startitemz \item Item \item Item \stopitemz \stopbuffer \starttext \section{No Whitespace} No extra whitespace before items. \getbuffer[Item] \section{Extra Whitespace} \getbuffer[Item] Unexpected extra whitespace before

[NTG-context] Unwanted whitespace with \startsection and in-margin headings

2014-04-17 Thread Rik Kabel
Following up on a related whitespace problem with descriptions and tables following in-margin headings -- I notice that \startsection behaves differently from \section when it comes to following whitespace for in-margin headings. This example demonstrates this: \setuplayout [backspace

[NTG-context] Unwanted whitespace for tables and enumerations after \inmargin headings

2014-04-17 Thread Rik Kabel
(This appears to be the same issue which was raised by Alexandros Frantzis in October 2008; see the thread at http://www.mail-archive.com/ntg-context%40ntg.nl/msg32125.html. No resolution was proposed at that time, and the problem still exists.) Extra whitespace occurs before itemizations and

[NTG-context] Caption whitespace overflows page

2014-03-26 Thread Rik Kabel
not pushed to the second page, just some whitespace imputed to them. This happens with TL2013 and with the latest (20140325) standalone beta. I may be able to get away with the figure overflowing into the footnote space by avoiding footnotes, but the space on the next page is just ugly

Re: [NTG-context] narrower and whitespace

2013-03-16 Thread Wolfgang Schuster
Am 16.03.2013 um 14:58 schrieb "Meer H. van der" : > Solved. Before was \setupwhitespace[small], for this I had to surround > everything with > \start > \setupwhitespace[none] > .. > \stop You can also prevent the space with the following setup for the narrower environment. \setupnarrower

Re: [NTG-context] narrower and whitespace

2013-03-16 Thread Meer H. van der
Solved. Before was \setupwhitespace[small], for this I had to surround everything with \start \setupwhitespace[none] .. \stop Hans van der Meer On 16 mrt. 2013, at 13:44, Wolfgang Schuster wrote: > > Am 16.03.2013 um 12:45 schrieb H. van der Meer : > >> I find that in >> >> intro text >>

Re: [NTG-context] narrower and whitespace

2013-03-16 Thread Wolfgang Schuster
Am 16.03.2013 um 12:45 schrieb H. van der Meer : > I find that in > > intro text > \startnarrower > narrow text > \stopnarrower > after text > > blank vertical space is inserted both before and after the narrower block. > How can I avoid that? I can’t see a space before/after the environment.

[NTG-context] narrower and whitespace

2013-03-16 Thread H. van der Meer
I find that in intro text \startnarrower narrow text \stopnarrower after text blank vertical space is inserted both before and after the narrower block. How can I avoid that? Hans van der Meer ___ If your questio

Re: [NTG-context] Whitespace and quotechar in database module

2012-12-18 Thread Hans Hagen
On 12/18/2012 9:20 AM, Marco Patzer wrote: Hi, the following two database examples produce different output due to the white space between the field separator and the quotechar. \usemodule [database] \defineseparatedlist [CSV] [quotechar=", before={\starttabulate[|l|l|]}, after=

[NTG-context] Whitespace and quotechar in database module

2012-12-18 Thread Marco Patzer
Hi, the following two database examples produce different output due to the white space between the field separator and the quotechar. \usemodule [database] \defineseparatedlist [CSV] [quotechar=", before={\starttabulate[|l|l|]}, after=\stoptabulate, first=\NC,last=\NR, left=,ri

Re: [NTG-context] interlinespace and whitespace different for footnotes

2012-10-23 Thread Pablo Rodríguez
On 23/10/12 21:19, Wolfgang Schuster wrote: > Am 23.10.2012 um 20:54 schrieb Pablo Rodríguez : >> [...] >> But I would like to have different values for interlinear space and >> between paragraphs. >> [...] >> But how can I set the interlinear space value for footnotes? > > \startsetups[setups:foo

Re: [NTG-context] interlinespace and whitespace different for footnotes

2012-10-23 Thread Wolfgang Schuster
Am 23.10.2012 um 20:54 schrieb Pablo Rodríguez : > Hi there, > > I have the following settings for a document. > > \setupinterlinespace[line=3.2ex] > \setupwhitespace[medium] > > But I would like to have diferent values for interlinear space and > between paragraphs. > > strc-not.mkvi shows t

[NTG-context] interlinespace and whitespace different for footnotes

2012-10-23 Thread Pablo Rodríguez
Hi there, I have the following settings for a document. \setupinterlinespace[line=3.2ex] \setupwhitespace[medium] But I would like to have diferent values for interlinear space and between paragraphs. strc-not.mkvi shows that the after option from \setupnotation does the work with the space bet

Re: [NTG-context] tolerance and whitespace settings inside a TEXpage

2012-09-20 Thread Wolfgang Schuster
Am 20.09.2012 um 11:56 schrieb Marco Patzer : > Hi, > > inside a TEXpage the tolerance and the whitespace settings are not > applied. The whitespace can be set in a setup and the tolerance can > be set directly with \spaceskip, but that seems a bit hackish. > > Is that in

[NTG-context] tolerance and whitespace settings inside a TEXpage

2012-09-20 Thread Marco Patzer
Hi, inside a TEXpage the tolerance and the whitespace settings are not applied. The whitespace can be set in a setup and the tolerance can be set directly with \spaceskip, but that seems a bit hackish. Is that intended and is there a cleaner solution? Example: \setuplayout [width=8cm

[NTG-context] [***SPAM***] whitespace also before xtables

2012-04-07 Thread Pablo Rodríguez
Hi there, I'm trying to add a whitespace before an xtable (just to be spaced as any other paragraph). I wanted to do that in the \setupxtable, before=\whitespace or top=\whitespace don't seem to work. Sorry, but which is the right option to do that? Many thanks for your help, Pabl

Re: [NTG-context] First Line After Whitespace Styling

2011-05-27 Thread Marc Trius
] [frankruehl] [default] > > [features=default] > > \definetypeface [Alt][rm] [serif] [frankruehl] [default] > > [features=alt] > > \stoptypescript > > > > ... > > > > {\Alt This is the first line after a whitespace, thi

Re: [NTG-context] First Line After Whitespace Styling

2011-05-27 Thread Wolfgang Schuster
f] [frankruehl] [default] > [features=alt] > \stoptypescript > > ... > > {\Alt This is the first line after a whitespace, this is the linebreak} and > this is the rest of the paragraph. I'd like to have a macro that > automatically styles the first line only so I don't

Re: [NTG-context] First Line After Whitespace Styling

2011-05-27 Thread Marc Trius
On Fri, 27 May 2011 18:30:53 +0200 Wolfgang Schuster wrote: > > Am 27.05.2011 um 18:08 schrieb Marc Trius: > > > Hi, > > I would like to be able to specify a style that would apply to text that > > appears on the first line of a paragraph after whitespace. I have n

  1   2   3   >