[PPower4] Re: Help for ppower4: Stefan

2003-01-08 Thread Sharmin Kabir
Hello Stefan:
Could you please be kind more? The computer I use is not mine, it is in our 
graduate office sharing two persons. My office mate needs java 1.3.x 
version. So I cannot reinstall 1.2.x version instead. I tried with the 
version 1.3.0._06 as follows, but it did not work! It gave the message : Bad 
command or file name.

I saw that the folder ppower4 already exists in 
c:\texmf\source\latex\ppower4.  All pp4p.jar, ppower4.bat and ppower4p.bat 
are there! Then, I edited ppower4.bat (also ppower4p.b) as follows:

set basedir=c:\texmf\source\latex\ppower4
set javacommand=c:\Program Files\JavaSoft\jre\1.3.0_06\bin\java.exe
%javacommand% -jar %basedir%\pp4p.jar %1 %2 %3 %4 %5

My a.pdf file is in c:\tdk. So I went to c:\tdk through dos box. Then, by 
calling: ppower4.bat a.pdf b.pdf, it does not work, where a.pdf is in the 
same directory.

Could you please tell me what to do?

Thanks a lot for your cooperation.

Sharmin



_
MSN 8: advanced junk mail protection and 2 months FREE*. 
http://join.msn.com/?page=features/junkmail



[PPower4] Re: Help for ppower4

2003-01-08 Thread Stefan Klein
Dear Sharmin,

 Could you please be kind more? The computer I use is not mine, it is in
our
 graduate office sharing two persons. My office mate needs java 1.3.x
 version. So I cannot reinstall 1.2.x version instead. I tried with the
 version 1.3.0._06 as follows, but it did not work! It gave the message :
Bad
 command or file name.

In my opinion your Java version is not the problem. So don't worry about it
(if someone is of different opinion please mention... I have no experience
using Java at all).

 I saw that the folder ppower4 already exists in
 c:\texmf\source\latex\ppower4.  All pp4p.jar, ppower4.bat and ppower4p.bat
 are there! Then, I edited ppower4.bat (also ppower4p.b) as follows:
 ...
  My a.pdf file is in c:\tdk. So I went to c:\tdk through dos box. Then, by
 calling: ppower4.bat a.pdf b.pdf, it does not work, where a.pdf is in the
 same directory.

Correct - but - if you place the batch file (ppower4.bat) in a different
directory than the c:\tdk directory, how is Windows going to find the batch
file, since it does not know where you placed it?

Put the ppower.bat and the a.pdf (or whatever its name is) in the *same*
directory (in your case c:\tdk for example). Only then the batch files'
commands can be executed. ppower4.bat a.pdf b.pdf is correct.

There are other ways to make Windows get access to the batch file (to make
it know where it is), but I the possibility above this is the most easiest
way to test ppower4.

Have fun,

Stefan