emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Org-mode version 5.13


From: Bastien
Subject: Re: [Orgmode] Org-mode version 5.13
Date: Sat, 20 Oct 2007 11:30:29 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (gnu/linux)

Hello all,

Carsten Dominik <address@hidden> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]