* change interwordspace twice
@ 2011-03-11 11:36 Steffen Wolfrum
2011-03-11 11:55 ` Steffen Wolfrum
2011-03-11 18:56 ` Wolfgang Schuster
0 siblings, 2 replies; 10+ messages in thread
From: Steffen Wolfrum @ 2011-03-11 11:36 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi,
one time it works, the second it doesn't:
\starttext
\interwordspace 20.7pt Big Space
\par
\interwordspace 2.7pt Big Space
\par
\interwordspace 20.7pt Big Space
\stoptext
Does someone can explain how and when interwordspace is successfully set?
Thanks a lot,
Steffen (on Mark IV)
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: change interwordspace twice
2011-03-11 11:36 change interwordspace twice Steffen Wolfrum
@ 2011-03-11 11:55 ` Steffen Wolfrum
2011-03-11 18:45 ` Steffen Wolfrum
2011-03-11 18:56 ` Wolfgang Schuster
1 sibling, 1 reply; 10+ messages in thread
From: Steffen Wolfrum @ 2011-03-11 11:55 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Hans Hagen, Taco Hoekwater
Here is an even more absurd example:
\starttext
\interwordspace =40.70pt
wide: test\footnote{note note} test test.
%Big Space
\interwordspace =2.70pt
wide: test\footnote{note note} test test.
%Big Space
\interwordspace =40.70pt
test test\footnote{note note} test test.
%Big Space
\stoptext
As long as the three lines contain footnotes the interwordspace is changed correctly.
But comment these lines and uncomment the "Big Space" lines instead ... the interwordspace is not set a second time!!!
Bug or magic?
Steffen
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: change interwordspace twice
2011-03-11 11:55 ` Steffen Wolfrum
@ 2011-03-11 18:45 ` Steffen Wolfrum
0 siblings, 0 replies; 10+ messages in thread
From: Steffen Wolfrum @ 2011-03-11 18:45 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Hans Hagen, Taco Hoekwater
The idea is:
To use an alternative interwordspace/-stretch/-shrink
in certain situations (TOC, quote environments etc.)
and afterwards let it switch back to normal again.
Who can this be achieved?
Steffen
Am 11.03.2011 um 12:55 schrieb Steffen Wolfrum:
> Here is an even more absurd example:
>
>
> \starttext
>
> \interwordspace =40.70pt
>
> wide: test\footnote{note note} test test.
> %Big Space
>
> \interwordspace =2.70pt
>
>
> wide: test\footnote{note note} test test.
> %Big Space
>
> \interwordspace =40.70pt
>
> test test\footnote{note note} test test.
> %Big Space
>
> \stoptext
>
>
>
> As long as the three lines contain footnotes the interwordspace is changed correctly.
> But comment these lines and uncomment the "Big Space" lines instead ... the interwordspace is not set a second time!!!
>
>
> Bug or magic?
>
> Steffen
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: change interwordspace twice
2011-03-11 11:36 change interwordspace twice Steffen Wolfrum
2011-03-11 11:55 ` Steffen Wolfrum
@ 2011-03-11 18:56 ` Wolfgang Schuster
2011-03-12 9:01 ` Steffen Wolfrum
1 sibling, 1 reply; 10+ messages in thread
From: Wolfgang Schuster @ 2011-03-11 18:56 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 11.03.2011 um 12:36 schrieb Steffen Wolfrum:
> Hi,
>
> one time it works, the second it doesn't:
>
> \starttext
>
> \interwordspace 20.7pt Big Space
>
> \par
>
> \interwordspace 2.7pt Big Space
>
> \par
>
> \interwordspace 20.7pt Big Space
>
> \stoptext
>
> Does someone can explain how and when interwordspace is successfully set?
That’s the only context way to change it:
\starttext
text text text
\setuptolerance[space]
text text text text
\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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: change interwordspace twice
2011-03-11 18:56 ` Wolfgang Schuster
@ 2011-03-12 9:01 ` Steffen Wolfrum
2011-03-12 12:04 ` Andreas Harder
0 siblings, 1 reply; 10+ messages in thread
From: Steffen Wolfrum @ 2011-03-12 9:01 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 11.03.2011 um 19:56 schrieb Wolfgang Schuster:
>
> Am 11.03.2011 um 12:36 schrieb Steffen Wolfrum:
>
>> Hi,
>>
>> one time it works, the second it doesn't:
>>
>> \starttext
>>
>> \interwordspace 20.7pt Big Space
>>
>> \par
>>
>> \interwordspace 2.7pt Big Space
>>
>> \par
>>
>> \interwordspace 20.7pt Big Space
>>
>> \stoptext
>>
>> Does someone can explain how and when interwordspace is successfully set?
>
> That’s the only context way to change it:
>
> \starttext
>
> text text text
>
> \setuptolerance[space]
>
> text text text text
>
> \stoptext
Is there only one "space" or s is possible to set more fine-tuned values?
Steffen
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: change interwordspace twice
2011-03-12 9:01 ` Steffen Wolfrum
@ 2011-03-12 12:04 ` Andreas Harder
2011-03-12 16:00 ` Wolfgang Schuster
2011-03-13 16:01 ` Steffen Wolfrum
0 siblings, 2 replies; 10+ messages in thread
From: Andreas Harder @ 2011-03-12 12:04 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 12.03.2011 um 10:01 schrieb Steffen Wolfrum:
>
> Am 11.03.2011 um 19:56 schrieb Wolfgang Schuster:
>
>>
>> Am 11.03.2011 um 12:36 schrieb Steffen Wolfrum:
>>
>>> Hi,
>>>
>>> one time it works, the second it doesn't:
>>>
>>> \starttext
>>>
>>> \interwordspace 20.7pt Big Space
>>>
>>> \par
>>>
>>> \interwordspace 2.7pt Big Space
>>>
>>> \par
>>>
>>> \interwordspace 20.7pt Big Space
>>>
>>> \stoptext
>>>
>>> Does someone can explain how and when interwordspace is successfully set?
>>
>> That’s the only context way to change it:
>>
>> \starttext
>>
>> text text text
>>
>> \setuptolerance[space]
>>
>> text text text text
>>
>> \stoptext
>
>
> Is there only one "space" or s is possible to set more fine-tuned values?
You can define your own space.
\definetolerancemethod
[horizontal]
[smallspace]
{\spaceskip.2em plus.1em minus.05em\relax}
\definetolerancemethod
[horizontal]
[mediumspace]
{\spaceskip.33em plus.25em minus.1em\relax}
\definetolerancemethod
[horizontal]
[bigspace]
{\spaceskip.5em plus.25em minus.25em\relax}
\starttext \showframe[text]
\start \setuptolerance[smallspace] \input tufte \par \stop \blank
\start \setuptolerance[mediumspace] \input tufte \par \stop \blank
\start \setuptolerance[bigspace] \input tufte \par \stop \blank
% default:
\input tufte
\stoptext
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: change interwordspace twice
2011-03-12 12:04 ` Andreas Harder
@ 2011-03-12 16:00 ` Wolfgang Schuster
2011-03-12 16:04 ` Andreas Harder
2011-03-13 16:01 ` Steffen Wolfrum
1 sibling, 1 reply; 10+ messages in thread
From: Wolfgang Schuster @ 2011-03-12 16:00 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 12.03.2011 um 13:04 schrieb Andreas Harder:
> Am 12.03.2011 um 10:01 schrieb Steffen Wolfrum:
>
>> Is there only one "space" or s is possible to set more fine-tuned values?
>
> You can define your own space.
>
> \definetolerancemethod
> [horizontal]
> [smallspace]
> {\spaceskip.2em plus.1em minus.05em\relax}
Yes this is a possibility but i would prefer something like this:
\definespace[smallspace][width=.2em,shrink=.05em,stretch=.1em]
\starttext
...
\setupspace[smallspace] % Better \enablespace[smallspace] or \setspace[smallspace]?
...
\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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: change interwordspace twice
2011-03-12 16:00 ` Wolfgang Schuster
@ 2011-03-12 16:04 ` Andreas Harder
2011-03-12 18:15 ` Steffen Wolfrum
0 siblings, 1 reply; 10+ messages in thread
From: Andreas Harder @ 2011-03-12 16:04 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 12.03.2011 um 17:00 schrieb Wolfgang Schuster:
>
> Am 12.03.2011 um 13:04 schrieb Andreas Harder:
>
>> Am 12.03.2011 um 10:01 schrieb Steffen Wolfrum:
>>
>>> Is there only one "space" or s is possible to set more fine-tuned values?
>>
>> You can define your own space.
>>
>> \definetolerancemethod
>> [horizontal]
>> [smallspace]
>> {\spaceskip.2em plus.1em minus.05em\relax}
>
> Yes this is a possibility but i would prefer something like this:
>
> \definespace[smallspace][width=.2em,shrink=.05em,stretch=.1em]
Me too.
> \starttext
> ...
> \setupspace[smallspace] % Better \enablespace[smallspace] or \setspace[smallspace]?
> ...
> \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 : http://foundry.supelec.fr/projects/contextrev/
> 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: change interwordspace twice
2011-03-12 16:04 ` Andreas Harder
@ 2011-03-12 18:15 ` Steffen Wolfrum
0 siblings, 0 replies; 10+ messages in thread
From: Steffen Wolfrum @ 2011-03-12 18:15 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 12.03.2011 um 17:04 schrieb Andreas Harder:
>
> Am 12.03.2011 um 17:00 schrieb Wolfgang Schuster:
>
>>
>> Am 12.03.2011 um 13:04 schrieb Andreas Harder:
>>
>>> Am 12.03.2011 um 10:01 schrieb Steffen Wolfrum:
>>>
>>>> Is there only one "space" or s is possible to set more fine-tuned values?
>>>
>>> You can define your own space.
>>>
>>> \definetolerancemethod
>>> [horizontal]
>>> [smallspace]
>>> {\spaceskip.2em plus.1em minus.05em\relax}
>>
>> Yes this is a possibility but i would prefer something like this:
>>
>> \definespace[smallspace][width=.2em,shrink=.05em,stretch=.1em]
>
> Me too.
Yes. Looks even more contextish :o)
Steffen
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: change interwordspace twice
2011-03-12 12:04 ` Andreas Harder
2011-03-12 16:00 ` Wolfgang Schuster
@ 2011-03-13 16:01 ` Steffen Wolfrum
1 sibling, 0 replies; 10+ messages in thread
From: Steffen Wolfrum @ 2011-03-13 16:01 UTC (permalink / raw)
To: mailing list for ConTeXt users
Just as a last question on the ratio interwordspace/spaceskip:
When I read the info from \showpardata. And it says, eg.:
lmroman12-regular
interwordspace: 3.912pt
interwordstretch: 1.956pt
inerwordshrink: 1.304pt
Does that mean, I would achieve exactly the same (default) by writing this?
\spaceskip3.912pt plus1.956pt minus1.304pt
Steffen
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2011-03-13 16:01 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-11 11:36 change interwordspace twice Steffen Wolfrum
2011-03-11 11:55 ` Steffen Wolfrum
2011-03-11 18:45 ` Steffen Wolfrum
2011-03-11 18:56 ` Wolfgang Schuster
2011-03-12 9:01 ` Steffen Wolfrum
2011-03-12 12:04 ` Andreas Harder
2011-03-12 16:00 ` Wolfgang Schuster
2011-03-12 16:04 ` Andreas Harder
2011-03-12 18:15 ` Steffen Wolfrum
2011-03-13 16:01 ` Steffen Wolfrum
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).