Kamil | 1 Mar 17:06 2015
Picon

Winedt as an active window after running PDFLaTeX

Hello,

I use build 20140917 - 64-bit on W7. When I run PDFLaTeX, the output pdf
appears in Sumatra but the Sumatra window remains active. I have to switch
manually (Alt-Tab) to Winedt and that can be annoying (especially when
multiple runs are necessary). I tried to experiment with SetFocus(''); (I
found it in an old thread from 2006; it seems obsolete(?)) putting it into
PDFLaTeX.edt but no success. I would like a similar behavior for LaTeX when
previewing it as a dvi file in DVIout.

Any help appreciated,
Kamil

Lemenn | 25 Feb 22:36 2015
Picon

HTMLHelp

Hello,

I have a .chm file (made by myself) that contains information
about TeX primitives.

This .chm file has links to The TeX Book (pdf) using a trick described
here http://www.cybertext.com.au/tips_HTML_chm_external.htm

An object is inserted in the .html page :
<script>
<object id="Knuth_124" type="application/x-oleobject"
        classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"
        width="1" height="1"
        codebase="hhctrl.ocx#Version=6,1,7600,16385">
<param name="Command" value="ShortCut">
<param name="Item1" value=",&quot;CHMOpenPDF.exe&quot;,
                             &quot;TeXBook.pdf&quot;
                             &quot;page=124&quot;">
<param name="Item2" value="273,0,0">
</object></script>

Then a link is made with:
           <a onclick=JavaScript:Knuth_124.Click()>...</a>

This will trigger:  "CHMOpenPDF.exe" "TeXBook.pdf" "page=124"
(CHMOpenPDF is a small utility i made that forces Adobe Reader to close
and reopens TeXBook.pdf at a given page...)

When I launch the .chm file from a windows explorer, the links work
fine, but when I use HTMLHelp they don't work, as if JavaScript was
(Continue reading)

Staer, Arsenio | 25 Feb 20:19 2015

Copy code from WinEdt to Word keeping the syntax coloring

Dear WinEdt experts,

I was wondering if it were possible to copy the latex code from WinEdt to Word or anywhere with the syntax coloring intact? Say, \section light blue in WinEdt and same color in the copied text in Word. That's for revisions with non-latex using coauthors, which number plenty in my field.

If not WinEdt, then any other editor?

Thank you in advance,

Arsenio Staer 

P.S. This was also posted on latex-community.org. 
Karl Koeller | 21 Feb 13:07 2015

NEW - WinEdt contribution: Floats

Dear WinEdt-ers,

The package Figures&Tables at winedt.org is not available anymore.
It has been substituted by the package Floats.

Users who would like to install the new package have to uninstall
the package Figures&Tables first.

The new package collects not only figures and tables, but also
algorithms and listings.

Visit http://www.winedt.org/Config/Tree/Floats.php for more info and 
download.

Regards,

Karl

Lemenn | 13 Feb 15:55 2015
Picon

Return; and SetOK;

Hello again, Alex

and thanks for your answer about `!' and `+' (very useful feature
indeed !)

I wonder if there is any technical reason that explain why Return;
always sets the OK flag to 1 : Call(:label:); cannot be used in
place of Exe, for Exit observes the OK status.

The question almost arises with SubstituteInString : the \E{macro}
feature is interesting but not very convenient in practice : it is
most often easier to keep a RegEx in the very file where it is used:

SubstituteInString("<string>", >
                    "..\(0pattern\)..", "\Xx{Call(:label:);}", 1);

is extremely efficient : .
    :label: lies in the same file
     SubstituteInString does not need SaveFind; RestoreFind; to keep
        the regex tags (%#0...#9) untouched
     every pattern is matched
     etc.

So my question: \X{Call(:label:);} cannot be used since Return;
always SetOK(1);... it is an end-user point of view...

Best regards,

Florent.

Ulrike Fischer | 12 Feb 12:35 2015
Picon

makeindex mystery

I got a document which has four indexes and so need 4 makeindex
calls with different input/output extensions.

When I compile the document and then click on the "I" in windows all
4 makeindex calls are executed. How is winedt doing this (if it is
winedt at all)? I could find nothing in the macros that explained to
me how makeindex knew that it should compile other files than the
standard idx.

--

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

Lemenn | 9 Feb 21:00 2015
Picon

WinEdt `+' and `!' : expansions rules with concatenation by `+'

Hello,

Is this on purpose that expansion is disabled as soon
as the first ! character is met :

LetReg(1, !"one");
LetReg(2, !"two");
LetReg(3, !"three");

Prompt("%!1" + !"%!2" + "%!3");  // one%!2%!3

Prompt("%!1" + !"%!2" +  <at> "%!3");  // one%!2%three

Thanks in advance.
Best regards.

Jörg Weber | 3 Feb 10:38 2015

RE: Re: Keep search (and replace) window at fixed position

Thanks for your reply. 

For me at least the "moving" replacement text confirmation dialog is not the right behaviour. If I have to
change many instances of the word "we" I have to reposition the mouse for every 'yes' click.

 I am afraid I do not understand your suggestion: 
<<Alternatively, you can write you own macro that Finds, center line with no condition (whether or not the
match is visible) and then replace, with SetReplacePrompt(1); (on).>>

Can you perhaps expand on this?

Thanks.

-----Original Message-----
From: Lemenn [mailto:gouailles <at> gmail.com] 
Sent: Monday, February 2, 2015 12:39 PM
To: winedt+list <at> wsg.net
Subject: [WinEdt] Re: Keep search (and replace) window at fixed position

Le 02/02/2015 11:46, Jörg Weber a écrit :
> Hello,
>
> I have two questions regarding the search (and replace) function:
>
> 1) When I "Replace Text" (replace all) and click "yes" at the 
> confirmation dialog, the confirmation window moves to the next search result. Is it possible to fix the
confirm dialog at a particular position?

