From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: Re: Citations and references in ODT Date: Sat, 11 Jan 2014 07:59:02 -0500 (EST) Message-ID: References: <87zjn3gmvm.fsf@gmail.com> Reply-To: Ken Mankoff Mime-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60156) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1y9d-0002MX-3U for emacs-orgmode@gnu.org; Sat, 11 Jan 2014 07:59:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W1y9W-0001BY-IA for emacs-orgmode@gnu.org; Sat, 11 Jan 2014 07:59:09 -0500 Received: from mail-qe0-x22d.google.com ([2607:f8b0:400d:c02::22d]:43505) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1y9W-0001BU-DN for emacs-orgmode@gnu.org; Sat, 11 Jan 2014 07:59:02 -0500 Received: by mail-qe0-f45.google.com with SMTP id nd7so197966qeb.4 for ; Sat, 11 Jan 2014 04:59:01 -0800 (PST) In-Reply-To: <87zjn3gmvm.fsf@gmail.com> 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 Cc: Jambunathan K Hi, On Sat, 11 Jan 2014, Jambunathan K wrote: > If you run in to issues, write me a note and I will happy to make > fixes or enhancements. I do have some issues. The unit test is nice, and LaTeX export with it appears to work perfectly once I add the following: \bibliographystyle{unsrt} \bibliography{MyLibrary} I'm now trying to get ODT w/ references and failing. The message I get is: OpenDocument export failed: Format specifier doesn't match argument type I did the following based on your instructions and some guessing. 1) I put ox-odt.el and ox-jabref.el and etc/schema and etc/styles in my ~/emacs.d/elpa/org-2014017 folder. Some of that involved overwriting existing files. 2) I downloaded JabRef application (I'm on OS X), and copied the JAR file from inside it into your unit test folder. I ran "java -jar jabref" and opened MyLibrary.bib with the program and saved it. I did this because I assume I have to tell JabRef about the bib file? 3) I put MathToWeb.jar in the unit test folder. However, if I run "java -jar MathToWeb.jar" I get the following error. I have an email in to the MathToWeb developer/maintainer about this $ java -jar mathtoweb.jar Exception in thread "main" java.lang.UnsupportedClassVersionError: mathtoweb/engine/MathToWeb : Unsupported major.minor version 51.0 However, if I export to HTML, I do get to see all the equations. Not sure why that is working. * Results If I export to LaTeX from org-mode, everything looks good. If I export to HTML, I do see all the equations, despite the MathToWeb error. If I export to ODT, emacs reports OpenDocument export failed: Format specifier doesn't match argument type I notice at the top of your test-new.org file the following line: #+ODT_STYLES_FILE: "~/list-table-1.odt" But I cannot find a list-table-1.odt anywhere in the unit test ZIP file or in your org-mode git repo (which I cloned, but elsewhere and then copied the files from there to my org-mode elpa repo). Any hints about where I took a wrong step will be appreciated. Thanks, -k.