[NTG-context] whitespace inside synonym

2024-12-31 Thread Damien Thiriet via ntg-context

Hello,

I am using the synonym mechanizm to design a glossary for my pupils.
I am stuck with this: how can I insert a whitespace inside a synonym 
definition?


What I achieved yet is:

\definesynonyms [vocabulaire] [vocabulaire] [\LaDef]
\starttext


\vocabulaire{Unionpersonnelle}{Deux États sont en union personnelle 
lorsqu’ils ont le même souverain}


\Unionpersonnelle\
\placelistofvocabulaire

\stoptext

I would like to typeset Union personnelle, without inserting a UTF-8 non 
breakable space.
I tried {{Union personnelle}}, but don't know how may I escape the space 
in the macro.

The answer may lay in lowlevel-macro, but I couldn't find it.


Happy new year everyone!

Damien Thiriet
___
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
___


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 reply, Wolfgang.

I didn’t think that whitespace could be applied to style.

Pablo
-- 
http://www.ousia.tk
___
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] whitespace inside a description

2018-12-01 Thread Wolfgang Schuster

Pablo Rodriguez schrieb am 30.11.18 um 19:36:

Dear list,

I have the following sample:

 \setupwhitespace[big]
 \startsetups[small:whitespace]
 \setupwhitespace[small]
 \stopsetups
 \definedescription
 [description]
 [setups={small:whitespace},
  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]}]

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
___

[NTG-context] whitespace inside a description

2018-11-30 Thread Pablo Rodriguez
Dear list,

I have the following sample:

\setupwhitespace[big]
\startsetups[small:whitespace]
\setupwhitespace[small]
\stopsetups
\definedescription
[description]
[setups={small:whitespace},
 inbetween={\directsetup[small:whitespace]}]
\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
___
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] 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
>> \setupwhitespace undisturbed but changing this for the endnotes
>> alone? Some parameter to be specified in \setupnote, \setupnotation
>> or one of its friends perhaps?
> Hans,
> 
> I guess this is what you need:
> 
>\startsetups[setups:endnotes]
>\setupwhitespace[5em]
>\stopsetups
> 
>\setupnote
>[endnote]
>[before=\directsetup{setups:endnotes}]
> 
>\starttext
>\dorecurse{5}{\input zapf\endnote{\input knuth}}
>\placenotes[endnote]
>\stoptext
> 
> I hope it helps,
> 
> Pablo
> -- 
> http://www.ousia.tk
> ___
> 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] 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, \setupnotation
> or one of its friends perhaps?
Hans,

I guess this is what you need:

\startsetups[setups:endnotes]
\setupwhitespace[5em]
\stopsetups

\setupnote
[endnote]
[before=\directsetup{setups:endnotes}]

\starttext
\dorecurse{5}{\input zapf\endnote{\input knuth}}
\placenotes[endnote]
\stoptext

I hope it helps,

Pablo
-- 
http://www.ousia.tk
___
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] 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?


Hans van der Meer




___
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] whitespace before/after \startformula…\stopformula

2017-05-29 Thread Alan Bowen
Thanks also, Aditya?

Alan

On Mon, May 29, 2017 at 6:04 PM, Alan Bowen  wrote:

> 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…\stopformula?
>>
>> Alan
>>
>> 
>> ___
>> 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/list
>> info/ntg-context
>> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>> wiki : http://contextgarden.net
>> 
>> ___
>>
>>
>> Try \setupformulas with spacebefore and spaceafter. Example:
>>
>> \setupformulas[
>> spacebefore=0.5\baselineskip,
>> spaceafter=0.5\baselineskip,
>> ]
>>
>> /Mikael
>>
>> 
>> ___
>> 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/list
>> info/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] 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…\stopformula?
>
> Alan
>
> 
> ___
> 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/list
> info/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> 
> ___
>
>
> Try \setupformulas with spacebefore and spaceafter. Example:
>
> \setupformulas[
> spacebefore=0.5\baselineskip,
> spaceafter=0.5\baselineskip,
> ]
>
> /Mikael
>
> 
> ___
> 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] 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 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] 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 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

___


