Everyone in writing has to italicize certain names or titles over and over
again throughout their work. Is there an option to make this happen
automatically for particular words as you type? I suspect it could be done
through a macro, but I am a total novice in that.
I've looked at Options, but I haven't seen this. Am I missing something?
Thanks!
Hi
Sorry no-one has replied to your post yet!
Is this something that could be done through find&replace or through autocorrect? At a guess you might have already tried these options unsatisfatorily?
Regards from
Tom
Tom, I appreciate your kind reply.
I /have /used find & replace successfully, but I honestly hadn't thought of
autocorrect. It's been several years since I experimented with that,
actually, and I guess I need to try using it before I ask someone to
reinvent the wheel, huh?
Find & replace works well enough, but I'm always just a tad nervous my
parameters will allow the program to alter something I didn't intend to. As
in, I replace all instances of "and" with "&", and then my text reads, "Joe
sighted l& after four days. Upon reaching the shore he wiggled his toes in
the s&."
I am well capable of far worse errors, I assure you.
Okay, I explore the autocorrect functions, and I can't find one for
auto-italicizing words. Help!
Hi
Lol, yes. Been there. Done that! Undo is pretty good these days tho (Ctrl Z). The trick is trying to use spaces and things to make it specific enough. In Gedit (a text-editor) there is a "find all" type feature that high-lights all instances of the thing searched for and it's very clear which one is the 'active' one. Still it's all to easy to see a document disintegrate.
Regards from
Tom
Attention programmers: PLEASE ADD AN ITALICIZE FUNCTION TO THE
AUTOCORRECT!!!! There are already functions for bold and underline. Come on!
TinKicker wrote
Everyone in writing has to italicize certain names or titles over and over
again throughout their work. Is there an option to make this happen
automatically for particular words as you type? I suspect it could be done
through a macro, but I am a total novice in that.
I've looked at Options, but I haven't seen this. Am I missing something?
Yes, it can!
You just need to add the word to the Autocorrect list under Tools,
Autocorrect Options.
Let's say you always want "in situ" in italics. Type in situ, select both
words and apply italics. Press Ctr+C to store it in memory. Click on
Tools, Autocorrect Options. Notice that in situ already shows in the "With"
box and that "Text only" is unchecked. Now just type in situ in the Replace
box and click on New.
From now on, each time you type in situ it will be automagically italicized
Pedro,
It does not work in my LO. (Version 3.4.3, Win 7 64bit) After creating "in situ" in italics, I opened the AutoCorrect box. "in situ" does not appear in the 'with' box and the 'Text only' box is checked, grayed out and can not be changed.
Jerry
Libre User wrote
It does not work in my LO. (Version 3.4.3, Win 7 64bit) After
creating "in situ" in italics, I opened the AutoCorrect box. "in
situ" does not appear in the 'with' box and the 'Text only' box is
checked, grayed out and can not be changed.
Did you press Ctrl+C or Edit, Copy to place it in the Clipboard _before_
opening the Autocorrect box?
I tested this in LO 3.3.4, 3.4.5RC1 and 3.5.0Beta1 under Win XP Pro x86 SP3
and it always worked perfectly.
If you can't get it to to work maybe it's an x64 specific bug... or a 3.4.3
bug... Why don't you update to 3.4.4?
Hi
You can always post it as a feature request
http://wiki.documentfoundation.org/BugReport
I would go with Pedro's work-around of using the clipboard to store italicised words.
Regards from
Tom
Hmmm..... I like the way you think Pedro, BUT....
I tried it and it doesn't work. I have 3.4.4.
When I copy a properly italicized word in my text to the clipboard, then
open the autocorrect form, then type in the word normally in the left box
and paste the before-italicized version into the right box, it shows as /not
/italicized.
I
AM
CONFUSED!
Now heading to the feature request page...
It works just fine for me. By just copying the italicized word (Alt-C), it automatically appeared in the right "With" box. I didn't even have to paste it. It was already there. I then typed the word without italics in the left "Replace" box. Of course, the word in the right box doesn't appear italicized, but when I go back to my document and type the word without italics, as soon as I hit the spacebar it is replaced by the italicized version.
I'm using 3.4.4 on Windows 7.
Virgil
Everyone in writing has to italicize certain names or titles over and over again throughout their work. Is there an option to make this happen automatically for particular words as you type? I suspect it could be done through a macro, but I am a total novice in that. I've looked at Options, but I haven't seen this. Am I missing something?
As has been suggested, one way is to prepare your document without italicisation, and then to use Find & Replace to italicise later.
Find & replace works well enough, but I'm always just a tad nervous my parameters will allow the program to alter something I didn't intend to. As in, I replace all instances of "and" with "&", and then my text reads, "Joe sighted l& after four days. Upon reaching the shore he wiggled his toes in the s&." I am well capable of far worse errors, I assure you.
To avoid this, use Replace instead of Replace All, and confirm each correction is appropriate.
An alternative scheme is to type a code for the "names or titles" instead of the items themselves, and then to replace this later. If you include a character in the code that does not appear elsewhere in your document, you will be fairly safe from the sort of problems you describe. If you need to italicise, for example, "The Origin of Species", enter something such as "#os" each time you need it and then use Find & Replace to convert this later to what you need.
I trust this helps.
Brian Barker
I tried it this morning and it does not work on Ubuntu 11.10 LO 3.4.4
Keith
I tried it this morning and it does not work on Ubuntu 11.10 LO 3.4.4
Try using Paste Special
I tried it this morning and it does not work on Ubuntu 11.10 LO 3.4.4
Try using Paste Special
That's not an option in the Auto-correct dialog
Keith
I know that with mine, the "Text Only" box is checked and grayed out so it will not take formatted text. And yes I used Ctrl-c to capture the formatting.
Is there a setting some place that will allow it work the way you describe?
Jerry
Hi again Jerry
TinKicker wrote
I tried it and it doesn't work. I have 3.4.4.
When I copy a properly italicized word in my text to the clipboard, then
open the autocorrect form, then type in the word normally in the left box
and paste the before-italicized version into the right box, it shows as
/not /italicized.
I just checked again and in fact you don't even need to copy. You just need
to select the italicized word (and leave it selected) so that when you open
the Autocorrect options the "With" field is already filled.
If it is not then this is not a Feature request but a Bug report. From the
small sample here it seems to work properly only under Windows x86
Hi Jerry,
Libre User schrieb:
I know that with mine, the "Text Only" box is checked and grayed out so
it will not take formatted text. And yes I used Ctrl-c to capture the
formatting.Is there a setting some place that will allow it work the way you describe?
Write the word in italic.
_Mark the word._
Open the "AutoCorrect Options" dialog, _while the word is marked_.
Type the word in the left "Replace" field.
New
OK
Kind regards
Regina
Hi,
It works for me in 3.4.2 on Ubuntu Linux.
What *could* cause a problem is if you don't select the whole word before
you create the AutoCorrect Options dialog. I think the safest way is to
double click on the word (and not select it with the mouse cursor.
Cheers,
Leif Lodahl