[NTG-context] delimitedtext, spacebefore and grid

Oliver Buerschaper oliver.buerschaper at mpq.mpg.de
Sat Feb 12 08:47:13 CET 2011


>>>> I want to have both a halfline space before and after blockquotations.
>>>> Normally, this works fine; after the quotation the main text snaps
>>>> back to the grid (see page 3 of the example file).
>>>> 
>>>> \setupdelimitedtext
>>>> [blockquote]
>>>> [spacebefore=halfline]
>>> 
>>> spacebefore={force,halfline}
>> 
>> Hello Wolfgang, thank you for your answer.  Sadly, your solution only
>> works for blockquotes starting at the top of the page.  When blockquotes
>> are broken up between two pages the main text doesn't find its way back
>> to the grid (see page 2 of my minimal example).
> 
> I think I've discovered another little problem of the same sort if directly after the quotation a blank line is requested:
> 
> ---
> \setuplayout
>    [grid=yes]
> 
> \setupdelimitedtext
>    [quotation]
>    [spacebefore=halfline]
> 
> \showgrid
> 
> \starttext
> 
> \input tufte
> 
> \startquotation
>    \input tufte
> \stopquotation
> 
> \blank
> \input tufte
> 
> \stoptext
> ---
> 
> Unfortunately the trailing main text doesn't align with the grid either. Any solution to both problems?

Just wanted to ask whether anyone has looked into these issues… a solution would be much appreciated (and put to immediate use in a current project ;-)

Oliver


More information about the ntg-context mailing list