lout-users
[Top][All Lists]
Advanced

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

Re: Equation display styles and context-sensitive rendering


From: Jeff Kingston
Subject: Re: Equation display styles and context-sensitive rendering
Date: Fri, 15 Dec 2006 14:42:42 +1100

> The issue is that the `value' argument is evaluated ...
> _in the body of address@hidden'_.

Ouch.

Or perhaps not.

You have three parameters, key, value, and body.  You want the new
context to apply to the body but not to the key or value.  So
you just need to make sure that the branch of Manifest in z08.c
that manifests @SetContext passes the old style to the first two
parameters and the new one to the third parameter.

This must be how e.g. +2p @Font and so forth work.

    case SET_CONTEXT:

       manifest first and second parameters using old style
       style := updated version replacing key/value
       manifest third parameter using new style
       replace SET_CONTEXT object by its body.

Jeff


reply via email to

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