From: Jambunathan K <kjambunathan@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Citations and references in ODT
Date: Sat, 11 Jan 2014 19:23:41 +0530 [thread overview]
Message-ID: <87y52m4obe.fsf@gmail.com> (raw)
In-Reply-To: alpine.OSX.2.00.1401110743020.89172@tbetbambyn
Ken Mankoff <mankoff@gmail.com> writes:
> I'm now trying to get ODT w/ references and failing.
Show me a snippet that causes the problem. You can COMMENT a tree or
add a :no-export tag to bisect. Or you copy can copy over a subtree and
experiment with it.
> The message I get is:
>
> OpenDocument export failed: Format specifier doesn't match argument
> type
Difficult to say where it is coming from.
> 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.
At the minimum you may have to
M-x byte-compile-file ox-odt.el
and may be fix regenerate autoloads. See the recipe at the end of this
message for a cumbersome but a fool proof method.
> 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?
You need to install the Chicago jar file which contain the *.layout file
that JabRef needs.
From the command line look at the output formats that JabRef reports.
You should see ODF there.
Do M-x find-library ox-jabref.el and follow the instructions there.
ODT exporter has it's own citaion mechanism and doesn't depend on
ox-bibtex.el.
> If I export to HTML, I do see all the equations, despite the MathToWeb
> error.
HTML uses MathJax while ODT uses MathToWeb. Two different things.
Look at
M-x org-export-as-odf-TAB
for checking against simple latex equations.
Check if the latex equations are png files or something else.
> 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"
You can extract the relevant sections from test-new.org and experiment
with the excerpts.
> 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).
One thing you could do is this
1. Download org-*.tar file with wget or firefox.
2. Untar it.
3. Replace ox-odt.el, the style files and copy over the ox-jabref.el
file.
4. Re-create the tar file (with the new files).
5. Do
M-x package-install-file
to install the new elpa.
> Any hints about where I took a wrong step will be appreciated.
>
> Thanks,
>
> -k.
next prev parent reply other threads:[~2014-01-11 13:53 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-10 18:10 Citations and references in ODT Ken Mankoff
2014-01-10 20:24 ` Aric
2014-01-11 4:31 ` Jambunathan K
2014-01-11 12:59 ` Ken Mankoff
2014-01-11 13:53 ` Jambunathan K [this message]
2014-01-11 14:13 ` Ken Mankoff
2014-01-14 0:18 ` Aric Gregson
2014-01-13 2:51 ` Ken Mankoff
2014-01-13 6:31 ` Nick Dokos
2014-01-13 15:49 ` Ken Mankoff
2014-01-14 0:16 ` Aric Gregson
2014-01-14 9:16 ` Jambunathan K
2014-01-14 19:10 ` Aric Gregson
2014-01-15 12:26 ` Ken Mankoff
2014-01-16 21:31 ` Aric Gregson
2014-01-19 5:46 ` Jambunathan K
2014-01-21 1:25 ` Aric Gregson
2014-01-23 14:18 ` Jambunathan K
2014-01-23 14:31 ` Jambunathan K
2014-01-14 8:56 ` Jambunathan K
2014-01-14 0:59 ` Aric Gregson
2014-01-14 9:24 ` Jambunathan K
2014-01-14 19:14 ` Aric Gregson
2014-01-11 4:38 ` Jambunathan K
2014-01-11 12:35 ` Christopher Kotfila
2014-01-14 0:17 ` Aric Gregson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y52m4obe.fsf@gmail.com \
--to=kjambunathan@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).