Try \setupformulas with spacebefore and spaceafter. Example:

\setupformulas[
spacebefore=0.5\baselineskip,
spaceafter=0.5\baselineskip,
]

/Mikael
___
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] 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 / 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] 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,


Pablo
-- 
http://www.ousia.tk
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

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/
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

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

2014-10-04 Thread Pablo Rodriguez
Dear list,

I have the following sample:

\startsetups[setups:chapterlist]
  \setupwhitespace[10*big]
\stopsetups
\setuplist[chapter][setups=setups:chapterlist]
\starttext
\completecontent
\dorecurse{50}{\chapter{My Chapter}}
\stoptext

I thought that setups were 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, 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

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
[frame=off,
location=middle,
before={\blank[medium]\setupwhitespace[medium]},
after={\blank[medium]}]

\setupwhitespace[medium]
\setupindenting[yes,medium,first]

\starttext
\input knuth

\startframedtext
\input knuth
\stopframedtext

\input knuth
\stoptext
==

See attached. Thanks in advance


Untested: try indenting=yes for indentation. For white space, enclose  
the settings in a startsetups...stopsetups, and then use the setups=...  
key for framedtext.


Thanks Aditya. indenting=yes was a bust but the following works:

\startsetups[framedwhitespace]
\setupwhitespace[medium]
\setupindenting[yes,medium,first]
\stopsetups

Thanks again and best wishes
Idris
--

Idris Samawi Hamid, Professor
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

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,
> location=middle,
> before={\blank[medium]\setupwhitespace[medium]},
> after={\blank[medium]}]
> 
> \setupwhitespace[medium]
> \setupindenting[yes,medium,first]
> 
> \starttext
> \input knuth
> 
> \startframedtext
> \input knuth
> \stopframedtext
> 
> \input knuth
> \stoptext
> ==
> 
> See attached. Thanks in advance 

Untested: try indenting=yes for indentation. For white space, enclose the 
settings in a startsetups...stopsetups, and then use the setups=... key for 
framedtext.

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

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
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[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[yes,medium,first]

\starttext
\input knuth

\startframedtext
\input knuth
\stopframedtext

\input knuth
\stoptext
==

See attached. Thanks in advance and

Best wishes
Idris
--
Idris Samawi Hamid, Professor
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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=\stoptabulate,
first=\NC,last=\NR,
left=,right=\NC]

\starttext

\startCSV
   alpha, loremloremlorem
   beta,"ipsum, ipsum, ipsum"
\stopCSV

\startCSV
   alpha, loremloremlorem
   beta, "ipsum, ipsum, ipsum"
\stopCSV

\stoptext


Can the parser be made tolerant to this space?



only before/after quote I assume

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[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=,right=\NC]

\starttext

\startCSV
  alpha, loremloremlorem
  beta,"ipsum, ipsum, ipsum"
\stopCSV

\startCSV
  alpha, loremloremlorem
  beta, "ipsum, ipsum, ipsum"
\stopCSV

\stoptext


Can the parser be made tolerant to this space?

Marco


signature.asc
Description: Digital signature
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Whitespace before \placenotes

2010-08-11 Thread Andreas Harder

Am 11.08.2010 um 19:36 schrieb Hans Hagen:

> On 11-8-2010 7:24, Andreas Harder wrote:
>> \setupnote[footnote][location=none]
>> 
>> \starttext
>> \dorecurse{5}{text\footnote{test}}
>> 
>> \framed[align=normal]{\placenotes[footnote]}
>> \stoptext
> 
> \framed[align=normal,strut=no]{\placenotes[footnote][before=,after=]}

Thank you Hans!

Andreas
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Whitespace before \placenotes

2010-08-11 Thread Hans Hagen

On 11-8-2010 7:24, Andreas Harder wrote:

\setupnote[footnote][location=none]

\starttext
\dorecurse{5}{text\footnote{test}}

\framed[align=normal]{\placenotes[footnote]}
\stoptext


\framed[align=normal,strut=no]{\placenotes[footnote][before=,after=]}


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Whitespace before \placenotes

2010-08-11 Thread Andreas Harder
Hi all,

