Roger Cooke | 9 Apr 12:20 2014
Picon

Can't get WinEdt 8 as the default program to open TeX files

I think it was a mistake to install WinEdt 8 when WinEdt 6 was my default
program to open TeX files.  As soon as I uninstalled WinEdt 6, my computer
(running Windows 7) had no default program, but WinEdt 8 wasn't registered
as a program, and so the Control Panel wouldn't let me make it the default.
I also tried the Configuration menu, where I checked all the file types I
wanted WinEdt 8 to open, but that didn't help.  Windows 7 refused to budge
on this issue.   What can I do, short of uninstalling WinEdt 8 and
re-installing it?  (Can I do that with the same registration number?)

Roger

Stefan Schulz | 9 Apr 09:53 2014
Picon
Picon

pdf xchange viewer evokes error message

Hello!
I installed Winedt 5.5 on a new windows 7 system. 
I do not use Adobe acrobat as pdf viewer, but pdf-Xchange 
viewer. If I pdftex a document, it is smoothly shown in the viewer, 
but in winedt acrobat close.edt is opened with an error message:

Cannot Open DDE Link to:
C:\Program Files\Tracker Software\PDF Viewer\PDFXCview.exe"
Service: acroview
Topic control
DDEOpenÇ%$Ç´AcroRead") `acroview",control");

Stefan

Zulkifli Hidayat | 4 Apr 10:01 2014
Picon

Automatic environment update

Dear all,

I would like to know if the current Winedt allows us to automatically
update an environment automatically. For example:
I have
\begin{A}

\end{A}

I change \begin{A} to \begin{B}, is possible to automatically change
\end{A} to \end{B} as I change \begin{A} to \begin{B}?

Thank you.
Best,
-Zul-

Norbert Wermes | 3 Apr 15:38 2014
Picon

Shortcut index

I have a shortcut definition which puts \index{keyword} behind the text "keyword"

// NW defines alt+< key to insert "INDEX" after word on which cursor sits
  ITEM="ind"
    CAPTION="&ind"
    IMAGE="ind"
    MACRO="Exe('%b\Menus\Shortcuts\index.edt');"
    SHORTCUT="32994::Alt+<"
    REQ_DOCUMENT=1  
  
this works ok.

Now I would like to define another shortcut which puts \index{keyword |( } , i.e. initializing a range, but I do not know
what to replace the line
 
    MACRO="Exe('%b\Menus\Shortcuts\index.edt');"

with.
I also would like to define more shortcuts, like for \index{keyword |) } and others.

Thanks,
Saiful Khan | 2 Apr 21:58 2014
Picon

Fwd: Background



Hello,

I am using a latest WinEdt licensed version.

Can any one please guide me how to change the background of the editor from white to dark/black, and the main texts as white, yet preserving the colour of the different commands making them visually separable?

It is quite comfortable and results in a less pressure in the eye while working in a dark background.

PS. I am not familiar or comfortable with scripting in WinEdt, some handy code will be useful.

Kind regards

Ulrike Fischer | 29 Mar 14:37 2014
Picon

Problem with -DDE and Adobe Reader (again)

Normally I use sumatra for the pdf preview but I also have to use
the adobe reader sometimes e.g. to check form fields. 

I'm using winedt Build: 20131031  (v. 8.1) - 64-bit on a windows 7
system. Adobe Reader has version 11.0.06.

Since a few weeks I have problems with PDF search.edt. It doesn't
matter if I call the script through the shortcut (ctrl + ä in my
case) or through the menu. 

I get the error 
******************************
Cannot Open DDE Link to:
"C:\Program Files (x86).... \AcroRd32.exe
Service:
Topic:

