From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Oliver Scholz Newsgroups: gmane.emacs.help Subject: Re: [OT] Create RTF with Emacs? Date: Thu, 10 Feb 2005 10:48:29 +0100 Message-ID: <87is50u4nm.fsf@ID-87814.user.uni-berlin.de> References: <87ekgko10s.fsf@gmx.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1108029657 15008 80.91.229.2 (10 Feb 2005 10:00:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 10 Feb 2005 10:00:57 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 10 11:00:57 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1CzB80-0000Zx-OJ for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Feb 2005 11:00:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CzBMi-00036X-Gf for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Feb 2005 05:16:04 -0500 Original-Newsgroups: gnu.emacs.help X-Attribution: os X-Face: "HgH2sgK|bfH$; PiOJI6|qUCf.ve<51_Od(%ynHr?=>znn#~#oS>",F%B8&\vus),2AsPYb -n>PgddtGEn}s7kH?7kH{P_~vu?]OvVN^qD(L)>G^gDCl(U9n{:d>'DkilN!_K"eNzjrtI4Ya6; Td% IZGMbJ{lawG+'J>QXPZD&TwWU@^~A}f^zAb[Ru;CT(UA]c& User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:DbNh0hqFMAf8O0IOiHi/wtLgQAA= Original-NNTP-Posting-Host: 84.58.40.202 Original-X-Trace: 10 Feb 2005 10:49:09 +0100, 84.58.40.202 Original-Lines: 39 Original-X-Complaints-To: abuse@arcor-ip.de Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!newsfeed.arcor-ip.de!news.arcor-ip.de!84.58.40.202 Original-Xref: shelby.stanford.edu gnu.emacs.help:128471 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: main.gmane.org gmane.emacs.help:24001 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:24001 kai@emptydomain.de (Kai Großjohann) writes: > Sorry for this off-topic post, but I was hoping that like-minded > people would give better suggestions ;-) > > I'm part of a workflow based on MS Word documents. Luckily, I get to > create the MS Word document that should be processed by others. I > have a template.doc file that I copy and then fill in. > > So I was hoping that the recipients will be fine with an RTF file, or > that I could use OpenOffice to convert *.rtf into *.doc. > > I guess for Emacs users the right approach is to use some kind of > markup language. Do you have some suggestions? > > The requirements for formatting are: the resulting RTF file should > look very similar to the template MS Word document I've got. The most > difficult part of the layout is probably the table at the top. Other > that that, I will be fine with bold and italics and perhaps also > indented paragraphs. It would be nice if I could insert some text in > another color, to provide annotations/remarks. [...] As I see it, RTF is the format invented by Microsoft for distribution of files (it gives the impression of fitting MS Words internals very well anyways, including the use of "twips" for measurement). Whereas *.doc is just the format for local working copies. I won't say that MS does not like to see that *.doc is used for distribution, but that is how it is supposed to be. Unless your documents include VBA, RTF should be fine. For simple cases, writing *specialised* Elisp code for producing RTF from a, say, Wiki-like markup language is rather easy. Could you be more specific on what you need? Oliver -- 22 Pluviôse an 213 de la Révolution Liberté, Egalité, Fraternité!