Jörg Weber | 21 Jul 10:20 2016

RE: Running several copies of WinEdt in parallel

You can just open a second Window with ‘WinEdt.exe -C="2nd WinEDT"’

 

Joerg

 

From: Daniele Degiorgi [mailto:degiorgi <at> hispeed.ch]
Sent: 21 July 2016 08:25
To: winedt+list <at> wsg.net
Subject: [WinEdt] Running several copies of WinEdt in parallel

 

Working on several projects in parallel, I find very useful to have different copies of WinEdt running in parallel and to do so, I actually run a copy of WinEdt 6.0 and one of WinEdt 10.1.

I find switching between WinEdt screens better that switching projects inside a single WinEdt screen, but an obvious problem is that I cannot use new features in the old version.

I could install in parallel version 7, 8, 9, but a better solution would be to have several copies of the last WinEdt running in parallel.

 

A possibly way could be to duplicate the entries in “Program Files” and “Roaming Data”, for example renaming then and reinstalling WinEdt, but fore trying it I would ask if there are known problems doing it or if there are simpler ways to obtain the same result.

 

Many thanks for each suggestions

 

Daniel

Daniele Degiorgi | 21 Jul 09:25 2016
Picon

Running several copies of WinEdt in parallel

Working on several projects in parallel, I find very useful to have different copies of WinEdt running in parallel and to do so, I actually run a copy of WinEdt 6.0 and one of WinEdt 10.1.

I find switching between WinEdt screens better that switching projects inside a single WinEdt screen, but an obvious problem is that I cannot use new features in the old version.

I could install in parallel version 7, 8, 9, but a better solution would be to have several copies of the last WinEdt running in parallel.

 

A possibly way could be to duplicate the entries in “Program Files” and “Roaming Data”, for example renaming then and reinstalling WinEdt, but fore trying it I would ask if there are known problems doing it or if there are simpler ways to obtain the same result.

 

Many thanks for each suggestions

 

Daniel

Dr Roland J Koerner | 19 Jul 15:25 2016
Picon

Potential impact of upgrading to Window 10 on using WinEdt combined with MikTeX 2.9 and Sumatra

Dear All,

I am considering upgrading from Windows 7  to Windows 10. I am currently using WinEdt 9.0 (Build: 20140917  (v. 9.0) - 64-bit) with MikTeX 2.9 and the Sumatra PDF viewer.

I have been told that some non-commercial software may not be compatible with Windoes 10.

Did anyone using this setup experience adverse events or difficulties when upgrading to Window 10?

 

Many thanks

 

Roland

 

 

--

Dr Roland Koerner

Daniele Degiorgi | 17 Jul 10:54 2016
Picon

On unicode above FFFF

I noted recently that the use of Unicode characters with code greater than U+FFFF are not shown as such in WinEdt 10.1 [Build: 20160526] (I have no previous versions installed with the exception of 6.0 for non Unicode files)

 

For example, using the character U+1D12C coded in UTF-8 as F0 9D 84 AC (I got it at http://www.utf8-chartable.de/unicode-utf8-table.pl?start=119040 ) is shown in the Unicode preview as U+D834U+DD2C (i.e UTF-16 representation). On the other side Character map includes U+D800 to U+DFFF not corresponding to legal Unicode characters.

 

Is this an unimplemented feature, a parametrization problem or it works as planned?

 

Possibly Windows 10 has similar problems, but I did not check, as I did not yet consider possibly fonts problems.

 

Daniel

 

 

 

 

K | 15 Jul 12:00 2016

Trim leading space

Hi, 

I am using Winedt 10.1. I have a file (actually many...) which is indented 
quite messily, and which has about 1000 lines. 

Now, I want remove all the leading white spaces. 

Basically all I want is something like this. 

Original:

1234
    1234
        1234
      1234  

changed to:

1234
1234
1234
1234

I know there is an "unindent" (shift+tab) command, but since there is no 
regular pattern in my files, I don't know how to use macros to do it. (And I 
certainly don't know how to write any macro.) (I also know Notepad++ has a 
way to do it, but I am primarily using Winedt as my editor.)

Thank you!

Gilbert Roux | 1 Jul 11:34 2016
Picon

Encoding

Hi,

