Show compiled document under /tmp
Richard Kimberly Heck
rikiheck at gmail.com
Wed Dec 4 00:56:31 UTC 2024
On 12/3/24 12:50 PM, Eckhard Höffner wrote:
>
> Am 03.12.24 um 18:08 schrieb Richard Kimberly Heck:
>> On 12/2/24 3:26 PM, Eckhard Höffner wrote:
>>>
>>> Am 02.12.24 um 21:13 schrieb Paul Rubin:
>>>>
>>>> On 12/2/24 11:35, Eckhard Höffner wrote:
>>>>> I don't have problems with the pdf file located in /tmp. It is
>>>>> just the button with the two eyes (Ctrl + R). It used to open the
>>>>> pdf file in /tmp in okular (in my case). This does currently not
>>>>> work. I assume this is related to changes to KDE (debian
>>>>> testing). Maybe it'll be fixed within the next days.
>>>> And the viewer setting still lists okular as the viewer? I just
>>>> discovered that, for whatever reason, the viewer for pdflatex was
>>>> set to xreader (correct) and the viewer for all other PDF formats
>>>> was set to evince (which I don't use).
>>>
>>> It was empty. Now I have chosen
>>>
>>> okular --unique "$$o#src:$$n $$f"
>>>
>>> from a drop down menu. It still doesn't work. I also don't
>>> understand "$$o#src:$$n $$f"
>>
>> You're looking in the wrong place, I think. That string is in the
>> Output section and has to do with forward search (the ability to jump
>> to locations in the PDF corresponding to ones in the LyX file). You
>> want to look under File Handling> File Formats, and then choose PDF
>> (pdflatex) at the top. Is a viewer selected there?
>>
>> You might also try running LyX from a terminal with "lyx -dbg files".
>> It's possible you will get some kind of error message. You should see
>> something like:
>>
>> Format.cpp (706): Executing command: okular "file.pdf"
>>
>> after compilation completes.
>
>
> Thank you. There was no special viewer selected, just xdg-open. This
> doesn't work any more. After having selected okular everything is fine.
Glad to hear it. We have had very mixed results with xdg-open.
Riki
More information about the lyx-users
mailing list