WinEdt.org | 1 Jun 17:02

Mailing List Guidelines


      WinEdt Mailing List Guidelines
      ==============================

   These guidelines are sent to the WinEdt Mailing List once a month.
   Please keep them in mind when posting to the list.

   ---------------------------------------------------------------------

* What To Post

   The WinEdt Mailing List is for questions about the WinEdt editor. You
   should  not post questions concerning LaTeX, MiKTeX, BibTeX et al. to
   the mailing list. WinEdt is a shell/editor for  LaTeX  etc.  and  the
   list  is  intended  to  answer questions concerning WinEdt, not LaTeX
   etc.
   (Sometimes it might be difficult  to  decide  whether  a  problem  is
   related to WinEdt or to MiKTeX, LaTeX etc. A rule of thumb is: If you
   are having the same  problems  when  running  the  program  from  the
   command line, it is NOT related to WinEdt.)

   A lot of questions are being asked over and over  again.  Check  that
   your question isn't already answered in the WinEdt FAQ at
      <http://www.winedt.org/Doc/FAQ>
   or in the mailing list archives at
      <http://groups.yahoo.com/group/WinEdt>.

   When sending a question to the mailing list, try to be specific.
   Include (at least)
     + the Build number of your WinEdt (see "Help | About WinEdt...")
(Continue reading)

RS | 5 Jun 17:06
Picon

ANN: new PDF viewer, inverse search

Hi all,

some interesting developments concerning the WinEdt/PDF viewer interface
have been going on recently:

1) a new, free PDF viewer has been announced, the Sumatra PDF viewer,
which has some major advantages over Adobe Reader:
    * it does not lock the file
    * it refreshes automatically
    * it allows *inverse* search, ie. the possibility to jump from a
      page in the viewer to the corresponding location in WinEdt
      (just like yap does).
It's lean, hence some advanced PDF features (eg., layers) won't work.
It's new, so some minor glitches are to be expected (eg., it doesn't
remember the last location and size of the window).

Sumatra can be downloaded here:
    <http://blog.kowalczyk.info/software/sumatrapdf/>.

You don't have to make this viewer the default application for PDF files
in order to use it with WinEdt. All you need to do is to open
Options|Execution Modes|Acrobat, and choose Sumatra as the "PDF Viewer
Executable".

If you compile the document with the pdfsync package, you can then
double-click in the PDF viewer to jump to the corresponding line in
WinEdt. And of course, you can also jump from WinEdt to the respective
page in Sumatra (but read on...)

2) pdftex will soon incorporate the facilities from the pdfsync package,
(Continue reading)

David Denton | 5 Jun 21:19

Re: ANN: new PDF viewer, inverse search

Hello RS,

Thursday, June 5, 2008, 11:06:08 AM, you wrote:

> some interesting developments concerning the WinEdt/PDF viewer interface
> have been going on recently:

Thanks very much for this tip.

