On 03/22/2010 05:30 AM, Trevor Jenkins wrote:
On Sun, Mar 21, 2010 at 9:12 PM, Jose Quesada<[email protected]> wrote:
Let me try to motivate this feature.
1- It's trivial to implement it, and then make it optional.
2- The only way to check whether you have missed a capital is by loading all
your lyx files on a text editor that supports regex and painfully check
results of \.\s+[a-z] one by one. Not efficient.
3- I hate to do keyboard combos. they are bad for rsi and slower overall.
Autocapitalization would save thousands of those a month.
What's wrong with pressing the Shift key as you type? That way you
have complete control of where capitalisation occurs. Those word
processors where it is enable by default make a piss poor attempt at.
And your regex hits things that are *not* sentence starts, e. g. this
example, which includes abbreviations e. g. like e. g.
Which is one of the major problems with autocaps. Yes, you can have some
list of exceptions, but then you need a list of exceptions to the
exceptions.
say copy-paste from browsers. keeping basic formatting (headings, bold)
would be good., but I bet this is non-trivial. Running some html parser on
clipboard contents, then convert html to lyx... then paste.
I don't do that in LyX but I've seen OpenOffice.org make a real hash
of pasting HTMLised text on Linux, Mac OS X, and Windows.
As he said, this is highly non-trivial. And the better the website, the
harder it is, since a good website will use semantic markup that is
styled by CSS. Then what do you do?
rh