From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan L Tyree Subject: Re: org-mode markup vs rst for general content Date: Fri, 10 Mar 2017 11:49:47 +1100 Message-ID: References: <87bmtahkvu.fsf@atmarama.com> <87variglbb.fsf@atmarama.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46302) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cm8kj-00032P-TA for emacs-orgmode@gnu.org; Thu, 09 Mar 2017 19:49:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cm8kh-0005Vt-Vo for emacs-orgmode@gnu.org; Thu, 09 Mar 2017 19:49:53 -0500 Received: from mail-pf0-x242.google.com ([2607:f8b0:400e:c00::242]:36221) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cm8kh-0005Vj-Pp for emacs-orgmode@gnu.org; Thu, 09 Mar 2017 19:49:51 -0500 Received: by mail-pf0-x242.google.com with SMTP id j5so8888156pfb.3 for ; Thu, 09 Mar 2017 16:49:51 -0800 (PST) In-Reply-To: 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" To: Samuel Wales Cc: Emacs Orgmode , =?UTF-8?B?U2HFoWEgSmFuacWha2E=?= On 10/03/17 11:17, Samuel Wales wrote: > On 3/9/17, Alan L Tyree wrote: >> The only problem that I have had is converting org-mode to Word files as >> required by my publisher. The ODT export module is fiddly and often >> chokes on my longer documents. When it does choke, it is hard to trace >> the problems. Markdown + Pandoc seems much better in this regard, but >> the outlining features in Emacs do not seem to be as good for the >> Markdown mode. To get a decent export in my latest manuscript I had to >> export to LaTeX then use ht4tex. Not a pretty workflow. > your answer seems very helpful. not sure what you mean in this par though. > > just to clarify: > > are you referring to exporting to word from org-mode? Yes, my publisher demands Word manuscripts (I don't know why -- they immediately use some other publishing software). > - odt [is that word format?] LibreOffice, but LibreOffice exports nicely to Word. > - org -> markdown -> pandoc [presumably word] Or even org -> Word using pandoc; the result was a bit of a mess though whether going via markdown or directly. Actually two problems: - Lots of html markup in the result; noting the earlier posts in this thread, that might have been overcome; - Internal references were links where the text of the link was the text of the target section; what I wanted was the link text to be the section number. In other words, the result was "see Holder in Due Course" instead of "see 4.6.1". The links were correct in each case, but the descriptive text was different. - org -> latex -> ht4tex [= word?] No, I was wrong about that. ht4tex converted to HTML (but with the right form of cross reference) and then pandoc to word. The end result had the cross references in the form I wanted. Is there any direct way to get the "see 4.6.1" form of reference? I doubt it since it clearly requires a double pass of the manuscript, first to assign section numbers and labels, then to put in the appropriate reference. LaTeX does that. > i was wondering, too, what format would be good to export to for a > nontechnical reader, from org, and can preserve org's external > hyperlinks and numbered outline structure. The LibreOffice export is good when it works. I have just found it to be hit and miss. If the 'non-technical' reader can handle plain text, I would just send them Markdown, otherwise I guess you need to go for Word or RTF. It is a painful process. > to the original poster: org can also insert literal target format > code. for example, you can put literal html code into your export as > needed. dunno if that fits your needs. > -- Alan L Tyree http://www2.austlii.edu.au/~alan Tel: 04 2748 6206 sip:typhoon@iptel.org