I have a problem about encoding.
I use an old version of Winedt : winedt 5.5. It's perfect for me.
But when I give my files .tex to a young friend who uses Tex live (I 
think the recent version), all accented letters are badly coded.
Is there any solution in the preamble of my flies for
1) I continue to work with Winedt 5.5
2) after changing one word in the preamble, of my files, my friend can 
read and work with my files, send to me the new version, and the, after 
changing another time the preamble, I can continue to work with a new 
version of thefile.

Thanks a lot for your help.

Gilbert Roux

Pd Dzaic | 30 Jun 22:29 2016
Picon

Insert \textquote{} for selected and non selected text

Hello

I'm trying to learn the macro language of Winedt and currently I'm facing the following problem:

If a TEXT is selected and I press a shortcut the selected text should be converted to \textquote{TEXT} and the cursor should move after the "}".

This I achieved with the following macro (let's call it "code_block_1"):

// If text is selected than add
//   \textquote{<SELECTION>}
// otherwise
//   \textquote{}
InsLabel("\textquote","{","}");
WordRight;
WordRight;
End;

Now I would like to expand my macro to the following functionality:

If no text is selected, then insert \textquote{} and move the cursor between the brackets. Let's call this "code_block_2".

My problem is:
  1. How to archive code_block_2?
  2. How to handle an IF-Statement. Here with pseudo code:

    if TEXT_SELECTED then code_block_1 else code_block_2
Thank for your help.

Dzaic
Daniele Degiorgi | 29 Jun 09:41 2016
Picon

Question on 'Search again'

Hi,

 

Recently, while forgetting to have a selected area, trying to search a text I correctly got the warning not found in selected text.

 

Deselecting and repeating the search with Search again gives the same warning (repeating the find via menu works as expected).

 

I would have expected that deselecting automatic removes the selected option in search, as for example, selecting current document in find dialog automatically deselect a selected text (why?) and if not text is selected the selected option in search dialog is not active.

 

Are there reason not to automatically remove the selected option in search again (when no selected text remains).

 

If so I would suggest to change the warning from “… not found in selected text” into “No selected text in document”.

 

Thanks,

 

Daniel

Daniele Degiorgi | 25 Jun 11:35 2016
Picon

Macro and unicode

Hi,

 

I have a problem with following macro

 

SaveFind; SearchReset; SetSearchCurrentDoc; SetSearchEntire(0); SetSearchWholeWords(0);

SetSearchCaseSensitive(1); SetSearchInline(1); SetNotFoundNotify(0); SetReplacePrompt(0); SetReplaceNotify(0);

SetSearchSelected; SetRegEx(1);

SetFindStr(' in \(1[A-Ga-g]\)b'); SetReplaceStr(' in \1'); ReplaceAll(0,0,0); SetOK(1);

SetFindStr(' in \(1[A-Ga-g]\)s'); SetReplaceStr(' in \1'); ReplaceAll(0,0,0); SetOK(1);

SetFindStr(' <at> [ M,]q=\(1+[0-9]\)'); SetReplaceStr(' =\1'); ReplaceAll(0,0,0); SetOK(1);

SetFindStr(' <at> [ M,]h=\(1+[0-9]\)'); SetReplaceStr(' ♩♩=\1'); ReplaceAll(0,0,0); SetOK(1);

SetFindStr(' <at> [ M,]e=\(1+[0-9]\)'); SetReplaceStr(' =\1'); ReplaceAll(0,0,0); SetOK(1);

SetFindStr(' <at> [ M,]qd=\(1+[0-9]\)'); SetReplaceStr(' .=\1'); ReplaceAll(0,0,0); SetOK(1);

SetFindStr(' <at> [ M,]hd=\(1+[0-9]\)'); SetReplaceStr(' ♩♩♩=\1'); ReplaceAll(0,0,0); SetOK(1);

SetFindStr(' <at> [ M,]ed=\(1+[0-9]\)'); SetReplaceStr(' .=\1'); ReplaceAll(0,0,0); SetOK(1);

SetFindStr(' (q=\(1+[0-9]\)'); SetReplaceStr(' (=\1'); ReplaceAll(0,0,0); SetOK(1);

SetFindStr(' (h=\(1+[0-9]\)'); SetReplaceStr(' (♩♩=\1'); ReplaceAll(0,0,0); SetOK(1);

SetFindStr(' (e=\(1+[0-9]\)'); SetReplaceStr(' (=\1'); ReplaceAll(0,0,0); SetOK(1);

SetFindStr(' (qd=\(1+[0-9]\)'); SetReplaceStr(' (.=\1'); ReplaceAll(0,0,0); SetOK(1);

SetFindStr(' (hd=\(1+[0-9]\)'); SetReplaceStr(' (♩♩♩=\1'); ReplaceAll(0,0,0); SetOK(1);

SetFindStr(' (ed=\(1+[0-9]\)'); SetReplaceStr(' (.=\1'); ReplaceAll(0,0,0); SetOK(1);

RestoreFind;

End;

 

Applied on following selected text

 

I61 pf Scherzo, Gigue, Romanze und Fughette Sehr markiert in Bb op.32 (HUV.56-67,AGAVII64.2-13,1838)

I61.1 pf Scherzo Sehr markiert (q=160) in Bb op.32 (HUV.56-59,AGAVII64.2-5,1838)

I61.2 pf Gigue Sehr schnell (qd=116) in g op.32 (HUV.60-61,AGAVII64.6-7,1838)

I61.3 pf Romanze Sehr rasch und mit Bravour (e=144) in d op.32 (HUV.62-65,AGAVII64.8-11,1838)

I61.4 pf Fughette Leise (qd=84) in g op.32 (HUV.66-67,AGAVII64.12-13,1839)

I56.1 pf Nachtstücke Mehr langsam oft zurückhaltend q=100 in C op.23 (HUIV.219-223,AGAVII61.2-5,1839)

I56.2 pf Nachtstücke Markiert und lebhaft h=76 in F op.23 (HUIV.224-229,AGAVII61.5-9,1839)

I56.3 pf Nachtstücke Mit grosser Lebhaftigkeit hd=72 in Db op.23 (HUIV.230-235,AGAVII61.9-14,1839)

I56.4 pf Nachtstücke Ad libitum Einfach h=96 in F op.23 (HUIV.236-237,AGAVII61.14-15,1839)

 

Gives

 

I61 pf Scherzo, Gigue, Romanze und Fughette Sehr markiert in B op.32 (HUV.56-67,AGAVII64.2-13,1838)

I61.1 pf Scherzo Sehr markiert ( =160) in B op.32 (HUV.56-59,AGAVII64.2-5,1838)

I61.2 pf Gigue Sehr schnell ( .=116) in g op.32 (HUV.60-61,AGAVII64.6-7,1838)

I61.3 pf Romanze Sehr rasch und mit Bravour ( =144) in d op.32 (HUV.62-65,AGAVII64.8-11,1838)

I61.4 pf Fughette Leise ( .=84) in g op.32 (HUV.66-67,AGAVII64.12-13,1839)

I56.1 pf Nachtstücke Mehr langsam oft zurückhaltend =100 in C op.23 (HUIV.219-223,AGAVII61.2-5,1839)

I56.2 pf Nachtstücke Markiert und lebhaft ♩♩=76 in F op.23 (HUIV.224-229,AGAVII61.5-9,1839)

I56.3 pf Nachtstücke Mit grosser Lebhaftigkeit ♩♩♩=72 in D op.23 (HUIV.230-235,AGAVII61.9-14,1839)

I56.4 pf Nachtstücke Ad libitum Einfach ♩♩=96 in F op.23 (HUIV.236-237,AGAVII61.14-15,1839)

 

That is an unwanted space is introduced between parenthesis and ♩, while no unwanted space is introduced in case of no parenthesis.

 

Note that  using same find and replace without calling the macros results in the desired output (without space after parenthesis).

 

Is this a bug (I use Build: 20160526  (v. 10.1) - 64-bit) or there is some settings to avoid the problem?

 

Thanks and greetings,

 

Daniel  

Daniele Degiorgi | 16 Jun 18:47 2016
Picon

On the musical flat symbol (U+266D)

Hi,

I have recently noted that the flat Unicode symbol (#266D) uses only about
the half width (more exactly 6 flat symbol uses the same space as 4 normal
characters), even using fixed with fonts (I use Courier New) and moreover,
all following spaces also uses the same width. The same happens with the
natural sign (#266E) but not with the sharp sign (#266F).
I am using Build: 20160526  (v. 10.1) - 64-bit.

Who lies the problem? Can it be avoided?

Many thanks for any hint,

Daniel

Roberto | 16 Jun 18:35 2016
Picon

solved: A damned old mistake

Thanks to alex suggestions that have allowed me to solve the problem.


Gmane