From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Valid XHTML Date: Fri, 31 Oct 2008 20:54:28 +0100 Message-ID: <490B6274.8090507@gmx.de> Reply-To: sebastian_rose@gmx.de Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050103030503060800070604" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kw04W-0000du-1w for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 15:54:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kw04V-0000cq-6O for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 15:54:15 -0400 Received: from [199.232.76.173] (port=38262 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kw04V-0000ch-0C for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 15:54:15 -0400 Received: from mail.gmx.net ([213.165.64.20]:54797) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Kw04U-0001Z9-Hf for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 15:54:15 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "[emacs-orgmode]" This is a multi-part message in MIME format. --------------050103030503060800070604 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi, I'm currently writing a fulltext search engine for Org's XHTML export. Export is not valid XHTML: 1.) CDATA: should be: Fix appended: - patch-missing-cdata-style.patch (org-exp.el) 2.) Missing quotes: should be: My fault. I copied and pasted. Fixes appended: - patch-stylesheet-missing-quotes.patch (org-publish.el, doc strings) - patch-stylesheet-missing-quotes-texi.patch (org.texi) 4.) missing entities in link texts (not the URL): http://xy.com/foo.php?f=1&t=bar should be: http://xy.com/foo.php?f=1&t=bar Not shure how to this in org-exp.el, org-export-as-html - is there a function I should use? 5.) index file is not well-formed XML: sitemap.html:291: parser error : Opening and ending tag mismatch: body line 43 and div ^ sitemap.html:297: parser error : Opening and ending tag mismatch: html line 3 and body ^ sitemap.html:298: parser error : Extra content at the end of the document ^ Seems there is one '' too much. It's the directly after the (never opened after title) Two possible fixes:

Sitemap

/* <- either insert this one */
    ...
