From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan L Tyree Subject: Re: [patch, ox] Unnumbered headlines - early test Date: Sat, 09 Aug 2014 11:04:51 +1000 Message-ID: <53E573B3.404@gmail.com> References: <87lhqzyubg.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38917) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFv5g-00084E-OQ for emacs-orgmode@gnu.org; Fri, 08 Aug 2014 21:05:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XFv5c-0001HH-30 for emacs-orgmode@gnu.org; Fri, 08 Aug 2014 21:05:00 -0400 Received: from mail-pa0-x229.google.com ([2607:f8b0:400e:c03::229]:61391) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFv5b-0001HC-Qn for emacs-orgmode@gnu.org; Fri, 08 Aug 2014 21:04:56 -0400 Received: by mail-pa0-f41.google.com with SMTP id rd3so8169494pab.0 for ; Fri, 08 Aug 2014 18:04:54 -0700 (PDT) Received: from [192.168.1.1] (202.63.32.163.static.rev.eftel.com. [202.63.32.163]) by mx.google.com with ESMTPSA id b13sm4218424pbu.63.2014.08.08.18.04.52 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Aug 2014 18:04:53 -0700 (PDT) In-Reply-To: <87lhqzyubg.fsf@gmx.us> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I have a book length MS that I tested the patch on. * Copyright page :nonumber: * Preface :nonumber: * Law relating to sale of goods ....... etc Export looked good and as expected, that is, no numbers on the first two headlines and the third headline numbered 1. as it should be. Table of contents was as expected. LaTeX and ascii exports also looked great. However, running "tidy -m sog.html" on the resulting file threw up the following warnings: line 222 column 1 - Warning:
anchor "outline-container-sec-" already defined line 223 column 1 - Warning:

anchor "sec-" already defined line 224 column 1 - Warning:
anchor "text-" already defined Info: Doctype given is "-//W3C//DTD XHTML 1.0 Strict//EN" Info: Document content looks like XHTML 1.0 Strict 3 warnings, 0 errors were found! Line 222, 223 and 224 relate to the Preface heading. The offending items were, of course, copies of the corresponding items in Copyright page. To avoid these, I think you need to give unique id and sec markers to the unnumbered headlines. It matters because the resulting ePub will not validate unless the html passes the "tidy test". Cheers, Alan -- Alan L Tyree http://www2.austlii.edu.au/~alan Tel: 04 2748 6206 sip:typhoon@iptel.org