Re: How to change pdf viewer from okular to acroread

2010-01-09 Thread Hellmut Weber

Am 08.01.2010 16:49, schrieb William Seager:

On  Friday 08 January 2010  at  04:35,  Hellmut Weber wrote:

I didn't find a possibility to get okular to output a landscape document
as landscape on my printer.



I find that if I have lyx set the document to landscape and tell
okular to orient page as portrait I get a landscape printout.
But my document was very simple.



Hi William,
does not work here ,-(

That's why I asked

Cheers

Hellmut


--
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Re: How to change pdf viewer from okular to acroread

2010-01-08 Thread William Seager
On  Friday 08 January 2010  at  04:35,  Hellmut Weber wrote:
> I didn't find a possibility to get okular to output a landscape document 
> as landscape on my printer.
> 

I find that if I have lyx set the document to landscape and tell
okular to orient page as portrait I get a landscape printout.
But my document was very simple.

-- 
William Seager
University of Toronto Scarborough
www.utsc.utoronto.ca/~seager


Re: How to change pdf viewer from okular to acroread

2010-01-08 Thread Hellmut Weber

Am 08.01.2010 10:42, schrieb Jürgen Spitzmüller:

Hellmut Weber wrote:

I looked at the converters but didn't see okular mentioned, so where do
I have to look?


File format.

Jürgen


Thanks a lot ;-)

Acroread has the additional advantage that the selection of pages to be 
output is more flexible.


Happy LyXing

Hellmut

--
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Re: How to change pdf viewer from okular to acroread

2010-01-08 Thread Jürgen Spitzmüller
Hellmut Weber wrote:
> I looked at the converters but didn't see okular mentioned, so where do 
> I have to look?

File format.

Jürgen


How to change pdf viewer from okular to acroread

2010-01-08 Thread Hellmut Weber

Hi
I'm using LyX-1.6.5 as of December 5th 2009 with Sabayon-Linux-5.1-r1 
(KDE 4.3.4) on IBM Lenovo Thinkpad T61.


When I activate the preview of my document with >>view >pdflatex the kde 
program okular opens up.
I didn't find a possibility to get okular to output a landscape document 
as landscape on my printer.


acroread OTOH does this without any problem.
So I would like to change the default viewer for pdflatex to acroread.

How can I do that?
I looked at the converters but didn't see okular mentioned, so where do 
I have to look?


TIA

Cheers

Hellmut

--
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Re: How to change pdf viewer?

2008-11-26 Thread Konrad Hofbauer

muzzle wrote:

Now it works, the only minor problem is that the button has no icon,
but a long label.


I am not sure if this is hardcoded, but try the following:
Look in LyX's "images" folder, there is e.g. a file buffer-view_pdf2.png
Make a copy of it and call it buffer-view_pdf3.png  in the same 
directory. Maybe LyX picks it up. Maybe it can also live in ~/.lyx/images



You can FIRST try to directly change the files in the LyX.app, and if that
works, migrate the changed files into the user-dir and restore the original
LyX.app (otherwise you will loose them again with the next update)



I'm using linux, so I would rather not modify a system file. I will
just keep the copy of the modified interface files in my users
preferences folder (~/.lyx/)


This is much better, of course. But keep in mind that with new versions 
these files do NOT get updated automatically, so you won't inherit any 
changes.


/Konrad


Re: How to change pdf viewer?

2008-11-26 Thread muzzle
On Wed, Nov 26, 2008 at 3:21 PM, Konrad Hofbauer
<[EMAIL PROTECTED]> wrote:
> muzzle wrote:
>>
>> On Wed, Oct 22, 2008 at 1:20 PM, Konrad Hofbauer
>> <[EMAIL PROTECTED]> wrote:
>>>
>>> muzzle wrote:

 Well, I do have several options in the menu, but I would like to
 change the default for the toolbar button, is it possible?
