From: Andrew Stribblehill <ads@wompom.org>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Org-mode version 6.30trans; HTML exporting problem
Date: Mon, 21 Sep 2009 17:03:25 +0100 [thread overview]
Message-ID: <1f38ae890909210903r7d5c3e74i2b8b19ced9e0339d@mail.gmail.com> (raw)
Emacs : GNU Emacs 23.0.60.1 (x86_64-pc-linux-gnu, GTK+ Version 2.12.9)
of 2008-03-19 on yellow, modified by Debian
Package: Org-mode version 6.30trans (git pulled this afternoon)
I have the following file:
==========================
#+BEGIN_SRC conf
CONF=/etc/passwd
EXTRAFLAGS="--snark"
#+END_SRC
==========================
When I try to export it to HTML, I get an error, "Invalid face".
Here's the backtrace:
========================
Debugger entered--Lisp error: (error "Invalid face")
internal-get-lisp-face-attribute(nil :height nil)
face-attribute(nil :height)
htmlize-face-size(default)
htmlize-face-to-fstruct(default)
htmlize-make-face-map((default font-lock-string-face
font-lock-variable-name-face))
htmlize-buffer-1()
htmlize-region(1 22)
org-export-htmlize-region-for-paste(1 22)
org-export-format-source-code-or-example(html #("conf" 0 4
(fontified t font-lock-fontified t)) #("EXTRAFLAGS=\"--snark\"\n" 0 14
(fontified t font-lock-fontified t) 14 15 (fontified t
font-lock-fontified t) 15 16 (fontified t font-lock-fontified t) 16 17
(fontified t font-lock-fontified t) 17 18 (fontified t
font-lock-fontified t) 18 19 (fontified t font-lock-fontified t) 19 20
(fontified t font-lock-fontified t) 20 21 (fontified t
font-lock-fontified t)) "" 0)
org-export-replace-src-segments-and-examples(html)
org-export-preprocess-string(#("#+BEGIN_SRC
conf\nCONF=/etc/passwd\nEXTRAFLAGS=\"--snark\"\n#+END_SRC\n" 0 16
(fontified t font-lock-fontified t auto-composed t face org-meta-line
font-lock-multiline t) 16 17 (fontified t font-lock-fontified t
auto-composed t font-lock-multiline t face org-meta-line) 17 23
(fontified t font-lock-fontified t auto-composed t font-lock-multiline
t face org-block :org-license-to-kill t) 23 24 (fontified t
font-lock-fontified t auto-composed t font-lock-multiline t face
org-block :org-license-to-kill t) 24 25 (fontified t
font-lock-fontified t auto-composed t font-lock-multiline t face
org-block :org-license-to-kill t) 25 26 (fontified t
font-lock-fontified t auto-composed t font-lock-multiline t face
org-block :org-license-to-kill t) 26 27 (fontified t
font-lock-fontified t auto-composed t font-lock-multiline t face
org-block :org-license-to-kill t) 27 28 (fontified t
font-lock-fontified t auto-composed t font-lock-multiline t face
org-block :org-license-to-kill t) 28 29 (fontified t
font-lock-fontified t auto-composed t font-lock-multiline t face
org-block :org-license-to-kill t) 29 30 (fontified t
font-lock-fontified t auto-composed t font-lock-multiline t face
org-block :org-license-to-kill t) 30 31 (fontified t
font-lock-fontified t auto-composed t font-lock-multiline t face
org-block :org-license-to-kill t) 31 32 (fontified t
font-lock-fontified t auto-composed t font-lock-multiline t face
org-block :org-license-to-kill t) 32 33 (fontified t
font-lock-fontified t auto-composed t font-lock-multiline t face
org-block :org-license-to-kill t) 33 34 (fontified t
font-lock-fontified t auto-composed t font-lock-multiline t face
org-block :org-license-to-kill t) 34 48 (fontified t
font-lock-fontified t auto-composed t font-lock-multiline t face
org-block) 48 49 (fontified t font-lock-fontified t auto-composed t
font-lock-multiline t face org-block) 49 50 (fontified t
font-lock-fontified t auto-composed t font-lock-multiline t face
org-block) 50 51 (fontified t font-lock-fontified t auto-composed t
font-lock-multiline t face org-block) 51 52 (fontified t
font-lock-fontified t auto-composed t font-lock-multiline t face
org-block) 52 53 (fontified t font-lock-fontified t auto-composed t
font-lock-multiline t face org-block) 53 54 (fontified t
font-lock-fontified t auto-composed t font-lock-multiline t face
org-block) 54 55 (fontified t font-lock-fontified t auto-composed t
font-lock-multiline t face org-meta-line) 55 64 (fontified t
font-lock-fontified t auto-composed t face org-meta-line
font-lock-multiline t) 64 65 (fontified t auto-composed t))
:emph-multiline t :for-html t :skip-before-1st-heading nil :drawers
nil :todo-keywords t :tags not-in-toc :priority nil :footnotes t
:timestamps t :archived-trees headline :select-tags ("export")
:exclude-tags ("noexport") :add-text nil :LaTeX-fragments nil)
org-export-as-html(nil nil (:buffer-will-be-killed t :base-directory
"~/org/" :base-extension "org" :publishing-directory
"~/public_html/org/" :style-include-default nil :style "<link
rel=stylesheet href=\"org.css\" type=\"text/css\">") nil nil
"/home/stribb/www/org/")
org-publish-org-to("html" (:base-directory "~/org/" :base-extension
"org" :publishing-directory "~/public_html/org/"
:style-include-default nil :style "<link rel=stylesheet
href=\"org.css\" type=\"text/css\">") "/home/stribb/org/bug.org"
"/home/stribb/www/org/")
org-publish-org-to-html((:base-directory "~/org/" :base-extension
"org" :publishing-directory "~/public_html/org/"
:style-include-default nil :style "<link rel=stylesheet
href=\"org.css\" type=\"text/css\">") "/home/stribb/org/bug.org"
"/home/stribb/www/org/")
org-publish-file("/home/stribb/org/bug.org")
byte-code(... [force org-publish-use-timestamps-flag
org-publish-file buffer-file-name] 2)
org-publish-current-file(nil)
call-interactively(org-publish-current-file)
org-export(nil)
call-interactively(org-export nil nil)
========================
current state:
==============
(setq
org-clock-in-switch-to-state "DOING"
org-todo-keyword-faces '(("BLOCKING" . org-agenda-dimmed-todo-face)
("DOING" . stribb/org-agenda-doing))
org-agenda-clockreport-parameter-plist '(:link t :maxlevel 2 :effort t)
org-agenda-custom-commands '(("U" "unscheduled TODOs" alltodo ""
((org-agenda-skip-function
(quote
(org-agenda-skip-subtree-if (quote scheduled)
(quote deadline))
)
)
)
)
("S" "snippet view" agenda ""
((org-agenda-show-log t)
(org-agenda-log-mode-items (quote (state)))
(org-agenda-archives-mode t)
(org-agenda-include-inactive-timestamps t)
(org-agenda-clockreport-mode t))
)
)
org-agenda-files '("~/org/money.org" "~/org/kill-all-gateways.org"
"~/org/notes.org" "~/org/objectives.org" "~/org/perms.org"
"~/org/todo.org" "~/org/whisky.org")
org-after-todo-state-change-hook '(org-clock-out-if-current)
org-clock-history-length 35
org-clock-in-prepare-hook '(stribb/org-mode-ask-effort)
org-babel-interpreters '("python" "sh" "emacs-lisp")
org-src-lang-modes '(("ocaml" . tuareg) ("elisp" . emacs-lisp)
("ditaa" . artist))
org-export-preprocess-hook '(org-export-blocks-preprocess)
org-tab-first-hook '(org-hide-block-toggle-maybe)
org-src-mode-hook '(org-src-mode-configure-edit-buffer)
org-confirm-shell-link-function 'yes-or-no-p
org-todo-keywords '((sequence "TODO(t)" "DOING(w!)" "|" "DONE(d!)"
"CANCELLED(c@)")
(sequence "BLOCKING(b@/!)"))
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-agenda-start-with-follow-mode t
org-default-notes-file "~/org/refile.org"
org-directory "~/org/"
org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
org-cycle-show-empty-lines
org-optimize-window-after-visibility-change)
org-publish-project-alist '(("org" :base-directory "~/org/" :base-extension
"org" :publishing-directory "~/public_html/org/"
:style-include-default nil :style
"<link rel=stylesheet href=\"org.css\" type=\"text/css\">")
)
org-refile-target-verify-function '(lambda nil
(not (member "ARCHIVE" (org-get-tags))))
org-mode-hook '((lambda nil (auto-fill-mode 1))
#[nil "\300\301\302\303\304$\207"
[org-add-hook change-major-mode-hook org-show-block-all
append local]
5]
)
org-clock-out-remove-zero-time-clocks t
org-refile-targets '((org-agenda-files :maxlevel . 2))
org-ctrl-c-ctrl-c-hook '(org-babel-lob-execute-maybe
org-babel-execute-src-block-maybe)
org-confirm-elisp-link-function 'yes-or-no-p
org-refile-use-outline-path 'file
org-log-into-drawer t
org-export-interblocks '((src org-babel-exp-inline-src-blocks)
(r org-export-interblocks-format-R)
(R org-export-interblocks-format-R))
org-occur-hook '(org-first-headline-recenter)
org-remember-templates '(("refile" 114
"* %?\n :PROPERTIES:\n :Filed: %U\n :END:\n%i\n %a" nil nil)
)
org-metadown-hook '(org-babel-pop-to-session-maybe)
org-export-blocks '((src org-babel-exp-src-blocks nil)
(comment org-export-blocks-format-comment t)
(ditaa org-export-blocks-format-ditaa nil)
(dot org-export-blocks-format-dot nil)
(r org-export-blocks-format-R nil)
(R org-export-blocks-format-R nil))
)
next reply other threads:[~2009-09-21 16:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-21 16:03 Andrew Stribblehill [this message]
2009-09-21 16:17 ` Org-mode version 6.30trans; HTML exporting problem Benjamin Andresen
2009-09-21 16:31 ` Andrew Stribblehill
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1f38ae890909210903r7d5c3e74i2b8b19ced9e0339d@mail.gmail.com \
--to=ads@wompom.org \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.