
How do I get a double-spaced document? \setupinterlinespace[big] seems to do nothing ...

On 23 Nov 2005, at 08:55, Giuseppe Bilotta wrote:
Giuseppe, I used this for my daughter's thesis recently. \setupinterlinespace[line=1.8\bodyfontsize] %change 1.8 to whatever \setupwhitespace[big] Best wishes, Charlie ******************* Charles Doherty, Early Irish History, Room K113, School of History, John Henry Newman Building, University College Dublin, Belfield, Dublin 4 Tel: +353 1 716 8381

Giuseppe Bilotta wrote:
This works: \setupinterlinespace[big] \starttext \dorecurse{10}{\input knuth} \stoptext This doesn't: \setupinterlinespace[big] \switchtobodyfont[10pt] \starttext \dorecurse{10}{\input knuth} \stoptext But I don't know whether that's a bug or a feature or a side-effect. Cheers, Taco

Taco Hoekwater wrote:
interesting; this is handled in: \def\setuprelativeinterlinespace[#1]% {\processallactionsinset % \regelwit = dummy ! [#1] [ \v!on=>\oninterlineskip, \v!off=>\offinterlineskip, \v!reset=>\setfontparameters,% just \setstrut, test first \s!unknown=>\assignvalue{#1}\regelwit{1.00}{1.25}{1.50}% \spacing\regelwit]} now, (apart from \regelwit being dutch), this value is used nowhere else, so this setting will not be seen afterwards in this respect it's not a bug but just a characteristics; however, it would make sense to let it carry over, so ... i have to think about it Hans (quote old code btw)

Thursday, November 24, 2005 Hans Hagen wrote:
now, (apart from \regelwit being dutch), this value is used nowhere else, so this setting will not be seen afterwards
i have to think about it
It setupinterlinespace does nothing, why is it present at all? Can we get this fixed by the end of the week? It would be nice if I could use it in my thesis. Maybe also allow some numerical factor which would be a percentage of the amount ConTeXt would choose by default? So that \setupinterlinespace[fraction=1] (default) fraction = .5 (half *bleah*) fraction = 1.6 (would give what is usually intended as "doublespace" etc. -- Giuseppe "Oblomov" Bilotta

Giuseppe Bilotta wrote:
well, it's originally meant for local usage (and then it comes after a bodyfont switch) what to think of the following 'feature': \unprotect \let\currentrelativeinterlinespace\empty \def\setuprelativeinterlinespace[#1]% {\processallactionsinset [#1] [ \v!on=>\oninterlineskip, \v!off=>\offinterlineskip, \v!reset=>\let\currentrelativeinterlinespace\empty \let\synchronizerelativeinterlinespace\relax \setfontparameters, \v!auto=>\let\synchronizerelativeinterlinespace\dosynchronizerelativeinterlinespace, \s!unknown=>\assignvalue\commalistelement\currentrelativeinterlinespace{1.00}{1.25}{1.50}% \spacing\currentrelativeinterlinespace]} \def\dosynchronizerelativeinterlinespace {\ifx\currentrelativeinterlinespace\empty\else \spacing\currentrelativeinterlinespace \fi} \let\synchronizerelativeinterlinespace\relax \appendtoks \synchronizerelativeinterlinespace \to \everybodyfont \protect so, auto let it adapt to fotn switches: \setupinterlinespace[auto,big] \switchtobodyfont[11pt] \starttext \dorecurse{10}{\input knuth} \stoptext
this also works: \setupinterlinespace[1.75] Hans
participants (4)
-
Charles Doherty
-
Giuseppe Bilotta
-
Hans Hagen
-
Taco Hoekwater