From: Ken Williams <Ken.Williams@windlogics.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
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 [thread overview]
Message-ID: <DB9AE166BFBB0640B307A82E6F93D0260231E4@SPEXCH02.WindLogics.local> (raw)
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 "\307\310^C\302@B!\310^C\302@B!\"\311\312!r\211q\210\313\314\315\316\317\320^F^F!\321\"\322\323%DC\216^Ac\210eb\210\324\325\326\327#\203_^@\330\224\203E^@\212\330\224b\210\331c\210)\202,^@\322\224\203S^@\332\333\327\211#\210\202,^@\332\334\335\336!\334Q!\210\202,^@ed{\262^B*\210r\300q\210\306@\204\200^@`Sf\337=\203{^@\340\202|^@\341\342\261^B\210\305@\330V\203\234^@\343\344\305@\306@\203\224^@\345\202\225^@\340^D$c\210\202\237^@\211c\210)\306\326\240\210\305\330\240\210\303\304@\3018\240\207" [#<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 ^@\302\300!\207" 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:]_@#%:]+:\\)\\)?[ ]*$")
)
)
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: emacs-orgmode@gnu.org
> 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.
next reply other threads:[~2013-03-28 15:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-28 15:10 Ken Williams [this message]
2013-03-28 15:48 ` Bug: Export of table.el to LaTeX fails [7.9.4 (7.9.4-dist @ c:/Users/kwilliams/share/emacs/site-lisp/org/)] Nicolas Goaziou
2013-03-28 19:04 ` Ken Williams
-- strict thread matches above, loose matches on Subject: below --
2013-03-28 14:33 Ken Williams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DB9AE166BFBB0640B307A82E6F93D0260231E4@SPEXCH02.WindLogics.local \
--to=ken.williams@windlogics.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).