(setq custom-file "~/.emacs-custom.el") (load custom-file) (add-to-list 'load-path "~/git/org-mode/lisp/") (add-to-list 'load-path "~/git/org-mode/contrib/lisp/") (show-paren-mode 1) (menu-bar-mode 0) (set-face-foreground 'font-lock-keyword-face "DeepSkyBlue1") (set-face-foreground 'font-lock-string-face "Goldenrod") (require 'org) (require 'htmlize) ;; to have things work correctly in batch-mode (require 'font-lock) (require 'cc-mode) (require 'ox-org) (c-after-font-lock-init) (setq make-backup-files nil vc-handled-backends nil) (setq org-export-default-language "en" org-export-html-extension "html" org-export-with-timestamps nil org-export-with-section-numbers nil org-export-with-tags 'not-in-toc org-export-skip-text-before-1st-heading nil org-export-with-sub-superscripts '{} org-export-with-LaTeX-fragments t org-export-with-archived-trees nil org-export-highlight-first-table-line t org-export-latex-listings-w-names nil org-html-head-include-default-style nil org-html-head "" org-export-htmlize-output-type 'css org-startup-folded nil org-export-allow-BIND t org-publish-list-skipped-files t org-publish-use-timestamps-flag t org-export-babel-evaluate nil org-confirm-babel-evaluate nil org-export-with-broken-links t) ;; re-export everything regardless of whether or not it's been modified ;; (setq org-publish-use-timestamps-flag nil) (setq worg-base "~/git/worg/") (setq worg-htmlroot "/var/www/orgmode.org/worg/") (setq worg-base-directory worg-base) (setq worg-base-style-directory (concat worg-base "style/")) (setq worg-base-code-directory (concat worg-base "code/")) (setq worg-base-color-themes-directory (concat worg-base "color-themes/")) (setq worg-base-images-directory (concat worg-base "images/")) (setq worg-publish-directory worg-htmlroot) (setq worg-publish-style-directory (concat worg-htmlroot "style/")) (defun set-org-publish-project-alist () "Set publishing projects for Orgweb and Worg." (interactive) (setq org-publish-project-alist `(("worg" :components ("worg-org-faq" "worg-pages" "worg-code" "worg-color-themes" "worg-images" "worg-sources" "worg-extra" "worg-bibtex")) ("orgweb" :components ("orgwebpages" "orgweb-extra")) ("worg-org-faq" :base-directory ,worg-base-directory :base-extension "dummy" :include ("org-faq.org") :html-extension "html" :publishing-directory ,worg-publish-directory :publishing-function (org-html-publish-to-html) :section-numbers nil :table-of-contents nil :html-head " " :recursive t :html-preamble ,(with-temp-buffer (insert-file-contents "/home/emacs/git/worg/preamble.html") (buffer-string)) :html-postamble "
Documentation from the http://orgmode.org/worg/ website (either in its HTML form\ at or in its Org format) is licensed under the GNU Free Documentation License version 1.3 or later. The code examples and css stylesheets are licensed under the GNU General Public License v3 or later.
Documentation from the http://orgmode.org/worg/ website (either in its HTML form\ at or in its Org format) is licensed under the GNU Free Documentation License version 1.3 or later. The code examples and css stylesheets are licensed under the GNU General Public License v3 or later.