From owner-freebsd-questions@FreeBSD.ORG Thu Oct 28 19:06:36 2010 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 0B7B41065694 for ; Thu, 28 Oct 2010 19:06:36 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id D4CC58FC16 for ; Thu, 28 Oct 2010 19:06:35 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id BCD5BE819F9; Thu, 28 Oct 2010 12:06:09 -0700 (PDT) Date: Thu, 28 Oct 2010 12:06:09 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20101028190609.GA12329@thought.org> References: <20101028171236.GA11410@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101028171236.GA11410@thought.org> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: slightly OT... . 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: Thu, 28 Oct 2010 19:06:36 -0000 Sorry: don't bother with this [below]; there weren't that many embedded quotes. By-hand worked fine. --g On Thu, Oct 28, 2010 at 10:12:38AM -0700, Gary Kline wrote: > > > First, since abiword and OOo both work across many platforms, > this isn't a FreeBSD question, but humor me anyway. > > A [long] while ago I checked on the OOOForums list and got the > howto's of changing "this into ``this'' in openoffice. [[And > 'this into `this': it's a two-fer]]. Has anybody tried this > with abiword?? Clues, tips please? (Figure I'll ask here > first.) > > My ascii-to-markup program does the same thing, but only for > double-quotes since the fact that the zillions of contractions > like can't, would've, and informal english like "So: howzit > hangin'?" gave me *many* second thoughts. > > 1) Does anybody onlist have any idea howto turn 'this' into > &lsquo' ? In the HTML ampersand chars list, that's what it > is called. Using the ampersand and ints it is "⁞" -- > minus the quotes, of course. > > 2) Iwould like some clues howto automate this either via > abiword OR algorithm. It took some large N days back in > 1994 when I first hacked atom to realize that I would have > to use recursion to get the left|beginning and right|closing > double quotes. > > 3) Or should I give up and do this by eyeball?! > > tia, > > gary > > > > -- > Gary Kline kline@thought.org http://www.thought.org Public Service Unix > The 7.90a release of Jottings: http://jottings.thought.org/index.php > http://journey.thought.org > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.90a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org