From owner-freebsd-questions@FreeBSD.ORG Tue May 26 18:04:43 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82768106566B for ; Tue, 26 May 2009 18:04:43 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 26B1A8FC0A for ; Tue, 26 May 2009 18:04:42 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id n4QI5lre031027 for ; Tue, 26 May 2009 11:05:47 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Tue, 26 May 2009 11:04:38 -0700 (PDT) Date: Tue, 26 May 2009 11:04:38 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20090526180435.GA3980@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 22++ years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Subject: turning [x]html files into .odt files. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2009 18:04:43 -0000 This may or may not be of interest to anybody who creates professional typeset-looking manuscripts. I use vi as I have for 30 years simply because my fingers know it. I can keep fingers on keyboard rather than switch back and forth to mouse. Last night I used a very short php/html file that used HTML and converted it [[[EVENTUALLY]]] to the open desktop format. Just now I wrote a one sentence file, a2oofile, using vi/nvi: "Good morning, people. It is so *great* to be back home." Then using File -> Export, saved it as a2oofile.odt. *) atom a2oofile [ creates a2oofile.html ] The a2oofile.html file is: <!your title here -->

“Good morning, people. It is so great to be back home.” *) Then switer a2oofile.html *) File -> Export [and select to save as the ODT] and you have a2oofile.odt I began writing my ascii to markup suite in 1994; it was designed to do ONE thing: to *word* into word. I've added only the left and right quotes. atom does nothing else. i have tweaked it for 15 years; never gave to it ports because I hate writing the docs. Anybody interested in handing the port, please let me know. gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 4.91a release of Jottings: http://jottings.thought.org/index.php