/* <- or delete this one */ Last but not least, a general question: * Problem with xmllint: Not defined entities: - … - — - mayby more Not shure, how to fix this. http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd already includes these: http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent http://www.w3.org/TR/xhtml1/DTD/xhtml-symbol.ent http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent But: xmllint --dtdvalid http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd index.html gives me lots of errors for not defined enities. Regards, Sebastian --------------050103030503060800070604 Content-Type: text/x-patch; name="patch-stylesheets-missing-quotes.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch-stylesheets-missing-quotes.patch" diff --git a/lisp/org-publish.el b/lisp/org-publish.el index e0cf4bd..db09e17 100644 --- a/lisp/org-publish.el +++ b/lisp/org-publish.el @@ -75,4 +75,4 @@ ;; :with-section-numbers nil ;; :table-of-contents nil ;; :recursive t -;; :style ""))) +;; :style ""))) ;;;; More complex example configuration: @@ -103,7 +103,7 @@ ;; :headline-levels 3 ;; :with-section-numbers nil ;; :table-of-contents nil -;; :style "" +;; :style "" ;; :auto-preamble t ;; :auto-postamble nil) ;; ("images" :base-directory "~/images/" --------------050103030503060800070604 Content-Type: text/x-patch; name="patch-stylesheets-missing-quotes-texi.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch-stylesheets-missing-quotes-texi.patch" diff --git a/doc/org.texi b/doc/org.texi index b675d92..b623b3e 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -8212,7 +8212,7 @@ directory on the local machine. :publishing-directory "~/public_html" :section-numbers nil :table-of-contents nil - :style ""))) @end lisp @@ -8249,7 +8249,7 @@ right place on the web server, and publishing images to it. :headline-levels 3 :section-numbers nil :table-of-contents nil - :style "" :auto-preamble t :auto-postamble nil) --------------050103030503060800070604 Content-Type: text/x-patch; name="patch-missing-cdata.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch-missing-cdata.patch" diff --git a/lisp/org-exp.el b/lisp/org-exp.el index e680be0..ac59bab 100644 --- a/lisp/org-exp.el +++ b/lisp/org-exp.el @@ -492,6 +492,7 @@ Org-mode file." (defconst org-export-html-style-default "" "The default style specification for exported HTML files. Please use the variables `org-export-html-style' and @@ -547,11 +548,13 @@ you should consider to include definitions for the following classes: For example, a valid value would be: If you'd like to refer to en external style file, use something like --------------050103030503060800070604 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --------------050103030503060800070604-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Valid XHTML Date: Sun, 26 Oct 2008 22:44:38 +0100 Message-ID: <4904E4C6.4080404@gmx.de> References: <490B6274.8090507@gmx.de> Reply-To: sebastian_rose@gmx.de Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kw0r8-0007Uy-OY for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 16:44:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kw0r4-0007US-CH for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 16:44:29 -0400 Received: from [199.232.76.173] (port=52572 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kw0r4-0007UP-6d for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 16:44:26 -0400 Received: from mail.gmx.net ([213.165.64.20]:50311) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Kw0r3-00021P-VE for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 16:44:26 -0400 In-Reply-To: <490B6274.8090507@gmx.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "[emacs-orgmode]" The entities errors go away, if the rest of the file is valid. Sebastian Rose wrote: > Last but not least, a general question: > > * Problem with xmllint: > > Not defined entities: > > - … > - — > - mayby more > > Not shure, how to fix this. > > http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd > already includes these: > > http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent > http://www.w3.org/TR/xhtml1/DTD/xhtml-symbol.ent > http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent > > > But: > > xmllint --dtdvalid http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd > index.html > > gives me lots of errors for not defined enities. But one more: To be valid, this link here: x.php?a=b&c=d should be: x.php?a=b&c=d ^ ^ urlencoded--------' entities--' Regards, Sebastian From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Valid XHTML Date: Sun, 26 Oct 2008 23:04:05 +0100 Message-ID: <4904E955.8010404@gmx.de> References: <490B6274.8090507@gmx.de> <4904E4C6.4080404@gmx.de> Reply-To: sebastian_rose@gmx.de Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kw19y-0006qV-Vo for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 17:03:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kw19u-0006mM-3T for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 17:03:58 -0400 Received: from [199.232.76.173] (port=48088 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kw19t-0006m7-TO for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 17:03:53 -0400 Received: from mail.gmx.net ([213.165.64.20]:40687) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Kw19t-00056X-MS for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 17:03:54 -0400 In-Reply-To: <4904E4C6.4080404@gmx.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "[emacs-orgmode]" I Hope this is the rest of all possible errors :-) index.html:583: element p: validity error : Element pre is not declared in p list of possible children index.html:583: element p: validity error : Element pre is not declared in p list of possible children index.html:826: element p: validity error : Element hr is not declared in p list of possible children index.html:1406: element p: validity error : Element u is not declared in p list of possible children index.html:1407: element u: validity error : No declaration for element u index.html:1448: element p: validity error : Element pre is not declared in p list of possible children index.html:1458: element p: validity error : Element pre is not declared in p list of possible children index.html:1756: element p: validity error : Element pre is not declared in p list of possible children index.html:1761: element p: validity error : Element pre is not declared in p list of possible children Document index.html does not validate against http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd Means:
 is not allowed inside 

and there is no element in xhtml1-strict. Oha - never heard that, but it's true. I scanned http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd Sebastian From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Valid XHTML Date: Sun, 26 Oct 2008 23:12:10 +0100 Message-ID: <4904EB3A.5080604@gmx.de> References: <490B6274.8090507@gmx.de> <4904E4C6.4080404@gmx.de> Reply-To: sebastian_rose@gmx.de Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kw1Hn-0002y1-0K for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 17:12:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kw1Hl-0002xV-Ji for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 17:12:02 -0400 Received: from [199.232.76.173] (port=43315 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kw1Hl-0002xS-G3 for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 17:12:01 -0400 Received: from mail.gmx.net ([213.165.64.20]:42284) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Kw1Hl-0006dz-Fk for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 17:12:01 -0400 In-Reply-To: <4904E4C6.4080404@gmx.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "[emacs-orgmode]" No element in XHTML strict. Would this fix it? I couldn't find somwhere else, so I think this should work. But it might be the wrong place to fix it... diff --git a/lisp/org.el b/lisp/org.el index 00d635b..6b17562 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -2264,7 +2264,7 @@ Use customize to modify this, or restart Emacs after changing it." (defcustom org-emphasis-alist `(("*" bold "" "") ("/" italic "" "") - ("_" underline "" "") + ("_" underline "" "") ("=" org-code "" "" verbatim) ("~" org-verbatim "" "" verbatim) ("+" ,(if (featurep 'xemacs) 'org-table '(:strike-through t)) Regards, Sebastian From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Valid XHTML Date: Mon, 27 Oct 2008 01:55:03 +0100 Message-ID: <49051167.2080900@gmx.de> References: <490B6274.8090507@gmx.de> <4904E4C6.4080404@gmx.de> Reply-To: sebastian_rose@gmx.de Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------000605000501020308070205" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kw3pO-0005NA-5b for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 19:54:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kw3pM-0005K2-CJ for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 19:54:53 -0400 Received: from [199.232.76.173] (port=41668 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kw3pM-0005Jv-9R for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 19:54:52 -0400 Received: from mail.gmx.net ([213.165.64.20]:35444) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Kw3pM-0004bN-Dd for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 19:54:52 -0400 In-Reply-To: <4904E4C6.4080404@gmx.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "[emacs-orgmode]" This is a multi-part message in MIME format. --------------000605000501020308070205 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi, 1.) ERR SSTOOOP!!! Sebastian Rose wrote: > x.php?a=b&c=d > ^ ^ > urlencoded--------' entities--' Sorry, that's bullsh... This is one of the errors, that goes away, if x.php?a=b&c=d ^ entities--' 2.) Fix for 'no

 in 

