* Unwanted whitespace at beginning of document
@ 2020-09-29 12:26 Denis Maier
2020-09-29 14:15 ` Hans van der Meer
2020-09-29 14:16 ` Wolfgang Schuster
0 siblings, 2 replies; 4+ messages in thread
From: Denis Maier @ 2020-09-29 12:26 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Unwanted whitespace at beginning of document
2020-09-29 12:26 Unwanted whitespace at beginning of document Denis Maier
@ 2020-09-29 14:15 ` Hans van der Meer
2020-09-29 14:16 ` Wolfgang Schuster
1 sibling, 0 replies; 4+ messages in thread
From: Hans van der Meer @ 2020-09-29 14:15 UTC (permalink / raw)
To: NTG ConTeXt
[-- Attachment #1.1: Type: text/plain, Size: 1170 bytes --]
Of old I have found the wolf fence tactics useful: Put for example an X at the beginning of a suspected section and somewhat further a Y. OIf they bracket the culprit the offending space will be between them. Otherwise narrow the fence.
dr. Hans van der Meer
> On 29 Sep 2020, at 14:26, Denis Maier <denis.maier.lists@mailbox.org> 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 there some tricks for this?
>
> Best,
> Denis
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 3268 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Unwanted whitespace at beginning of document
2020-09-29 12:26 Unwanted whitespace at beginning of document Denis Maier
2020-09-29 14:15 ` Hans van der Meer
@ 2020-09-29 14:16 ` Wolfgang Schuster
2020-09-30 14:10 ` Denis Maier
1 sibling, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2020-09-29 14:16 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Denis Maier
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 tricks for this?
1. Create a dummy document where you load your environment, e.g.
\environment[myenvironment]
\starttext
I'm a placeholder!
\stoptext
2. Change the position of \stopenvironment in your style file until the
whitespace disappears.
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Unwanted whitespace at beginning of document
2020-09-29 14:16 ` Wolfgang Schuster
@ 2020-09-30 14:10 ` Denis Maier
0 siblings, 0 replies; 4+ messages in thread
From: Denis Maier @ 2020-09-30 14:10 UTC (permalink / raw)
To: ntg-context
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 advice how
>> I could track that down? Are there some tricks for this?
>
> 1. Create a dummy document where you load your environment, e.g.
>
> \environment[myenvironment]
> \starttext
> I'm a placeholder!
> \stoptext
>
>
> 2. Change the position of \stopenvironment in your style file until the
> whitespace disappears.
Thanks. That was helpful.
Denis
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-09-30 14:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-29 12:26 Unwanted whitespace at beginning of document Denis Maier
2020-09-29 14:15 ` Hans van der Meer
2020-09-29 14:16 ` Wolfgang Schuster
2020-09-30 14:10 ` Denis Maier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).