lout-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: @Font trumps @B & @I (which is a pity)


From: Mark Summerfield
Subject: Re: @Font trumps @B & @I (which is a pity)
Date: Fri, 3 Dec 2010 13:27:34 +0000

On Tue, 12 Oct 2010 21:33:12 +0200
address@hidden (Ludovic Courtès) wrote:
> Hi Mark,
> 
> Mark Summerfield <address@hidden> writes:
> 
> > However, whenever I use @VSChar{} lout outputs a warning:
> >
> > no value for context variable `scopeState', using the empty string
> >
> > I solved this by enclosing the whole para in:
> >
> > {scopeState @Yield @address@hidden
> > ... # Used @ScopedBold & @ScopedItalic
> > }
> >
> > But what I'd really like to do is set the scopeState globally for
> > the whole document.
> 
> I think this can be solved either by modifying ‘docf’ or perhaps by
> doing the initial address@hidden in the address@hidden parameter of
> address@hidden

Hi Ludovic,

I did this in my custom book file inside @DocumentSetup:

    @PageEnclose{{scopeState @Yield @address@hidden@Body}}

And it worked fine---no more annoying error messages and the scoped bold
& italic work great.

Thanks!


-- 
Mark Summerfield, Qtrac Ltd, www.qtrac.eu
    C++, Python, Qt, PyQt - training and consultancy
        "Advanced Qt Programming" - ISBN 0321635906
            http://www.qtrac.eu/aqpbook.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]