(XHTML)': The appended patch fixes this. Don't know if it is correct, but I tested repeatedly with various files and it seems OK. No empty

elements remain. Regards, Sebastian --------------000605000501020308070205 Content-Type: text/x-patch; name="patch-no-pre-in-p.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch-no-pre-in-p.patch" diff --git a/lisp/org-exp.el b/lisp/org-exp.el index 4153554..8762843 100644 --- a/lisp/org-exp.el +++ b/lisp/org-exp.el @@ -3102,6 +3102,7 @@ lang=\"%s\" xml:lang=\"%s\"> (string-match "^[ \t]*:\\(.*\\)" line)) (when (not infixed) (setq infixed t) + (org-close-par-maybe) (insert "

\n"))
 	    (insert (org-html-protect (match-string 1 line)) "\n")
 	    (when (or (not lines)
@@ -3339,6 +3340,7 @@ lang=\"%s\" xml:lang=\"%s\">
 				  head-count)
 	    ;; QUOTES
 	    (when (string-match quote-re line)
+          (org-close-par-maybe)
 	      (insert "
")
 	      (setq inquote t)))

@@ -3449,7 +3451,7 @@ lang=\"%s\" xml:lang=\"%s\">
 	    (insert line "\n")))))

       ;; Properly close all local lists and other lists
