renard / o-blog

Standalone orgmode blog exporter. DEPECATED, NOT MAINTAINED
http://renard.github.com/o-blog-v2
260 stars 58 forks source link

v2.5: html-tag-alist #120

Closed jave closed 9 years ago

jave commented 10 years ago

undefined.

renard commented 10 years ago

This is defined in sgml-mode loaded from o-blog-entry:


(eval-when-compile
  (require 'htmlize nil t)
  (require 'sgml-mode nil t)
  (require 'cl nil t))
jave commented 10 years ago

yes I noticed, but for me, for some reason, I need to load the libs by hand.

btw why do you need the noerrors flag? Is there any point in masking errors in this case?

renard commented 10 years ago

You are right. I removed the no error flags in 9fbcaca.

renard commented 10 years ago

Found why!

In fact htmlize is not a part of Emacs /o\ my fault sorry

This hugly hack should word (please change path according your system):


EMACS=/Applications/Emacs.app/Contents/MacOS/Emacs
O_BLOG_DIR=~/.emacs.d/el-get/o-blog
HTMLiZE_DIR="~/.emacs.d/el-get/emacs-goodies-el/emacs-goodies-el/elisp/emacs-goodies-el"

$EMACS --debug-init -Q -batch \
       -L "$O_BLOG_DIR/lisp" -L "$HTMLiZE_DIR" \
       --eval "(require 'o-blog)" \
       --eval "(o-blog-publish \"$1\")"
renard commented 10 years ago

1bbcb96 export as simple pre if htmlize is not found.