> The command line switch to enable synchronization is: "--synctex=-1"
> (that's "minus one"), which you can set in the Execution Modes
> interface.

I use PDFTexify. I tried to configure the switches in Execution Modes
for PDFTexify and there is no way I can get it to compile.

Should it work with PDFTexify? What exactly should the switch command
line read?

"--synctex=-1" ?
"--pdf--synctex=-1" ?

With quotes, without?

> I have updated the relevant WinEdt scripts to work with Sumatra and with
> the synctex switch: at <http://www.winedt.org/temp/>, you can download
> "Acrobat OpenDoc-Find.edt" and "Acrobat OpenDoc.edt", which both have to
> be saved in the local WinEdt directory %b\Exec.

Thanks very much for your help.
(Continue reading)

RS | 6 Jun 02:12
Picon

Re: ANN: new PDF viewer, inverse search

On 05.06.2008 21:19, David Denton wrote:
> Should it work with PDFTexify? 

Not before MiKTeX includes pdftex 1.40.8, I'm afraid. Currently, this 
version is only available as source code, which you have to compile and 
install yourself.

Regards,
--

-- 
  Robert

Murray Eisenberg | 6 Jun 04:47
Picon
Favicon

Re: ANN: new PDF viewer, inverse search

Two problems:

   1. Installed Sumatra PDF viewer and modified the Options|Execution 
Modes|Acrobat as you said.
   2. In WindEdt I added \usepackage{pdfsync} to a document and, using 
the MiKTeX configuration, I ran the PDF TeXify command from the main 
button bar.
   3. The generated PDF appeared "instantly" in SumatraPDF.
   4. A moment later, I got a popup Warning:

       Cannot Open DDE Link to "D:\WP\SumatraPDF\SumatraPDF.exe"
       Service: acroview
       Topic: control
       DDEOpen('%$("AcroRead"))',"acroview","control",0);

     and file Acrobat OpenDoc.edt opened automatically in WinEdt to the 
offending line.

    That's problem A.

   5. At this point I have in the Windows Taskbar one icon for the 
current PDF document open in Sumatra PDF viewer plus two others labeled 
"SumatraPDF" which, when un-minimized, have just the "Sumatra PDF Beta 
v0.8.1..." splash screen.

   That's problem B.

RS wrote:
> Hi all,
> 
(Continue reading)

Nicolas Vaughan | 6 Jun 05:24
Picon
Gravatar

Re: ANN: new PDF viewer, inverse search

Hi,
You must replace Acrobat OpenDoc-Find.edt and Acrobat OpenDoc.edt with the new versions (download them here: http://www.winedt.org/temp/). Use them to replace the ones at %B\Exec.
Best regards,
Nicolas Vaughan

On Thu, Jun 5, 2008 at 9:47 PM, Murray Eisenberg <murray <at> math.umass.edu> wrote:
Two problems:

 1. Installed Sumatra PDF viewer and modified the Options|Execution Modes|Acrobat as you said.
 2. In WindEdt I added \usepackage{pdfsync} to a document and, using the MiKTeX configuration, I ran the PDF TeXify command from the main button bar.
 3. The generated PDF appeared "instantly" in SumatraPDF.
 4. A moment later, I got a popup Warning:

     Cannot Open DDE Link to "D:\WP\SumatraPDF\SumatraPDF.exe"
     Service: acroview
     Topic: control
     DDEOpen('%$("AcroRead"))',"acroview","control",0);

   and file Acrobat OpenDoc.edt opened automatically in WinEdt to the offending line.

  That's problem A.

 5. At this point I have in the Windows Taskbar one icon for the current PDF document open in Sumatra PDF viewer plus two others labeled "SumatraPDF" which, when un-minimized, have just the "Sumatra PDF Beta v0.8.1..." splash screen.

 That's problem B.


RS wrote:
Hi all,

some interesting developments concerning the WinEdt/PDF viewer interface
have been going on recently:

1) a new, free PDF viewer has been announced, the Sumatra PDF viewer,
which has some major advantages over Adobe Reader:
  * it does not lock the file
  * it refreshes automatically
  * it allows *inverse* search, ie. the possibility to jump from a
    page in the viewer to the corresponding location in WinEdt
    (just like yap does).
It's lean, hence some advanced PDF features (eg., layers) won't work.
It's new, so some minor glitches are to be expected (eg., it doesn't
remember the last location and size of the window).

Sumatra can be downloaded here:
  <http://blog.kowalczyk.info/software/sumatrapdf/>.

You don't have to make this viewer the default application for PDF files
in order to use it with WinEdt. All you need to do is to open
Options|Execution Modes|Acrobat, and choose Sumatra as the "PDF Viewer
Executable".

If you compile the document with the pdfsync package, you can then
double-click in the PDF viewer to jump to the corresponding line in
WinEdt. And of course, you can also jump from WinEdt to the respective
page in Sumatra (but read on...)


2) pdftex will soon incorporate the facilities from the pdfsync package,
thus rendering this package superfluous plus making the mechanism more
stable.

For those of you who are using a TeX Live based system and are able to
compile pdftex, a release candidate of version 1.40.8 is available at
<http://sarovar.org/frs/?group_id=106&release_id=812>. For everybody
else, it will be included in the upcoming TeX Live 2008 (to be expected
"soon"), and of course also in MiKTeX in the near future.

The command line switch to enable synchronization is: "--synctex=-1"
(that's "minus one"), which you can set in the Execution Modes interface.


I have updated the relevant WinEdt scripts to work with Sumatra and with
the synctex switch: at <http://www.winedt.org/temp/>, you can download
"Acrobat OpenDoc-Find.edt" and "Acrobat OpenDoc.edt", which both have to
be saved in the local WinEdt directory %b\Exec.


Happy WinEdt'ing!

--
Murray Eisenberg                     murray <at> math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305

Picon
Favicon

Re: ANN: new PDF viewer, inverse search

Hello David,

> I use PDFTexify. I tried to configure the switches in Execution Modes
> for PDFTexify and there is no way I can get it to compile.
> Should it work with PDFTexify? What exactly should the switch command
> line read?

after a recent Update (MiKTeX) I use following version of pdfTeX:

"... This is pdfTeX, Version 3.1415926-1.40.8-alpha-20080323 (MiKTeX 
2.7) (preloaded format=pdflatex 2008.5.5)  6 JUN 2008 10:14 ..."

