Hello all,
Carsten Dominik <[EMAIL PROTECTED]> writes:
> - The table of context is wrapped into a div with a class
> "table-of-contents".
This should be "id", not "class", since there is only one instance of
the table of contents - fixed in the proposed patch.
> - The outline structure is embedded in <div> elements with
> classes "outline-1", "outline-2" etc.
Classes are ok here.
> - The postamble, containing the author information and the
> date is wrapped into a div with class "postamble".
There was a small typo for the <div> of the postamble, this patch also
fixes it.
diff -u /home/guerry/elisp/testing/org/org.el /home/guerry/elisp/testing/bzg/org.el
--- /home/guerry/elisp/testing/org/org.el 2007-10-19 15:44:15.000000000 +0100
+++ /home/guerry/elisp/testing/bzg/org.el 2007-10-20 11:26:28.000000000 +0100
@@ -23830,7 +23830,7 @@
(unless body-only
(when (plist-get opt-plist :auto-postamble)
- (insert "<div=\"postamble\">")
+ (insert "<div id=\"postamble\">")
(when (and org-export-author-info author)
(insert "<p class=\"author\"> "
(nth 1 lang-words) ": " author "\n")
@@ -23866,7 +23866,7 @@
(when (looking-at "\\s-*</p>")
(goto-char (match-end 0))
(insert "\n")))
- (insert "<div class=\"table-of-contents\">\n")
+ (insert "<div id=\"table-of-contents\">\n")
(mapc 'insert thetoc)
(insert "</div>\n"))
;; remove empty paragraphs and lists
Diff finished. Sat Oct 20 11:29:17 2007
--
Bastien
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode