Page 1 of 1

revolution IDE internal setup (pdf-viewer)

Posted: Fri May 30, 2008 7:32 am
by HelmutMueller
Hello all,

I'm not sure if this is the best fiiting topic, but never the less, does anybody has an idea how the Revolution IDE (Linux version) can be configured to use a specific PDF viewer to show the downloaded PDF from within the help-app ?

The background is that on some systems I tried it fired up Kghostviewm on an other system (installed to solve my other prob) it is not able to start a viewer, nothing happens.

So how is determined which app is used to show pdfs ? How can this be changed ? What could be the reason why pdfs cant be shown out of revolution?

Thanks in advance,

Helmut

Posted: Fri May 30, 2008 8:05 am
by HelmutMueller
Solved,

you have to rewrite the Revolution Documentation App for proper operation within Linux:

change

Code: Select all

revGoPDF tFile
to

Code: Select all

launch tFile with kpdf
or whatever you want to use.

Scary that the helpertools do not work proper on the Platform you (me) have licensed ...

Helmut

Posted: Fri May 30, 2008 11:15 am
by Mark
Hi Helmut,

If you have Linux set up properly, your PDF should automatically open with the default application. There shouldn't be a need to re-write the IDE.

Best,

Mark

Posted: Fri May 30, 2008 11:58 am
by HelmutMueller
Hi Mark

I thougt the same, but the documentation says that

at least revGoURL is depreciated since 2.9, one should use launch url instead, this item links to launch document that should open a doc with the appropriate application,
Examples:
launch document "/myProjects/myRevolutionProject/help.pdf"
so this seems to be the correct command to open a pdf in Revolution 2.9

but:

launchDocument is not supportet on linux

btw: the command revGoPDF that is used in the stack couldn't be found in the documentation.

I have tried in different Distributions with setups that support pdf-viewing just with double-click.

Perhaps this is an item forced by kde4, i don know. With the codechange everythin works like expected and it seems to be consistent with the syntax.

Thanks, Helmut

Posted: Fri May 30, 2008 12:36 pm
by Tim
Hi Helmut,

Just a quick note : launch document is supported on Linux, even though its not marked as being supported... I must get the document entry changed.

Regards,

Tim.