emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* HTML publishing broken?
@ 2011-08-25 12:57 Sean Whitton
  2011-08-25 13:08 ` Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: Sean Whitton @ 2011-08-25 12:57 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 368 bytes --]

All of a sudden I’m finding that my website won’t publish.  The only
change I’ve made has been setting (setq org-export-html-divs '())
because this new variable breaks my CSS otherwise.

Backtrace and page in question attached; any advice appreciated.

S

-- 
Sean Whitton / <sean@silentflame.com>
OpenPGP KeyID: 0x3B6D411B
http://sean.whitton.me/


[-- Attachment #1.2: backtrace.txt --]
[-- Type: text/plain, Size: 25437 bytes --]

Debugger entered--Lisp error: (wrong-type-argument char-or-string-p nil)
org-export-as-html(4 nil (:buffer-will-be-killed t :base-directory "~/doc/www/" :base-extension "org" :publishing-directory "/athena:htdocs/static" :recursive t :publishing-function org-publish-org-to-html :auto-sitemap t :sitemap-root "[[http://sean.whitton.me/" :sitemap-filename "sitemap.map" :sitemap-title "Sitemap" :sitemap-style (quote tree) :sitemap-sort-folders (quote last) :style "<!--<base href=\"/\" />-->\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/inc/v7.css\" media=\"screen\" />\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/inc/cols.css\" />\n  <script type=\"text/javascript\" src=\"/inc/css3-multi-column.js\"></script>" :style-include-default nil :exclude "sitemap\\|blog\\|notes" :html-preamble "  <div class=\"colmask fullpage\">\n    <div class=\"col1\">\n      <!-- Column 1 start -->\n      <h1>%t</h1>" :html-postamble "</div>\n      <!-- Column 1 end -->\n    </div>\n  </div>\n  <div class=\"colmask rightmenu\">\n    <div class=\"colleft\">\n      <div class=\"col1wrap\">\n        <div class=\"col1\">\n          <!-- Column 1 start -->\n\n     This page is part of Sean Whitton's website.  Return to\n       the <a href=\"/\">homepage</a>, visit his <a\n          href=\"http://blog.sean.whitton.me/\">blog</a>, or\n    choose from the static content below.\n\n       <div class=\"nav\">\n<!--#include virtual=\"/inc/sitemap.shtml\" -->\n          </div>\n        <!-- Column 1 end -->\n        </div>\n      </div>\n      <div class=\"col2\">\n        <!-- Column 2 start -->\n\n        Page last updated: %d.<br /><br />\n\n        E-mail author/webmaster: <img\n        src=\"http://safemail.justlikeed.net/e/5a36d58072489e3f78678e3820d15cdf.png\"\n        title=\"Email image created with\n        safemail.justlikeed.net\" alt=\"spam-protected e-mail\n        address\" style=\"vertical-align: bottom\" /><br /><br />\n\n        <div style=\"font-size: 90%%;\">XHTML generated by %c.<br /><br />\n\n        <a\n        href=\"http://validator.w3.org/check?uri=referer\"><img\n        src=\"/img/valid-xhtml10-blue.png\" alt=\"Valid XHTML 1.0\n        Strict\" height=\"31\" width=\"88\" /></a><a\n        href=\"http://www.anybrowser.org/campaign/\"><img\n        src=\"/img/anybrowser.png\" alt=\"Any Browser Campaign\"\n        height=\"31\" width=\"88\" /></a><br /><br />\n\n        &copy; 2005&ndash;2011 Sean Whitton, Some Rights\n        Reserved (see <a href=\"/geek/licensing/\">licensing</a>\n        for details).</div>\n\n   <!-- Column 2 end -->\n      </div>\n    </div>\n  </div>\n<div>" :html-extension "shtml" :headline-levels 4) nil nil "/ssh:swhitton@athena:/home/swhitton/htdocs/static/geek/")
org-publish-org-to("html" (:base-directory "~/doc/www/" :base-extension "org" :publishing-directory "/athena:htdocs/static" :recursive t :publishing-function org-publish-org-to-html :auto-sitemap t :sitemap-root "[[http://sean.whitton.me/" :sitemap-filename "sitemap.map" :sitemap-title "Sitemap" :sitemap-style (quote tree) :sitemap-sort-folders (quote last) :style "<!--<base href=\"/\" />-->\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/inc/v7.css\" media=\"screen\" />\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/inc/cols.css\" />\n  <script type=\"text/javascript\" src=\"/inc/css3-multi-column.js\"></script>" :style-include-default nil :exclude "sitemap\\|blog\\|notes" :html-preamble "  <div class=\"colmask fullpage\">\n    <div class=\"col1\">\n      <!-- Column 1 start -->\n      <h1>%t</h1>" :html-postamble "</div>\n      <!-- Column 1 end -->\n    </div>\n  </div>\n  <div class=\"colmask rightmenu\">\n    <div class=\"colleft\">\n      <div class=\"col1wrap\">\n        <div class=\"col1\">\n          <!-- Column 1 start -->\n\n     This page is part of Sean Whitton's website.  Return to\n       the <a href=\"/\">homepage</a>, visit his <a\n          href=\"http://blog.sean.whitton.me/\">blog</a>, or\n    choose from the static content below.\n\n       <div class=\"nav\">\n<!--#include virtual=\"/inc/sitemap.shtml\" -->\n          </div>\n        <!-- Column 1 end -->\n        </div>\n      </div>\n      <div class=\"col2\">\n        <!-- Column 2 start -->\n\n        Page last updated: %d.<br /><br />\n\n        E-mail author/webmaster: <img\n        src=\"http://safemail.justlikeed.net/e/5a36d58072489e3f78678e3820d15cdf.png\"\n        title=\"Email image created with\n        safemail.justlikeed.net\" alt=\"spam-protected e-mail\n        address\" style=\"vertical-align: bottom\" /><br /><br />\n\n        <div style=\"font-size: 90%%;\">XHTML generated by %c.<br /><br />\n\n        <a\n        href=\"http://validator.w3.org/check?uri=referer\"><img\n        src=\"/img/valid-xhtml10-blue.png\" alt=\"Valid XHTML 1.0\n        Strict\" height=\"31\" width=\"88\" /></a><a\n        href=\"http://www.anybrowser.org/campaign/\"><img\n        src=\"/img/anybrowser.png\" alt=\"Any Browser Campaign\"\n        height=\"31\" width=\"88\" /></a><br /><br />\n\n        &copy; 2005&ndash;2011 Sean Whitton, Some Rights\n        Reserved (see <a href=\"/geek/licensing/\">licensing</a>\n        for details).</div>\n\n   <!-- Column 2 end -->\n      </div>\n    </div>\n  </div>\n<div>" :html-extension "shtml" :headline-levels 4) "/home/swhitton/doc/www/geek/pastebin.org" "/ssh:swhitton@athena:/home/swhitton/htdocs/static/geek/")
ad-Orig-org-publish-org-to-html((:base-directory "~/doc/www/" :base-extension "org" :publishing-directory "/athena:htdocs/static" :recursive t :publishing-function org-publish-org-to-html :auto-sitemap t :sitemap-root "[[http://sean.whitton.me/" :sitemap-filename "sitemap.map" :sitemap-title "Sitemap" :sitemap-style (quote tree) :sitemap-sort-folders (quote last) :style "<!--<base href=\"/\" />-->\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/inc/v7.css\" media=\"screen\" />\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/inc/cols.css\" />\n  <script type=\"text/javascript\" src=\"/inc/css3-multi-column.js\"></script>" :style-include-default nil :exclude "sitemap\\|blog\\|notes" :html-preamble "  <div class=\"colmask fullpage\">\n    <div class=\"col1\">\n      <!-- Column 1 start -->\n      <h1>%t</h1>" :html-postamble "</div>\n      <!-- Column 1 end -->\n    </div>\n  </div>\n  <div class=\"colmask rightmenu\">\n    <div class=\"colleft\">\n      <div class=\"col1wrap\">\n        <div class=\"col1\">\n          <!-- Column 1 start -->\n\n       This page is part of Sean Whitton's website.  Return to\n       the <a href=\"/\">homepage</a>, visit his <a\n          href=\"http://blog.sean.whitton.me/\">blog</a>, or\n    choose from the static content below.\n\n       <div class=\"nav\">\n<!--#include virtual=\"/inc/sitemap.shtml\" -->\n          </div>\n        <!-- Column 1 end -->\n        </div>\n      </div>\n      <div class=\"col2\">\n        <!-- Column 2 start -->\n\n        Page last updated: %d.<br /><br />\n\n        E-mail author/webmaster: <img\n        src=\"http://safemail.justlikeed.net/e/5a36d58072489e3f78678e3820d15cdf.png\"\n        title=\"Email image created with\n        safemail.justlikeed.net\" alt=\"spam-protected e-mail\n        address\" style=\"vertical-align: bottom\" /><br /><br />\n\n        <div style=\"font-size: 90%%;\">XHTML generated by %c.<br /><br />\n\n        <a\n        href=\"http://validator.w3.org/check?uri=referer\"><img\n        src=\"/img/valid-xhtml10-blue.png\" alt=\"Valid XHTML 1.0\n        Strict\" height=\"31\" width=\"88\" /></a><a\n        href=\"http://www.anybrowser.org/campaign/\"><img\n        src=\"/img/anybrowser.png\" alt=\"Any Browser Campaign\"\n        height=\"31\" width=\"88\" /></a><br /><br />\n\n        &copy; 2005&ndash;2011 Sean Whitton, Some Rights\n        Reserved (see <a href=\"/geek/licensing/\">licensing</a>\n        for details).</div>\n\n   <!-- Column 2 end -->\n      </div>\n    </div>\n  </div>\n<div>" :html-extension "shtml" :headline-levels 4) "/home/swhitton/doc/www/geek/pastebin.org" "/ssh:swhitton@athena:/home/swhitton/htdocs/static/geek/")
org-publish-org-to-html((:base-directory "~/doc/www/" :base-extension "org" :publishing-directory "/athena:htdocs/static" :recursive t :publishing-function org-publish-org-to-html :auto-sitemap t :sitemap-root "[[http://sean.whitton.me/" :sitemap-filename "sitemap.map" :sitemap-title "Sitemap" :sitemap-style (quote tree) :sitemap-sort-folders (quote last) :style "<!--<base href=\"/\" />-->\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/inc/v7.css\" media=\"screen\" />\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/inc/cols.css\" />\n  <script type=\"text/javascript\" src=\"/inc/css3-multi-column.js\"></script>" :style-include-default nil :exclude "sitemap\\|blog\\|notes" :html-preamble "  <div class=\"colmask fullpage\">\n    <div class=\"col1\">\n      <!-- Column 1 start -->\n      <h1>%t</h1>" :html-postamble "</div>\n      <!-- Column 1 end -->\n    </div>\n  </div>\n  <div class=\"colmask rightmenu\">\n    <div class=\"colleft\">\n      <div class=\"col1wrap\">\n        <div class=\"col1\">\n          <!-- Column 1 start -->\n\n       This page is part of Sean Whitton's website.  Return to\n       the <a href=\"/\">homepage</a>, visit his <a\n          href=\"http://blog.sean.whitton.me/\">blog</a>, or\n    choose from the static content below.\n\n       <div class=\"nav\">\n<!--#include virtual=\"/inc/sitemap.shtml\" -->\n          </div>\n        <!-- Column 1 end -->\n        </div>\n      </div>\n      <div class=\"col2\">\n        <!-- Column 2 start -->\n\n        Page last updated: %d.<br /><br />\n\n        E-mail author/webmaster: <img\n        src=\"http://safemail.justlikeed.net/e/5a36d58072489e3f78678e3820d15cdf.png\"\n        title=\"Email image created with\n        safemail.justlikeed.net\" alt=\"spam-protected e-mail\n        address\" style=\"vertical-align: bottom\" /><br /><br />\n\n        <div style=\"font-size: 90%%;\">XHTML generated by %c.<br /><br />\n\n        <a\n        href=\"http://validator.w3.org/check?uri=referer\"><img\n        src=\"/img/valid-xhtml10-blue.png\" alt=\"Valid XHTML 1.0\n        Strict\" height=\"31\" width=\"88\" /></a><a\n        href=\"http://www.anybrowser.org/campaign/\"><img\n        src=\"/img/anybrowser.png\" alt=\"Any Browser Campaign\"\n        height=\"31\" width=\"88\" /></a><br /><br />\n\n        &copy; 2005&ndash;2011 Sean Whitton, Some Rights\n        Reserved (see <a href=\"/geek/licensing/\">licensing</a>\n        for details).</div>\n\n   <!-- Column 2 end -->\n      </div>\n    </div>\n  </div>\n<div>" :html-extension "shtml" :headline-levels 4) "/home/swhitton/doc/www/geek/pastebin.org" "/ssh:swhitton@athena:/home/swhitton/htdocs/static/geek/")
org-publish-file("/home/swhitton/doc/www/geek/pastebin.org" ("spw-org" :base-directory "~/doc/www/" :base-extension "org" :publishing-directory "/athena:htdocs/static" :recursive t :publishing-function org-publish-org-to-html :auto-sitemap t :sitemap-root "[[http://sean.whitton.me/" :sitemap-filename "sitemap.map" :sitemap-title "Sitemap" :sitemap-style (quote tree) :sitemap-sort-folders (quote last) :style "<!--<base href=\"/\" />-->\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/inc/v7.css\" media=\"screen\" />\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/inc/cols.css\" />\n  <script type=\"text/javascript\" src=\"/inc/css3-multi-column.js\"></script>" :style-include-default nil :exclude "sitemap\\|blog\\|notes" :html-preamble "  <div class=\"colmask fullpage\">\n    <div class=\"col1\">\n      <!-- Column 1 start -->\n      <h1>%t</h1>" :html-postamble "</div>\n      <!-- Column 1 end -->\n    </div>\n  </div>\n  <div class=\"colmask rightmenu\">\n    <div class=\"colleft\">\n      <div class=\"col1wrap\">\n        <div class=\"col1\">\n          <!-- Column 1 start -->\n\n         This page is part of Sean Whitton's website.  Return to\n       the <a href=\"/\">homepage</a>, visit his <a\n          href=\"http://blog.sean.whitton.me/\">blog</a>, or\n    choose from the static content below.\n\n       <div class=\"nav\">\n<!--#include virtual=\"/inc/sitemap.shtml\" -->\n          </div>\n        <!-- Column 1 end -->\n        </div>\n      </div>\n      <div class=\"col2\">\n        <!-- Column 2 start -->\n\n        Page last updated: %d.<br /><br />\n\n        E-mail author/webmaster: <img\n        src=\"http://safemail.justlikeed.net/e/5a36d58072489e3f78678e3820d15cdf.png\"\n        title=\"Email image created with\n        safemail.justlikeed.net\" alt=\"spam-protected e-mail\n        address\" style=\"vertical-align: bottom\" /><br /><br />\n\n        <div style=\"font-size: 90%%;\">XHTML generated by %c.<br /><br />\n\n        <a\n        href=\"http://validator.w3.org/check?uri=referer\"><img\n        src=\"/img/valid-xhtml10-blue.png\" alt=\"Valid XHTML 1.0\n        Strict\" height=\"31\" width=\"88\" /></a><a\n        href=\"http://www.anybrowser.org/campaign/\"><img\n        src=\"/img/anybrowser.png\" alt=\"Any Browser Campaign\"\n        height=\"31\" width=\"88\" /></a><br /><br />\n\n        &copy; 2005&ndash;2011 Sean Whitton, Some Rights\n        Reserved (see <a href=\"/geek/licensing/\">licensing</a>\n        for details).</div>\n\n   <!-- Column 2 end -->\n      </div>\n    </div>\n  </div>\n<div>" :html-extension "shtml" :headline-levels 4) t)
#[(project) "\306\b@!\210\bA\x19\307      \310\"\x1a\307    \311\"^[\307    \312\"\206\x1a\0\313\x1c\307        \314\"\206#\0\315\x1d\307 \316\"\206-\0\x0e\x1f\x1e \307        \317\"\2068\0\x0e!\x1e\"\307        \320\"\x1e\x15\307  \321\"\x1e\x1d\322\b\n\"\x1e#\323\x1e$\x0e\x15\203X\0\324\325!\210\v\203a\0\r\b\f\"\210\x0e#\211A\x16#@\211\x16$\203x\0\326\x0e$\b\327#\210\202a\0\307      \330\"\203\222\0\331\307        \332\"!\210\326\333\334\307     \332\"\"\b\327#\210\x0e\x1d\203\233\0\324\335!\210\336 .\v\207" [project project-plist exclude-regexp sitemap-p sitemap-filename sitemap-function org-publish-initialize-cache plist-get :exclude :auto-sitemap :sitemap-filename "sitemap.org" :sitemap-function org-publish-org-sitemap :sitemap-date-format :sitemap-file-entry-format :preparation-function :completion-function org-publish-get-base-files nil run-hooks preparation-function org-publish-file t :makeindex org-publish-index-generate-theindex :base-directory expand-file-name "theindex.org" completion-function org-publish-write-cache-file org-publish-sitemap-date-format org-sitemap-date-format org-publish-sitemap-file-entry-format org-sitemap-file-entry-format files file] 6](("spw-org" :base-directory "~/doc/www/" :base-extension "org" :publishing-directory "/athena:htdocs/static" :recursive t :publishing-function org-publish-org-to-html :auto-sitemap t :sitemap-root "[[http://sean.whitton.me/" :sitemap-filename "sitemap.map" :sitemap-title "Sitemap" :sitemap-style (quote tree) :sitemap-sort-folders (quote last) :style "<!--<base href=\"/\" />-->\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/inc/v7.css\" media=\"screen\" />\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/inc/cols.css\" />\n  <script type=\"text/javascript\" src=\"/inc/css3-multi-column.js\"></script>" :style-include-default nil :exclude "sitemap\\|blog\\|notes" :html-preamble "  <div class=\"colmask fullpage\">\n    <div class=\"col1\">\n      <!-- Column 1 start -->\n      <h1>%t</h1>" :html-postamble "</div>\n      <!-- Column 1 end -->\n    </div>\n  </div>\n  <div class=\"colmask rightmenu\">\n    <div class=\"colleft\">\n      <div class=\"col1wrap\">\n        <div class=\"col1\">\n          <!-- Column 1 start -->\n\n        This page is part of Sean Whitton's website.  Return to\n       the <a href=\"/\">homepage</a>, visit his <a\n          href=\"http://blog.sean.whitton.me/\">blog</a>, or\n    choose from the static content below.\n\n       <div class=\"nav\">\n<!--#include virtual=\"/inc/sitemap.shtml\" -->\n          </div>\n        <!-- Column 1 end -->\n        </div>\n      </div>\n      <div class=\"col2\">\n        <!-- Column 2 start -->\n\n        Page last updated: %d.<br /><br />\n\n        E-mail author/webmaster: <img\n        src=\"http://safemail.justlikeed.net/e/5a36d58072489e3f78678e3820d15cdf.png\"\n        title=\"Email image created with\n        safemail.justlikeed.net\" alt=\"spam-protected e-mail\n        address\" style=\"vertical-align: bottom\" /><br /><br />\n\n        <div style=\"font-size: 90%%;\">XHTML generated by %c.<br /><br />\n\n        <a\n        href=\"http://validator.w3.org/check?uri=referer\"><img\n        src=\"/img/valid-xhtml10-blue.png\" alt=\"Valid XHTML 1.0\n        Strict\" height=\"31\" width=\"88\" /></a><a\n        href=\"http://www.anybrowser.org/campaign/\"><img\n        src=\"/img/anybrowser.png\" alt=\"Any Browser Campaign\"\n        height=\"31\" width=\"88\" /></a><br /><br />\n\n        &copy; 2005&ndash;2011 Sean Whitton, Some Rights\n        Reserved (see <a href=\"/geek/licensing/\">licensing</a>\n        for details).</div>\n\n   <!-- Column 2 end -->\n      </div>\n    </div>\n  </div>\n<div>" :html-extension "shtml" :headline-levels 4))
mapc(#[(project) "\306\b@!\210\bA\x19\307 \310\"\x1a\307    \311\"^[\307    \312\"\206\x1a\0\313\x1c\307        \314\"\206#\0\315\x1d\307 \316\"\206-\0\x0e\x1f\x1e \307        \317\"\2068\0\x0e!\x1e\"\307        \320\"\x1e\x15\307  \321\"\x1e\x1d\322\b\n\"\x1e#\323\x1e$\x0e\x15\203X\0\324\325!\210\v\203a\0\r\b\f\"\210\x0e#\211A\x16#@\211\x16$\203x\0\326\x0e$\b\327#\210\202a\0\307      \330\"\203\222\0\331\307        \332\"!\210\326\333\334\307     \332\"\"\b\327#\210\x0e\x1d\203\233\0\324\335!\210\336 .\v\207" [project project-plist exclude-regexp sitemap-p sitemap-filename sitemap-function org-publish-initialize-cache plist-get :exclude :auto-sitemap :sitemap-filename "sitemap.org" :sitemap-function org-publish-org-sitemap :sitemap-date-format :sitemap-file-entry-format :preparation-function :completion-function org-publish-get-base-files nil run-hooks preparation-function org-publish-file t :makeindex org-publish-index-generate-theindex :base-directory expand-file-name "theindex.org" completion-function org-publish-write-cache-file org-publish-sitemap-date-format org-sitemap-date-format org-publish-sitemap-file-entry-format org-sitemap-file-entry-format files file] 6] (("spw-org" :base-directory "~/doc/www/" :base-extension "org" :publishing-directory "/athena:htdocs/static" :recursive t :publishing-function org-publish-org-to-html :auto-sitemap t :sitemap-root "[[http://sean.whitton.me/" :sitemap-filename "sitemap.map" :sitemap-title "Sitemap" :sitemap-style (quote tree) :sitemap-sort-folders (quote last) :style "<!--<base href=\"/\" />-->\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/inc/v7.css\" media=\"screen\" />\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/inc/cols.css\" />\n  <script type=\"text/javascript\" src=\"/inc/css3-multi-column.js\"></script>" :style-include-default nil :exclude "sitemap\\|blog\\|notes" :html-preamble "  <div class=\"colmask fullpage\">\n    <div class=\"col1\">\n      <!-- Column 1 start -->\n      <h1>%t</h1>" :html-postamble "</div>\n      <!-- Column 1 end -->\n    </div>\n  </div>\n  <div class=\"colmask rightmenu\">\n    <div class=\"colleft\">\n      <div class=\"col1wrap\">\n        <div class=\"col1\">\n          <!-- Column 1 start -->\n\n       This page is part of Sean Whitton's website.  Return to\n       the <a href=\"/\">homepage</a>, visit his <a\n          href=\"http://blog.sean.whitton.me/\">blog</a>, or\n    choose from the static content below.\n\n       <div class=\"nav\">\n<!--#include virtual=\"/inc/sitemap.shtml\" -->\n          </div>\n        <!-- Column 1 end -->\n        </div>\n      </div>\n      <div class=\"col2\">\n        <!-- Column 2 start -->\n\n        Page last updated: %d.<br /><br />\n\n        E-mail author/webmaster: <img\n        src=\"http://safemail.justlikeed.net/e/5a36d58072489e3f78678e3820d15cdf.png\"\n        title=\"Email image created with\n        safemail.justlikeed.net\" alt=\"spam-protected e-mail\n        address\" style=\"vertical-align: bottom\" /><br /><br />\n\n        <div style=\"font-size: 90%%;\">XHTML generated by %c.<br /><br />\n\n        <a\n        href=\"http://validator.w3.org/check?uri=referer\"><img\n        src=\"/img/valid-xhtml10-blue.png\" alt=\"Valid XHTML 1.0\n        Strict\" height=\"31\" width=\"88\" /></a><a\n        href=\"http://www.anybrowser.org/campaign/\"><img\n        src=\"/img/anybrowser.png\" alt=\"Any Browser Campaign\"\n        height=\"31\" width=\"88\" /></a><br /><br />\n\n        &copy; 2005&ndash;2011 Sean Whitton, Some Rights\n        Reserved (see <a href=\"/geek/licensing/\">licensing</a>\n        for details).</div>\n\n   <!-- Column 2 end -->\n      </div>\n    </div>\n  </div>\n<div>" :html-extension "shtml" :headline-levels 4) ("spw-static" :base-directory "~/doc/www/" :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf\\|inc\\|html\\|htm\\|el\\|py\\|diff\\|patch" :publishing-directory "/athena:htdocs/static" :recursive t :publishing-function org-publish-attachment :exclude "sitemap\\|blog\\|notes") ("spw-sitemap" :base-directory "~/doc/www/" :base-extension "map" :publishing-directory "/athena:htdocs/static/inc" :publishing-function org-publish-org-to-html :body-only t :html-extension "shtml" :sitemap-root "[[http://sean.whitton.me/") ("raven-org" :base-directory "~/doc/www/" :base-extension "org" :publishing-directory "/raven:htdocs" :recursive t :publishing-function org-publish-org-to-html :auto-sitemap t :sitemap-root "[[http://users.ox.ac.uk/~ball3162/" :sitemap-filename "sitemap.map" :sitemap-title "Sitemap" :sitemap-style (quote tree) :sitemap-sort-folders (quote last) :style "<!--<base href=\"/~ball3162/\" />-->\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/~ball3162/inc/v7.css\" media=\"screen\" />\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/~ball3162/inc/cols.css\" />\n  <script type=\"text/javascript\" src=\"/~ball3162/inc/css3-multi-column.js\"></script>" :style-include-default nil :exclude "sitemap\\|blog\\|notes" :html-preamble "  <div class=\"colmask fullpage\">\n    <div class=\"col1\">\n      <!-- Column 1 start -->\n      <h1>%t</h1>" :html-postamble "</div>\n      <!-- Column 1 end -->\n    </div>\n  </div>\n  <div class=\"colmask rightmenu\">\n    <div class=\"colleft\">\n      <div class=\"col1wrap\">p\n        <div class=\"col1\">\n          <!-- Column 1 start -->\n\n    This page is part of Sean Whitton's website.  Return to\n       the <a href=\"/~ball3162/\">homepage</a>, visit his <a\n        href=\"http://blog.sean.whitton.me/\">blog</a> or\n     choose from the static content below.\n\n       <div class=\"nav\">\n<!--#include virtual=\"/~ball3162/inc/sitemap.shtml\" -->\n          </div>\n      <!-- Column 1 end -->\n        </div>\n      </div>\n      <div class=\"col2\">\n        <!-- Column 2 start -->\n\n        <em>You are viewing a mirror copy of this website.  <a href=\"http://sean.whitton.me<!--#echo var=\"DOCUMENT_URI\" -->\">Click here</a> to see the original page.</em><br /><br />\n\n        Page last updated: %d.<br /><br />\n\n        E-mail author/webmaster: <img\n        src=\"http://safemail.justlikeed.net/e/5a36d58072489e3f78678e3820d15cdf.png\"\n        title=\"Email image created with\n        safemail.justlikeed.net\" alt=\"spam-protected e-mail\n        address\" style=\"vertical-align: bottom\" /><br /><br />\n\n        <div style=\"font-size: 90%%;\">XHTML generated by %c.<br /><br />\n\n        <a\n        href=\"http://validator.w3.org/check?uri=referer\"><img\n        src=\"/~ball3162/img/valid-xhtml10-blue.png\" alt=\"Valid XHTML 1.0\n        Strict\" height=\"31\" width=\"88\" /></a><a\n        href=\"http://www.anybrowser.org/campaign/\"><img\n        src=\"/~ball3162/img/anybrowser.png\" alt=\"Any Browser Campaign\"\n        height=\"31\" width=\"88\" /></a><br /><br />\n\n        &copy; 2005&ndash;2011 Sean Whitton, Some Rights\n        Reserved (see <a href=\"/~ball3162/geek/licensing/\">licensing</a>\n        for details).</div>\n\n       <!-- Column 2 end -->\n      </div>\n    </div>\n  </div>\n<div>" :html-extension "shtml" :headline-levels 4) ("raven-static" :base-directory "~/doc/www/" :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf\\|inc\\|html\\|htm\\|el\\|py\\|diff\\|patch" :publishing-directory "/raven:htdocs" :recursive t :publishing-function org-publish-attachment :exclude "sitemap\\|blog\\|notes") ("raven-sitemap" :base-directory "~/doc/www/" :base-extension "map" :publishing-directory "/raven:htdocs/inc" :publishing-function org-publish-org-to-html :body-only t :html-extension "shtml" :sitemap-root "[[http://users.ox.ac.uk/~ball3162/")))
org-publish-projects((("spw" :components ("spw-org" "spw-static" "spw-sitemap" "raven-org" "raven-static" "raven-sitemap"))))
byte-code("\b?\205\x06\0  \x19\304\n;\203\x15\0\305\n\v\"C\202\x17\0\nC!)\207" [force org-publish-use-timestamps-flag project org-publish-project-alist org-publish-projects assoc] 4)
org-publish(("spw" :components ("spw-org" "spw-static" "spw-sitemap" "raven-org" "raven-static" "raven-sitemap")))
byte-code("\303\304 \305\"\b?\205\v\0   \x19\211\x1a\204\x17\0\306\307\304 \"\210\310\n!*\207" [force org-publish-use-timestamps-flag project org-publish-get-project-from-filename buffer-file-name up error "File %s is not part of any known project" org-publish] 4)
org-publish-current-project((4))
call-interactively(org-publish-current-project)
org-export((4))
call-interactively(org-export nil nil)

[-- Attachment #1.3: pastebin.org --]
[-- Type: text/plain, Size: 376 bytes --]

#+TITLE: Pastebin

This is where I paste things that I want $\LaTeX$ conversion or syntax
highlighting on.

-----

Line numbers test:

#+BEGIN_SRC emacs-lisp +n
(defun my function ())
#+END_SRC

inline comment

#+BEGIN_SRC emacs-lisp +n
  (do-stuff) (ref:reftest)
#+END_SRC

We can [[(reftest)][refer to a line]].

<Thumper_> seanw: This is *bold* and this is \ast{}not\ast{}

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: HTML publishing broken?
  2011-08-25 12:57 HTML publishing broken? Sean Whitton
@ 2011-08-25 13:08 ` Bastien
  2011-08-25 14:16   ` Sean Whitton
  0 siblings, 1 reply; 4+ messages in thread
From: Bastien @ 2011-08-25 13:08 UTC (permalink / raw)
  To: Sean Whitton; +Cc: emacs-orgmode

Hi Sean,

Sean Whitton <sean@silentflame.com> writes:

> All of a sudden I’m finding that my website won’t publish.  The only
> change I’ve made has been setting (setq org-export-html-divs '())
> because this new variable breaks my CSS otherwise.

Can you try (setq org-export-html-divs '("" "" "")) and report?

Thanks,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: HTML publishing broken?
  2011-08-25 13:08 ` Bastien
