LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   auto capitalize after quotes (https://www.linuxquestions.org/questions/linux-software-2/auto-capitalize-after-quotes-389463/)

AnimaSola 12-05-2005 10:24 AM

auto capitalize after quotes
 
this is something i have yet to figure out. im as we speak working on a book, and it would be nice if the autoformatting in open office would see quote marks (") as characters which do not effect the auto capitalizing settings. any thoughts on this?

rnturn 12-06-2005 08:46 PM

Quote:

Originally Posted by AnimaSola
... it would be nice if the autoformatting in open office would see quote marks (") as characters which do not effect the auto capitalizing settings. any thoughts on this?

You mean beyond my thinking that autocapitalization is The Spawn of Satan? :)

Unless I'm misunderstanding what you're doing with the quotation marks, I haven't noticed anything unusual. I tried entering (into OO v2.0) the text:
Code:

this is sample text. this is "new" sample text. "wow" he said.
and OO interpretted it as:
Code:

this is sample text. This is “new” sample text. “wow” he said.
The only thing that the autocapitalization tweaked was the "T" starting off the second sentance. (I'm guessing that the algorithm that decides whether or not to change case depends heavily on a period to trigger the capitalization.) If I go into Tools->Options->Language Settings->Writing Aids and uncheck 'Check capitalization' the second sentance is left alone when I re-enter it.

Not sure if that's what you are looking for. Turning autocapitalization off is about the first thing I do. Entering text into tables in word processors that autocapitalize will drive you batty -- especially when you're writing documentation for systems where case sensitivity is important. Does turning it off entirely help in your situation?

AnimaSola 12-06-2005 09:16 PM

ok my fault for being inarticulate.

open office sees: "this program wont capitalize a new sentance in quotes."

AnimaSola would like "Open office will see the next letter after the quote as the first in a sentance. becuse it is."

it's not that this is overly annoying, but as i say, im writing a book. and in a sequence with a conversation, this would be a lot less tedium

rnturn 12-06-2005 10:39 PM

Quote:

Originally Posted by AnimaSola
ok my fault for being inarticulate.

Not a problem

Quote:

Originally Posted by AnimaSola
im writing a book. and in a sequence with a conversation, this would be a lot less tedium

I agree. Unfortunately, I don't think there's an easy solution to be had by merely checking an option box. OO does have a macro recording function. You can also bind scripts (OO Basic, Javascript, and Bean something-or-other) to keyboard combinations so I'd say it's possible to put together a script to find all the occurances of a quotation mark followed by an alphabetic character and making sure that the characters was forced to uppercase. It wouldn't happen as you type like autocapitalization, though.

I'm afraid I haven't written any word processor macros since the Word 6 era. You ought to check the site http://www.ooomacros.org/ to see what might have been posted there. In particular, check "Andrew Brown's Macros". That entry looked like it might be of interest to you. (The "Macro Library How-To" looks interesting, too.)

Good luck with your writing...

RT


All times are GMT -5. The time now is 07:22 AM.