From mboxrd@z Thu Jan 1 00:00:00 1970 From: zwz Subject: 6.29c export latex bug? Date: Mon, 10 Aug 2009 23:26:22 +0200 Message-ID: <871vnj743l.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MacOR-0004Ug-C2 for emacs-orgmode@gnu.org; Mon, 10 Aug 2009 17:26:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MacON-0004R5-R6 for emacs-orgmode@gnu.org; Mon, 10 Aug 2009 17:26:59 -0400 Received: from [199.232.76.173] (port=38381 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MacON-0004Qg-Kr for emacs-orgmode@gnu.org; Mon, 10 Aug 2009 17:26:55 -0400 Received: from main.gmane.org ([80.91.229.2]:43124 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MacOM-0008Qa-ML for emacs-orgmode@gnu.org; Mon, 10 Aug 2009 17:26:55 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MacOI-0005OY-SX for emacs-orgmode@gnu.org; Mon, 10 Aug 2009 21:26:50 +0000 Received: from bur91-5-88-162-148-242.fbx.proxad.net ([88.162.148.242]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Aug 2009 21:26:50 +0000 Received: from zhangweize by bur91-5-88-162-148-242.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Aug 2009 21:26:50 +0000 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Here is the content of my org file: > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > > * Test > > | | A | B | > > |-----+---+---| > > | com | 1 | 2 | > > | org | 3 | 4 | > > > > Some math formulae: > > > > y =3D x_1^2 + x_2^2 > > > > y^2 =3D 2x^2 + 1 > > > > z_2 =3D x_1 + x_2 + 2 (y_1 + y_2 + r) > > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > Then I press C-c C-e l, I get the debug back-trace: Debugger entered--Lisp error: (wrong-type-argument arrayp nil) replace-regexp-in-string("||" "|" nil) org-export-latex-tables(t) org-export-latex-content(#("\n | | A | B |\n |-----+---+---|\n | c= om | 1 | 2 |\n | org | 3 | 4 |\n\n Some math formulae:\n\n y =3D x_1^2 += x_2^2\n\n y^2 =3D 2x^2 + 1\n\n z_2 =3D x_1 + x_2 + 2 (y_1 + y_2 + r)\n\n= \n" 0 1 (fontified nil) 1 3 (fontified nil org-caption nil org-attributes n= il org-label nil) 3 5 (fontified nil org-caption nil org-attributes nil org= -label nil) 5 6 (fontified nil hilit-chg hilit-chg org-caption nil org-attr= ibutes nil org-label nil) 6 7 (fontified nil hilit-chg hilit-chg org-captio= n nil org-attributes nil org-label nil) 7 8 (fontified nil hilit-chg hilit-= chg org-caption nil org-attributes nil org-label nil) 8 9 (fontified nil hi= lit-chg hilit-chg org-caption nil org-attributes nil org-label nil) 9 10 (f= ontified nil hilit-chg hilit-chg org-caption nil org-attributes nil org-lab= el nil) 10 18 (fontified nil org-caption nil org-attributes nil org-label n= il) 18 19 (fontified nil) 19 21 (fontified nil) 21 36 (fontified nil) 36 37= (fontified nil) 37 39 (fontified nil org-caption nil org-attributes nil or= g-label nil) 39 54 (fontified nil org-caption nil org-attributes nil org-la= bel nil) 54 55 (fontified nil) 55 57 (fontified nil org-caption nil org-att= ributes nil org-label nil) 57 72 (fontified nil org-caption nil org-attribu= tes nil org-label nil) 72 117 (fontified nil) 117 174 (fontified nil) 174 1= 75 (fontified nil) 175 176 (fontified nil))) org-export-latex-subcontent(((pos . 2) (level . 1) (occur . 1) (heading .= #(" Test " 1 2 ... 2 5 ...)) (content . #("\n | | A | B |\n |-----+-= --+---|\n | com | 1 | 2 |\n | org | 3 | 4 |\n\n Some math formulae:\n\n = y =3D x_1^2 + x_2^2\n\n y^2 =3D 2x^2 + 1\n\n z_2 =3D x_1 + x_2 + 2 (y_1 = + y_2 + r)\n\n\n" 0 1 ... 1 3 ... 3 5 ... 5 6 ... 6 7 ... 7 8 ... 8 9 ... 9= 10 ... 10 18 ... 18 19 ... 19 21 ... 21 36 ... 36 37 ... 37 39 ... 39 54 .= .. 54 55 ... 55 57 ... 57 72 ... 72 117 ... 117 174 ... 174 175 ... 175 176= ...)) (subcontent)) t) #[(x) "=C2 \"=87" [x num org-export-latex-subcontent] 3](((pos . 2) (lev= el . 1) (occur . 1) (heading . #(" Test " 1 2 ... 2 5 ...)) (content . #("\= n | | A | B |\n |-----+---+---|\n | com | 1 | 2 |\n | org | 3 | 4 |= \n\n Some math formulae:\n\n y =3D x_1^2 + x_2^2\n\n y^2 =3D 2x^2 + 1\n\= n z_2 =3D x_1 + x_2 + 2 (y_1 + y_2 + r)\n\n\n" 0 1 ... 1 3 ... 3 5 ... 5 6= ... 6 7 ... 7 8 ... 8 9 ... 9 10 ... 10 18 ... 18 19 ... 19 21 ... 21 36 .= .. 36 37 ... 37 39 ... 39 54 ... 54 55 ... 55 57 ... 57 72 ... 72 117 ... 1= 17 174 ... 174 175 ... 175 176 ...)) (subcontent))) mapc(#[(x) "=C2 \"=87" [x num org-export-latex-subcontent] 3] (((pos . 2= ) (level . 1) (occur . 1) (heading . #(" Test " 1 2 ... 2 5 ...)) (content = . #("\n | | A | B |\n |-----+---+---|\n | com | 1 | 2 |\n | org | 3= | 4 |\n\n Some math formulae:\n\n y =3D x_1^2 + x_2^2\n\n y^2 =3D 2x^2 = + 1\n\n z_2 =3D x_1 + x_2 + 2 (y_1 + y_2 + r)\n\n\n" 0 1 ... 1 3 ... 3 5 .= .. 5 6 ... 6 7 ... 7 8 ... 8 9 ... 9 10 ... 10 18 ... 18 19 ... 19 21 ... 2= 1 36 ... 36 37 ... 37 39 ... 39 54 ... 54 55 ... 55 57 ... 57 72 ... 72 117= ... 117 174 ... 174 175 ... 175 176 ...)) (subcontent)))) org-export-latex-sub((((pos . 2) (level . 1) (occur . 1) (heading . #(" T= est " 1 2 ... 2 5 ...)) (content . #("\n | | A | B |\n |-----+---+---= |\n | com | 1 | 2 |\n | org | 3 | 4 |\n\n Some math formulae:\n\n y =3D= x_1^2 + x_2^2\n\n y^2 =3D 2x^2 + 1\n\n z_2 =3D x_1 + x_2 + 2 (y_1 + y_2 = + r)\n\n\n" 0 1 ... 1 3 ... 3 5 ... 5 6 ... 6 7 ... 7 8 ... 8 9 ... 9 10 ..= . 10 18 ... 18 19 ... 19 21 ... 21 36 ... 36 37 ... 37 39 ... 39 54 ... 54 = 55 ... 55 57 ... 57 72 ... 72 117 ... 117 174 ... 174 175 ... 175 176 ...))= (subcontent)))) org-export-latex-global((((... ... ... ... ... ...)))) org-export-as-latex(nil) call-interactively(org-export-as-latex) org-export(nil) call-interactively(org-export nil nil)