* Bug: org-export-as-latex fails [7.7]
@ 2011-11-04 16:14 Rick Frankel
2011-11-05 8:15 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Rick Frankel @ 2011-11-04 16:14 UTC (permalink / raw)
To: emacs-orgmode
Your bug report will be posted to the Org-mode mailing list.
------------------------------------------------------------------------
running org-export-as-latex on the following file works in org v7.5
and fails in org v7.7 (not sure about v7.6) with the error:
org-export-latex-preprocess: Wrong type argument: stringp, nil
==== cut here ===
* Test
#+begin_src perl
$a=[0];
#+end_src
==== end file ===
Emacs : GNU Emacs 23.3.6 (sparc-sun-solaris2.10, GTK+ Version 2.8.20)
of 2011-06-13 on localhost
Package: Org-mode version 7.7
current state:
==============
(setq
org-export-latex-default-class "my-class"
org-export-with-LaTeX-fragments nil
org-emphasis-alist '(("*" bold "<b>" "</b>") ("/" italic "<i>" "</i>")
("_" underline "<span
style=\"text-decoration:underline;\">"
"</span>")
("`" org-code "<code>" "</code>")
("=" org-code "<code>" "</code>" verbatim)
("~" org-verbatim "<code>" "</code>" verbatim)
("+" (:strike-through t) "<del>" "</del>"))
org-export-latex-after-initial-vars-hook
'(org-beamer-after-initial-vars)
org-export-latex-listings 'minted
org-startup-align-all-tables t
org-speed-command-hook '(org-speed-command-default-hook
org-babel-speed-command-hook)
org-src-fontify-natively t
org-export-latex-tables-centered nil
org-babel-load-languages '((perl . t) (dot . t) (mscgen . t) (sh . t)
(emacs-lisp . t))
org-hide-leading-stars t
org-export-html-validation-link ""
org-metaup-hook '(org-babel-load-in-session-maybe)
org-after-todo-state-change-hook '(org-clock-out-if-current)
org-babel-tangle-lang-exts '(("perl" . "pl") ("emacs-lisp" . "el"))
org-export-pdf-logfiles '("tex" "aux" "idx" "log" "out" "toc" "nav"
"snm" "vrb")
org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup)
org-startup-with-inline-images t
org-export-latex-format-toc-function 'my-toc-default
org-latex-to-pdf-process '("PDFLATEX='pdflatex -shell-escape' texi2dvi
-p -q -o %o -c %f")
org-export-time-stamp-file nil
org-src-lang-modes '(("ocaml" . tuareg) ("elisp" . emacs-lisp)
("ditaa" . artist)
("asymptote" . asy) ("dot" . graphviz-dot)
("graphviz" . graphviz-dot) ("mscgen" .
graphviz-dot)
("sql-src" . sql-edit) ("sql" . sql-edit)
("sqlite" . sql-edit) ("plantuml" . plantuml)
("calc" . fundamental))
org-tab-first-hook '(org-hide-block-toggle-maybe
org-src-native-tab-command-maybe
org-babel-hide-result-toggle-maybe)
org-src-mode-hook '((lambda nil (setq require-final-newline nil))
org-src-babel-configure-edit-buffer
org-src-mode-configure-edit-buffer)
org-confirm-shell-link-function 'yes-or-no-p
org-export-first-hook '(org-beamer-initialize-open-trackers)
org-startup-indented t
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-M-RET-may-split-line '((default))
org-babel-sh-var-quote-fmt "$(cat <<BABEL_TABLE\n%s\nBABEL_TABLE\n)"
outline-mode-hook '((lambda nil (require (quote outline-magic))
(define-key outline-minor-mode-map [(tab)]
(quote outline-cycle))
)
)
org-export-html-use-infojs nil
org-babel-pre-tangle-hook '(save-buffer)
org-cycle-hook '(org-cycle-hide-archived-subtrees
org-cycle-hide-drawers
org-cycle-show-empty-lines
org-optimize-window-after-visibility-change)
org-export-latex-classes '(("my-class"
"\\documentclass{ca-article}\n
[NO-DEFAULT-PACKAGES]\n [EXTRA]"
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" .
"\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" .
"\\subparagraph*{%s}"))
("article" "\\documentclass[11pt]{article}"
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" .
"\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" .
"\\subparagraph*{%s}"))
("report" "\\documentclass[11pt]{report}"
("\\part{%s}" . "\\part*{%s}")
("\\chapter{%s}" . "\\chapter*{%s}")
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" .
"\\subsubsection*{%s}"))
("book" "\\documentclass[11pt]{book}"
("\\part{%s}" . "\\part*{%s}")
("\\chapter{%s}" . "\\chapter*{%s}")
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" .
"\\subsubsection*{%s}"))
("beamer" "\\documentclass{beamer}"
org-beamer-sectioning)
)
org-export-preprocess-before-normalizing-links-hook
'(org-remove-file-link-modifiers)
outline-cycle-emulate-tab t
org-mode-hook '(imenu-add-menubar-index turn-on-auto-fill
expand-tabs-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-export-htmlize-output-type 'css
org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point
org-babel-execute-safely-maybe)
org-confirm-elisp-link-function 'yes-or-no-p
org-export-latex-title-command "\\maketitle\\thispagestyle{empty}"
org-export-interblocks '((lob org-babel-exp-lob-one-liners)
(src org-babel-exp-inline-src-blocks))
org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
org-babel-after-execute-hook '(org-display-inline-images)
org-occur-hook '(org-first-headline-recenter)
org-from-is-user-regexp "\\<Rick Frankel\\>"
org-export-babel-evaluate nil
org-export-preprocess-before-selecting-backend-code-hook
'(org-beamer-select-beamer-code)
org-export-with-section-numbers nil
org-confirm-babel-evaluate nil
org-modules '(org-bbdb org-bibtex org-docview org-gnus org-info
org-jsinfo org-irc
org-mew org-mhe org-rmail org-vm org-wl org-w3m)
org-infojs-options '((path . "http://orgmode.org/org-info.js") (view .
"showall")
(toc . "t") (ftoc . "0") (tdepth . "max") (sdepth
. "max")
(mouse . "underline") (buttons . "nil") (ltoc .
"nil")
(up . :link-up) (home . :link-home))
outline-minor-mode-hook '((lambda nil (require (quote outline-magic))
(define-key outline-minor-mode-map [(tab)]
(quote outline-cycle))
)
)
org-ellipsis 'org-warning
org-export-html-style-extra "\n<link rel=\"stylesheet\"
href=\"http://localhost:8080/stylesheets/default.css\" />\n<link
rel=\"stylesheet\" href=\"http://localhost:8080/stylesheets/org.css\"
/>\n<link rel=\"stylesheet\"
href=\"http://localhost:8080/stylesheets/org-ie.css\" />\n<link
rel=\"stylesheet\" href=\"extra.css\" />\n"
org-export-latex-minted-options '(("linenos" "true") ("stepnumber"
"5")
("numbersep" "0.25em") ("frame"
"leftline")
("framerule" "1pt")
("rulecolor" "\\color{framecolor}"))
org-use-sub-superscripts '{}
org-export-latex-final-hook '(my-class:org-latex-filter
org-beamer-amend-header
org-beamer-fix-toc
org-beamer-auto-fragile-frames
org-beamer-place-default-actions-for-lists)
org-metadown-hook '(org-babel-pop-to-session-maybe)
org-link-abbrev-alist '(("jira" . "https://localhost/jira/browse/"))
org-export-blocks '((src org-babel-exp-src-block nil)
(comment org-export-blocks-format-comment t)
(ditaa org-export-blocks-format-ditaa nil)
(dot org-export-blocks-format-dot nil))
)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Bug: org-export-as-latex fails [7.7]
2011-11-04 16:14 Bug: org-export-as-latex fails [7.7] Rick Frankel
@ 2011-11-05 8:15 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2011-11-05 8:15 UTC (permalink / raw)
To: Rick Frankel; +Cc: emacs-orgmode
Hello,
Rick Frankel <rick@rickster.com> writes:
> Your bug report will be posted to the Org-mode mailing list.
> ------------------------------------------------------------------------
>
> running org-export-as-latex on the following file works in org v7.5
> and fails in org v7.7 (not sure about v7.6) with the error:
>
> org-export-latex-preprocess: Wrong type argument: stringp, nil
>
> ==== cut here ===
> * Test
> #+begin_src perl
> $a=[0];
> #+end_src
> ==== end file ===
>
> Emacs : GNU Emacs 23.3.6 (sparc-sun-solaris2.10, GTK+ Version 2.8.20)
> of 2011-06-13 on localhost
> Package: Org-mode version 7.7
It's probably a false-positive footnote bug that has been fixed a while
ago in development version.
You may want either to switch to development version, or to wait
a little for Org 7.8.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-05 8:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-04 16:14 Bug: org-export-as-latex fails [7.7] Rick Frankel
2011-11-05 8:15 ` Nicolas Goaziou
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).