From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: org-ref exports nicely to html but not to odt Date: Fri, 4 Jan 2019 17:34:06 -0500 Message-ID: References: <87tviouz88.fsf@mat.ucm.es> <87va34yw6s.fsf@geus3064linuxwsm.geus.dk> <87zhsgf6ju.fsf@mat.ucm.es> <87tvioyttm.fsf@geus3064linuxwsm.geus.dk> <87va34f57c.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000d7d8f2057ea97a15" Return-path: Received: from eggsout.gnu.org ([209.51.188.92]:55616 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfY2n-0006OR-Rr for emacs-orgmode@gnu.org; Fri, 04 Jan 2019 17:34:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gfY2m-0004m2-MJ for emacs-orgmode@gnu.org; Fri, 04 Jan 2019 17:34:21 -0500 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:35286) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gfY2m-0004lL-C5 for emacs-orgmode@gnu.org; Fri, 04 Jan 2019 17:34:20 -0500 Received: by mail-wm1-x331.google.com with SMTP id t200so2556774wmt.0 for ; Fri, 04 Jan 2019 14:34:20 -0800 (PST) In-Reply-To: <87va34f57c.fsf@mat.ucm.es> 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: Uwe Brauer Cc: emacs-orgmode@gnu.org, Ken Mankoff --000000000000d7d8f2057ea97a15 Content-Type: text/plain; charset="UTF-8" I have used pandoc a little a while ago. See http://kitchingroup.cheme.cmu.edu/blog/2015/01/29/Export-org-mode-to-docx-with-citations-via-pandoc/ If you search pandoc on my blog you may find some more. On Fri, Jan 4, 2019 at 5:28 PM Uwe Brauer wrote: > >>> "Ken" == Ken Mankoff writes: > > > On 2019-01-04 at 22:37 +0100, Uwe Brauer wrote: > >> I exported the org file in question to latex (I could also start > >> directly with latex for that matter.) > > > Yes. > > >> Could I stick with bibtex? > > > Yes. No need to use biber + biblatex, you can stick with bibtex. > > > I only run that command because my massive 3000+ bib file contains > > things that pandoc has trouble with (accents? Not sure). That command > > extracts the bibtex entries used in the current document. > > > As I write this I realize this means you don't even need to compile > > the PDF and/or run bibtex. If you have a TeX file and an appropriate > > accompanying BiBTeX file, that should work. > > >> pandoc -f latex -t docx -o test.docx --bibliography > /home/oub/texmf/bibtex/bib/bibgraf.bib test.tex > >> > >> /home/oub/texmf/bibtex/bib/bibgraf.bib is my main bibtex date base. > >> > >> But this did not work pandoc gets frozen. > >> > >> What do I miss. > > > I don't know. Try with a small bib file with 1 entry (and a TeX file > > that only cites that one entry). Does that work? Then maybe your > > bibgraf.bib has the same problem mine does (although I recall pandoc > > issuing an error and crashing, not just freezing). > > > I tried that and it did not work neither, I might need to write the > pandoc list. > -- John ----------------------------------- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu --000000000000d7d8f2057ea97a15 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


>>> "Ken" =3D=3D Ke= n Mankoff <mankof= f@gmail.com> writes:

=C2=A0 =C2=A0> On 2019-01-04 at 22:37 +0100, Uwe Brauer <oub@mat.ucm.es> wrote:
=C2=A0 =C2=A0>> I exported the org file in question to latex (I could= also start
=C2=A0 =C2=A0>> directly with latex for that matter.)

=C2=A0 =C2=A0> Yes.

=C2=A0 =C2=A0>> Could I stick with bibtex?

=C2=A0 =C2=A0> Yes. No need to use biber + biblatex, you can stick with = bibtex.

=C2=A0 =C2=A0> I only run that command because my massive 3000+ bib file= contains
=C2=A0 =C2=A0> things that pandoc has trouble with (accents? Not sure). = That command
=C2=A0 =C2=A0> extracts the bibtex entries used in the current document.=

=C2=A0 =C2=A0> As I write this I realize this means you don't even n= eed to compile
=C2=A0 =C2=A0> the PDF and/or run bibtex. If you have a TeX file and an = appropriate
=C2=A0 =C2=A0> accompanying BiBTeX file, that should work.

=C2=A0 =C2=A0>> pandoc -f latex -t docx -o test.docx --bibliography /= home/oub/texmf/bibtex/bib/bibgraf.bib=C2=A0 test.tex
=C2=A0 =C2=A0>>
=C2=A0 =C2=A0>> /home/oub/texmf/bibtex/bib/bibgraf.bib is my main bib= tex date base.
=C2=A0 =C2=A0>>
=C2=A0 =C2=A0>> But this did not work pandoc gets frozen.
=C2=A0 =C2=A0>>
=C2=A0 =C2=A0>> What do I miss.

=C2=A0 =C2=A0> I don't know. Try with a small bib file with 1 entry = (and a TeX file
=C2=A0 =C2=A0> that only cites that one entry). Does that work? Then may= be your
=C2=A0 =C2=A0> bibgraf.bib has the same problem mine does (although I re= call pandoc
=C2=A0 =C2=A0> issuing an error and crashing, not just freezing).


I tried that and it did not work neither, I might need to write the
pandoc list.
--
J= ohn

-----------------------------------
Professor John Kitchin=C2= =A0
Doherty Hall A207F
Department of Chemical Engineering
Carnegie= Mellon University
Pittsburgh, PA 15213
412-268-7803
=
--000000000000d7d8f2057ea97a15--