Am Dienstag, 14.10.03 um 18:12 Uhr schrieb Angus Leeming:


Jean-Marc Lasgouttes wrote:

"Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:

Angus> Katrin Pietzsch wrote:
LyX: Unknown tag `Acrobat' [around line 90 of file
~/.lyx/preferences] LyX: Unknown tag `Reader' [around line 90 of
file ~/.lyx/preferences] LyX: Unknown tag `5.0""' [around line 91
of file ~/.lyx/preferences]

... and that was it with previewing in Acrobat Reader....

Angus> You have an entry like: \viewer "ps" "Acrobat Reader 5.0 $$i" Angus> and you expect it to work ????

No, Angus, the entry is
  \viewer "ps" "open -a "Acrobat Reader 5.0" $$i"
and this does not work because of the double quotes. As Ronald
already pointed out, this should be
  \viewer "ps" "open -a 'Acrobat Reader 5.0' $$i"
(i.e., use single quotes).

Many thanks. But importantly for us, there is no bug in LyX, right? Ie, Katrin should have entered open -a 'Acrobat Reader 5.0' $$i in the Preferences dialog, right?

--
Angus

My mistake - I used double quotes and this is why it didn't work. With single quotes like


open -a 'Acrobat Reader 5.0' (in the preferences dialog)

it works like a charm and lyx doesn't "forget" ;). Thanks for your help and sorry for not reading the instruction thoroughly - could have saved some trouble...

One question though: what does "$$i" mean?

Regards,
Katrin



Reply via email to