RE: Re: \item
David Huffer <David.Huffer <at> csosa.gov>
2009-04-09 19:47:16 GMT
On Thursday, April 09, 2009 12:03 PM, Bernhard Kleine wrote:
> Am Thu, 09 Apr 2009 10:23:07 -0400 schrieb David Huffer:
> > On Thursday, April 09, 2009 5:07 AM, B.Kleine wrote:
> > > ...with auctex, i can type alt-Enter and have a new \item in
the
> > > next line. I am not asking whether this is possible but how with
> > > winedt. I googled and looked in the winedt-help but
was
> > > not successfull. Therefore, I hope that someone can point me
to
> > > the solution...
> > Does this do what you want:
> > BeginGroup;
> > InsLine(0);
> > Ins('\item ');
> > EndGroup;
> ...unfortunately I am no longer used to
> winedt's macro: Could you be so kind and
> tell me, too where to put this and how to
> make this run with the alt-enter command...
Oh...you can save this file somewhere like
C:\Program Files\WinEdt
Team\WinEdt\Macros\DEH\EDT\INS\EDTMCR_INS_Item.edt
Then (one way is) in Options..Menu setup.. under Items
double-click shortcuts then click the icon for "insert new item"
and select command from the pop-up. Call it something like
"Insert \item". To the right in the textbox under "macro" paste
the path\filename. Down below in the textbox under "shortcut"
type whatever shortcut you want. youll have to use the shortcut
context menu to type alt-enter...
--
David