Re: [NTG-context] Closing PDF file at each run

2006-03-01 Thread Hans Hagen
FabriceL. wrote:
 Hooman Javidnia a �crit :
   
 Hi,

 When compiling a file in SciTE using F7, if the file, is already open in
 Adobe Acrobat, the compilation stops and asks for a new file name to write
 the PDF file to. I think the normal behavior would be to automatically
 close the current instance of the file in Acrobat and compile it again.

 Is there something wrong with my installation, or this is a bug?
 Regards, -- Hooman

 
 Hi. This is interesting, since I have the same problem with WinEdt and 
 Acrobat (on Windows). I had notice
 that is there is not input file in my ConTeXt file, then, when I compile 
 by WinEdt interface,
 the pdf file is closed with no problem. If I use an \input file.tex 
 command in the ConTeXt file,
 then one ask me a file name for the pdf, since the file can not be 
 closed automatically. I had
 consult WinEdt mailing  list too, and no solution there. I have no 
 solution, but from the symtom
 I describe, I suspect this is a ConTeXt thing...
   
yiu can only close a pdf document with pdfclose that has been opened by pdfopen 

Hans 

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Closing PDF file at each run

2006-02-28 Thread Taco Hoekwater


Hooman Javidnia wrote:
 but still the PDF is not refreshed for the second run. I am using Acrobat
 7. I read in WinEdt's mailing list that Adobe Acrobat has changed its
 caption from version 6 onwards. Could this be a problem related to the
 versions of Acrobat? 

I wouldn't think so. Perhaps texexec cannot find pdfopen?
(I am out of my league now, not using windows myself)

Cheers,
Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Closing PDF file at each run

2006-02-28 Thread Hans Hagen
Hooman Javidnia wrote:

 but still the PDF is not refreshed for the second run. I am using Acrobat
 7. I read in WinEdt's mailing list that Adobe Acrobat has changed its
 caption from version 6 onwards. Could this be a problem related to the
 versions of Acrobat? 
   
it works ok here; no caption i sinvolved afaik 

does it work from the console? 

Hans 

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Closing PDF file at each run

2006-02-28 Thread FabriceL.

Hooman Javidnia a écrit :

 Hi,

 When compiling a file in SciTE using F7, if the file, is already open in
 Adobe Acrobat, the compilation stops and asks for a new file name to write
 the PDF file to. I think the normal behavior would be to automatically
 close the current instance of the file in Acrobat and compile it again.

 Is there something wrong with my installation, or this is a bug?
 Regards, -- Hooman

Hi. This is interesting, since I have the same problem with WinEdt and 
Acrobat (on Windows). I had notice
that is there is not input file in my ConTeXt file, then, when I compile 
by WinEdt interface,
the pdf file is closed with no problem. If I use an \input file.tex 
command in the ConTeXt file,
then one ask me a file name for the pdf, since the file can not be 
closed automatically. I had
consult WinEdt mailing  list too, and no solution there. I have no 
solution, but from the symtom
I describe, I suspect this is a ConTeXt thing...

Fabrice.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Closing PDF file at each run

2006-02-28 Thread Hooman Javidnia
On Tue, 28 Feb 2006, Hans Hagen wrote:

 Hooman Javidnia wrote:
 
  but still the PDF is not refreshed for the second run. I am using Acrobat
  7. I read in WinEdt's mailing list that Adobe Acrobat has changed its
  caption from version 6 onwards. Could this be a problem related to the
  versions of Acrobat? 

 it works ok here; no caption i sinvolved afaik 
 
 does it work from the console? 

No, it doesn't work. From the messeage at the end of the compilation, I
can see that 'pdfopen' can't be found on the system. Taco's guess was
correct. Is this command part
of TeX implementation or I should download it from somewhere?



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Closing PDF file at each run

2006-02-27 Thread Taco Hoekwater


Hooman Javidnia wrote:
 Hi,
 
 When compiling a file in SciTE using F7, if the file, is already open in
 Adobe Acrobat, the compilation stops and asks for a new file name to write
 the PDF file to. I think the normal behavior would be to automatically
 close the current instance of the file in Acrobat and compile it again.
 
 Is there something wrong with my installation, or this is a bug?

Automatic re-opening of the file only works if you start by opening
the file from F7 (so that it is 'controlled' by texexec). This is a
known limitation in the Reader --that cannot re-read a file on its
own-- and windows --that uses a mandatory file locking mechanism--.

Texexec uses a pair of programs by Fabrice Popineau to make Acrobat
automatically close and reopen the document. But this only works if
it can control the file opening and closing from the start.

Cheers,
Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Closing PDF file at each run

2006-02-27 Thread Johan Sandblom
2006/2/27, Taco Hoekwater [EMAIL PROTECTED]:

[snip]

 Texexec uses a pair of programs by Fabrice Popineau to make Acrobat
 automatically close and reopen the document. But this only works if
 it can control the file opening and closing from the start.

Interesting. I found no likely suspects among the arguments listed by
texexec --help. Is this feature only available in the Scite setting?

Johan

 Cheers,
 Taco
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context



--
Johan Sandblom  N8, MRC, Karolinska sjh
t +46851776108  17176 Stockholm
m +46735521477  Sweden
What is wanted is not the will to believe, but the
will to find out, which is the exact opposite
- Bertrand Russell
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Closing PDF file at each run

2006-02-27 Thread Taco Hoekwater


Johan Sandblom wrote:
 2006/2/27, Taco Hoekwater [EMAIL PROTECTED]:
 
 [snip]
 
 
Texexec uses a pair of programs by Fabrice Popineau to make Acrobat
automatically close and reopen the document. But this only works if
it can control the file opening and closing from the start.
 
 
 Interesting. I found no likely suspects among the arguments listed by
 texexec --help. Is this feature only available in the Scite setting?

You need the pair  --pdf --autopdf  on the texexec commandline.

Cheers, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context