On 4/11/2020 9:07 am, Yu Jin wrote:
Am Di., 3. Nov. 2020 um 20:33 Uhr schrieb Andrew Parsloe <ajpars...@gmail.com <mailto:ajpars...@gmail.com>>:


    On 4/11/2020 7:03 am, Yu Jin wrote:
    Am So., 1. Nov. 2020 um 21:54 Uhr schrieb Andrew Parsloe
    <ajpars...@gmail.com <mailto:ajpars...@gmail.com>>:

        LyX 2.4.0 testing, windows 10

        Checking  Use Hyperref Support stalls display of previews on
        my system.
        I've attached two simple documents showing the effect. In
        2.3.5.2 the
        formation of previews is not stalled, but it is slowed. My
        (no doubt
        naive ) notion is that hyperref and preview should have
        nothing to do
        with each other.

        Looking at what's going on in the Temp directory, with
        hyperref ON a pdf
        is formed of all previews in the document. After a while in
        2.3.5.2 the
        individual png-s are then formed of each preview and which
        then get
        displayed. In 2.4.0 the pdf of all previews is formed but not
        the
        individual png-s. In both cases the log shows entries like

        Preview: Snippet 1 455554 225995 2313809
        [1
        Non-PDF special ignored!
        <special> ps::clippath fill

        for each preview. With hyperref OFF no pdf is formed and each
        preview
        generates a log entry like

        Preview: Snippet 1 4634698 235932 22609920


    Can you try following:
    Tolls -> Preferences -> Paths -> PATH prefix: find
    $LyXDir\ghostscript and change to
    $LyXDir\ghostscript\bin

    report if the outcome.

    Yes, the preview now forms (in 2.4.0 testing), although it still
    takes the 'long' route of creating a pdf in the Temp directory
    before creating the png. The preview log shows

Strange, I have tested your both files and for me it creates not .pdf but .dvi files in both cases, I see no difference between the two files. What do you mean with the long route, what would be the short route? Hyperref off behaves differently for you? How?

    Preview: Snippet 1 455554 225995 2313809
    [1
    Non-PDF special ignored!
    <special> ps::clippath fill

--
    Eugene

I've attached the contents of the temp directory in the two cases. A pdf is formed in the hyperref ON case, but not in the OFF case. The hyperrefON.lyx file has the entries \use_hyperref true \pdf_bookmarks true; the hyperrefOFF.lyx file has the entry \use_hyperref false.

By the long route I meant that a pdf of the preview snippet is formed before the png. The short route doesn't involve forming the pdf (goes directly from dvi to png). Would the preview log files be of interest?

Andrew

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to