1 May 06:00 2009

### Re: replace include with file?

this is just what i needed, thank you very much!! It's just that, i can't seem to find that in the winedt directory!!

On Fri, May 1, 2009 at 12:04 AM, WinEdt Team wrote:
hello everyone!is there a way in winedt i can replace every
\include{file.tex} in my latex project with the respective file's contents?
thanks very much

Yes. The macro %B\Macros\Samles\Expand.edt does that. You can
take a look and possibly change things around (if needed) and
then execute the command:

Exe('%B\Macros\Samles\Expand.edt');

This one will create and open a new file

%P\%N-Expanded%T

rather than overwriting the original main file.

Also, this one will expand \input and \include directives and
it will also expand any included files inside included files.
This can all be changed but it will take some modifications to
the macro. It is best that you build the tree before executing
the macro so that included filenames can be properly qualified
(especially if the files are in different folders).

Best regards,

alex

1 May 18:31 2009

### Re: replace include with file?

> this is just what i needed, thank you very much!! It's just
> that, i can't seem to find that in the winedt directory!!

The macro was included in WinEdt 5.5 Build 20071003 (or later).
It may not run with older versions of WinEdt...

%B\Macros\Samles\Expand.edt

should (of course) be

%B\Macros\Samples\Expand.edt

If you really don't have this macro I can send it as an
attachment privately but as mentioned above it may not run
properly with older versions of WinEdt.

best regards,

alex


1 May 19:11 2009

### Re: replace include with file?

i have a current version of winedt, it should be included..thatt's weird.. if it's not difficult, please send me the file!
thanks again
sotiris

On Fri, May 1, 2009 at 7:31 PM, WinEdt Team wrote:
this is just what i needed, thank you very much!! It's just
that, i can't seem to find that in the winedt directory!!

The macro was included in WinEdt 5.5 Build 20071003 (or later).
It may not run with older versions of WinEdt...

%B\Macros\Samles\Expand.edt

should (of course) be

%B\Macros\Samples\Expand.edt

If you really don't have this macro I can send it as an
attachment privately but as mentioned above it may not run
properly with older versions of WinEdt.

best regards,

alex

1 May 19:20 2009

### Re: replace include with file?

WinEdt Team a écrit :
>> this is just what i needed, thank you very much!! It's just
>> that, i can't seem to find that in the winedt directory!!
>
> The macro was included in WinEdt 5.5 Build 20071003 (or later).
> It may not run with older versions of WinEdt...

Sorry, but I have WinEdt 5.5 Build 20071003 and there is no file
Expand.edt in %B\Macros\Samples

F. Pétiard


1 May 19:55 2009

### Re: replace include with file?

> >> this is just what i needed, thank you very much!! It's just
> >> that, i can't seem to find that in the winedt directory!!
> >
> > The macro was included in WinEdt 5.5 Build 20071003 (or later).
> > It may not run with older versions of WinEdt...
>
> Sorry, but I have WinEdt 5.5 Build 20071003 and there is no
> file Expand.edt in %B\Macros\Samples

It is possible that the macro was written and published on the
list after WinEdt 5.5 has been released in response to a
similar request/ question. The file is dated November 2007 so
it is newer than the above build.

Anyway, for those interested:

http://www.winedt.com/work/Expand.zip