>>>
>>> Not with the GUI, I believe.
>>>
>>> It should be possible by creating your own *.ui files.
>>> Look at what is in /Applications/LyX.app/Contents/Resources/ui/, create
>>> your
>>> own set of *.ui and *.inc files, put them in your user-directory and
>>> select
>>> them in the Preferences.
>>
>> Hi,
>> sorry for the late resurrection of the thread
>> I tried to work on this, failed, left the problem aside. This morning
>> I tried again but with no luck yet
>>
>> I copied the content of the ui directory inside .lyx/ui as you
>> suggested and tried to modify the menus.
>> The relevant lines seem to be:
>>
>>Item "View PDF (pdflatex)" "buffer-view pdf2"
>>Item "Update PDF (pdflatex)" "buffer-update pdf2"
>>
>> in but stdtoolbars.inc, I tried to change it but I made lyx crash, I
>> could not guess how to get it to use dvipdfm. I suppose I could copy
>> the code from the entry in the File menu, but I could not find it.
>>
>> Do you have any idea how to solve this?
>
> Don't have time to try right now, but look what in Preferences->File Formats
> the shortname of PDF (dvipdfm) is (it is pdf3 by default), and use that
> instead of pdf2 in the ui files.
>
> You should only need to change in stdtoolbars.inc
>Item "View PDF (pdflatex)" "buffer-view pdf2"
>Item "Update PDF (pdflatex)" "buffer-update pdf2"
> by
>Item "View PDF (pdflatex)" "buffer-view pdf3"
>Item "Update PDF (pdflatex)" "buffer-update pdf3"
> .

silly me! I had tried with pdf1 and pdf0 :)

Now it works, the only minor problem is that the button has no icon,
but a long label.

>
> You can FIRST try to directly change the files in the LyX.app, and if that
> works, migrate the changed files into the user-dir and restore the original
> LyX.app (otherwise you will loose them again with the next update)
>

I'm using linux, so I would rather not modify a system file. I will
just keep the copy of the modified interface files in my users
preferences folder (~/.lyx/)
>
> /Konrad
>

Thanks a lot,

Emme


Re: How to change pdf viewer?

2008-11-26 Thread Konrad Hofbauer

muzzle wrote:

On Wed, Oct 22, 2008 at 1:20 PM, Konrad Hofbauer
<[EMAIL PROTECTED]> wrote:

muzzle wrote:

Well, I do have several options in the menu, but I would like to
change the default for the toolbar button, is it possible?

Not with the GUI, I believe.

It should be possible by creating your own *.ui files.
Look at what is in /Applications/LyX.app/Contents/Resources/ui/, create your
own set of *.ui and *.inc files, put them in your user-directory and select
them in the Preferences.


Hi,
sorry for the late resurrection of the thread
I tried to work on this, failed, left the problem aside. This morning
I tried again but with no luck yet

I copied the content of the ui directory inside .lyx/ui as you
suggested and tried to modify the menus.
The relevant lines seem to be:

Item "View PDF (pdflatex)" "buffer-view pdf2"
Item "Update PDF (pdflatex)" "buffer-update pdf2"

in but stdtoolbars.inc, I tried to change it but I made lyx crash, I
could not guess how to get it to use dvipdfm. I suppose I could copy
the code from the entry in the File menu, but I could not find it.

Do you have any idea how to solve this?


Don't have time to try right now, but look what in Preferences->File 
Formats the shortname of PDF (dvipdfm) is (it is pdf3 by default), and 
use that instead of pdf2 in the ui files.


You should only need to change in stdtoolbars.inc
Item "View PDF (pdflatex)" "buffer-view pdf2"
Item "Update PDF (pdflatex)" "buffer-update pdf2"
by
Item "View PDF (pdflatex)" "buffer-view pdf3"
Item "Update PDF (pdflatex)" "buffer-update pdf3"
.

You can FIRST try to directly change the files in the LyX.app, and if 
that works, migrate the changed files into the user-dir and restore the 
original LyX.app (otherwise you will loose them again with the next update)



/Konrad


Re: How to change pdf viewer?

2008-11-26 Thread muzzle
On Wed, Oct 22, 2008 at 1:20 PM, Konrad Hofbauer
<[EMAIL PROTECTED]> wrote:
> muzzle wrote:
>>
>> Well, I do have several options in the menu, but I would like to
>> change the default for the toolbar button, is it possible?
>
> Not with the GUI, I believe.
>
> It should be possible by creating your own *.ui files.
> Look at what is in /Applications/LyX.app/Contents/Resources/ui/, create your
> own set of *.ui and *.inc files, put them in your user-directory and select
> them in the Preferences.

