2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
+ * buffer.C: add compability for minipage alignment.
+ (latexParagraphs): remove unwanted pextra check.
+
* several files: remove CXX_WORKING_NAMESPACES
* buffer.C (pop_tag): tie is in namespace boost
// we do want to use some of these
// parameters to set options in the
// minipage inset.
+ InsetMinipage::Position imp = static_cast<InsetMinipage::Position>(minipar->params.pextraAlignment());
LyXParagraph * tmp = minipar;
while (tmp) {
tmp->params.pextraType(0);
}
InsetMinipage * mini = new InsetMinipage;
+ mini->pos(imp);
mini->inset->par = minipar;
// Insert the minipage last in the
// previous paragraph.
// This is not quite correct yet since we
// do want to use some of these parameters
// to set options in the minipage inset.
+ InsetMinipage::Position imp = static_cast<InsetMinipage::Position>(minipar->params.pextraAlignment());
LyXParagraph * tmp = minipar;
while (tmp) {
tmp->params.pextraType(0);
}
InsetMinipage * mini = new InsetMinipage;
+ mini->pos(imp);
mini->inset->par = minipar;
par->previous()->InsertInset(par->previous()->size(), mini);
minipar = 0;
// flag this with ftcount
ftcount = -1;
if (layout.isEnvironment()
- || par->params.pextraType() != LyXParagraph::PEXTRA_NONE) {
+#ifndef NEW_INSETS
+ || par->params.pextraType() != LyXParagraph::PEXTRA_NONE
+#endif
+ ) {
par = par->TeXEnvironment(this, params, ofs, texrow
#ifndef NEW_INSETS
,ftnote, ft_texrow, ftcount
2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
+ * insetminipage.h: change the order or Position to match
+ LyXParagraph::MINIPAGE_ALIGNMENT
+
* several files: remvoe CXX_WORKING_NAMESPACES
* ExternalTemplate.h: noncopyable is in namespace boost