emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Adrian Bradd <adrian.bradd@gmail.com>
To: Tim O'Callaghan <timo@linux.com>
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: advice please: best way to export to DOC(X) with maths
Date: Mon, 25 Dec 2017 23:09:02 -0500	[thread overview]
Message-ID: <m2shbyjfkx.fsf@columbia.edu> (raw)
In-Reply-To: <CAArV04N=+YnNmy7BKeyRS2O-sfkvoWru-r0fUug+TFBFgtBorw@mail.gmail.com>


According to Karl's post [1], pandoc now supports conversion with some
template support. I haven't tried it myself though.

Cheers,

Adrian

[1] http://www.karl-voit.at/2017/12/17/pandoc-docx-reference/

Tim O'Callaghan <timo@linux.com> writes:

> 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, <edgar@openmail.cc> wrote:
>
>> On 2017-12-15 12:28, Eric S Fraga wrote:
>>
>>> On Friday, 15 Dec 2017 at 03:20, edgar@openmail.cc 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!
>>


-- 
Adrian

Bioelectronic Systems Lab,
Columbia University

  reply	other threads:[~2017-12-26  4:09 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-15  3:20 advice please: best way to export to DOC(X) with maths edgar
2017-12-15 12:28 ` Eric S Fraga
2017-12-19  5:09   ` edgar
2017-12-21  8:58     ` Tim O'Callaghan
2017-12-26  4:09       ` Adrian Bradd [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-12-14 12:18 Eric S Fraga
2017-12-15 12:58 ` Fabrice Popineau
2017-12-15 13:30   ` Eric S Fraga
2017-12-15 14:54     ` Tim O'Callaghan
2017-12-15 18:15       ` Adonay Felipe Nogueira
2017-12-15 18:43       ` Grant Rettke
2017-12-17 16:55         ` Scott Randby
2017-12-18  3:14           ` Grant Rettke
2017-12-18 23:45             ` Scott Randby

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=m2shbyjfkx.fsf@columbia.edu \
    --to=adrian.bradd@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=timo@linux.com \
    /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).