[sw-issues] [Issue 22504] AutoCorrect: Quotes: Strai ght apostrophes for numbers

2008-05-19 Thread msandersen
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=22504





--- Additional comments from [EMAIL PROTECTED] Mon May 19 15:23:06 + 
2008 ---
At least with the example 5'7" there is a clear pattern: (\d+)'(\d+)"
Also, if there are no open quotes in the paragraph, there are no call for
closing quotes after a number.
It would probably need a section like Smart Quotes (or the tab renamed and
extended) to insert the Primes, since it's not a straight text-replace, but is
easily matched nonetheless.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[sw-issues] [Issue 22504] AutoCorrect: Quotes: Strai ght apostrophes for numbers

2007-04-03 Thread ggs
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=22504


User ggs changed the following:

What|Old value |New value

  CC|''|'ggs'





--- Additional comments from [EMAIL PROTECTED] Tue Apr  3 21:32:04 + 
2007 ---
I can only concur that using straight quotes for measurements is incorrect! As 
has been pointed out by jes, the correct replacement would be U+2032 and 
U+2033.

What about extending the normal quote rules by the following rules?
In normal text:
1) number' -> number[prime]
2) number" -> number[double prime]
3) number[prime]number" -> number[prime]number[double prime]
With quotes:
4) 'text number' -> autoreplace ' by single quotes
4a) followed immediately by a second number?
  -> go back and replace closing quote by prime, leave quotes open
4b) followed immediately by another single quote?
  -> go back and replace first quote by prime, close quotes
5) "text number' -> replace ' by prime, leave quotes open
6) "text number" -> replace " by double quotes
6a) immediately followed by another number?
  -> go back and replace closing quotes by double prime, leave quotes open
6b) immediately followed by "?
  -> go back and change closing quotes to double prime and second quotes to 
real closing quotes

Of course, this should be activated separately by a third AutoCorrect option 
group "Prime replacement". (Not all fonts have primes and double primes.)


As for the feasability of such a replacement, that's up to the developers ;-)
But it would be a nice typographic improvement.


-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]