Dekel Tsur <[EMAIL PROTECTED]> writes:
| On Tue, Nov 26, 2002 at 01:06:59PM +0100, Lars Gullik Bj?nnes wrote:
>> | Dekel> Do you mean that in lyxrc we should store two variable for each
>> | Dekel> font: family & foundary (e.g.
>> | Dekel> roman_font_family/roman_font_foundry) ? Also, should we use in
>> | Dekel> the preferences file: \screen_font_roman &
>> | Dekel> \screen_font_roman_foundry or \screen_font_roman_family &
>> | Dekel> \screen_font_roman_foundry
>> >
>> | I'd rather have
>> | \screen_font_roman foundry family
>>
>> I'd like to swap them, and also make the foundry optional.
>
| This will require some special code, namely the
| roman_font_family/roman_font_foundry variable will no be handled like other
| variables.
| The code needs to read the get tokens after \screen_font_roman.
| If the second token begins with \, then it should be pushed back and ignored.
| So it is possible, but not pretty.
Then use two variables, it is hidden in the background anyway.
| BTW, LyXLex::pushToken supports pushing only one token: If two tokens are
| pushed, the first one is lost. Shouldn't this be changed ?
you can push a line.
--
Lgb