@ 2011-08-25 14:16   ` Sean Whitton
  2011-08-25 14:25     ` Jambunathan K
  0 siblings, 1 reply; 4+ messages in thread
From: Sean Whitton @ 2011-08-25 14:16 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 977 bytes --]

Hi Bastien,

On Thu, Aug 25, 2011 at 03:08:38PM +0200, Bastien wrote:
> Sean Whitton <sean@silentflame.com> writes:
> 
> > All of a sudden I’m finding that my website won’t publish.  The only
> > change I’ve made has been setting (setq org-export-html-divs '())
> > because this new variable breaks my CSS otherwise.
> 
> Can you try (setq org-export-html-divs '("" "" "")) and report?

This makes the export work again, but I get a div with class "" again
where the preamble div used to be.  And further this seems to duplicate
my page title, in the preamble and then at the top of the content div
(which *does* have a class="content").  See
http://sean.whitton.me/geek/pastebin.shtml

Is it no longer possible to drop these three divs in this version of
Org?  I can work round this by putting </div>s in my preamble I guess.

Thanks for your help.

-- 
Sean Whitton / <sean@silentflame.com>
OpenPGP KeyID: 0x3B6D411B
http://sean.whitton.me/


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: HTML publishing broken?
  2011-08-25 14:16   ` Sean Whitton
@ 2011-08-25 14:25     ` Jambunathan K
  0 siblings, 0 replies; 4+ messages in thread
From: Jambunathan K @ 2011-08-25 14:25 UTC (permalink / raw)
  To: emacs-orgmode


Bastien

There has been too much churn around this area. Let me raise my voice
 again. Don't define variables. Define hooks, sexps or functions. Give
 enough ropes to the user. 

Patiently consider my inputs on s5 exporting. Make the div elements take
attrs. You have earlier dismissed my inputs as complicated and proceeded
ahead with a fix. There is room for improvement.

ps: I don't intend to provide a patch for this.

Jambunathan K.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-08-25 14:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-25 12:57 HTML publishing broken? Sean Whitton
2011-08-25 13:08 ` Bastien
2011-08-25 14:16   ` Sean Whitton
2011-08-25 14:25     ` Jambunathan K

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).