[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: Export of table.el to LaTeX fails [7.9.4 (7.9.4-dist @ c:/U
From: |
Ken Williams |
Subject: |
Re: [O] 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 |
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
viewed in `less` to zap the non-ASCIIs.
-Ken
Debugger entered--Lisp error: (error "Invalid search bound (wrong side of
point)")
re-search-forward("\\s *\\'" 53 t)
table--buffer-substring-and-trim(54 53)
#[514
"address@hidden@B!\"\311\312!r\211q\210\313\314\315\316\317\320^F^F!\321\"address@hidden@\212\330\224b\210\331c\210)\202,address@hidden@\332\333\327\211#\210\202,address@hidden,address@hidden@address@hidden@\340\202|address@hidden@address@hidden@address@hidden@address@hidden@\211c\210)address@hidden"
[#<buffer *org-export-table*> (1 12) (5) (12) (2) (1) (nil)
table--buffer-substring-and-trim table--goto-coordinate generate-new-buffer "
*temp*" funcall make-byte-code 0 "\301\300!\205 address@hidden" vconcat
vector [buffer-name kill-buffer] 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(#<buffer *org-export-table*> 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 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)))
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 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))) (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"
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 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))) (subcontent)))
mapc(#[(x) "\30 \"\207" [x num org-export-latex-subcontent] 3] (((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 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))) (subcontent))))
org-export-latex-sub((((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 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))) (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" 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))) (subcontent)))))
org-export-as-latex(nil)
call-interactively(org-export-as-latex)
org-export(nil)
call-interactively(org-export nil nil)
==============
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/emacs/site-lisp/org/)
current state:
==============
(setq
org-export-babel-evaluate nil
org-export-blocks '((uml iy/org-export-blocks-format-plantuml nil) (src
org-babel-exp-src-block nil)
(export-comment org-export-blocks-format-comment t)
(ditaa org-export-blocks-format-ditaa nil) (dot
org-export-blocks-format-dot nil))
org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point
org-babel-execute-safely-maybe)
org-export-html-style "<style type=\"text/css\">\n
<!--/*--><![CDATA[/*><!--*/\n .src { background-color:
#F5FFF5; position: relative; overflow: visible; margin-right: auto; }\n
.src:before { position: absolute; top: -15px; background: #ffffff;
padding: 1px; border: 1px solid #000000; font-size: small; }\n
.src-sh:before { content: 'sh'; }\n .src-bash:before { content: 'sh';
}\n .src-R:before { content: 'R'; }\n .src-perl:before { content:
'Perl'; }\n .src-java:before { content: 'Java'; }\n .src-sql:before
{ content: 'SQL'; }\n .example { background-color: #FFF5F5; }\n
/*]]>*/-->\n</style>"
org-export-html-preamble-format '(("en"
"<p class=\"author\">Author: <a
href=\"mailto:%e\">%a</a></p>\n<p class=\"date\">Date: %d</p>\n")
)
org-export-preprocess-before-selecting-backend-code-hook
'(org-beamer-select-beamer-code)
org-tab-first-hook '(org-hide-block-toggle-maybe
org-src-native-tab-command-maybe
org-babel-hide-result-toggle-maybe
org-babel-header-arg-expand)
org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
org-cycle-show-empty-lines
org-optimize-window-after-visibility-change)
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-confirm-babel-evaluate nil
org-speed-command-hook '(org-speed-command-default-hook
org-babel-speed-command-hook)
org-export-preprocess-hook '((lambda nil
(org-set-local (quote org-complex-heading-regexp)
"^\\(\\*+\\)\\(?: +\\(TODO\\|DONE\\)\\)?\\(?:
+\\(\\[#.\\]\\)\\)?\\(?: +\\(.*?\\)\\)??\\(?:[
]+\\(:[[:alnum:address@hidden:]+:\\)\\)?[ ]*$")
)
)
org-babel-pre-tangle-hook '(save-buffer)
org-occur-hook '(org-first-headline-recenter)
org-export-interblocks '((src org-babel-exp-non-block-elements))
org-log-done 'time
org-metaup-hook '(org-babel-load-in-session-maybe)
org-confirm-elisp-link-function 'yes-or-no-p
org-export-latex-format-toc-function 'org-export-latex-format-toc-default
org-alphabetical-lists t
org-export-preprocess-before-normalizing-links-hook
'(org-remove-file-link-modifiers)
org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
org-export-html-postamble nil
org-export-first-hook '(org-beamer-initialize-open-trackers)
org-mode-hook '(#[nil "\300\301\302\303\304$\207"
[org-add-hook change-major-mode-hook org-show-block-all
append local] 5]
#[nil "\300\301\302\303\304$\207"
[org-add-hook change-major-mode-hook
org-babel-show-result-all append local] 5]
org-babel-result-hide-spec org-babel-hide-all-hashes)
org-src-preserve-indentation t
org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc
org-beamer-auto-fragile-frames
org-beamer-place-default-actions-for-lists)
org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
org-metadown-hook '(org-babel-pop-to-session-maybe)
org-export-html-postamble-format '(("en"
"<p class=\"author\">Author: %a
(%e)</p>\n<p class=\"date\">Date: %d</p>\n<p class=\"creator\">Generated by
%c</p>\n")
)
org-src-mode-hook '(org-src-babel-configure-edit-buffer
org-src-mode-configure-edit-buffer)
org-after-todo-state-change-hook '(org-clock-out-if-current)
org-babel-tangle-lang-exts '(("perl" . "pl") ("emacs-lisp" . "el"))
org-babel-load-languages '((emacs-lisp . t) (sh . t) (plantuml . t) (R . t)
(dot . t) (perl . t))
org-confirm-shell-link-function 'yes-or-no-p
)
> -----Original Message-----
> From: Ken Williams
> Sent: Thursday, March 28, 2013 9:34 AM
> To: address@hidden
> Subject: Bug: Export of table.el to LaTeX fails [7.9.4 (7.9.4-dist @
> c:/Users/kwilliams/share/emacs/site-lisp/org/)]
>
> My email client seems to be eating the formatting in the bug report, so I'm
> attaching it as a text file. Hope that's okay.
>
> -Ken
________________________________
CONFIDENTIALITY NOTICE: This e-mail message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information. Any
unauthorized review, use, disclosure or distribution of any kind is strictly
prohibited. If you are not the intended recipient, please contact the sender
via reply e-mail and destroy all copies of the original message. Thank you.