From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Brady Trainor Newsgroups: gmane.emacs.help Subject: Re: Markup to export to .docx Date: Tue, 23 Sep 2014 11:30:49 -0700 Message-ID: <87fvfii3za.fsf@uw.edu> References: <9ec6e7f41f0c43948113abaad63bb999@fcmailsvr2.familycareinc.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1411497090 28056 80.91.229.3 (23 Sep 2014 18:31:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Sep 2014 18:31:30 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: Subhan Michael Tindall Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 23 20:31:24 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XWUry-0007cL-9c for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Sep 2014 20:31:22 +0200 Original-Received: from localhost ([::1]:55171 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWUrx-0000mU-L7 for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Sep 2014 14:31:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37178) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWUri-0000l0-Ay for help-gnu-emacs@gnu.org; Tue, 23 Sep 2014 14:31:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XWUrb-0005rT-B0 for help-gnu-emacs@gnu.org; Tue, 23 Sep 2014 14:31:06 -0400 Original-Received: from mail-pd0-f173.google.com ([209.85.192.173]:63984) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWUrb-0005ov-57 for help-gnu-emacs@gnu.org; Tue, 23 Sep 2014 14:30:59 -0400 Original-Received: by mail-pd0-f173.google.com with SMTP id y10so6873987pdj.32 for ; Tue, 23 Sep 2014 11:30:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=yG22U1WRSJOh/SR5gt+1rMKI7grYzX1Ur8tbH7/m5BI=; b=QkSDfK3Ipsc230YtuDd0W0Pq10KJhd0P3djRxL8YQ6oz0SPqBwYfDfN8pY7WceMY1L 8xN7OXHDe+dVpoAl/yKz2gvYF91vmjpJ4FJLrwwy4LybSB5ETERlERWIvV9v9Wc8oPUR mxsp7yplC4bP3l4NCA1zy1iU4lk9wXJZKFBLSupmo3Ni6geTiVaQE8HjN3Fg65faXxOz 5jw4yh+faKxxOlaycelZIzRYUT7XZY/2M/FwVgSH4cayyyVtYwYOLQff8/ioircENbdB wJEpxCSyE7LlFtRmFQB92GMNDaTYuscHtTfxmPDGD+skliwyFD3mU1yBuK8fMlEB/MTT Fjmg== X-Gm-Message-State: ALoCoQkgjx8MKFHM0RM+qwk/SWvyxrw7keDOi9nfMUikyHiBBPeY6/gNZxVkTU+ONXZ5Vx37+iiH X-Received: by 10.68.251.69 with SMTP id zi5mr2143904pbc.56.1411497052469; Tue, 23 Sep 2014 11:30:52 -0700 (PDT) Original-Received: from heeere (75-165-50-85.tukw.qwest.net. [75.165.50.85]) by mx.google.com with ESMTPSA id ve13sm12803619pac.6.2014.09.23.11.30.51 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 23 Sep 2014 11:30:51 -0700 (PDT) In-Reply-To: <9ec6e7f41f0c43948113abaad63bb999@fcmailsvr2.familycareinc.org> (Subhan Michael Tindall's message of "Tue, 23 Sep 2014 17:59:50 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.192.173 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:100111 Archived-At: Subhan Michael Tindall 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