Lars, you've written this in insetminipage.C

// \begin{minipage}[pos][height][inner-pos]{width} <text> \end{minipage}
//// Where:
//     inner-pos [opt] = the position of the text within the box.
//                 It can be t, c, b or s, if unspecified the value
//                 of pos is used.

void InsetMinipage::read(Buffer const * buf, LyXLex & lex) {
        ...
        if (lex.isOK()) {
                lex.next();
                string const token = lex.getString();
                if (token == "inner_position") {
                        lex.next();
                        inner_pos_ = static_cast<InnerPosition>(lex.getInteger());
                } else {
                        lyxerr << "InsetMinipage::Read: Missing 'inner_position'-tag!"
                                   << endl;
                        // take countermeasures
                        lex.pushToken(token);
                }
        }
}

At the moment we don't actually make use of inner_pos_ (nor do we output it 
to LaTeX!). However, I thought I'd get reLyX to support minipage in its 
entirety, so my question is what do you expect inner_pos_ values to be?

I ask, because I use this map 
        my %map = ('t' => '0', 'c' => '1', 'b' => '2');
to go from LaTeX to LyX values for the minipage 'pos' arg. Should I have a 
similar map
        %map = ('t' => '0', 'c' => '1', 'b' => '2', 's' => 3);
for 'inner_pos' or should I just pass t, c, b or s?

-- 
Angus

Reply via email to