Have fun (it works recursively

Best regards,

alex


1 May 20:07 2009

### Re: replace include with file?

WinEdt Team a écrit :
>> >> this is just what i needed, thank you very much!! It's just
>> >> that, i can't seem to find that in the winedt directory!!
>> >
>> > The macro was included in WinEdt 5.5 Build 20071003 (or later).
>> > It may not run with older versions of WinEdt...
>>
>> Sorry, but I have WinEdt 5.5 Build 20071003 and there is no
>> file Expand.edt in %B\Macros\Samples
>
> It is possible that the macro was written and published on the
> list after WinEdt 5.5 has been released in response to a
> similar request/ question. The file is dated November 2007 so
> it is newer than the above build.
>
> Anyway, for those interested:
>
>  http://www.winedt.com/work/Expand.zip
>
> Have fun (it works recursively
>
> Best regards,
>
> alex
>
>

OK, thank you.

François


10 May 13:57 2009

### The Chinese characters will be messy code when I copy from winedt and then paste into other programs.

Dear Winedters,

Today, I meet a very strange thing: The Chinese characters will be messy code when I copy from winedt and then
paste into other programs.

For instance, I type the 中国 into my winedt's document window, then I copy & paste these two chinese
characters into emeditor/ultraedit/notpad/Microsoft Office word, etc., I'll obtain something like this:

ÖÐ¹ú

Why does this happen?  Any hints will be highly appreciated.

PS. My WinEdt's version is:  Build: 20071003  (v. 5.5) and I've met this sort of problem for several times till
now.
--

--
Hongsheng Zhao <zhaohscas <at> yahoo.com.cn>
Xinjiang Technical Institute of Physics and Chemistry
GnuPG DSA: 0xD108493
2009-5-10


11 May 20:30 2009

### Re: The Chinese characters will be messy code when I copy from winedt and then paste into other programs.

> Today, I meet a very strange thing: The Chinese characters will
> be messy code when I copy from winedt and then paste into other
> programs.
>
> For instance, I type the ?? into my winedt's document window,
> then I copy & paste these two chinese characters into
> emeditor/ultraedit/notpad/Microsoft Office word, etc., I'll
> obtain something like this:
>
> ÖÐ¹ú
>
> Why does this happen? Any hints will be highly appreciated.
>
> PS. My WinEdt's version is: Build: 20071003 (v. 5.5) and I've
> met this sort of problem for several times till now. --

This happens because WinEdt is not a Unicode editor. However,
you can instruct it to use unicode format for clipboard
exchanges: Options -> Preferences -> Advanced. Help in the
dialog will explain what to do. Try a few code pages (such as
950) and you should get it right...

Best regards,

alex


18 May 09:32 2009

### font problem in WinEdt editor

Hello,
For a year now I've had installed the JErik's Toolkit Installator
(JErik's WinEdt optional settings and appearance > Erik's preferences,
settings and appearance) available from www.winedt.org. I really like
the modified font scheme in the text editor in WinEdt. The font is a
delight to work with on a laptop.

Since a few days, I've installed a new font (Deja-vu) on my machine for
programming tasks. To my surprise, my font in the WinEdt text editor has
changed to some default font. In winedt, Options > Preferences > font
says it's Courier New. I try to change the font or its size,  but it
stays to Courier New and to the same size. No matter which font or font
size I choose, the font still remains Courier New at size 12.

The font in the log panel (at the bottom) has however been changed to
the "Deja-vu" font!!!

Can anyone plz explain what has gone wrong here and how to be able to
change the font again?

If anyone out there is using the JErik's Toolkit Installator and is
using the font scheme from this macro, do you happen to know how to get
it back? The toolkit installator tells me that its font scheme is
installed. I don't want to uninstall the Toolkit Installator as then I
would be losing other changes I made in WinEdt also (This is according
to JErik's Toolkit Installator website).

Best Regards,

Y.Calleecharan


21 May 17:42 2009

### WinEdt and Sweave

Hello!

I've been using WinEdt with Latex. I like being able to compile and view the
results within WinEdt.

And I also use R-WinEdt with R. I program in WinEdt and submit my code to R
from there.

My question is about Sweave. I added the Sweave macro to my installation of
WinEdt. The added menu does not appear in the instance of R-WinEdt. When I
attempt to use "Sweave and show", I just get a _err.log and a _run.log file
called up into WinEdt with nothing in them. How do I make this work?

What does work for me is writing my sweave code in WinEdt, calling the file
with the Sweave command in R. And then compiling the resulting .tex file in
WinEdt. I want to do everything from WinEdt (i.e. have WinEdt call R and then
give me the pdf of dvi file in a viewer).

thanks,
James



Gmane