I don't think so, and i think WinEdt has the correct behaviour here.
If you say "center lines" (in the drop-down combo-button on the ReplaceDialog form) next match will be
centered if it is not currently visible on the screen.

Alternatively, you can write you own macro that Finds, center line with no condition (whether or not the
match is visible) and then replace, with SetReplacePrompt(1); (on).

>
> 2) When I "Find Text", is it possible to keep the window open at a fixed position and continue searching with "Enter"?

Usually, Seach Next is F3 (or SHIFT+F3 or ALT+F3 or CTRL+F3, etc.) not ENTER. Personnally I've changed the defaults
(SearchNext/SeachPrevious) -- whose direction depends on the choice you made in the FindDialog --
   to Search(1); which means Search Forward (=ahead, whatever the
                 selected search direction)
  and Search(-1); which means Search Backward (whatever the selected
                 search direction).

If you want to search next with a dialog still open, then use Incremental Search instead... WinEdt is not
Notepad++ ;-)

>
> Thanks,
> Jörg Weber

Best regards.

Jörg Weber | 2 Feb 11:46 2015

Keep search (and replace) window at fixed position

Hello,

I have two questions regarding the search (and replace) function:

1) When I "Replace Text" (replace all) and click "yes" at the confirmation dialog, the confirmation window
moves to the next search result. Is it possible to fix the confirm 
dialog at a particular position?

2) When I "Find Text", is it possible to keep the window open at a fixed position and continue searching with "Enter"?

Thanks,
Jörg Weber

Lemenn | 29 Jan 22:01 2015
Picon

Some bugs of WinEdt 9

ello,

I recently upgrade to WinEdt 9 from 8.1 and realized that
    ShowUnicodePreview;

does not shows the unicode points of the characters in the
current line (%l) but the current line /as is/ instead.

Is this a known issue / bug of WinEdt 9 ?

Thanks in advance.

__________________________________________________________

Moreover, I would like to contact Alexander Simonic to
send him a list of bugs (and improvements of the chm documentation)
What is the best way to send him such a report ?

(Those are bugs that i collected for the last 4 years.

- As an annoying example :
     SwapCaretSelect(0);  swaps the caret (%c,%l) and select (%x,%y)
     SwapCaretSelect(-1); put the carets near the beginning of the file
     SwapCaretSelect(1);  does exactly the same as SwapCaretSelect(0);
                          whereas the expected behaviour would be to put
                          the caret near the end of file, wouldn't it ?

- Another annoying example : WinEdt should disable the recording of the
caret position (MoveRingForward/MoveRingBackward) when SetTracking(0);
is in effect... shouldn't it ?

- SHIFT + Escape (=Cancel) should better stop the event timer :
               SetEventTimer(0);

- IfGetNum("", 1, 8, <true>, <false>)  evaluates to TRUE
   while IfNum("", 1, ">=", ...)        evaluates to FALSE

In other words, an empty argument is taken as 0 by IfNum, while
IfGetNum always evaluates to true ? Is this wanted ? consistent ?

______________________________________________________________
- As a feature request: provide a way to reopen last closed file.
Presently, I found how to:
   1/ save the current project
   2/ read it as text (using ReadFile)
   3/ extract the last closed file and reopen it.

- Another feature request :
    MUISet('mylistbox','items', "one%\two%\three", |%\|);
does not work while :

    MUISet('mylistbox','items', "one%&10;two%&10;three", '%&10;');
does work.

May be the "separator character" could be also a string
                              (as '%\' = '%&10;%&13;' = two chars)

Thanks in advance.
Regards.

Lemenn | 29 Jan 21:42 2015
Picon

test

test message (sorry, i can't make it work...)


Gmane