please have a look at the following example.

\setupnote[footnote][location=none]

\starttext
\dorecurse{5}{text\footnote{test}}

\framed[align=normal]{\placenotes[footnote]}
\stoptext

How can I prevent the vertical space before the first note?

Greeting
Andreas
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Whitespace around float

2009-10-25 Thread Wolfgang Schuster


Am 21.10.2009 um 10:32 schrieb Elliot Clifton:


Hi,

How do I set the whitespace around a float? I've read the manual and
searched the mailing list archive and wiki but couldn't find what I
was looking for.

For example, how do you set the white space around a float to 1cm? Is
it possible to specify different amounts for each side and top and
bottom?


\setupfloats
  [spacebefore=..., % default: big
   spaceafter=...,  % default: big
   leftmargin=...,  % default: 0pt
   rightmargin=..., % default: 0pt
   leftmargindistance=...,  % default: 0pt
   rightmargindistance=...] % default: 0pt

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Whitespace around float

2009-10-21 Thread Elliot Clifton
Hi,

How do I set the whitespace around a float? I've read the manual and
searched the mailing list archive and wiki but couldn't find what I
was looking for.

For example, how do you set the white space around a float to 1cm? Is
it possible to specify different amounts for each side and top and
bottom?

TIA,

Elliot
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Whitespace significance without verbatim

2007-11-30 Thread Wolfgang Schuster
2007/11/30, Mike Santy <[EMAIL PROTECTED]>:
> Thanks.  Works like a champ.
>
> Cheers,
> Mike

This is possible in varbatim mode with a few restrictions (just to know).

\starttext
\setuptyping[option=commands]
\starttyping
write what you want
  /BTEX {\it Either italic} or not/ETEX
\stoptyping
\stoptext

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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Whitespace significance without verbatim

2007-11-29 Thread Mike Santy
Thanks.  Works like a champ.

Cheers,
Mike

___
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Whitespace significance without verbatim

2007-11-29 Thread Aditya Mahajan
On Thu, 29 Nov 2007, Mike Santy wrote:

> Is there an environment that preserves whitespace (like "typing"), but still
> processes \bf \it and other text formatting commands (unlike "typing").

\setuplines[space=yes]

\startlines
write what you want
   {\bf Either bold} or not
\stoplines

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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Whitespace significance without verbatim

2007-11-29 Thread Mike Santy
Is there an environment that preserves whitespace (like "typing"), but still
processes \bf \it and other text formatting commands (unlike "typing").

Any thoughts?

Cheers,
Mike

___
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] whitespace in framedtext

2007-07-04 Thread Wolfgang Schuster
2007/7/3, John R. Culleton <[EMAIL PROTECTED]>:
> On Tuesday 03 July 2007 04:20, Patrick Gundlach wrote:
> > Hello Hans,
> >
> > > I would like to shrink the whitespace at the top and the bottom
> > > of a framedtext.
> > > Like thus:
> > >
> > > not this but this
> > > --
> > > --
> > >
> > > ||  |   abcd
> > > ||  | |
> > > |
> > > |   abcd |  |   abcd
> > > | | abcd |  |
> > > | |
> > > |
> > > ||
> > > || --
> > >
> > > --
> > >
> > > I have tried a lot of things with [before, after, top, bottom].
> > > Although [depthcorrection=off] shaves somewhat off the
> > > whitespace, it is not much nor am I sure if this is on the right
> > > track; and it is not parametrized.
> > >
> > > Someone knows the trick?
> >
> > perhaps with an overlay?
> >
> > --
> > \def\TightFrame
> >   {\startoverlay
> > {\framed[width=\overlaywidth,height=\dimexpr(\overlayheight -
> > 5ex)]{}}{}\stopoverlay} \defineoverlay[TightFrame][\TightFrame]
> >
> >
> > \starttext
> >
> > \startframedtext [background=TightFrame,frame=off]
> > Hallo Welt
> > \input tufte
> >
> > \input knuth
> > \stopframedtext
> > \stoptext
>
> First I woud try just a negative \vskip thus:
> \vskip -10pt
>
> I know we are not supposed to use \vskips in Context  except when
> enclosed by
> \startstandardmakeup
> \stopstandardmakeup
> But I use them and thus far there have been no terrible bad effects.
>
> If you use \vskip and the sky falls in then there are the more complex
> but safer methods such as the  one outlined by Patrick G.
> --
> John Culleton

