Peter Rolf schrieb:
Sanjoy Mahajan schrieb:
What's the right way to workaround the following interaction between \setupdelimitedtext and TeX's paragraph building rules? In the example below, the last paragraph from knuth.tex has the linespacing of the regular text set in 12pt, rather than the intended, narrower linespacing of 8pt text.
Uncommenting the negligible vertical space (\vskip1sp) fixes the discrepancy. Is it the best workaround? I also tried setting after={\vskip1sp} in the \setupdelimitedtext, but it had no effect.
I'm using 2008.10.31, MkII. Thanks for any suggestions, which I'll wikify if the solution is interesting to more than just me.
\setupdelimitedtext[blockquote][style={\switchtobodyfont[8pt]}]
\starttext \startblockquote \input knuth
add a \par or an empty single line to make the paragraph builder happy.. the problem only occurs, when you insert the text from an external file. ^^^^ *wrong*
just had an example where the text was embedded...
Best wishes, Peter
%\vskip1sp \stopblockquote \input tufte
\stoptext
-Sanjoy ___________________________________________________________________________________ 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 ___________________________________________________________________________________
___________________________________________________________________________________ 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 ___________________________________________________________________________________