* Bug: two bugs in org-create-formula-image [7.8.02 (release_7.8.02.96.gd56da)]
@ 2011-12-31 17:43 Nick Dokos
0 siblings, 0 replies; only message in thread
From: Nick Dokos @ 2011-12-31 17:43 UTC (permalink / raw)
To: emacs-orgmode; +Cc: nicholas.dokos
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.
------------------------------------------------------------------------
There are (at least :-) ) two bugs in org-create-formula-image.
The first has to do with a failure when running emacs in batch mode to
export html where the file includes latex fragments: running
org-create-formula-image fails with "(wrong-type-argument
number-or-marker-p unspecified)". It was reported by Tom Prince - see
http://thread.gmane.org/gmane.emacs.orgmode/49252 for details. The
underlying reason is that a few variables in the function (the font
height, foreground and background colors) are undefined in batch mode,
whereas they get values from the default face in interactive mode: the
default face does not exist in batch mode.
The second bug has to do with processing latex fragments when minted is
enabled. It was reported by Ista Zahn - see
http://thread.gmane.org/gmane.emacs.orgmode/50533 for details. The
underlying reason is that latex is invoked explicitly (with
call-process) from org-create-formula-image, but without the -shell-escape
argument which is needed for minted: without it the .pyg file that is
necessary for minted processing cannot be written.
Emacs : GNU Emacs 24.0.90.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0)
of 2011-10-27 ...
Package: Org-mode version 7.8.02 (release_7.8.02.96.gd56da)
current state:
==============
(setq
org-hide-leading-stars t
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-export-latex-list-parameters '(:cbon "[{\\parbox[c]{\\wd0}{\\large$\\boxtimes$}}]" :cboff
"[{\\parbox[c]{\\wd0}{\\large$\\square$}}]" :cbtrans
"[{\\parbox[c]{\\wd0}{\\large$\\boxminus$}}]")
outline-minor-mode-hook '((lambda nil
(define-key outline-minor-mode-map [(control tab)] (quote org-cycle))
(define-key outline-minor-mode-map [(shift tab)] (quote org-global-cycle))
)
)
org-calc-default-modes '(calc-internal-prec 12 calc-float-format (float 8) calc-angle-mode deg
calc-prefer-frac nil calc-symbolic-mode nil calc-date-format
(YYYY "-" MM "-" DD " " Www (" " hh ":" mm)) calc-display-working-message t
calc-hms-format "%s:%s:%s")
org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook)
org-agenda-diary-file "~/lib/org/appts.org"
org-reverse-note-order t
org-google-weather-use-google-icons t
org-occur-hook '(org-first-headline-recenter)
org-metaup-hook '(org-babel-load-in-session-maybe)
org-agenda-start-on-weekday nil
org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers)
org-format-latex-options '(:foreground default :background default :scale 1.4 :html-foreground
"Black" :html-background "Transparent" :html-scale 1.0 :matchers
("begin" "$1" "$" "$$" "\\(" "\\["))
org-export-docbook-xslt-proc-command "xsltproc --output %o %s %i"
org-confirm-shell-link-function 'yes-or-no-p
org-export-docbook-xslt-stylesheet "/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl"
org-export-docbook-xsl-fo-proc-command "fop %i %o"
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-file-apps '(("py" . emacs) (auto-mode . emacs) ("\\.mm\\'" . default)
("\\.x?html?\\'" . default) ("\\.pdf\\'" . default))
org-special-ctrl-a/e t
org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
org-agenda-skip-scheduled-if-done t
org-agenda-custom-commands '(("x" "Stuck Projects" tags-todo "LEVEL=2-REFILE/!-DONE-CANCELLED"
((org-agenda-skip-function (quote bh/skip-non-stuck-projects))))
)
org-return-follows-link t
org-default-notes-file "~/lib/org/notes.org"
org-drawers '("SETUP" "PROPERTIES" "CLOCK" "LOGBOOK" "RESULTS")
org-after-todo-state-change-hook '(org-clock-out-if-current)
org-from-is-user-regexp "\\<Nick Dokos\\>"
org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer)
org-tags-column -120
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-babel-pre-tangle-hook '(save-buffer)
...
org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
org-confirm-babel-evaluate nil
org-publish-project-alist '(...
)
org-export-latex-classes '(("myarticle" "\\documentclass[11pt]{myarticle}"
("\\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)
("revtex4-1" "\\documentclass[11pt]{revtex4-1}"
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
)
)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-12-31 17:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-31 17:43 Bug: two bugs in org-create-formula-image [7.8.02 (release_7.8.02.96.gd56da)] Nick Dokos
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).