why should we avoid primtives in ConTeXt, I see no problem to use them
as long as you know what you do.

\starttext
\startframedtext[offset=2cm,top=\vskip-1cm\relax,bottom=\vskip-1cm\relax]
\input knuth
\stopframedtext
\stoptext

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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] whitespace in framedtext

2007-07-03 Thread Hans van der Meer

Thanks to all people who were so kind to react to this message.

It turned out to be a problem to be characterized by "Oh, silly me",  
since I seem to have completely forgotten about the default offset  
for framedtexts not being zero.
Therefore: the most simple solution (and I really think I should have  
thought of it much earlier) was to use \startframedtext[offset=0pt].


with humbly regards
Hans van der Meer

On Jul 2, 2007, at 17:43, Hans van der Meer wrote:

I would like to shrink the whitespace at the top and the bottom of  
a framedtext.

Like thus:

not this but this
--  --
||  ||
||  |   abcd |
|   abcd |  |   abcd |
|   abcd |  ||
||  --
||
--

I have tried a lot of things with [before, after, top, bottom].
Although [depthcorrection=off] shaves somewhat off the whitespace,  
it is not much nor am I sure if this is on the right track; and it  
is not parametrized.


Someone knows the trick?




___
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] whitespace in framedtext

2007-07-03 Thread John R. Culleton
On Tuesday 03 July 2007 04:20, Patrick Gundlach wrote:
> Hello Hans,
>
> > I would like to shrink the whitespace at the top and the bottom
> > of a framedtext.
> > Like thus:
> >
> > not this but this
> > -- 
> > --
> >
> > ||  |   abcd
> > ||  | |
> > |
> > |   abcd |  |   abcd
> > | | abcd |  |   
> > | |
> > |
> > || 
> > || --
> >
> > --
> >
> > I have tried a lot of things with [before, after, top, bottom].
> > Although [depthcorrection=off] shaves somewhat off the
> > whitespace, it is not much nor am I sure if this is on the right
> > track; and it is not parametrized.
> >
> > Someone knows the trick?
>
> perhaps with an overlay?
>
> --
> \def\TightFrame
>   {\startoverlay
> {\framed[width=\overlaywidth,height=\dimexpr(\overlayheight -
> 5ex)]{}}{}\stopoverlay} \defineoverlay[TightFrame][\TightFrame]
>
>
> \starttext
>
> \startframedtext [background=TightFrame,frame=off]
> Hallo Welt
> \input tufte
>
> \input knuth
> \stopframedtext
> \stoptext

First I woud try just a negative \vskip thus:
\vskip -10pt

I know we are not supposed to use \vskips in Context  except when 
enclosed by 
\startstandardmakeup
\stopstandardmakeup
But I use them and thus far there have been no terrible bad effects. 

If you use \vskip and the sky falls in then there are the more complex 
but safer methods such as the  one outlined by Patrick G.
-- 
John Culleton
ATTN Publishers/authors:
If you don't read you don't succeed.
Free short list of publishing/marketing books. 
http://wexfordpress.com/tex/shortlist.pdf


___
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] whitespace in framedtext

2007-07-03 Thread Patrick Gundlach
Hello Hans,


> I would like to shrink the whitespace at the top and the bottom of a
> framedtext.
> Like thus:
>
>   not this but this
> --  --
> ||  ||
> ||  |   abcd |
> |   abcd |  |   abcd |
> |   abcd |  ||
> ||  --
> ||
> --
>
> I have tried a lot of things with [before, after, top, bottom].
> Although [depthcorrection=off] shaves somewhat off the whitespace, it
> is not much nor am I sure if this is on the right track; and it is
> not parametrized.
>
> Someone knows the trick?

perhaps with an overlay?

