all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Brady Trainor <algebrat@uw.edu>
To: Subhan Michael Tindall <SubhanT@familycareinc.org>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: Markup to export to .docx
Date: Tue, 23 Sep 2014 11:30:49 -0700	[thread overview]
Message-ID: <87fvfii3za.fsf@uw.edu> (raw)
In-Reply-To: <9ec6e7f41f0c43948113abaad63bb999@fcmailsvr2.familycareinc.org> (Subhan Michael Tindall's message of "Tue, 23 Sep 2014 17:59:50 +0000")

Subhan Michael Tindall <SubhanT@familycareinc.org> writes:

> Hi, I know this must be possible, and I'm hoping someone has a simple
> solution so I don't have to go about it the long hard way of trial and
> error.
> I'm looking to do the following:
> Take .org documents
> Possibly add some simple markup IE \bold, \italics, \bullet
> Nothing complex, probably not even tables.
> Export it to .docx format .
> I'm stuck in Windows world at work, and occasionally need to produce
> documents for other members of my team in Word format (possibly PDF,
> but Word is better)
> I have emacs and Cygwin functioning, but have limited ability to install other software.
> Having trouble with the ODT exporter as the firewall blocks all the
> download sites I can find for infozip, and I can't get it to use the
> Cygwin one for some reason
> Thanks!

I've done this before, not recently. But I'm not sure about your
firewall issues. Does your Libre Office come with the unoconv tool? 

I think org-mode has an option for this, but it may be using unoconv in
the background. From

http://orgmode.org/manual/Extending-ODT-export.html#x-export-to-other-formats

we discover the variable org-odt-preferred-output-format. 

With that info, I can search my archive file and I find this

--8<---------------cut here---------------start------------->8---
(setq org-odt-preferred-output-format "odt"
      org-export-odt-prettify-xml nil 
      org-export-odt-styles-file OrgOdtStyles.xml 
      org-odt-data-dir "/e/emacs-config/"
      org-odt-styles-dir "/e/emacs-config/styles/")
--8<---------------cut here---------------end--------------->8---

You probably only need the first line, with "docx" instead, but I
include the other lines in case it gives you ideas. 


Brady



  parent reply	other threads:[~2014-09-23 18:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-23 17:59 Markup to export to .docx Subhan Michael Tindall
2014-09-23 18:07 ` Tory S. Anderson
2014-09-23 18:30 ` Brady Trainor [this message]
2014-09-30 13:52 ` Grant Rettke
     [not found] <mailman.153871.1411495214.1146.help-gnu-emacs@gnu.org>
2014-09-23 18:31 ` Buchs, Kevin J.

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fvfii3za.fsf@uw.edu \
    --to=algebrat@uw.edu \
    --cc=SubhanT@familycareinc.org \
    --cc=help-gnu-emacs@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.