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
revolution IDE internal setup (pdf-viewer)
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 17
- Joined: Tue May 20, 2008 12:21 pm
-
- Posts: 17
- Joined: Tue May 20, 2008 12:21 pm
Solved,
you have to rewrite the Revolution Documentation App for proper operation within Linux:
change
to
or whatever you want to use.
Scary that the helpertools do not work proper on the Platform you (me) have licensed ...
Helmut
you have to rewrite the Revolution Documentation App for proper operation within Linux:
change
Code: Select all
revGoPDF tFile
Code: Select all
launch tFile with kpdf
Scary that the helpertools do not work proper on the Platform you (me) have licensed ...
Helmut
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
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
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
-
- Posts: 17
- Joined: Tue May 20, 2008 12:21 pm
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,
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
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,
so this seems to be the correct command to open a pdf in Revolution 2.9Examples:
launch document "/myProjects/myRevolutionProject/help.pdf"
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