[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Bug: Export to html and latex fails on these (relatively common) str
From: |
Milan Zimmermann |
Subject: |
[O] 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 |
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)
)
- [O] 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/)],
Milan Zimmermann <=