--
\def\TightFrame
  {\startoverlay
{\framed[width=\overlaywidth,height=\dimexpr(\overlayheight - 
5ex)]{}}{}\stopoverlay}
\defineoverlay[TightFrame][\TightFrame]


\starttext

\startframedtext [background=TightFrame,frame=off]
Hallo Welt
\input tufte

\input knuth
\stopframedtext
\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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] whitespace in framedtext

2007-07-02 Thread Hans van der Meer
I would like to shrink the whitespace at the top and the bottom of a  
framedtext.

Like thus:

not this but this
--  --
||  ||
||  |   abcd |
|   abcd |  |   abcd |
|   abcd |  ||
||  --
||
--

I have tried a lot of things with [before, after, top, bottom].
Although [depthcorrection=off] shaves somewhat off the whitespace, it  
is not much nor am I sure if this is on the right track; and it is  
not parametrized.


Someone knows the trick?

Hans van der Meer


___
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] whitespace and paragraphs

2006-08-03 Thread Hans van der Meer
This I don't get right about whitespace between paragraphs made with \defineparagraphs.\starttext\setupwhitespace[none]a\par b\par c\par% the above close spaced thus behaving as expected% these do not obey setupwhitespace[none]:\defineparagraphs[param][n=2,before={\setupwhitespace[none]}]\setupparagraphs[param][1][width=2cm]\startparam	first	\param	{\sl contents}	\stopparam\startparam	second	\param	{\sl contents}	\stopparam% I tried other things, remembering a recent question about a similar problem with framed texts.% Neither of the following made a difference:\defineparagraphs[param][n=2,before={\setupwhitespace[none]}]\setupparagraphs[param][1][width=2cm,before={\setupwhitespace[none]}]\setupparagraphs[param][2][before={\setupwhitespace[none]}]% height=... seems not to influence the distance between the paragraphs\stoptextHow can one for these paragraphs the wanted distance apart?Hans van der Meer ___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] whitespace

2006-07-29 Thread Taco Hoekwater
Hans van der Meer wrote:
> Why does \startframedtext does not honor the outside setting 
> by \setupwhitespace? 

Because its contents are most often used as a kind of
inline figure, where normal paragraph spacing does not
apply.

Greetings, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] whitespace

2006-07-28 Thread Hans van der Meer
Why does \startframedtext does not honor the outside setting by \setupwhitespace? And do I have to use inner?Here follows a minimal example\starttext\setupwhitespace[big]line1\par line2\par% next no big space between the lines\startframedtextline1\par line2\par\stopframedtext% next has big space between the lines\startframedtext[inner={\setupwhitespace[big]}]line1\par line2\par\stopframedtext\stoptextHans van der Meer ___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \whitespace vs \parskip

2005-06-15 Thread h h extern

John R. Culleton wrote:

On Tuesday 14 June 2005 05:24 pm, Taco Hoekwater wrote:


John R. Culleton wrote:


Taco asked for a minimal example. I don't want to make it too


You were missing:

  \setupcolumns[blank=3pt]

please don't ask me why columns have their own whitespace settings,
they just do. ;)

Greetings, Taco



As we say over here "there is no reason for it, it is just
company policy."

But at least there is an explanation. Thanks to you one more
time. BTW the Context Manual p 64 doesn't mention a dimension as
an allowable value for to the the "blank=" parameter. 


columns have their own value because it influences grid handling and such

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \whitespace vs \parskip

2005-06-14 Thread John R. Culleton
On Tuesday 14 June 2005 05:24 pm, Taco Hoekwater wrote:
> John R. Culleton wrote:
> > Taco asked for a minimal example. I don't want to make it too
>
> You were missing:
>
>\setupcolumns[blank=3pt]
>
> please don't ask me why columns have their own whitespace settings,
> they just do. ;)
>
> Greetings, Taco

As we say over here "there is no reason for it, it is just
company policy."

But at least there is an explanation. Thanks to you one more
time. BTW the Context Manual p 64 doesn't mention a dimension as
an allowable value for to the the "blank=" parameter. 

 
Best wishes, 

John Culleton


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \whitespace vs \parskip

2005-06-14 Thread Taco Hoekwater

John R. Culleton wrote:


