[NTG-context] Strange problem with Blockquote

Pablo Rodriguez oinos at gmx.es
Wed Aug 17 18:04:16 CEST 2016


On 08/17/2016 10:55 AM, Robert Blackstone wrote:
> Hi Pablo, 
> 
> Thanks for your suggestion. I did try to insert this code where I
> thought I might help, though must admit that I'm not sure what to do
> with the argument [frontpart].

Hi Robert,

the command only changed the interline space in the front matter, not in
the blockquotes placed in the front part.

Sorry, because it was my fault. Today, I realized my mistake.

> In my projectfiles, admittedly rather a mess, there is nothing with the
> *name *frontpart. Anyway, with or without this or some other possibly
> more appropriate argument, nothing changed the behaviour of this, or
> rather a blockquote in this first chapter, not even surrounding the
> blockquote itself with \setupinterlinespace[small]
> ...  \setupinterlinespace[reset], as I wrote in my original post. 

frontpart is the sectionblock name for frontmatter. BTW, I didn’t know
it myself. Wolfgang explained to me in one of the many  replies I
received from him.

A correct sample should read:

    \setupinterlinespace[line=4ex]
    \startsetups[interlinear:front]
        \setupinterlinespace[line=2.5ex]
    \stopsetups
    \startsetups[interlinear:general]
        \setupinterlinespace[line=5ex]
    \stopsetups
    \setupdelimitedtext
        [blockquote]
        [before={\directsetup{interlinear:general}}]
    \startsectionblockenvironment[frontpart]
    \setupdelimitedtext
        [blockquote]
        [before={\directsetup{interlinear:front}}]
    \stopsectionblockenvironment
    \starttext
    \startfrontmatter
    \dorecurse{2}{\input knuth\par
    \startblockquote\input zapf\stopblockquote}
    \stopfrontmatter
    \startbodymatter
    \dorecurse{2}{\input knuth\par
    \startblockquote\input zapf\stopblockquote}
    \stopbodymatter
    \stoptext

But I don’t know whether the way of setting the interline space for
delimited texts is the best one.

Wolfgang, could you correct (or confirm) my previous statement?

I hope it helps now,


Pablo
-- 
http://www.ousia.tk


More information about the ntg-context mailing list