Picon

To Macro or Not to Macro ?

Hello All,

  I usually copy and paste from PDF into WinEdt and the text usually
 comes spread into several lines. Then I go at the end of each line,
 press "Delete" to merge it with the next one until get a single block
 of text. I know, technically, I don't have to do this because LaTeX is
 not sensitive to CR, but I do it for aesthetic reasons. :-p

  Today I thought I would do a macro to do the job for me, since I'm
 very lazy. But then again, I thought, maybe this feature already exist
 in WinEdt. However, I couldn't find it. Does any one knows about it ?

 Thanks,
 Danilo

 --
Dr. Danilo Zanatta-Filho
Research Associate
Dept. of Electronics
University of York
York YO10 5DD, U.K.
Tel: +44 1904 432395
www.dspcom.fee.unicamp.br/~daniloz

Salois, Martin | 7 May 15:11
Picon

RE: To Macro or Not to Macro ?


> -----Original Message-----
> From: Danilo Zanatta Filho [mailto:dan.zanatta <at> gmail.com]
> Sent: May 7, 2008 08:38
> To: winedt+list <at> wsg.net
> Subject: [WinEdt] To Macro or Not to Macro ?
> 
> Hello All,
> 
>   I usually copy and paste from PDF into WinEdt and the text usually
>  comes spread into several lines. Then I go at the end of each line,
>  press "Delete" to merge it with the next one until get a single block
>  of text. I know, technically, I don't have to do this because LaTeX
is
>  not sensitive to CR, but I do it for aesthetic reasons. :-p
> 
>   Today I thought I would do a macro to do the job for me, since I'm
>  very lazy. But then again, I thought, maybe this feature already
exist
>  in WinEdt. However, I couldn't find it. Does any one knows about it ?
> 
>  Thanks,
>  Danilo
> 
>  --
> Dr. Danilo Zanatta-Filho
> Research Associate
> Dept. of Electronics
> University of York
> York YO10 5DD, U.K.
(Continue reading)

Picon

Re: To Macro or Not to Macro ?

On Wed, May 7, 2008 at 2:11 PM, Salois, Martin
<Martin.Salois <at> drdc-rddc.gc.ca> wrote:
>
>
>  > -----Original Message-----
>  > From: Danilo Zanatta Filho [mailto:dan.zanatta <at> gmail.com]
>  > Sent: May 7, 2008 08:38
>  > To: winedt+list <at> wsg.net
>  > Subject: [WinEdt] To Macro or Not to Macro ?
>  >
>  > Hello All,
>  >
>  >   I usually copy and paste from PDF into WinEdt and the text usually
>  >  comes spread into several lines. Then I go at the end of each line,
>  >  press "Delete" to merge it with the next one until get a single block
>  >  of text. I know, technically, I don't have to do this because LaTeX
>  is
>  >  not sensitive to CR, but I do it for aesthetic reasons. :-p
>  >
>  >   Today I thought I would do a macro to do the job for me, since I'm
>  >  very lazy. But then again, I thought, maybe this feature already
>  exist
>  >  in WinEdt. However, I couldn't find it. Does any one knows about it ?
>  >
>  >  Thanks,
>  >  Danilo
>  >
>  >  --
>  > Dr. Danilo Zanatta-Filho
>  > Research Associate
(Continue reading)

David Huffer | 7 May 16:58

RE: To Macro or Not to Macro ?

On Wednesday, May 07, 2008 9:19, Danilo Filho wrote:
 > On Wed, May 7, 2008 at 2:11 PM,  Salois, Martin wrote:
 > > I usually copy and paste from PDF into WinEdt and
 > > the text usually comes spread into several lines.
 > > Then I go at the end of each line, press "Delete"
 > > to merge it with the next one until get a single
 > > block of text. I know, technically, I don't have
 > > to do this because LaTeX not sensitive to CR, but
 > > I do it for aesthetic reasons. :-p Today I thought
 > > I would do a macro to do the job for me, since I'm
 > > very lazy. But then again, I thought, maybe this
 > > feature already in WinEdt. However, I couldn't
 > > find it. Does any one knows about it ?
 > That macro already exists. Select the whole text
 > and go to "Edit/Format/Format Paragraph" (or
 > CTRL-Alt-Ins by default).
 > > ...I was pretty sure that the macro  already
 > > existed, but I couldn't find it....

How can you live without format paragraph?!

By the way, you'll probably need to do a little more to tweak
the translation between pdf documents and winedt.  Ligatures and
things like that dont copy paste well.  If this is something you
do often you might consider an application like xdfp to
translate the pdf to text instead of copy and paste.

--
 David

(Continue reading)

Picon

Re: To Macro or Not to Macro ?

