Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Oct 2010 12:06:09 -0700
From:      Gary Kline <kline@thought.org>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: slightly OT... .
Message-ID:  <20101028190609.GA12329@thought.org>
In-Reply-To: <20101028171236.GA11410@thought.org>
References:  <20101028171236.GA11410@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help


	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 "&#8286;" --
> 		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
                                        



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101028190609.GA12329>