emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] advice please: best way to export to DOC(X) with maths


From: Tim O'Callaghan
Subject: Re: [O] advice please: best way to export to DOC(X) with maths
Date: Thu, 21 Dec 2017 09:58:02 +0100

Thanks!
I will experiment with this work-flow, but i have one other issue, any advice on working with existing (word) document templates?
I have to work within templates, so it would be great if i could manage to conform.

On 19 December 2017 at 06:09, <address@hidden> wrote:
On 2017-12-15 12:28, Eric S Fraga wrote:
On Friday, 15 Dec 2017 at 03:20, address@hidden wrote:

[...]

I only know how to do a rough approximation by means of pandoc:

#+BEGIN_SRC bash
   pandoc -f org+smart my-original.org -t docx+smart -o my-output.docx
#+END_SRC

What version of pandoc are you using?  My Debian (testing) has pandoc
1.19.2.4 and it does not seem to recognise the +smart bits...

But, in any case, pandoc (without the smart bits) does seem to do a
reasonable job and creates proper maths entities.  This is good enough
for me!  My once a year pain is relieved.  :-)

Thanks,
eric

I'm sorry for the very late response (deadlines). I will check for the pandoc version and let you know. One of the distros that I use is a rolling linux. The other one is the same as yours. I would also like to note that I got the pandoc snippet from Dr. Kitchin's website: http://kitchingroup.cheme.cmu.edu/blog/2015/01/29/Export-org-mode-to-docx-with-citations-via-pandoc/

I checked, and I am very satisfied with ~C-c C-e o o~. I set #+OPTIONS: dvipng. You can't edit the formulas, but I don't care about that. All my equations look fine and the pictures too. I also have to copy my references by hand, but that is the least of my issues, and I only do it when the final version is ready. I also get my source blocks right.

I think that the only thing which is really missing from Org as related to exporting is handling pictures inside tables (a way to create subfigures). There is a partial solution with ox-latex-subfigure [[https://github.com/linktohack/ox-latex-subfigure]], but is limited in the :width parameter. One of these days I will learn LISP and implement it myself (unless another brave soul goes for it first). Even Beamer columns can be used to this end, but this would only work for presentations. I don't know any other way.


-------------------------------------------------

ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options! 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]