On Sunday 23 April 2006 20:14, Thomas Ronayne wrote: > I have a document that uses "smart quotes." I have a concordance file > (plain text) that I cannot force to also use smart quotes, so most of > what I want in an index is not found; e.g., O'Neil, Barry's, etc.
"Smart quotes" is just a way of saying that simple ASCII quotes are replaced by suitable ones from the range [2018-201E] in the General Punctuation section of the Unicode set according to some algorithm which usually does the right thing. > > I've tried every way I can think of to get the index built with all the > entries in the concordance file. I don't know what you have tried, but as you are sending from a Linux machine, I'll assume that is what you have. Here are some possibilities. 1. Write a filter to translate the quotes in your simple text file before importing it into OOo. You could use perl, awk, sed, or best tr if your tr is utf-8 enabled. Then import the resulting file as a utf-8 text file. 2. Import your text file into OOo and do a find/replace for the simple quotes for an appropriate quote from the general punctuation range. You can copy/paste from the document into the replace field if you don't know the character you want. > > Other than going back to "dumb quotes" in my document, is there any way > to prepare a concordance file that OpenOffice 2.0.2 will be able to use? -- Andy Pepperdine On this mailing list help is provided by volunteers. Please subscribe to the mailing list to see all the replies to a query, and reply only to the mailing list at [EMAIL PROTECTED] For FAQ, userguide, see: http://documentation.openoffice.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