I followed the instructions of RS in detail but without changing the 
switch (It's still "--pdf" without quotes). I don't know why but all 
things like

>    * it does not lock the file
>    * it refreshes automatically
>    * it allows *inverse* search, ie. the possibility to jump from a
>      page in the viewer to the corresponding location in WinEdt
>      (just like yap does). 

work. Changing the switch to "--pdf --synctex=-1" (without quotes) leads 
WinEdt to show only the Sumatra-window with the "old" pdf-file.

Really a great thing and many thanks to RS!

Karl

--

-- 
  _   _  _   _   ____
| |/ /arl|_| | |   _|              Civil Engineer & PhD-Student
|   |  |  _  |einz \               Graz, Austria
|_|\_\ |_| |_| |____|chloeglmann   http://www.schloeglmann.at

Murray Eisenberg | 6 Jun 14:22
Picon
Favicon

Re: ANN: new PDF viewer, inverse search

Sorry, my fault: I didn't read RS's entire posting or read it carefully 
enough.  I forgot the part about using his new versions of the two 
macros. With those in place and with MiKTeX...

   - no multiple Sumatra windows;
   - dvi->pdf command automatically opens the pdf file in Sumatra with 
no errors;
   - PDFLaTeX (or Acrobat distiller) followed by explicit view pdf work 
with no errors;
   - inverse search works nicely (except for one bug in Sumatra -- see 
below).

Sumatra works with the YandY configuration, too (with dvi->ps followed 
by ps->pdf), except that the inverse search is inexact: double clicking 
in the pdf doc brings me to a place near, but not at, the corresponding 
source code; and a subsequent inverse search.

Sumatra itself has one unpleasant feature: there is no setting for the 
window size that can be remembered from one session to the next, so that 
it always opens with an overall window that is MUCH too wide -- much 
wider than the document itself.

With the MiKTeX configuration, the inverse search also reveals a bug in 
Sumatra:  sometimes a solid blue rectangle is left next to, or 
completely over, the line from which the inverse search was launched. 
That rectangle does not disappear from there even if I move to a new 
page or do another inverse search elsewhere.

Murray Eisenberg wrote:
> Two problems:
> 
>   1. Installed Sumatra PDF viewer and modified the Options|Execution 
> Modes|Acrobat as you said.
>   2. In WindEdt I added \usepackage{pdfsync} to a document and, using 
> the MiKTeX configuration, I ran the PDF TeXify command from the main 
> button bar.
>   3. The generated PDF appeared "instantly" in SumatraPDF.
>   4. A moment later, I got a popup Warning:
> 
>       Cannot Open DDE Link to "D:\WP\SumatraPDF\SumatraPDF.exe"
>       Service: acroview
>       Topic: control
>       DDEOpen('%$("AcroRead"))',"acroview","control",0);
> 
>     and file Acrobat OpenDoc.edt opened automatically in WinEdt to the 
> offending line.
> 
>    That's problem A.
> 
>   5. At this point I have in the Windows Taskbar one icon for the 
> current PDF document open in Sumatra PDF viewer plus two others labeled 
> "SumatraPDF" which, when un-minimized, have just the "Sumatra PDF Beta 
> v0.8.1..." splash screen.
> 
>   That's problem B.
> 
> RS wrote:
>> Hi all,
>>
>> some interesting developments concerning the WinEdt/PDF viewer interface
>> have been going on recently:
>>
>> 1) a new, free PDF viewer has been announced, the Sumatra PDF viewer,
>> which has some major advantages over Adobe Reader:
>>    * it does not lock the file
>>    * it refreshes automatically
>>    * it allows *inverse* search, ie. the possibility to jump from a
>>      page in the viewer to the corresponding location in WinEdt
>>      (just like yap does).
>> It's lean, hence some advanced PDF features (eg., layers) won't work.
>> It's new, so some minor glitches are to be expected (eg., it doesn't
>> remember the last location and size of the window).
>>
>> Sumatra can be downloaded here:
>>    <http://blog.kowalczyk.info/software/sumatrapdf/>.
>>
>> You don't have to make this viewer the default application for PDF files
>> in order to use it with WinEdt. All you need to do is to open
>> Options|Execution Modes|Acrobat, and choose Sumatra as the "PDF Viewer
>> Executable".
>>
>> If you compile the document with the pdfsync package, you can then
>> double-click in the PDF viewer to jump to the corresponding line in
>> WinEdt. And of course, you can also jump from WinEdt to the respective
>> page in Sumatra (but read on...)
>>
>>
>> 2) pdftex will soon incorporate the facilities from the pdfsync package,
>> thus rendering this package superfluous plus making the mechanism more
>> stable.
>>
>> For those of you who are using a TeX Live based system and are able to
>> compile pdftex, a release candidate of version 1.40.8 is available at
>> <http://sarovar.org/frs/?group_id=106&release_id=812>. For everybody
>> else, it will be included in the upcoming TeX Live 2008 (to be expected
>> "soon"), and of course also in MiKTeX in the near future.
>>
>> The command line switch to enable synchronization is: "--synctex=-1"
>> (that's "minus one"), which you can set in the Execution Modes interface.
>>
>>
>> I have updated the relevant WinEdt scripts to work with Sumatra and with
>> the synctex switch: at <http://www.winedt.org/temp/>, you can download
>> "Acrobat OpenDoc-Find.edt" and "Acrobat OpenDoc.edt", which both have to
>> be saved in the local WinEdt directory %b\Exec.
>>
>>
>> Happy WinEdt'ing!
> 

--

-- 
Murray Eisenberg                     murray <at> math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305

David Denton | 6 Jun 15:52

Re[2]: ANN: new PDF viewer, inverse search

Hello RS,

Thursday, June 5, 2008, 8:12:04 PM, you wrote:

> On 05.06.2008 21:19, David Denton wrote:
>> Should it work with PDFTexify?

> Not before MiKTeX includes pdftex 1.40.8, I'm afraid. Currently, this 
> version is only available as source code, which you have to compile and
> install yourself.

This episode has revealed the depths of ignorance of execution modes
for Tex, Latex, PDFTex etc.

Am I to understand that the inverse search etc. is only available to
those who are using Tex as opposed to LaTex?

I would like to know under what "Accessory" I should place the switch
and exactly how the switch should read.

I am also having difficulties with where to place the new versions of
the macros. You say that: the new "Acrobat OpenDoc-Find.edt" and
"Acrobat OpenDoc.edt", have to be saved in the local WinEdt directory
%b\Exec. However, Nicolas Vaughan notes that the macros in %B\Exec
have to be replaced.

My macros "Acrobat OpenDoc-Find.edt" and "Acrobat OpenDoc.edt" were in
%B\Exec (c:\Program Files\WinEdt Team\Exec -- that is %B, right?). I
put the new ones in there but am not sure that they are being used.

Thanks in advance for your help.

--

-- 
Best regards,
 David     

Juliet Ryan | 6 Jun 16:09
Picon

ANN: new PDF viewer, inverse search

Hello to all

RS wrote:
> Hi all,
>
> some interesting developments concerning the WinEdt/PDF viewer interface
> have been going on recently:
>
> 1) a new, free PDF viewer has been announced, the Sumatra PDF viewer,
> which has some major advantages over Adobe Reader:
> ....
> If you compile the document with the pdfsync package, you can then
> double-click in the PDF viewer to jump to the corresponding line in
> WinEdt. And of course, you can also jump from WinEdt to the respective
> page in Sumatra (but read on...)
>
I have installed sumatra pdf package , and it works fine.
I have compiled with pdflatex and inverse search Pdf to latex  works 
great. But how does one jump from Winedt to Pdf ?

Thanks for any answers.

--

-- 
-- Juliet Ryan----------------------------------------------------
*ONERA Calcul Haute Performance  tel +33 (0)1 4673 4434  fax ... 4167
   ryan <at> onera.fr             >>http://www.onera.fr               <<
*LAGA   Universite PARIS 13      tel +33 (0)1 4940 3602  fax ... 3568
   ryan <at> math.univ-paris13.fr >>http://www-math.math.univ-paris13.fr
--------------------------------------------------------------------


Gmane