Beny Spira wrote:
> Thanks Andre
> I still have a question about the script you sent. The script worked
> for words that do not precede periods or commas, but when there is a
> period or comma immediately following the word, the script does not
> recognize it and there is not italicization of the w
> The perl man pages are pretty exhaustive. In fact, I don't think I've
> ever used anything else to learn the bit of perl I know.
>
> I could try to translate this:
>
> perl
> -p loop over all line in the file
> -e use this expression
> 'needed as th
On Tue, Apr 27, 2004 at 12:26:32PM -0300, Beny Spira wrote:
> > Be careful however and try a copy of your file first or use
> >
> >perl -p -e 's: word :\n\\emph on\n word \n\\emph default\n:g' file.lyx >
> > file2.lyx
> >
> > Andre'
>
>
> Hi Andre
> Your script worked perfectly :-)
> Unfor
On Ter, 2004-04-27 at 04:00, Andre Poenitz wrote:
An italized phrased looks like
\emph on
phrase
\emph default
in a .lyx file. So
perl -pi -e 's: word :\n\\emph on\n word \n\\emph default\n:g' file.lyx
would modify file.lyx such that all occurences of 'word' will be
emphasized.
Be c
On Mon, Apr 26, 2004 at 02:30:21PM -0300, Beny Spira wrote:
> > If pressing two keys is too expensive (and I agree there are situations
> > like that), maybe you should just write your document without any such
> > markup and rather add it add the end using a simple script.
> >
> > Andre'
>
> Tha
> If pressing two keys is too expensive (and I agree there are situations
> like that), maybe you should just write your document without any such
> markup and rather add it add the end using a simple script.
>
> Andre'
Thanks Andre
Yes, it is indeed the case. I have to spend a lot of time pressi
On Sat, Apr 24, 2004 at 10:26:04AM -0300, Beny wrote:
> Dear all
> I posted a few weeks ago a message asking for a way to make autocorrection of
> words in lyx. Jean-Pierre kindly suggested to add ERTs with predefined
> constructs using the command \newcommand{\bshs}{some string}. Though this
>
On Sat, 24 Apr 2004, Beny wrote:
> I posted a few weeks ago a message asking for a way to make autocorrection
> of words in lyx. Jean-Pierre kindly suggested to add ERTs with predefined
> constructs using the command \newcommand{\bshs}{some string}. Though this
> would solve my problem, it is more
Dear all
I posted a few weeks ago a message asking for a way to make autocorrection of
words in lyx. Jean-Pierre kindly suggested to add ERTs with predefined
constructs using the command \newcommand{\bshs}{some string}. Though this
would solve my problem, it is more laborious than to press the k