From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50868 Path: news.gmane.org!not-for-mail From: Piotr Kopszak Newsgroups: gmane.comp.tex.context Subject: Re: TexPaste alpha - my Win application converting Word/HTML to TeX Date: Thu, 28 May 2009 11:37:41 +0200 Message-ID: References: <4A1DB914.7000006@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1243503529 5203 80.91.229.12 (28 May 2009 09:38:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 May 2009 09:38:49 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu May 28 11:38:46 2009 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 lo.gmane.org with esmtp (Exim 4.50) id 1M9c4T-0002LX-W4 for gctc-ntg-context-518@m.gmane.org; Thu, 28 May 2009 11:38:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0958B1FC78; Thu, 28 May 2009 11:38:45 +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 27666-04; Thu, 28 May 2009 11:37:54 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C57641FE3F; Thu, 28 May 2009 11:37:54 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 743FE1FE3F for ; Thu, 28 May 2009 11:37:53 +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 19692-08 for ; Thu, 28 May 2009 11:37:43 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by ronja.ntg.nl (Postfix) with ESMTP id 46C811FC78 for ; Thu, 28 May 2009 11:37:43 +0200 (CEST) Original-Received: from mail-bw0-f226.google.com (mail-bw0-f226.google.com [209.85.218.226]) by filter3-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n4S9bggN012947 for ; Thu, 28 May 2009 11:37:42 +0200 Original-Received: by bwz26 with SMTP id 26so5557731bwz.2 for ; Thu, 28 May 2009 02:37:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=NsynuHWy61N8fwD4RR3r+24feEF61DCYavT0f3n0H4o=; b=kuh58bfsMPxlZizQVzyNvWTjSmPOg2YHVHIhl6AyP3v1mbvS3zK680WFKXKUlXD0mZ RR9TLjkfBuN46+sJ+rlQBp2m287erJxLGEct342to6MXoJWK1jVohcF4ewQIt0HAvTci 67cDCf0lstryRHqWet1/ebsLO+4hSmBFjR12A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=L3wtqvnTn2Zzbxfbv87yrivpwBZuyvST7iPnIJyhBe1r16CPWI6NLwMgz0HNmjWwl+ ak3E1stWcRAHGruH6nX74OlHtAR57svMEUHggi7bbbrGR/jn8/LGznnY9ML1RJqRtm8F ldwMXNisd4LZE2B1hISqKRUL2+rQPYah2uluo= Original-Received: by 10.204.52.146 with SMTP id i18mr1024101bkg.33.1243503462018; Thu, 28 May 2009 02:37:42 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.218.226; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 233263841 - 73496106fd88 - 20090528 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:50868 Archived-At: Hello list, Inevitably, it's a recurring subject. Here are my 2p. After playing with all sorts of convertors to TeX, Latex, HTML and scraping the output with Perl to obtain something useful for ConTeXt I found that what I in fact really need to preserve from a Word file are italics and footnotes. To make the long story short. IMHO the only reasonable way to go is via XSL stylesheet for ooffice. Fortunately you don't have to develop a new one from scratch which would be quite a task. There is an excellent stylesheet converting odt to mediawiki by Bernhard Haumacher odt2mediawiki.xsl It took me less than an hour to adapt it for ConTeXt output. Then you only add it as an xml filter to Open Office and from then on can convert Word to ConTeXt straight from ooffice as if it was one of its built-in export formats. Piotr 2009/5/28 luigi scarso : >> >> I guess I should build a new converter suite (there's also a InDesign Ta= gs >> to ConTeXt converter anywhere on my harddisk). >> But I won't make GUI apps, just scripts. > > That's sound good ! > If in python, even better ! > If only scripts, the best ! > > Can we have more details ? > > -- > luigi > > > _________________________________________________________________________= __________ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage =A0: http://www.pragma-ade.nl / http://tex.aanhet.net > archive =A0: https://foundry.supelec.fr/projects/contextrev/ > wiki =A0 =A0 : http://contextgarden.net > _________________________________________________________________________= __________ > > -- = http://okle.pl ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________