From: Milan Zimmermann <milan.zimmermann@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Bug: Export to html and latex fails on these (relatively common) strings [8.2.10 (8.2.10-16-g4c37a9-elpa @ /home/mzimmermann/.emacs.d/elpa/org-20141110/)]
Date: Thu, 13 Nov 2014 17:45:33 -0500 [thread overview]
Message-ID: <87ioiira7m.fsf@home-server.home-network> (raw)
Remember to cover the basics, that is, what you expected to happen and
what in fact did happen. You don't know how to make a good report? See
http://orgmode.org/manual/Feedback.html#Feedback
Your bug report will be posted to the Org-mode mailing list.
------------------------------------------------------------------------
Hi:
Any of the strings in Ex 1) to Ex 4) below, even individually, including the extremely simple example 4, fails the export of the org file to latex and html. The failure appears to happen in the first step (converting to an intermediate format)
*Steps to reproduce:*
- Open a file containing any of the 4 examples (or this text named as org)
- C-c C-e l L
- Backtrace is attaches
These type of strings on which the failure happens are not unusual to find in documents pasted from mysql or git.
*Ex 1)* - real life example from git output which fails to export
git pull origin master
From github.com:airlift-group/cubifier
\* branch master -> FETCH_HEAD
Updating 28d0c00..8d3abef
Fast-forward
grails-app/conf/Aaaa.groovy | 10 +++++-----
src/java/org/Bbbb.java | 19 +++++++++++++++----
src/java/org/Cccc.java | 30 ++++++++++++++++++++----------
*Ex 2)* - real life from Mysql output which fails to export (note the misalligned | in the data row - no issues when alligned)
+-------+------------+-----------+
| label | long_label | isEnabled |
+-------+------------+-----------+
| | 2 | |
+-------+------------+-----------+
*Ex 3)* Simple example which fails to export
+------------+----------+
*Ex 4)* Simpliest example which fails to export
+------------
Emacs : GNU Emacs 24.3.1 (x86_64-suse-linux-gnu, GTK+ Version 3.10.4)
of 2014-01-23 on cloud107
Package: Org-mode version 8.2.10 (8.2.10-16-g4c37a9-elpa @ /home/mzimmermann/.emacs.d/elpa/org-20141110/)
current state:
==============
(setq
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-speed-command-hook '(org-speed-command-default-hook
org-babel-speed-command-hook)
org-occur-hook '(org-first-headline-recenter)
org-metaup-hook '(org-babel-load-in-session-maybe)
org-html-format-drawer-function '(lambda (name contents) contents)
org-table-tab-recognizes-table.el nil
org-latex-format-inlinetask-function 'ignore
org-confirm-shell-link-function 'yes-or-no-p
org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
org-emphasis-alist '(("*" bold "<b>" "</b>") ("/" italic "<i>" "</i>")
("_" underline
"<span style=\"text-decoration:underline;\">"
"</span>")
("=" org-code "<code>" "</code>" verbatim)
("~" org-agenda-restriction-lock "<code>" "</code>"
verbatim)
("+" (:strike-through t) "<del>" "</del>"))
org-support-shift-select t
org-latex-format-headline-function 'org-latex-format-headline-default-function
org-startup-indented t
org-after-todo-state-change-hook '(org-clock-out-if-current)
org-latex-format-drawer-function '(lambda (name contents) contents)
org-src-mode-hook '(org-src-babel-configure-edit-buffer
org-src-mode-configure-edit-buffer)
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-babel-pre-tangle-hook '(save-buffer)
org-mode-hook '((lambda nil
(org-add-hook (quote change-major-mode-hook)
(quote org-show-block-all) (quote append) (quote local))
)
(lambda nil
(org-add-hook (quote change-major-mode-hook)
(quote org-babel-show-result-all) (quote append)
(quote local))
)
do-org-plot
#[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-ascii-format-drawer-function '(lambda (name contents width) contents)
org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point
org-babel-execute-safely-maybe)
org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
org-cycle-hide-inline-tasks org-cycle-show-empty-lines
org-optimize-window-after-visibility-change)
org-babel-tangle-lang-exts '(("lisp" . "lisp") ("java" . "java")
("clojure" . "clj") ("perl" . "pl")
("ruby" . "rb") ("python" . "py")
("emacs-lisp" . "el"))
org-confirm-elisp-link-function 'yes-or-no-p
org-startup-with-inline-images t
org-metadown-hook '(org-babel-pop-to-session-maybe)
org-html-format-headline-function 'ignore
org-startup-truncated nil
org-babel-load-languages '((sh . t) (python . t) (R . t) (ruby . t)
(ditaa . t) (dot . t) (octave . t) (sqlite . t)
(perl . t) (clojure . t) (java . t)
(emacs-lisp . t) (lisp . t))
org-html-format-inlinetask-function 'ignore
org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
)
next reply other threads:[~2014-11-13 22:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-13 22:45 Milan Zimmermann [this message]
2014-11-14 8:30 ` Bug: Export to html and latex fails on these (relatively common) strings [8.2.10 (8.2.10-16-g4c37a9-elpa @ /home/mzimmermann/.emacs.d/elpa/org-20141110/)] Nicolas Goaziou
2014-11-14 9:27 ` Rasmus
2014-11-14 9:42 ` Nicolas Goaziou
2014-11-14 10:35 ` Rasmus
2014-11-14 15:51 ` Milan Zimmermann
2014-11-14 15:55 ` Milan Zimmermann
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=87ioiira7m.fsf@home-server.home-network \
--to=milan.zimmermann@gmail.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).