emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christopher Kotfila <kotfic@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Citations and references in ODT
Date: Sat, 11 Jan 2014 07:35:23 -0500	[thread overview]
Message-ID: <lardq1$fji$1@ger.gmane.org> (raw)
In-Reply-To: <CAFdBzEr5W8Y=iag_CmNiK_6ZVsUw2LvfM8BgZEaXebie8EVNQA@mail.gmail.com>

On 01/10/14 13:10, Ken Mankoff wrote:
> Hi,
>
> I have export with references and bibliography working well in LaTeX
> export. I'm now exporting to ODT, and wonder if there is reference and
> bibliography support for this file format.
>
> I've found this 2011 post saying "no"
> https://lists.gnu.org/archive/html/emacs-orgmode/2011-07/msg00296.html
>
> And this 2013 post saying "yes"
> https://lists.gnu.org/archive/html/emacs-orgmode/2013-07/msg00969.html
>
> But I'm not sure if that 2013 code is part of the latest ELPA
> distribution, or if there is extra work to get it set up on my system.
>
> Thanks,
>
>     -k.

Hi Ken,

I have found this useful for converting latex export to doc[x]

#+NAME: tex-file
#+BEGIN_SRC elisp
(file-truename (org-latex-export-to-latex))
#+END_SRC

#+NAME: export-to-docx
#+BEGIN_SRC sh :results silent :var INFILE=tex-file
/usr/bin/pandoc -f latex -t docx --bibliography=references.bib 
--csl=iso690-numeric-en.csl -i $INFILE -o $(echo $INFILE | sed -e 
"s/tex$/docx/")
#+END_SRC

Of course it is not an "Org" solution,  but as a hack it has been 
functional for me. placing this in an org file with :noexport: and 
executing the second code block should produce a latex export,  then 
convert the export to docx using pandoc and what ever csl is specified 
(in this case iso690-numeric-en).

/Chris

  parent reply	other threads:[~2014-01-12 15:10 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
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 [this message]
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='lardq1$fji$1@ger.gmane.org' \
    --to=kotfic@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).