From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: exporting zotxt or orgref links to HTML and ODF Date: Tue, 27 Jan 2015 08:25:35 +0000 Message-ID: <87siewfx4w.fsf@ucl.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YG1T0-0001UP-Sg for emacs-orgmode@gnu.org; Tue, 27 Jan 2015 03:25:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YG1Sv-0003Qp-NV for emacs-orgmode@gnu.org; Tue, 27 Jan 2015 03:25:46 -0500 Received: from mail-db3on0141.outbound.protection.outlook.com ([157.55.234.141]:4288 helo=emea01-db3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YG1Sv-0003QU-7z for emacs-orgmode@gnu.org; Tue, 27 Jan 2015 03:25:41 -0500 In-Reply-To: (Matt Price's message of "Mon, 26 Jan 2015 11:29:01 -0500") 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: Matt Price Cc: Org Mode On Monday, 26 Jan 2015 at 11:29, Matt Price wrote: [...] > My question: does anyone yet have a workflow that lets them export directly > to HTML or ODT? The following is for MS Word output, not ODT, but you can of course read in Word files in Libreoffice and save as ODT if desired. Although I do strive to only have to work in org (+ LaTeX), I do sometimes have to generate Word files, especially for conference publications. In this case, I still use org but I generate the final document using org -> LaTeX and then use pandoc to get me the doc file using a shell script that looks like this: --8<---------------cut here---------------start------------->8--- #!/bin/sh -f BASE=$(basename $1 .tex) CSL="/home/ucecesf/synced/share/citation.styles/acm-siggraph.csl" if [ -f default.csl ]; then CSL="default.csl" fi echo "Converting " $BASE.tex " to " $BASE.docx " using bib style " $CSL pandoc --bibliography=/home/ucecesf/share/texmf/bibtex/bib/papers.bib --csl=${CSL} --filter pandoc-citeproc ${BASE}.tex -o ${BASE}.docx --8<---------------cut here---------------end--------------->8--- The key is pandoc with bib styles. The scripts defaults to using an ACM SIGGRAPH style but will use a "default" style if present in the current directory. Although you say your colleagues do not use BiBTeX, it does not stop you from using it within org and then exporting the result... With org exporting LaTeX fragments as images (hence my recent emails about dvipng...), I get equations (on the printed page) and bibliography without having to suffer using Word... Good luck! -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-726-gd34b80.dirty