Re: r34753 - lyx-devel/trunk/lib/lyx2lyx

2010-07-10 Thread Uwe Stöhr
Am 08.07.2010 15:02, schrieb Kornel Benko: Open this document. Setting of "hello2"-box indicates horizontal right alignement. But View->[PDF (pdflatex)] gives text aligned left. GMANE swallowed your attachment. Can you please send me the file as attachment to a private mail? thanks and rega

Re: r34753 - lyx-devel/trunk/lib/lyx2lyx

2010-07-08 Thread Kornel Benko
Am Donnerstag, 8. Juli 2010 schrieb Uwe Stöhr: > Am 08.07.2010 01:23, schrieb Richard Heck: > > > No, but it's not a matter of more than one paragraph, necessarily. Can > > you do a makebox with a list in LyX? > > No, this is only possible for parbox, minipage and shaded. > > I just fixed some r

Re: r34753 - lyx-devel/trunk/lib/lyx2lyx

2010-07-08 Thread Richard Heck
On 07/07/2010 11:05 PM, Uwe Stöhr wrote: Am 08.07.2010 01:23, schrieb Richard Heck: No, but it's not a matter of more than one paragraph, necessarily. Can you do a makebox with a list in LyX? No, this is only possible for parbox, minipage and shaded. I just fixed some remaining issues in the

Re: r34753 - lyx-devel/trunk/lib/lyx2lyx

2010-07-07 Thread Uwe Stöhr
Am 08.07.2010 01:23, schrieb Richard Heck: No, but it's not a matter of more than one paragraph, necessarily. Can you do a makebox with a list in LyX? No, this is only possible for parbox, minipage and shaded. I just fixed some remaining issues in the makebox routine and it now works for all

Re: r34753 - lyx-devel/trunk/lib/lyx2lyx

2010-07-07 Thread Richard Heck
On 07/07/2010 05:27 PM, Uwe Stöhr wrote: One thing you might want to check. Right now, a box can have various layouts. This seems to get wiped out at present. And if there were multiple paragraphs in the box (is that allowed?) then something weird will definitely happen. The solution would be p

Re: r34753 - lyx-devel/trunk/lib/lyx2lyx

2010-07-07 Thread Uwe Stöhr
Am 07.07.2010 03:59, schrieb Richard Heck: I eventually realized what you were doing, which does seem right. I wonder if it would have been easier to do it this way for Index entries, too, rather than use the complicated method we did. I'll have a look. One thing you might want to check. Rig

Re: r34753 - lyx-devel/trunk/lib/lyx2lyx

2010-07-06 Thread Richard Heck
On 07/06/2010 08:58 PM, Uwe Stöhr wrote: > Am 06.07.2010 00:31, schrieb Richard Heck: > >> In the revert_flex_inset case, you ought to be able to do >> something like: >> content = lyx2latex(document, document.lines[i:z+1] >> content = LaTeXname + "{" + content + "}" >> document.body[i:z+1] = put_c

Re: r34753 - lyx-devel/trunk/lib/lyx2lyx

2010-07-06 Thread Uwe Stöhr
Am 06.07.2010 00:31, schrieb Richard Heck: There is a lot you do not cover in these routines, e.g., math. Hmm, but math and other insets like nomenclature work for me. But the good news is that there is already a lyx2latex routine that you can use here. Look at how it is used, for example, i

Re: r34753 - lyx-devel/trunk/lib/lyx2lyx

2010-07-05 Thread Richard Heck
On 07/04/2010 10:01 PM, uwesto...@lyx.org wrote: Author: uwestoehr Date: Mon Jul 5 04:01:10 2010 New Revision: 34753 URL: http://www.lyx.org/trac/changeset/34753 Log: lyx2lyx/lyx_2_0.py: - add routine to revert flex insets to TeX code Author: uwestoehr Date: Mon Jul 5 05:19:54 2010 New R