Hi,
sorry for the late resurrection of the thread
I tried to work on this, failed, left the problem aside. This morning
I tried again but with no luck yet

I copied the content of the ui directory inside .lyx/ui as you
suggested and tried to modify the menus.
The relevant lines seem to be:

Item "View PDF (pdflatex)" "buffer-view pdf2"
Item "Update PDF (pdflatex)" "buffer-update pdf2"

in but stdtoolbars.inc, I tried to change it but I made lyx crash, I
could not guess how to get it to use dvipdfm. I suppose I could copy
the code from the entry in the File menu, but I could not find it.

Do you have any idea how to solve this?

Cheers,

Emme

>
> /Konrad
>


Re: How to change pdf viewer?

2008-10-22 Thread Bennett Helm
On Wed, Oct 22, 2008 at 4:17 AM, Pierfranco Minsenti <
[EMAIL PROTECTED]> wrote:

> Hi,
>
> I must confess that even in my case (LyX 1.5.4 on Mac Os X 10.3.9), if I
> want to change the default PDF viewer I have to put the whole path to the
> executable. For example, for using the pdf viewer Adobe Reader 7.1.0 for
> Mac
> it works only if I use:
>
> /Applications/Adobe\ Reader\ 7.1.0/Adobe\ Reader\
> 7.1.0.app/Contents/MacOS/Adobe\ Reader
>
> instead if i follow the other suggestions and use:
>
> open -a Adobe Reader 7.1.0
>
> it doesn't work. Nothing happens.


My guess is that you need:

open -a "Adobe Reader 7.1.0"

(with the quotation marks).


Re: How to change pdf viewer?

2008-10-22 Thread Konrad Hofbauer

muzzle wrote:

Well, I do have several options in the menu, but I would like to
change the default for the toolbar button, is it possible?


Not with the GUI, I believe.

It should be possible by creating your own *.ui files.
Look at what is in /Applications/LyX.app/Contents/Resources/ui/, create 
your own set of *.ui and *.inc files, put them in your user-directory 
and select them in the Preferences.


/Konrad


Re: How to change pdf viewer?

2008-10-22 Thread muzzle
On Wed, Oct 22, 2008 at 1:41 PM, Konrad Hofbauer
<[EMAIL PROTECTED]> wrote:
> muzzle wrote:
>>
>> Btw, how do I change the xommand used to produce the preview pdf? The
>> default is set to pdflatex but I have some problem with it and I would
>> like to use dvipdfm.
>
> In the View-menu, you should have different PDF() options, one of them
> being PDF (dvipdfm), same in File->Export.
>

Well, I do have several options in the menu, but I would like to
change the default for the toolbar button, is it possible?

> If not, something is wrong/missing in your setup.
>
>> PPS
>> does my question still count as hijacking?
>
> Let's not overdo this - it does not matter too much. :)
> (Anyhow: no, it doesn't.)

ok :)

Bye,

Emme

>
> /Konrad
>


Re: How to change pdf viewer?

2008-10-22 Thread Konrad Hofbauer

muzzle wrote:

Btw, how do I change the xommand used to produce the preview pdf? The
default is set to pdflatex but I have some problem with it and I would
like to use dvipdfm.


In the View-menu, you should have different PDF() options, one of 
them being PDF (dvipdfm), same in File->Export.


If not, something is wrong/missing in your setup.


PPS
does my question still count as hijacking?


