From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philip Hudson Subject: ODT export Date: Sat, 8 Oct 2016 09:10:02 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34908) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsmi9-0003p8-Ng for emacs-orgmode@gnu.org; Sat, 08 Oct 2016 04:10:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bsmi7-0006S3-H8 for emacs-orgmode@gnu.org; Sat, 08 Oct 2016 04:10:24 -0400 Received: from mail-vk0-x233.google.com ([2607:f8b0:400c:c05::233]:34272) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsmi7-0006Rg-9M for emacs-orgmode@gnu.org; Sat, 08 Oct 2016 04:10:23 -0400 Received: by mail-vk0-x233.google.com with SMTP id b186so61883499vkb.1 for ; Sat, 08 Oct 2016 01:10:23 -0700 (PDT) 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" To: emacs orgmode-mailinglist First time out, very disappointing and confusing results. Having created a styled example.odt file as per instructions in the manual... (info "(org) Applying custom styles") (BTW, the string "Stylist" does not appear anywhere in LibreOffice's UI; there's more than enough difficulty here without adding impossible instructions!) Having torn my hair out en route to discovering that enclosing double-quotes are mandatory for the #+ODT_STYLES_FILE... Having finally got an apparently successful run of the exporter using the styles file... LaTeX to MathML converter not available. Formatting LaTeX using verbatim Wrote /home/phil/tmp/odt-22378aSo/meta.xml Using schema /usr/share/emacs/etc/org/schema/od-schema-v1.2-os.rnc [2 times] Saving file /home/phil/tmp/odt-22378aSo/styles.xml... Wrote /home/phil/tmp/odt-22378aSo/styles.xml Using vacuous schema Wrote /home/phil/tmp/odt-22378aSo/mimetype Using vacuous schema Saving file /home/phil/tmp/odt-22378aSo/META-INF/manifest.xml... Wrote /home/phil/tmp/odt-22378aSo/META-INF/manifest.xml Saving file /home/phil/tmp/odt-22378aSo/content.xml... Wrote /home/phil/tmp/odt-22378aSo/content.xml (No changes need to be saved) Creating ODT file... Running zip -mX0 Invoice28.odt mimetype Running zip -rmTq Invoice28.odt . Created /home/phil/org/Customers/Invoice28.odt Searching for `odt-22'.... I then open the resulting ODT file and find that a) my customization of the "title" style does not appear and b) my top-level headline appears as "Default Style" (in other words, not marked up at all), not "Heading 1" as expected. The temp directory ~/tmp/odt-xxxxx is apparently deleted on exit so I can't examine the various intermediate XML files generated by export. Help and advice please. -- Phil Hudson http://hudson-it.ddns.net @UWascalWabbit PGP/GnuPG ID: 0x887DCA63