On Wed, May 7, 2008 at 3:58 PM, David Huffer <David.Huffer <at> csosa.gov> wrote:
> On Wednesday, May 07, 2008 9:19, Danilo Filho wrote:
>   > On Wed, May 7, 2008 at 2:11 PM,  Salois, Martin wrote:
>   > > I usually copy and paste from PDF into WinEdt and
>   > > the text usually comes spread into several lines.
>   > > Then I go at the end of each line, press "Delete"
>   > > to merge it with the next one until get a single
>   > > block of text. I know, technically, I don't have
>   > > to do this because LaTeX not sensitive to CR, but
>   > > I do it for aesthetic reasons. :-p Today I thought
>   > > I would do a macro to do the job for me, since I'm
>   > > very lazy. But then again, I thought, maybe this
>   > > feature already in WinEdt. However, I couldn't
>   > > find it. Does any one knows about it ?
>   > That macro already exists. Select the whole text
>   > and go to "Edit/Format/Format Paragraph" (or
>   > CTRL-Alt-Ins by default).
>   > > ...I was pretty sure that the macro  already
>   > > existed, but I couldn't find it....
>
>  How can you live without format paragraph?!
>
>  By the way, you'll probably need to do a little more to tweak
>  the translation between pdf documents and winedt.  Ligatures and
>  things like that dont copy paste well.  If this is something you
>  do often you might consider an application like xdfp to
>  translate the pdf to text instead of copy and paste.
>
>  --
>   David
(Continue reading)

Evaristo Arroyo F. | 8 May 02:08
Picon

Re: To Macro or Not to Macro ?

En Wed, 07 May 2008 10:28:41 -0430, David Huffer <David.Huffer <at> csosa.gov>  
escribió:

> On Wednesday, May 07, 2008 9:19, Danilo Filho wrote:
>  > On Wed, May 7, 2008 at 2:11 PM,  Salois, Martin wrote:
>  > > I usually copy and paste from PDF into WinEdt and
>  > > the text usually comes spread into several lines.
>  > > Then I go at the end of each line, press "Delete"
>  > > to merge it with the next one until get a single
>  > > block of text. I know, technically, I don't have
>  > > to do this because LaTeX not sensitive to CR, but
>  > > I do it for aesthetic reasons. :-p Today I thought
>  > > I would do a macro to do the job for me, since I'm
>  > > very lazy. But then again, I thought, maybe this
>  > > feature already in WinEdt. However, I couldn't
>  > > find it. Does any one knows about it ?
>  > That macro already exists. Select the whole text
>  > and go to "Edit/Format/Format Paragraph" (or
>  > CTRL-Alt-Ins by default).
>  > > ...I was pretty sure that the macro  already
>  > > existed, but I couldn't find it....
>
> How can you live without format paragraph?!
>
> By the way, you'll probably need to do a little more to tweak
> the translation between pdf documents and winedt.  Ligatures and
> things like that dont copy paste well.  If this is something you
> do often you might consider an application like xdfp to
> translate the pdf to text instead of copy and paste.
>
(Continue reading)

olli.marttila | 8 May 10:12
Picon
Picon

Re: To Macro or Not to Macro ?

"Evaristo Arroyo F." <evarroyo <at> interlink.net.ve> kirjoitti: 
> En Wed, 07 May 2008 10:28:41 -0430, David Huffer <David.Huffer <at> csosa.gov>  
> escribió:
> 
> > On Wednesday, May 07, 2008 9:19, Danilo Filho wrote:
> >  > On Wed, May 7, 2008 at 2:11 PM,  Salois, Martin wrote:
> >  > > I usually copy and paste from PDF into WinEdt and
> >  > > the text usually comes spread into several lines.
> >  > > Then I go at the end of each line, press "Delete"
> >  > > to merge it with the next one until get a single
> >  > > block of text. I know, technically, I don't have
> >  > > to do this because LaTeX not sensitive to CR, but
> >  > > I do it for aesthetic reasons. :-p Today I thought
> >  > > I would do a macro to do the job for me, since I'm
> >  > > very lazy. But then again, I thought, maybe this
> >  > > feature already in WinEdt. However, I couldn't
> >  > > find it. Does any one knows about it ?
> >  > That macro already exists. Select the whole text
> >  > and go to "Edit/Format/Format Paragraph" (or
> >  > CTRL-Alt-Ins by default).
> >  > > ...I was pretty sure that the macro  already
> >  > > existed, but I couldn't find it....
> >
> > How can you live without format paragraph?!
> >
> > By the way, you'll probably need to do a little more to tweak
> > the translation between pdf documents and winedt.  Ligatures and
> > things like that dont copy paste well.  If this is something you
> > do often you might consider an application like xdfp to
> > translate the pdf to text instead of copy and paste.
(Continue reading)


Gmane