Let's not overdo this - it does not matter too much. :)
(Anyhow: no, it doesn't.)

/Konrad


Re: How to change pdf viewer?

2008-10-22 Thread muzzle
Hi,

On Tue, Oct 21, 2008 at 4:17 PM, Konrad Hofbauer
<[EMAIL PROTECTED]> wrote:
> Joachim Kreimer-de Fries wrote [on Mac]:
>>
>> How can one configure LyX to use another pdf viewer when clicking the
>> "view pdf (pdf-latex) button?
>
> By default, LyX uses the default viewer that is set in the operating system
> for PDFs. So you can change Mac OS X default PDF application setting, or you
> can change in LyX -> Preferences -> File Formats -> PDF (...) -> Viewer.
>

Btw, how do I change the xommand used to produce the preview pdf? The
default is set to pdflatex but I have some problem with it and I would
like to use dvipdfm.

Cheers,

Emme

> HTH,
> Konrad
>
> P.S. Please do not hijack threads by replying to old messages with a new
> question. Start a new thread for new questions.

PPS
does my question still count as hijacking?

>
>


Re: How to change pdf viewer?

2008-10-22 Thread Pierfranco Minsenti
Hi,

I must confess that even in my case (LyX 1.5.4 on Mac Os X 10.3.9), if I
want to change the default PDF viewer I have to put the whole path to the
executable. For example, for using the pdf viewer Adobe Reader 7.1.0 for Mac
it works only if I use:

/Applications/Adobe\ Reader\ 7.1.0/Adobe\ Reader\
7.1.0.app/Contents/MacOS/Adobe\ Reader

instead if i follow the other suggestions and use:

open -a Adobe Reader 7.1.0

it doesn't work. Nothing happens.

Pierfranco

2008/10/21 Konrad Hofbauer <[EMAIL PROTECTED]>

> Joachim Kreimer-de Fries wrote:
>
>> Am 21.10.2008 um 16:10 schrieb Uwe Stöhr:
>>
>>> menu Tools->Settings->file formats
>>>
>> Am 21.10.2008 um 16:17 schrieb Konrad Hofbauer:
>>
>>> you can change in LyX -> Preferences -> File Formats -> PDF (...) ->
>>> Viewer.
>>>
>>
>> Thanks, it works finally. But for someone else who also might want to
>> change the pdf viewer I add: it it not sufficient to give in the path to the
>> application package but to the application EXECutable itself, at least on
>> Mac-OSX, in my case:
>>
>> /Applications/Skim.app/Contents/MacOS/Skim
>>
>
> What should also do the trick is "open -a Skim", that lets OS X do the work
> of finding the app.
>
> What I actually use is the attached script that explicitly tells Skim to
> reload. I've disabled auto-reload in Skim, since this sometimes does not
> work in combination with LyX's multiple compilation of the file.
>
> So I have the attached script in ~/bin, set the script as executable (chmod
> u+x ...), in LyX "~/bin/SkimReload.sh", and then always use View PDF (not:
> Update PDF) in LyX
>
> HTH,
> Konrad
>
>


Re: How to change pdf viewer?

2008-10-21 Thread Konrad Hofbauer

Joachim Kreimer-de Fries wrote:

Am 21.10.2008 um 16:10 schrieb Uwe Stöhr:

menu Tools->Settings->file formats

Am 21.10.2008 um 16:17 schrieb Konrad Hofbauer:
you can change in LyX -> Preferences -> File Formats -> PDF (...) -> 
Viewer.


Thanks, it works finally. But for someone else who also might want to 
change the pdf viewer I add: it it not sufficient to give in the path to 
the application package but to the application EXECutable itself, at 
least on Mac-OSX, in my case:


/Applications/Skim.app/Contents/MacOS/Skim


What should also do the trick is "open -a Skim", that lets OS X do the 
work of finding the app.


What I actually use is the attached script that explicitly tells Skim to 
reload. I've disabled auto-reload in Skim, since this sometimes does not 
work in combination with LyX's multiple compilation of the file.


So I have the attached script in ~/bin, set the script as executable 
(chmod u+x ...), in LyX "~/bin/SkimReload.sh", and then always use View 
PDF (not: Update PDF) in LyX


HTH,
Konrad



SkimReload.sh
Description: Bourne shell script


Re: How to change pdf viewer?

2008-10-21 Thread Christian Liesen


Thanks, it works finally. But for someone else who also might want  
to change the pdf viewer I add: it it not sufficient to give in the  
path to the application package but to the application EXECutable  
itself, at least on Mac-OSX, in my case:


/Applications/Skim.app/Contents/MacOS/Skim



Not true. I'm on Mac OS X and have been using "open -a skim" all along  
without problems and through several versions of LyX. It is not  
necessary to call the app's contents.


Cheers,
-- Christian


Re: How to change pdf viewer?

2008-10-21 Thread Joachim Kreimer-de Fries

Am 21.10.2008 um 16:10 schrieb Uwe Stöhr:

menu Tools->Settings->file formats

Am 21.10.2008 um 16:17 schrieb Konrad Hofbauer:
you can change in LyX -> Preferences -> File Formats -> PDF (...) - 
> Viewer.


Thanks, it works finally. But for someone else who also might want to  
change the pdf viewer I add: it it not sufficient to give in the path  
to the application package but to the application EXECutable itself,  
at least on Mac-OSX, in my case:


/Applications/Skim.app/Contents/MacOS/Skim

Konrad wrote further
P.S. Please do not hijack threads by replying to old messages with  
a new question. Start a new thread for new questions.


Sorry, I was not aware of it, now I remember again that it is not  
enough to to erase content and change subject, but not to "answer" on  
a received mail from the list.

--
MacTeX - TeXLive 2007 - TeXShop 2.14-svn (2.14)
und auch ggf. LyX/Mac 1.5.6 auf MacBook Pro mit OSX 10.4.11 Tiger



Re: How to change pdf viewer?

2008-10-21 Thread Konrad Hofbauer

Joachim Kreimer-de Fries wrote [on Mac]:
How can one configure LyX to use another pdf viewer when clicking the 
"view pdf (pdf-latex) button?


By default, LyX uses the default viewer that is set in the operating 
system for PDFs. So you can change Mac OS X default PDF application 
setting, or you can change in LyX -> Preferences -> File Formats -> PDF 
(...) -> Viewer.


HTH,
Konrad

P.S. Please do not hijack threads by replying to old messages with a new 
question. Start a new thread for new questions.




Re: How to change pdf viewer?

2008-10-21 Thread Uwe Stöhr

Joachim Kreimer-de Fries schrieb:

How can one configure LyX to use another pdf viewer when clicking the 
"view pdf (pdf-latex) button?


menu Tools->Settings->file formats
There specify the viewer you like for the format PDF (pdflatex).

regards Uwe


How to change pdf viewer?

2008-10-21 Thread Joachim Kreimer-de Fries

Salve,

How can one configure LyX to use another pdf viewer when clicking the  
"view pdf (pdf-latex) button?


I could not find out. It depends what is set automatically during  
installation.


Actually I would like to disburden Adobe Acrobat Reader from this  
task because too slow and change to Skim (or PDFView).


joachim
--
MacTeX - TeXLive 2007 - TeXShop 2.14-svn (2.14)
und auch ggf. LyX/Mac 1.5.6 auf MacBook Pro mit OSX 10.4.11 Tiger





Re: Change PDF viewer?

2008-05-10 Thread snvv
Did you run the Reconfigure after the change?
Make sure that SumatraPDF is in your path.
I have change that I linux without problems.
Sotiris

On Saturday 10 May 2008 20:35:01 Paul A. Rubin wrote:
> bigblop wrote:
> > I have installed LyX on windows XP. I would like to change the pdf viewer
> > to something else (SumatraPDF which can be found on this link:
> > http://blog.kowalczyk.info/software/sumatrapdf/)
> >
> > I then choose Tools -> Preferences -> File Formats -> PDF (pdflatex). And
> > under viewer I type: sumatraPDF.exe. But when I want to preview from LyX
> > I get an error that windows could not find the previewer. How do I change
> > the PDF viewer?
>
> Either include the path to sumatraPDF.exe in the viewer field or add it
> to the PATH prefix.
>
> /Paul




Re: Change PDF viewer?

2008-05-10 Thread Paul A. Rubin

bigblop wrote:

I have installed LyX on windows XP. I would like to change the pdf viewer to
something else (SumatraPDF which can be found on this link:
http://blog.kowalczyk.info/software/sumatrapdf/)

I then choose Tools -> Preferences -> File Formats -> PDF (pdflatex). And
under viewer I type: sumatraPDF.exe. But when I want to preview from LyX I
get an error that windows could not find the previewer. How do I change the
PDF viewer?




Either include the path to sumatraPDF.exe in the viewer field or add it 
to the PATH prefix.


/Paul



Change PDF viewer?

2008-05-10 Thread bigblop

I have installed LyX on windows XP. I would like to change the pdf viewer to
something else (SumatraPDF which can be found on this link:
http://blog.kowalczyk.info/software/sumatrapdf/)

I then choose Tools -> Preferences -> File Formats -> PDF (pdflatex). And
under viewer I type: sumatraPDF.exe. But when I want to preview from LyX I
get an error that windows could not find the previewer. How do I change the
PDF viewer?


-- 
View this message in context: 
http://www.nabble.com/Change-PDF-viewer--tp17163035p17163035.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Change PDF viewer and define short-keys?

2007-12-05 Thread Paul A. Rubin

bigblop wrote:



Siegfried MEUNIER-GUTTIN-CLUZEL wrote:

To specify the viewer, I think you can go to
Tools > Settings > Output > File formats
where you have a Viewer field ...
( sorry, I translate from my french interface !)

Under File Formats its not possible to change anything. I can type eg.
KPDF under viewer for PDF(pdflatex) but its not possible save or choose
apply.


Are you clicking Modify before Save?  Or do you mean that the Modify 
button is disabled when you try this?


The shortcuts do exist :
Ctrl-D to view DVI (compile)
Shift-Ctrl-D to update DVI

You can see then in some menus.
There are also the usual Alt/Meta shortcuts ( the letters are underlined 
in the different menus ).


You can also define your own key bindings (see manual "Customize").

In the Customize manual it says that you can make your own mappings in the
.kmap file:

The .kmap File

A .kmap file maps keystrokes to characters or strings. As the name
suggests it sets a keyboard mapping. The .kmap file keywords
kmap,kmod,ksmod, and kcomb are described in this section.

kmap Map a character to a string


But I don't want to change the kmapping I only want to make shortcuts.



Shortcuts are done in the binding file.  Tools -> Preferences... -> User 
interface -> bind file is where you choose this.  You can copy your 
current bind file from /Resources/bind to /.lyx/bind (or 
the equivalent Windows or Mac OS directory), edit it with a text editor, 
then select the modified file in the Preferences dialog.  Adding 
bindings (shortcuts) is explained in the customization manual, and the 
syntax is pretty self-evident if you look at your current bind file.


Note that shortcuts for menu items are defined in the user interface 
(ui) file, also selectable in the preferences dialog.  You'll want to 
avoid using those key combinations for shortcuts in your bind file.


Also pay attention to whether your bind file loads other bind files.  If 
you define a shortcut near the top of a bind file, and it later loads 
another bind file that assigns the same keys to a different command, the 
second definition will overwrite yours.  (An obvious solution is to put 
your shortcuts last in your bind file.)


/Paul



Re: Change PDF viewer and define short-keys?

2007-12-05 Thread bigblop



Siegfried MEUNIER-GUTTIN-CLUZEL wrote:
> 
> To specify the viewer, I think you can go to
> Tools > Settings > Output > File formats
> where you have a Viewer field ...
> ( sorry, I translate from my french interface !)
> 
> Under File Formats its not possible to change anything. I can type eg.
> KPDF under viewer for PDF(pdflatex) but its not possible save or choose
> apply.
> 
> The shortcuts do exist :
> Ctrl-D to view DVI (compile)
> Shift-Ctrl-D to update DVI
> 
> You can see then in some menus.
> There are also the usual Alt/Meta shortcuts ( the letters are underlined 
> in the different menus ).
> 
> You can also define your own key bindings (see manual "Customize").
> 
> In the Customize manual it says that you can make your own mappings in the
> .kmap file:
> 
> The .kmap File
> 
> A .kmap file maps keystrokes to characters or strings. As the name
> suggests it sets a keyboard mapping. The .kmap file keywords
> kmap,kmod,ksmod, and kcomb are described in this section.
> 
> kmap Map a character to a string
> 
> 
> But I don't want to change the kmapping I only want to make shortcuts.
> 
> 
> Siegfried.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Change-PDF-viewer-and-define-short-keys--tf4949451.html#a14173403
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Change PDF viewer and define short-keys?

2007-12-05 Thread Siegfried MEUNIER-GUTTIN-CLUZEL

To specify the viewer, I think you can go to
Tools > Settings > Output > File formats
where you have a Viewer field ...
( sorry, I translate from my french interface !)

The shortcuts do exist :
Ctrl-D to view DVI (compile)
Shift-Ctrl-D to update DVI

You can see then in some menus.
There are also the usual Alt/Meta shortcuts ( the letters are underlined 
in the different menus ).


You can also define your own key bindings (see manual "Customize").

Siegfried.


Change PDF viewer and define short-keys?

2007-12-05 Thread bigblop

I have just installed LyX for Ubuntu 7.10. Is there someway to specify the
PDF-viewer to be used?

And is there someway to specify short-key for compile, preview etc.
-- 
View this message in context: 
http://www.nabble.com/Change-PDF-viewer-and-define-short-keys--tf4949451.html#a14171032
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Change PDF viewer (windows)

2007-11-25 Thread Paul A. Rubin

Tobias Krause wrote:



Yes, I did exactly the same - and it did not work when I tried it last 
time...
First I realized that whitespace in the viewer name are not supported so 
I changed the name of the viewer binary...


Whitespace is allowed in the path prefix, though.  I just installed 
PDF-XChangeViewer for test purposes.  I did the default installation, 
put the path (including spaces) in the path prefix, and put the name of 
the .exe file (which contains no spaces) in the viewer slot of the file 
format.  I assume you did this below, since you were able to load the 
viewer (and generate the URL message).


Just now I tried changing the viewer again (to write a correct answer) 
and for what ever reason it worked except the thing that PDF-XChange 
Viewer (http://www.docu-track.com/home/prod_user/pdfx_viewer) does not 
accept the file path (while it does if it is the system standard for 
PDFviewing): it say "Invalid URL".
But since I set PDF-XChange Viewer just for testing purpose I don't care 
at the moment - but it's still kind of weird: where is the difference in 
the ways LyX calls the viewer?


The problem in this case is that LyX uses Unix-style separators (/) in 
the file path.  Windows understands these correctly, so most 
applications work, but for some reason PDF-XChangeViewer chokes on them. 
 I verified this by starting PDF-XChangeViewer from the command line, 
giving it the path to the temp buffer PDF file (in quotes).  With DOS 
separators (\) it works, with Unix separators it gives the URL message.


If you ultimately settle on a viewer that has this problem, one solution 
would be to set the viewer field in the LyX file format entry to a batch 
file that converts the path and then invokes the viewer.  This would be 
easy to do if you have sed installed.  (The GnuWin32 version is a free 
download.)


/Paul



Re: Change PDF viewer (windows)

2007-11-25 Thread Tobias Krause

Hi,

I have done this in the past by putting the path to the viewer in the 
PATH prefix.  I assume that you also specified the viewer in the File 
formats (and then clicked Modify followed by Save)?


Yes, I did exactly the same - and it did not work when I tried it last 
time...
First I realized that whitespace in the viewer name are not supported so 
I changed the name of the viewer binary...


Just now I tried changing the viewer again (to write a correct answer) 
and for what ever reason it worked except the thing that PDF-XChange 
Viewer (http://www.docu-track.com/home/prod_user/pdfx_viewer) does not 
accept the file path (while it does if it is the system standard for 
PDFviewing): it say "Invalid URL".
But since I set PDF-XChange Viewer just for testing purpose I don't care 
at the moment - but it's still kind of weird: where is the difference in 
the ways LyX calls the viewer?


Regards
 Toby


Re: Change PDF viewer (windows)

2007-11-24 Thread Paul A. Rubin

Tobias Krause wrote:

Hi,

how can I change the PDF viewer - without changing the windows default 
PDF viewer?

I tried changing Viewer in Tools --> Preferences --> File formats, but

   * absolut path did not work
   * adding the path to the viewer exe to Tools --> Preferences -->
 Paths --> PATH prefix did not help
   * now I put the pdf viewer exe in the LyX bin folder - this works,
 but isn't there another way?

Regards, Toby




I have done this in the past by putting the path to the viewer in the 
PATH prefix.  I assume that you also specified the viewer in the File 
formats (and then clicked Modify followed by Save)?


Can you specify which viewer you tried and exactly what you did in both 
the PATH prefix and the formats section?


/Paul



Change PDF viewer (windows)

2007-11-16 Thread Tobias Krause

Hi,

how can I change the PDF viewer - without changing the windows default 
PDF viewer?

I tried changing Viewer in Tools --> Preferences --> File formats, but

   * absolut path did not work
   * adding the path to the viewer exe to Tools --> Preferences -->
 Paths --> PATH prefix did not help
   * now I put the pdf viewer exe in the LyX bin folder - this works,
 but isn't there another way?

Regards, Toby