ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Bug in \setupinterlinespace ?
@ 2014-07-07 16:35 Otared Kavian
  2014-07-07 20:45 ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: Otared Kavian @ 2014-07-07 16:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Does anybody know how to change the interline space in a part of a document?
I send again the message below:

Hi all,

I don’t know how to change the interline space in a chapter.
In principle I thought that if at some point I have used for some reason
	\setupinterlinespace[4.0ex]
then saying
	\setupinterlinespace[reset,small]
would reset the interline space to its default value, but this is not the case. 
The version I am using is:
ConTeXt  ver: 2014.07.04 15:55 MKIV beta  fmt: 2014.7.5  int: english/english

Here is a minimal example:

%%%% begin bug-interline.tex
\setupinterlinespace[4.0ex]
\starttext

\input knuth.tex

\page
\setupinterlinespace[reset,small]

\input knuth.tex
\stoptext
%%%% end bug-interline.tex

Thanks for your help: OK
___________________________________________________________________________________
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] 4+ messages in thread

* Re: Bug in \setupinterlinespace ?
  2014-07-07 16:35 Bug in \setupinterlinespace ? Otared Kavian
@ 2014-07-07 20:45 ` Wolfgang Schuster
  2014-07-08 16:46   ` Otared Kavian
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2014-07-07 20:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 07.07.2014 um 18:35 schrieb Otared Kavian <otared@gmail.com>:

> Does anybody know how to change the interline space in a part of a document?

\setupinterlinespace[line=3.2ex] % global setting (\setupinterlinespace[3.2ex] == \setupinterlinespace[line=3.2ex])

\starttext

\input ward

\blank \setupinterlinespace[big] % big = 1.5 * global value (small = 1x, medium = 1.25x)

\input ward

\blank \setupinterlinespace[reset]

\input ward

\blank \start \setuplocalinterlinespace[line=4ex] % you need a empty line or \par before you end the group

\input ward

\stop

\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] 4+ messages in thread

* Re: Bug in \setupinterlinespace ?
  2014-07-07 20:45 ` Wolfgang Schuster
@ 2014-07-08 16:46   ` Otared Kavian
  0 siblings, 0 replies; 4+ messages in thread
From: Otared Kavian @ 2014-07-08 16:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Thanks Wolfgang!
Indeed I didn’t know 
	\setuplocalinterlinespace 
and the fact that it has to be enclosed between \start \stop grouping.
I tried to put this information on the wiki, but it seems that 
	http://wiki.contextgarden.net
 is down today.

Best regards: OK

On 07 Jul 2014, at 22:45, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:

> 
> Am 07.07.2014 um 18:35 schrieb Otared Kavian <otared@gmail.com>:
> 
>> Does anybody know how to change the interline space in a part of a document?
> 
> \setupinterlinespace[line=3.2ex] % global setting (\setupinterlinespace[3.2ex] == \setupinterlinespace[line=3.2ex])
> 
> \starttext
> 
> \input ward
> 
> \blank \setupinterlinespace[big] % big = 1.5 * global value (small = 1x, medium = 1.25x)
> 
> \input ward
> 
> \blank \setupinterlinespace[reset]
> 
> \input ward
> 
> \blank \start \setuplocalinterlinespace[line=4ex] % you need a empty line or \par before you end the group
> 
> \input ward
> 
> \stop
> 
> \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] 4+ messages in thread

* Bug in \setupinterlinespace ?
@ 2014-07-06 20:33 Otared Kavian
  0 siblings, 0 replies; 4+ messages in thread
From: Otared Kavian @ 2014-07-06 20:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi all,

I don’t know how to change the interline space in a chapter.
In principle I thought that if at some point I have used for some reason
	\setupinterlinespace[4.0ex]
then saying
	\setupinterlinespace[reset,small]
would reset the interline space to its default value, but this is not the case. 
The version I am using is:
ConTeXt  ver: 2014.07.04 15:55 MKIV beta  fmt: 2014.7.5  int: english/english

Here is a minimal example:

%%%% begin bug-interline.tex
\setupinterlinespace[4.0ex]
\starttext

\input knuth.tex

\page
\setupinterlinespace[reset,small]

\input knuth.tex
\stoptext
%%%% end bug-interline.tex

Thanks for your help: OK
___________________________________________________________________________________
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] 4+ messages in thread

end of thread, other threads:[~2014-07-08 16:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-07 16:35 Bug in \setupinterlinespace ? Otared Kavian
2014-07-07 20:45 ` Wolfgang Schuster
2014-07-08 16:46   ` Otared Kavian
  -- strict thread matches above, loose matches on Subject: below --
2014-07-06 20:33 Otared Kavian

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).