From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/28602 Path: news.gmane.org!not-for-mail From: "John R. Culleton" Newsgroups: gmane.comp.tex.context Subject: Re: Ugly hack for multiple MSWord docs. Date: Thu, 15 Jun 2006 14:35:11 -0400 Organization: WexfordPress Message-ID: <200606151435.11543.john@wexfordpress.com> References: <200606131829.58862.john@wexfordpress.com> <44915784.2070804@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1150393184 2249 80.91.229.2 (15 Jun 2006 17:39:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 15 Jun 2006 17:39:44 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Jun 15 19:39:41 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1FqvoZ-0002el-Vt for gctc-ntg-context-518@m.gmane.org; Thu, 15 Jun 2006 19:39:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C9976127E6; Thu, 15 Jun 2006 19:39:31 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01319-08; Thu, 15 Jun 2006 19:39:25 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A5E95127B4; Thu, 15 Jun 2006 19:39:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7DBF0127B4 for ; Thu, 15 Jun 2006 19:39:22 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03773-02 for ; Thu, 15 Jun 2006 19:39:19 +0200 (CEST) Original-Received: from mta9.adelphia.net (mta9.adelphia.net [68.168.78.199]) by ronja.ntg.nl (Postfix) with SMTP id 6E3B81279B for ; Thu, 15 Jun 2006 19:39:18 +0200 (CEST) Original-Received: from 69-174-128-193.frdrmd.adelphia.net ([69.174.128.193]) by mta9.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20060615173916.LBCO17359.mta9.adelphia.net@69-174-128-193.frdrmd.adelphia.net> for ; Thu, 15 Jun 2006 13:39:16 -0400 Original-To: mailing list for ConTeXt users User-Agent: KMail/1.9.1 In-Reply-To: <44915784.2070804@wxs.nl> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:28602 Archived-At: On Thursday 15 June 2006 08:50, Hans Hagen wrote: > John R. Culleton wrote: > > Someday there will be an elegant solution to the MSWord to > > Context problem. For now there is my ugly hack as described here. > > maybe the word xml output, since that can be parsed > > Hans Interesting suggestion. I don't have a copy of MSWord. And my clients are naive so that asking them to save in exotic formats is likely to be unproductive. Open Office does not save as xml. Abiword, however does. In a simplistic test case (Now is the time for all good men.) Abiword saved the document as xml with a little coaxing and texexec compiled it clean. So at least there is something there to experiment with. Next I will try a real MSWord document, save it as xml from Abiword, and see what Context does with it. One question: How do I mix in the necessary Context commands such as papersize, font selection etc.? What are the rules and no-nos for blending Context commands into an xml document? -- John Culleton Books with answers to marketing and publishing questions: http://wexfordpress.com/tex/shortlist.pdf Book coaches, consultants and packagers: http://wexfordpress.com/tex/packagers.pdf