Re: lyx --export was working, now it is not again...

2004-03-23 Thread Andre Poenitz
On Sun, Mar 21, 2004 at 11:21:11AM +0100, Alfredo Braunstein wrote:
 Kayvan A. Sylvan wrote:
 
  A cvs diff patch is attached.
 
 Commited.

Thanks to both of you.

Andre'


Re: lyx --export was working, now it is not again...

2004-03-23 Thread Andre Poenitz
On Sun, Mar 21, 2004 at 11:21:11AM +0100, Alfredo Braunstein wrote:
> Kayvan A. Sylvan wrote:
> 
> > A cvs diff patch is attached.
> 
> Commited.

Thanks to both of you.

Andre'


Re: lyx --export was working, now it is not again...

2004-03-21 Thread Alfredo Braunstein
Kayvan A. Sylvan wrote:

 A cvs diff patch is attached.

Commited.

Alfredo 




Re: lyx --export was working, now it is not again...

2004-03-21 Thread Alfredo Braunstein
Kayvan A. Sylvan wrote:

> A cvs diff patch is attached.

Commited.

Alfredo 




Re: lyx --export was working, now it is not again...

2004-03-20 Thread Kayvan A. Sylvan
On Fri, Mar 19, 2004 at 07:39:32PM +0100, Andre Poenitz wrote:
 On Thu, Mar 18, 2004 at 03:46:03PM -0800, Kayvan A. Sylvan wrote:
  $ lyx --export pdf evidence_TS3150.lyx
  Buffer::Buffer()
  Assertion triggered in BufferView* LyXText::bv() const by failing check bv_owner 
  != 0 in file ../../lyx/src/text.C:171
  Aborted (core dumped)
 
 I can confirm this.
 
 The solution is to change src/tabular.C to

I can verify the fix.

A cvs diff patch is attached.

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | crown of her husband | Robin Gregory (2/28/92)
Index: src/tabular.C
===
RCS file: /cvs/lyx/lyx-devel/src/tabular.C,v
retrieving revision 1.205
diff -u -r1.205 tabular.C
--- src/tabular.C   2004/02/20 17:19:49 1.205
+++ src/tabular.C   2004/03/21 05:21:13
@@ -2007,7 +2007,8 @@
ret += TeXCellPreamble(os, cell);
InsetText  inset = getCellInset(cell);
 
-   bool rtl = inset.text_.isRTL(inset.paragraphs().front())
+   Paragraph  par = inset.paragraphs().front();
+   bool rtl = par.isRightToLeftPar(buf.params())
 !inset.paragraphs().begin()-empty()
 getPWidth(cell).zero();
 


Re: lyx --export was working, now it is not again...

2004-03-20 Thread Kayvan A. Sylvan
On Fri, Mar 19, 2004 at 07:39:32PM +0100, Andre Poenitz wrote:
> On Thu, Mar 18, 2004 at 03:46:03PM -0800, Kayvan A. Sylvan wrote:
> > $ lyx --export pdf evidence_TS3150.lyx
> > Buffer::Buffer()
> > Assertion triggered in BufferView* LyXText::bv() const by failing check "bv_owner 
> > != 0" in file ../../lyx/src/text.C:171
> > Aborted (core dumped)
> 
> I can confirm this.
> 
> The solution is to change src/tabular.C to

I can verify the fix.

A cvs diff patch is attached.

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Index: src/tabular.C
===
RCS file: /cvs/lyx/lyx-devel/src/tabular.C,v
retrieving revision 1.205
diff -u -r1.205 tabular.C
--- src/tabular.C   2004/02/20 17:19:49 1.205
+++ src/tabular.C   2004/03/21 05:21:13
@@ -2007,7 +2007,8 @@
ret += TeXCellPreamble(os, cell);
InsetText & inset = getCellInset(cell);
 
-   bool rtl = inset.text_.isRTL(inset.paragraphs().front())
+   Paragraph & par = inset.paragraphs().front();
+   bool rtl = par.isRightToLeftPar(buf.params())
&& !inset.paragraphs().begin()->empty()
&& getPWidth(cell).zero();