Taco asked for a minimal example. I don't want to make it too


You were missing:

  \setupcolumns[blank=3pt]

please don't ask me why columns have their own whitespace settings,
they just do. ;)

Greetings, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \whitespace vs \parskip

2005-06-14 Thread John R. Culleton
On Tuesday 14 June 2005 12:11 pm, Nikolai Weibull wrote:
> John R. Culleton wrote:
> > I needed to decrease the spacing between paragraphs to fit
> > everything in to a newsletter with limited page count.
> >
> > \parskip 3pt  %works
> > \setupwhitespace[3pt] %doesn't
>
> Does using one of the keywords work?  For example,
>
> \setupwhitespace[small]
>
> Enjoy,
> nikolai
Keywords help, dimensions don't. 

Taco asked for a minimal example. I don't want to make it too
minimal however since there may be some unsuspected interaction
between all my code and the way it is supposed to work. With
that caveat here is my example. If one comments out \parskip and
uncomments \setupwhitespace then the spacing above the word
"August" is greater. Reverse these steps and it is smaller. 
-
\setupoutput[pdftex]
\setuppapersize[letter][letter]
\setupcolors[state=start]
\setuppapersize[letter][letter]
\setuppagenumbering[location=footer,middle]
\setupwhitespace[3pt]
%\parskip 3pt
\setupfonthandling [hz] [min=25,max=25,step=5]
\usetypescript [serif,sans,mono] [hanging] [normal]
\usetypescriptfile[type-enc]
  \usetypescript [adobekb] [8r]
  \usetypescript [charter][8r]
\setupalign[hanging,hz]
\setuplayout[width=.8\paperwidth,location=middle,
topspace=0.3in,
header=0.24in,
height=10in
]

\setuppagenumbering[alternative=doublesided]
\setupitemize[packed,columns]
\tolerance=500
\widowpenalty=1
\clubpenalty=1
\usetypescript [serif,sans,mono] [hanging] [normal]
\usetypescriptfile[type-charter]
  \usetypescript [Charter][8r]
\setupalign[hanging]
  \setupbodyfont
[MyCharter,9pt]
\starttext
\startcolumns
\section{Calendar}
\subsection{2005}
{\bf June}\crlf
11-12: AD NADAC Agility Games Trial\crlf
12: Obedience Show-n-Go

{\bf July}\crlf
10: Obedience Show-n-Go

{\bf August}\crlf
14: Annual Summer Picnic and\crlf
General Membership meeting\crlf
L. C. Burns Park Westminster
\stopcolumns
\stoptext

---

Thanks to you and to Taco both for looking into this. 

Some of my InDesign-using friends say that the reason they don't
switch to Open Source like TeX or Scribus is because of support
issues. They don't understand why I laugh so hard :)

-- 

John Culleton


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \whitespace vs \parskip

2005-06-14 Thread Nikolai Weibull
John R. Culleton wrote:

> I needed to decrease the spacing between paragraphs to fit
> everything in to a newsletter with limited page count. 

> \parskip 3pt  %works
> \setupwhitespace[3pt] %doesn't

Does using one of the keywords work?  For example,

\setupwhitespace[small]

Enjoy,
nikolai

-- 
Nikolai Weibull: now available free of charge at http://bitwi.se/!
Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \whitespace vs \parskip

2005-06-14 Thread Taco Hoekwater



John R. Culleton wrote:

I needed to decrease the spacing between paragraphs to fit
everything in to a newsletter with limited page count. 


\parskip 3pt  %works
\setupwhitespace[3pt] %doesn't

> Comments?

I cannot duplicate the problem using a trivial test file, so this
needs a minimal example. (I found it quite easy to achieve the
opposite case)

Taco


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \whitespace vs \parskip

2005-06-14 Thread John R. Culleton
I needed to decrease the spacing between paragraphs to fit
everything in to a newsletter with limited page count. 

\parskip 3pt  %works
\setupwhitespace[3pt] %doesn't

Comments? 
-- 

John Culleton
The answers to all your publishing questions are found 
in the excellent books listed in the word-famous shortlist!
http://wexfordpress.com/tex/shortlist.pdf

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context