DDEOpen("%$('PDF-View');","%$('Acro-DDE_Service');","...
********************************

and PDF Search.edt opens and highlights line 105.

DDEOpen("%$('PDF-View');","%$('Acro-DDE_Service');","%$('Acro-DDE_Topic');");

Despite the error message the pdf is opened in the adobe reader.
Sometimes I get the "language dialog" of the reader. 

I got around the open problem by using pdf preview when Adobe is the
active viewer:

MACRO="IfStr('%$(|UFpdf|);','Adobe','=',|Exe('%b\Exec\PDF\PDF
Preview.edt');|,|Exe('%b\Exec\PDF\PDF Search.edt');|);"

(UFpdf is a variable which holds an information about the viewer  on
my system). 

But then I get the same error message for PDFCloseDoc.edt when
trying to close the pdf before pdflatex is run ;-(

I have no idea which change/update has triggered the problem. 
So what can I do? (Beside closing the reader manually every time). 

Btw: I doubt that winedt can do something about it, but I also ran
into the problem that the pdf file preview of the windows explorer
did block a pdf so that pdflatex couldn't write on it. 

--

-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/

Jose Koiller | 27 Mar 01:07 2014
Picon

file format/encoding "tag" on status line?

Hello All,

Good evening.

I was wondering if there would be an easy way to set up the "custom
info" space in the WinEdt status line to show the encoding format for
the current file being edited.

For example, while editing a UTF-8-encoded file, the tag "UTF-8" (or
some such thing) would show up in that space. When editing a
CP-1252-encoded file, a tag like "1252", "ansinew", or simply "ANSI"
would appear. To check this info now, I have to go the "document" menu
-> "document settings" -> "format" tab (or to click on the 4th space
of the status line after the "?" space, and then the "format" tab).

Some context, in case anyone is interested: When exchanging .tex files
with collaborators, file encoding can be an issue. For example, I was
editing a UTF-8-encoded main .tex file, using
\usepackage[utf8]{inputenx}. When I received another file from a
collaborator to \input{...}, I ran into trouble with my TeX engine,
because that file was CP-1252-encoded, and had some accented
characters. (This collaborator was using an older, non-unicode
compliant version of WinEdt, I think.) WinEdt opens and displays files
with different encodings within the same project without any errors or
warnings, but the TeX engine isn't so graceful... It took me a little
while to figure out what was going on...

I think it would be nice to quickly check the encoding format of new
files I open, just by glancing at the status line...

Thanks a lot, and regards,

Jose

Stahel, Christof W. | 26 Mar 23:36 2014

Versions 6 and 8 of WinEdt are very slow on my machine

Dear all,

Versions 6 and 8 of WinEdt are very slow on my machine (Windows 7 Enterprise, 64bit, Intel Core i5). I notice this really when using the editor as key strokes are executed with a significant lag only making it really impossible to use WinEdt. Since no other software I am using, e.g. Word, has that issue, I am thinking it might not be my machine. Any pointer that might be helpful is greatly appreciated.

Thanks tons!

Christof

 

Yih-Dar Shieh | 26 Mar 23:15 2014
Picon

Active Strings - Uppercase/Lowercase

I have two questions about active strings.

First, I want it to deal with both the uppercase and lowercase.
For example, "One get " -> "One gets " and "one get " -> "one gets ".
But in the documentation, I didn't find how to do this.

Second, I want it to indicate the typos or "grammar errors" (just like what happens when a usual typo occurs), but not to correct it or anything else.
For example, when "one get " is typed, it will draw curly red underline.
I don't know how to do this neither.

Need some help for these 2 questions, please.


Stefan Schulz | 25 Mar 20:24 2014
Picon
Picon

Winedt 5.5 always requires approval for execution under windows 7

Hello!
Because of the end of windows XP I bought a new computer and installed winedt 5,5 under 
windows 7 Pro. Everything runs fine with the exception that the PC ask every time I start 
winedt for permission to allow changes of the system. How can I disable this question for 
winedt only?

Many thanks

Stefan.Erl | 21 Mar 15:05 2014
Picon

Backup and Symbolic Links

Hi,

 

I’m using Windows 7 and WinEdt 8.1 (Build: 20131031 - 32-bit) with the automatic backup on save feature turned on.

 

When saving, WinEdt renames the current unsaved file to foo.tex.bak and creates a new file with the original name, foo.tex. After the timeout for old backups, the old foo.tex.bak is deleted, the current unsaved foo.tex is renamed to foo.tex.bak, and a new foo.tex is created with the latest content.

 

In my project, I’m using symbolic links (command “mklink”) for some of my tex files contained in network folders. Now the problem is that, after editing and saving a linked file, the symbolic link is renamed to *.bak, and a new file is created locally, which is not a link anymore. After the timeout, the link is deleted completely.

 

Is there an option somewhere to create the backup in a new file instead of renaming the original file?

 

Regards,

Stefan

 


Gmane