LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   open office help! (https://www.linuxquestions.org/questions/linux-software-2/open-office-help-432505/)

mifan 04-06-2006 07:48 PM

open office help!
 
I have a text document in open office. The first part of the document has the quotes correctly done (the single and double quotes '' "", are correctly replaced) but the later text doesn't have the quotes corrected.
I've tried the find and replace, but it replaces all the " with the left side quotation mark.

Is there a way to "auto correct" the remaining quotation marks without having to retype each quotation mark?

***EDIT***
I've also gone to format>auto format>apply, but this doesn't work either, because the text I'm trying to fix is in chinese, where they don't have spaces between the words, so how to do?

Radiolarian 04-08-2006 05:16 AM

Unfortunately, you need a leading space and trailing space for quote brackets to work. I ran across this problem once and to solve it, I chose a font where you couldn't distinguish the left from right. I can't remember which font I used, but maybe you could try several fonts just for the quote marks. Good luck!

jib2 04-08-2006 08:44 AM

You could try to replace first the left quotes with a regular expression :
Ctrl-F then "More options", check 'Regular expression',
-search: [:alpha:]"
-replace with: » (space »)

Then replace the right quotes : Ctrl-F, uncheck 'Regular expression',
-search: " (quote)
-replace with: « (« space)

Not perfect, but it might catch most of them.


All times are GMT -5. The time now is 10:44 PM.