-      (when inquote (insert "
\n")) + (when inquote (insert "
\n") (org-open-par)) (when in-local-list ;; Close any local lists before inserting a new header line (while local-list-type --------------000605000501020308070205 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --------------000605000501020308070205-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Valid XHTML Date: Mon, 27 Oct 2008 02:25:18 +0100 Message-ID: <4905187E.3020600@gmx.de> References: <490B6274.8090507@gmx.de> <4904E4C6.4080404@gmx.de> <4904EB3A.5080604@gmx.de> Reply-To: sebastian_rose@gmx.de Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kw4Ie-00087i-OR for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 20:25:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kw4Id-00087J-5q for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 20:25:08 -0400 Received: from [199.232.76.173] (port=41394 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kw4Ic-00087A-Pw for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 20:25:06 -0400 Received: from mail.gmx.net ([213.165.64.20]:58394) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Kw4Id-0004Rq-27 for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 20:25:07 -0400 In-Reply-To: <4904EB3A.5080604@gmx.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Cc: "[emacs-orgmode]" OK, works here for XHTML and LaTeX. Regards, Sebastian Sebastian Rose wrote: > No element in XHTML strict. > > > Would this fix it? I couldn't find somwhere else, so I think this > should work. But it might be the wrong place to fix it... > > > diff --git a/lisp/org.el b/lisp/org.el > index 00d635b..6b17562 100644 > --- a/lisp/org.el > +++ b/lisp/org.el > @@ -2264,7 +2264,7 @@ Use customize to modify this, or restart Emacs > after changing it." > (defcustom org-emphasis-alist > `(("*" bold "" "") > ("/" italic "" "") > - ("_" underline "" "") > + ("_" underline "" > "") > ("=" org-code "" "" verbatim) > ("~" org-verbatim "" "" verbatim) > ("+" ,(if (featurep 'xemacs) 'org-table '(:strike-through t)) > > > > Regards, > > > Sebastian > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Valid XHTML Date: Mon, 27 Oct 2008 02:45:11 +0100 Message-ID: <49051D27.3010905@gmx.de> References: <490B6274.8090507@gmx.de> <4904E4C6.4080404@gmx.de> Reply-To: sebastian_rose@gmx.de Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------070204000107080709090607" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kw4bt-0006uA-Kt for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 20:45:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kw4bs-0006te-5a for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 20:45:01 -0400 Received: from [199.232.76.173] (port=40369 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kw4bs-0006ta-2H for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 20:45:00 -0400 Received: from mail.gmx.net ([213.165.64.20]:48026) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Kw4bs-0000zs-Ab for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 20:45:00 -0400 In-Reply-To: <4904E4C6.4080404@gmx.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: sebastian_rose@gmx.de Cc: "[emacs-orgmode]" This is a multi-part message in MIME format. --------------070204000107080709090607 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit The appended patch fixes the parsing-error for the index-file. sh> xmllint --dtdvalid http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd sitemap.html no erros --------------070204000107080709090607 Content-Type: text/x-patch; name="patch-sitemap-unclosed-diff.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch-sitemap-unclosed-diff.patch" diff --git a/lisp/org-publish.el b/lisp/org-publish.el index c46aedb..58df822 100644 --- a/lisp/org-publish.el +++ b/lisp/org-publish.el @@ -626,7 +626,7 @@ Default for INDEX-FILENAME is 'index.org'." (if index-buffer (kill-buffer index-buffer)) (with-temp-buffer - (insert (concat index-title "\n\n")) + (insert (concat "* " index-title "\n\n")) (while (setq file (pop files)) (let ((fn (file-name-nondirectory file)) (link (file-relative-name file dir)) --------------070204000107080709090607 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --------------070204000107080709090607-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Valid XHTML Date: Mon, 27 Oct 2008 03:37:46 +0100 Message-ID: <4905297A.6050801@gmx.de> References: <490B6274.8090507@gmx.de> <4904E4C6.4080404@gmx.de> <49051167.2080900@gmx.de> Reply-To: sebastian_rose@gmx.de Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kw5Qm-0002fA-Ub for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 21:37:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kw5Qm-0002ej-3Z for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 21:37:36 -0400 Received: from [199.232.76.173] (port=60958 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kw5Ql-0002eg-SC for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 21:37:35 -0400 Received: from mail.gmx.net ([213.165.64.20]:42925) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Kw5Ql-0005FF-7Z for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 21:37:35 -0400 In-Reply-To: <49051167.2080900@gmx.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "[emacs-orgmode]" OK. Investigated a little more about valid links in XHTML. This here xy.php?a=b&c=d should be xy.php?a=b&c=d !!! These way the links work in browsers AND parsers. We need entities in link-URLs AND description to have valid XHTML! Regards, Sebastian From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Valid XHTML Date: Sun, 2 Nov 2008 07:40:41 +0100 Message-ID: <4CD60E90-62A8-4F72-A731-2CC106663C0B@uva.nl> References: <490B6274.8090507@gmx.de> <4904E4C6.4080404@gmx.de> <49051167.2080900@gmx.de> Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KwWsH-0005IS-IY for emacs-orgmode@gnu.org; Sun, 02 Nov 2008 01:55:49 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KwWsG-0005I6-RF for emacs-orgmode@gnu.org; Sun, 02 Nov 2008 01:55:49 -0500 Received: from [199.232.76.173] (port=47200 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KwWsG-0005Ht-LI for emacs-orgmode@gnu.org; Sun, 02 Nov 2008 01:55:48 -0500 Received: from nf-out-0910.google.com ([64.233.182.190]:58725) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KwWsG-0005Wo-3U for emacs-orgmode@gnu.org; Sun, 02 Nov 2008 01:55:48 -0500 Received: by nf-out-0910.google.com with SMTP id c7so970523nfi.26 for ; Sat, 01 Nov 2008 23:55:47 -0700 (PDT) In-Reply-To: <49051167.2080900@gmx.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: sebastian_rose@gmx.de Cc: "[emacs-orgmode]" Applied, thanks. - Carsten On Oct 27, 2008, at 1:55 AM, Sebastian Rose wrote: > Hi, > > > > 1.) ERR > > SSTOOOP!!! > > Sebastian Rose wrote: >> x.php?a=b&c=d >> ^ ^ >> urlencoded--------' entities--' > > > Sorry, that's bullsh... This is one of the errors, that goes away, if > > > x.php?a=b&c=d > ^ > entities--' > > > > 2.) Fix for 'no
 in 

(XHTML)': > > The appended patch fixes this. Don't know if it is correct, but I > tested repeatedly with various files and it seems OK. No empty

> elements remain. > > > > > Regards, > > Sebastian > diff --git a/lisp/org-exp.el b/lisp/org-exp.el > index 4153554..8762843 100644 > --- a/lisp/org-exp.el > +++ b/lisp/org-exp.el > @@ -3102,6 +3102,7 @@ lang=\"%s\" xml:lang=\"%s\"> > (string-match "^[ \t]*:\\(.*\\)" line)) > (when (not infixed) > (setq infixed t) > + (org-close-par-maybe) > (insert "

\n"))
> 	    (insert (org-html-protect (match-string 1 line)) "\n")
> 	    (when (or (not lines)
> @@ -3339,6 +3340,7 @@ lang=\"%s\" xml:lang=\"%s\">
> 				  head-count)
> 	    ;; QUOTES
> 	    (when (string-match quote-re line)
> +          (org-close-par-maybe)
> 	      (insert "
")
> 	      (setq inquote t)))
>
> @@ -3449,7 +3451,7 @@ lang=\"%s\" xml:lang=\"%s\">
> 	    (insert line "\n")))))
>
>       ;; Properly close all local lists and other lists
> -      (when inquote (insert "
\n")) > + (when inquote (insert "
\n") (org-open-par)) > (when in-local-list > ;; Close any local lists before inserting a new header line > (while local-list-type > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Valid XHTML Date: Sun, 2 Nov 2008 07:42:20 +0100 Message-ID: References: <490B6274.8090507@gmx.de> <4904E4C6.4080404@gmx.de> <4904EB3A.5080604@gmx.de> Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KwWsJ-0005J7-IP for emacs-orgmode@gnu.org; Sun, 02 Nov 2008 01:55:51 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KwWsI-0005Ig-3X for emacs-orgmode@gnu.org; Sun, 02 Nov 2008 01:55:51 -0500 Received: from [199.232.76.173] (port=47201 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KwWsH-0005IZ-OF for emacs-orgmode@gnu.org; Sun, 02 Nov 2008 01:55:49 -0500 Received: from nf-out-0910.google.com ([64.233.182.190]:58725) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KwWsH-0005Wo-AW for emacs-orgmode@gnu.org; Sun, 02 Nov 2008 01:55:49 -0500 Received: by nf-out-0910.google.com with SMTP id c7so970523nfi.26 for ; Sat, 01 Nov 2008 23:55:49 -0700 (PDT) In-Reply-To: <4904EB3A.5080604@gmx.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: sebastian_rose@gmx.de Cc: "[emacs-orgmode]" Applied, thanks. - Carsten On Oct 26, 2008, at 11:12 PM, Sebastian Rose wrote: > No element in XHTML strict. > > > Would this fix it? I couldn't find somwhere else, so I think this > should work. But it might be the wrong place to fix it... > > > diff --git a/lisp/org.el b/lisp/org.el > index 00d635b..6b17562 100644 > --- a/lisp/org.el > +++ b/lisp/org.el > @@ -2264,7 +2264,7 @@ Use customize to modify this, or restart Emacs > after changing it." > (defcustom org-emphasis-alist > `(("*" bold "" "") > ("/" italic "" "") > - ("_" underline "" "") > + ("_" underline "" " span>") > ("=" org-code "" "" verbatim) > ("~" org-verbatim "" "" verbatim) > ("+" ,(if (featurep 'xemacs) 'org-table '(:strike-through t)) > > > > Regards, > > > Sebastian > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Valid XHTML Date: Sun, 2 Nov 2008 07:43:43 +0100 Message-ID: <616D39D1-4C47-4A6E-91ED-9A9138B07795@uva.nl> References: <490B6274.8090507@gmx.de> <4904E4C6.4080404@gmx.de> <49051D27.3010905@gmx.de> Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KwWsN-0005MO-VU for emacs-orgmode@gnu.org; Sun, 02 Nov 2008 01:55:56 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KwWsM-0005L4-70 for emacs-orgmode@gnu.org; Sun, 02 Nov 2008 01:55:55 -0500 Received: from [199.232.76.173] (port=47204 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KwWsM-0005Kt-2e for emacs-orgmode@gnu.org; Sun, 02 Nov 2008 01:55:54 -0500 Received: from nf-out-0910.google.com ([64.233.182.190]:58725) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KwWsL-0005Wo-Kh for emacs-orgmode@gnu.org; Sun, 02 Nov 2008 01:55:53 -0500 Received: by nf-out-0910.google.com with SMTP id c7so970523nfi.26 for ; Sat, 01 Nov 2008 23:55:53 -0700 (PDT) In-Reply-To: <49051D27.3010905@gmx.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: sebastian_rose@gmx.de Cc: "[emacs-orgmode]" Applied, thanks. - Carsten On Oct 27, 2008, at 2:45 AM, Sebastian Rose wrote: > The appended patch fixes the parsing-error for the index-file. > > > > sh> xmllint --dtdvalid http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd > sitemap.html > > no erros > diff --git a/lisp/org-publish.el b/lisp/org-publish.el > index c46aedb..58df822 100644 > --- a/lisp/org-publish.el > +++ b/lisp/org-publish.el > @@ -626,7 +626,7 @@ Default for INDEX-FILENAME is 'index.org'." > (if index-buffer > (kill-buffer index-buffer)) > (with-temp-buffer > - (insert (concat index-title "\n\n")) > + (insert (concat "* " index-title "\n\n")) > (while (setq file (pop files)) > (let ((fn (file-name-nondirectory file)) > (link (file-relative-name file dir)) > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Valid XHTML Date: Sun, 2 Nov 2008 07:50:07 +0100 Message-ID: References: <490B6274.8090507@gmx.de> Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KwWsS-0005OV-Hc for emacs-orgmode@gnu.org; Sun, 02 Nov 2008 01:56:00 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KwWsR-0005Nz-LV for emacs-orgmode@gnu.org; Sun, 02 Nov 2008 01:56:00 -0500 Received: from [199.232.76.173] (port=47207 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KwWsR-0005Nt-GJ for emacs-orgmode@gnu.org; Sun, 02 Nov 2008 01:55:59 -0500 Received: from ey-out-1920.google.com ([74.125.78.145]:15880) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KwWsQ-0005YG-RG for emacs-orgmode@gnu.org; Sun, 02 Nov 2008 01:55:59 -0500 Received: by ey-out-1920.google.com with SMTP id 4so725929eyg.24 for ; Sat, 01 Nov 2008 23:55:57 -0700 (PDT) In-Reply-To: <490B6274.8090507@gmx.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: sebastian_rose@gmx.de Cc: "[emacs-orgmode]" Hi Sebastian, of this email I have now applied the "stylesheet" fixes. Are you sure about the CDATA patch? Is that not something that is Javascript-specific? Will this break in oder browsers? Are you telling me that any inline css style should be wrapped by this strange thing? Please confirm, and maybe explain a bit more. Thanks. On Oct 31, 2008, at 8:54 PM, Sebastian Rose wrote: > Hi, > > I'm currently writing a fulltext search engine for Org's > XHTML export. > > Export is not valid XHTML: > > > > 1.) CDATA: > > > > should be: > > > > Fix appended: > > - patch-missing-cdata-style.patch (org-exp.el) > > > > 2.) Missing quotes: > > > > should be: > > > > > My fault. I copied and pasted. > > Fixes appended: > - patch-stylesheet-missing-quotes.patch (org-publish.el, doc > strings) > - patch-stylesheet-missing-quotes-texi.patch (org.texi) > > > > > 4.) missing entities in link texts (not the URL): > > http://xy.com/foo.php?f=1&t=bar > > > should be: > > http://xy.com/foo.php?f=1&t=bar > > > > Not shure how to this in org-exp.el, org-export-as-html - is there a > function I should use? > > > > > > 5.) index file is not well-formed XML: > > sitemap.html:291: parser error : Opening and ending tag mismatch: > body line 43 and div > > ^ > sitemap.html:297: parser error : Opening and ending tag mismatch: > html line 3 and body > > ^ > sitemap.html:298: parser error : Extra content at the end of the > document > > ^ > > Seems there is one '' too much. > > It's the directly after the (never opened after title) > > Two possible fixes: > >

Sitemap

>
/* <- either insert this one */ >
    > ... >
>
/* <- or delete this one */ > > > > > > > > Last but not least, a general question: > > * Problem with xmllint: > > Not defined entities: > > - … > - — > - mayby more > > Not shure, how to fix this. > > http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd > already includes these: > > http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent > http://www.w3.org/TR/xhtml1/DTD/xhtml-symbol.ent > http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent > > > But: > > xmllint --dtdvalid http://www.w3.org/TR/xhtml1/DTD/xhtml1- > strict.dtd index.html > > gives me lots of errors for not defined enities. > > > > Regards, > > Sebastian > diff --git a/lisp/org-publish.el b/lisp/org-publish.el > index e0cf4bd..db09e17 100644 > --- a/lisp/org-publish.el > +++ b/lisp/org-publish.el > @@ -75,4 +75,4 @@ > ;; :with-section-numbers nil > ;; :table-of-contents nil > ;; :recursive t > -;; :style " \" type=\"text/css\">"))) > +;; :style " mystyle.css\" type=\"text/css\">"))) > > ;;;; More complex example configuration: > > @@ -103,7 +103,7 @@ > ;; :headline-levels 3 > ;; :with-section-numbers nil > ;; :table-of-contents nil > -;; :style " \" type=\"text/css\">" > +;; :style " mystyle.css\" type=\"text/css\">" > ;; :auto-preamble t > ;; :auto-postamble nil) > ;; ("images" :base-directory "~/images/" > diff --git a/doc/org.texi b/doc/org.texi > index b675d92..b623b3e 100644 > --- a/doc/org.texi > +++ b/doc/org.texi > @@ -8212,7 +8212,7 @@ directory on the local machine. > :publishing-directory "~/public_html" > :section-numbers nil > :table-of-contents nil > - :style " + :style " href=\"../other/mystyle.css\" > type=\"text/css\">"))) > @end lisp > @@ -8249,7 +8249,7 @@ right place on the web server, and publishing > images to it. > :headline-levels 3 > :section-numbers nil > :table-of-contents nil > - :style " + :style " href=\"../other/mystyle.css\" type=\"text/css\">" > :auto-preamble t > :auto-postamble nil) > diff --git a/lisp/org-exp.el b/lisp/org-exp.el > index e680be0..ac59bab 100644 > --- a/lisp/org-exp.el > +++ b/lisp/org-exp.el > @@ -492,6 +492,7 @@ Org-mode file." > > (defconst org-export-html-style-default > "" > "The default style specification for exported HTML files. > Please use the variables `org-export-html-style' and > @@ -547,11 +548,13 @@ you should consider to include definitions for > the following classes: > For example, a valid value would be: > > > > If you'd like to refer to en external style file, use something like > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Valid XHTML Date: Mon, 3 Nov 2008 12:08:46 +0100 Message-ID: <2383643E-E88A-4A14-A284-A5038AAF5D44@uva.nl> References: <490B6274.8090507@gmx.de> Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KwxIj-0001GM-Dm for emacs-orgmode@gnu.org; Mon, 03 Nov 2008 06:08:53 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KwxIh-0001Fm-NF for emacs-orgmode@gnu.org; Mon, 03 Nov 2008 06:08:52 -0500 Received: from [199.232.76.173] (port=57300 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KwxIh-0001Fg-Fs for emacs-orgmode@gnu.org; Mon, 03 Nov 2008 06:08:51 -0500 Received: from ey-out-1920.google.com ([74.125.78.149]:40420) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KwxIg-0005zK-SH for emacs-orgmode@gnu.org; Mon, 03 Nov 2008 06:08:51 -0500 Received: by ey-out-1920.google.com with SMTP id 4so848714eyg.24 for ; Mon, 03 Nov 2008 03:08:49 -0800 (PST) In-Reply-To: <490B6274.8090507@gmx.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: sebastian_rose@gmx.de Cc: "[emacs-orgmode]" Hi Sebastian, I believe these are all fixed now. Please confirm. - Carsten On Oct 31, 2008, at 8:54 PM, Sebastian Rose wrote: > Hi, > > I'm currently writing a fulltext search engine for Org's > XHTML export. > > Export is not valid XHTML: > > > > 1.) CDATA: > > > > should be: > > > > Fix appended: > > - patch-missing-cdata-style.patch (org-exp.el) > > > > 2.) Missing quotes: > > > > should be: > > > > > My fault. I copied and pasted. > > Fixes appended: > - patch-stylesheet-missing-quotes.patch (org-publish.el, doc > strings) > - patch-stylesheet-missing-quotes-texi.patch (org.texi) > > > > > 4.) missing entities in link texts (not the URL): > > http://xy.com/foo.php?f=1&t=bar > > > should be: > > http://xy.com/foo.php?f=1&t=bar > > > > Not shure how to this in org-exp.el, org-export-as-html - is there a > function I should use? > > > > > > 5.) index file is not well-formed XML: > > sitemap.html:291: parser error : Opening and ending tag mismatch: > body line 43 and div > > ^ > sitemap.html:297: parser error : Opening and ending tag mismatch: > html line 3 and body > > ^ > sitemap.html:298: parser error : Extra content at the end of the > document > > ^ > > Seems there is one '' too much. > > It's the directly after the (never opened after title) > > Two possible fixes: > >

Sitemap

>
/* <- either insert this one */ >
    > ... >
>
/* <- or delete this one */ > > > > > > > > Last but not least, a general question: > > * Problem with xmllint: > > Not defined entities: > > - … > - — > - mayby more > > Not shure, how to fix this. > > http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd > already includes these: > > http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent > http://www.w3.org/TR/xhtml1/DTD/xhtml-symbol.ent > http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent > > > But: > > xmllint --dtdvalid http://www.w3.org/TR/xhtml1/DTD/xhtml1- > strict.dtd index.html > > gives me lots of errors for not defined enities. > > > > Regards, > > Sebastian > diff --git a/lisp/org-publish.el b/lisp/org-publish.el > index e0cf4bd..db09e17 100644 > --- a/lisp/org-publish.el > +++ b/lisp/org-publish.el > @@ -75,4 +75,4 @@ > ;; :with-section-numbers nil > ;; :table-of-contents nil > ;; :recursive t > -;; :style " \" type=\"text/css\">"))) > +;; :style " mystyle.css\" type=\"text/css\">"))) > > ;;;; More complex example configuration: > > @@ -103,7 +103,7 @@ > ;; :headline-levels 3 > ;; :with-section-numbers nil > ;; :table-of-contents nil > -;; :style " \" type=\"text/css\">" > +;; :style " mystyle.css\" type=\"text/css\">" > ;; :auto-preamble t > ;; :auto-postamble nil) > ;; ("images" :base-directory "~/images/" > diff --git a/doc/org.texi b/doc/org.texi > index b675d92..b623b3e 100644 > --- a/doc/org.texi > +++ b/doc/org.texi > @@ -8212,7 +8212,7 @@ directory on the local machine. > :publishing-directory "~/public_html" > :section-numbers nil > :table-of-contents nil > - :style " + :style " href=\"../other/mystyle.css\" > type=\"text/css\">"))) > @end lisp > @@ -8249,7 +8249,7 @@ right place on the web server, and publishing > images to it. > :headline-levels 3 > :section-numbers nil > :table-of-contents nil > - :style " + :style " href=\"../other/mystyle.css\" type=\"text/css\">" > :auto-preamble t > :auto-postamble nil) > diff --git a/lisp/org-exp.el b/lisp/org-exp.el > index e680be0..ac59bab 100644 > --- a/lisp/org-exp.el > +++ b/lisp/org-exp.el > @@ -492,6 +492,7 @@ Org-mode file." > > (defconst org-export-html-style-default > "" > "The default style specification for exported HTML files. > Please use the variables `org-export-html-style' and > @@ -547,11 +548,13 @@ you should consider to include definitions for > the following classes: > For example, a valid value would be: > > > > If you'd like to refer to en external style file, use something like > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode