From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Williams Subject: Re: Bug: Export of table.el to LaTeX fails [7.9.4 (7.9.4-dist @ c:/Users/kwilliams/share/emacs/site-lisp/org/)] Date: Thu, 28 Mar 2013 15:10:56 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULEU0-0004du-Sk for emacs-orgmode@gnu.org; Thu, 28 Mar 2013 11:11:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ULETk-0004Ky-BX for emacs-orgmode@gnu.org; Thu, 28 Mar 2013 11:11:16 -0400 Received: from owa.windlogics.com ([216.245.170.169]:14512) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULETj-0004KX-JB for emacs-orgmode@gnu.org; Thu, 28 Mar 2013 11:11:00 -0400 Content-Language: en-US List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "emacs-orgmode@gnu.org" Something apparently even ate part of the attachment - there are some Null = bytes in there I guess. Here's a paste of the rest of the attachment, as v= iewed in `less` to zap the non-ASCIIs. -Ken Debugger entered--Lisp error: (error "Invalid search bound (wrong side of p= oint)") re-search-forward("\\s *\\'" 53 t) table--buffer-substring-and-trim(54 53) #[514 "\307\310^C\302@B!\310^C\302@B!\"\311\312!r\211q\210\313\314\315\31= 6\317\320^F^F!\321\"\322\323%DC\216^Ac\210eb\210\324\325\326\327#\203_^@\33= 0\224\203E^@\212\330\224b\210\331c\210)\202,^@\322\224\203S^@\332\333\327\2= 11#\210\202,^@\332\334\335\336!\334Q!\210\202,^@ed{\262^B*\210r\300q\210\30= 6@\204\200^@`Sf\337=3D\203{^@\340\202|^@\341\342\261^B\210\305@\330V\203\23= 4^@\343\344\305@\306@\203\224^@\345\202\225^@\340^D$c\210\202\237^@\211c\21= 0)\306\326\240\210\305\330\240\210\303\304@\3018\240\207" [# (1 12) (5) (12) (2) (1) (nil) table--buffer-substring-and-trim= table--goto-coordinate generate-new-buffer " *temp*" funcall make-byte-cod= e 0 "\301\300!\205 ^@\302\300!\207" vconcat vector [buffer-name kill-bu= ffer] 2 "\n\n(fn)" re-search-forward "\\([#$~_^%{}]\\)\\|\\(\\\\\\)\\|\\([<= >|]\\)" nil t 1 "\\" replace-match "$\\backslash$" "$" match-string 3 32 ""= " " "& " format "\\multicolumn{%d}{%sl|}{%s}" "|"] 11 "\n\n(fn FROM TO)"](= 12 11) table--generate-source-scan-lines(# latex (43 = . 53) (101 . 111) (1 12) (5 7)) table-generate-source(latex "*org-export-table*" "caption") org-export-latex-convert-table\.el-table() org-export-latex-tables(t) org-export-latex-content(#("\n\nExample:\n\n+----------+---------------+\= n|Name |Examples |\n+----------+---------------+\n|foo |x = ... y |\n+----------+---------------+\n\n\n" 0 12 (fontified t) 12 2= 4 (fontified t) 24 40 (fontified t) 40 41 (fontified t) 41 69 (fontified t = org-caption nil org-caption-shortn nil org-attributes nil org-label nil) 69= 70 (fontified t) 70 82 (fontified t) 82 98 (fontified t) 98 99 (fontified = t) 99 127 (fontified t org-caption nil org-caption-shortn nil org-attribute= s nil org-label nil) 127 128 (fontified t) 128 140 (fontified t) 140 156 (f= ontified t) 156 159 (fontified t))) org-export-latex-subcontent(((pos . 2) (level . 1) (occur . 1) (heading .= #(" Failing table " 1 2 (target "sec-1" fontified t) 2 14 (target "sec-1" = fontified t))) (content . #("\n\nExample:\n\n+----------+---------------+\n= |Name |Examples |\n+----------+---------------+\n|foo |x .= .. y |\n+----------+---------------+\n\n\n" 0 12 (fontified t) 12 24= (fontified t) 24 40 (fontified t) 40 41 (fontified t) 41 69 (fontified t o= rg-caption nil org-caption-shortn nil org-attributes nil org-label nil) 69 = 70 (fontified t) 70 82 (fontified t) 82 98 (fontified t) 98 99 (fontified t= ) 99 127 (fontified t org-caption nil org-caption-shortn nil org-attributes= nil org-label nil) 127 128 (fontified t) 128 140 (fontified t) 140 156 (fo= ntified t) 156 159 (fontified t))) (subcontent)) t) #[(x) "\30 \"\207" [x num org-export-latex-subcontent] 3](((pos . 2) (= level . 1) (occur . 1) (heading . #(" Failing table " 1 2 (target "sec-1" f= ontified t) 2 14 (target "sec-1" fontified t))) (content . #("\n\nExample:\= n\n+----------+---------------+\n|Name |Examples |\n+----------+= ---------------+\n|foo |x ... y |\n+----------+---------------= +\n\n\n" 0 12 (fontified t) 12 24 (fontified t) 24 40 (fontified t) 40 41 (= fontified t) 41 69 (fontified t org-caption nil org-caption-shortn nil org-= attributes nil org-label nil) 69 70 (fontified t) 70 82 (fontified t) 82 98= (fontified t) 98 99 (fontified t) 99 127 (fontified t org-caption nil org-= caption-shortn nil org-attributes nil org-label nil) 127 128 (fontified t) = 128 140 (fontified t) 140 156 (fontified t) 156 159 (fontified t))) (subcon= tent))) mapc(#[(x) "\30 \"\207" [x num org-export-latex-subcontent] 3] (((p= os . 2) (level . 1) (occur . 1) (heading . #(" Failing table " 1 2 (target = "sec-1" fontified t) 2 14 (target "sec-1" fontified t))) (content . #("\n\n= Example:\n\n+----------+---------------+\n|Name |Examples |\n+--= --------+---------------+\n|foo |x ... y |\n+----------+------= ---------+\n\n\n" 0 12 (fontified t) 12 24 (fontified t) 24 40 (fontified t= ) 40 41 (fontified t) 41 69 (fontified t org-caption nil org-caption-shortn= nil org-attributes nil org-label nil) 69 70 (fontified t) 70 82 (fontified= t) 82 98 (fontified t) 98 99 (fontified t) 99 127 (fontified t org-caption= nil org-caption-shortn nil org-attributes nil org-label nil) 127 128 (font= ified t) 128 140 (fontified t) 140 156 (fontified t) 156 159 (fontified t))= ) (subcontent)))) org-export-latex-sub((((pos . 2) (level . 1) (occur . 1) (heading . #(" F= ailing table " 1 2 (target "sec-1" fontified t) 2 14 (target "sec-1" fontif= ied t))) (content . #("\n\nExample:\n\n+----------+---------------+\n|Name = |Examples |\n+----------+---------------+\n|foo |x ... y = |\n+----------+---------------+\n\n\n" 0 12 (fontified t) 12 24 (font= ified t) 24 40 (fontified t) 40 41 (fontified t) 41 69 (fontified t org-cap= tion nil org-caption-shortn nil org-attributes nil org-label nil) 69 70 (fo= ntified t) 70 82 (fontified t) 82 98 (fontified t) 98 99 (fontified t) 99 1= 27 (fontified t org-caption nil org-caption-shortn nil org-attributes nil o= rg-label nil) 127 128 (fontified t) 128 140 (fontified t) 140 156 (fontifie= d t) 156 159 (fontified t))) (subcontent)))) org-export-latex-global(((((pos . 2) (level . 1) (occur . 1) (heading . #= (" Failing table " 1 2 (target "sec-1" fontified t) 2 14 (target "sec-1" fo= ntified t))) (content . #("\n\nExample:\n\n+----------+---------------+\n|N= ame |Examples |\n+----------+---------------+\n|foo |x ...= y |\n+----------+---------------+\n\n\n" 0 12 (fontified t) 12 24 (= fontified t) 24 40 (fontified t) 40 41 (fontified t) 41 69 (fontified t org= -caption nil org-caption-shortn nil org-attributes nil org-label nil) 69 70= (fontified t) 70 82 (fontified t) 82 98 (fontified t) 98 99 (fontified t) = 99 127 (fontified t org-caption nil org-caption-shortn nil org-attributes n= il org-label nil) 127 128 (fontified t) 128 140 (fontified t) 140 156 (font= ified t) 156 159 (fontified t))) (subcontent))))) org-export-as-latex(nil) call-interactively(org-export-as-latex) org-export(nil) call-interactively(org-export nil nil) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Emacs : GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601) of 2013-03-17 on MARVIN Package: Org-mode version 7.9.4 (7.9.4-dist @ c:/Users/kwilliams/share/emac= s/site-lisp/org/) current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq org-export-babel-evaluate nil org-export-blocks '((uml iy/org-export-blocks-format-plantuml nil) (src or= g-babel-exp-src-block nil) (export-comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-ex= port-blocks-format-dot nil)) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-= maybe) org-export-html-style "