On 12/2/20 2:43 PM, Neal Becker wrote:
Sorry, that's:
document settings > pdf properties > check "customize hyperref options"

On Wed, Dec 2, 2020 at 2:41 PM Neal Becker <[email protected] <mailto:[email protected]>> wrote:

    I get this artifact if I change document settings > pdf properties
    > check "customize pdf options".  Don't set anything else here,
    although
    "Automatically fill header" is checked for me.

    This gives me the rectangle:

    On Wed, Dec 2, 2020 at 1:57 PM Paul A. Rubin <[email protected]
    <mailto:[email protected]>> wrote:

        On 12/2/20 11:05 AM, Neal Becker wrote:
        lyx-2.3.6

        I'm trying beamer with metropolis theme.  So to preamble I added:

        \usetheme[numbering=fraction,titleformat=smallcaps]{metropolis}

        I want notes on 2nd screen, so I added

        \usepackage{pgfpages}

        \setbeameroption{show notes}

        \setbeameroption{show notes on second screen=right}

        When I do this, I get a gray rectangle at the top of each
        page.  I exported the latex code, and found
        commenting out this section of code inserted by lyx fixed the
        issue:

        %% \ifx\hypersetup\undefined
        %%   \AtBeginDocument{%
        %%     \hypersetup{unicode=true,pdfusetitle,
        %%  bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
        %%  breaklinks=false,pdfborder={0 0
        1},backref=false,colorlinks=false}
        %%   }
        %% \else
        %%   \hypersetup{unicode=true,pdfusetitle,
        %%  bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
        %%  breaklinks=false,pdfborder={0 0
        1},backref=false,colorlinks=false}
        %% \fi

        Any ideas what is the right way to fix this, and maybe what
        is the cause?

        Thanks,
        Neal

        A gray rectangle across the entire top, or on the same side as
        the slide, or a gray rectangle just on the right (the speaker
        notes side), which is expected. I've attached a MWE, and to me
        the PDF is as it should be.
-- lyx-users mailing list
        [email protected] <mailto:[email protected]>
        http://lists.lyx.org/mailman/listinfo/lyx-users



-- /Those who don't understand recursion are doomed to repeat it/



--
/Those who don't understand recursion are doomed to repeat it/
I checked that on my test document, recompiled, and did not get the rectangle in your image. That setting must be interacting with something in your document that is not in my MWE. By the way, I'm compiling with pdflatex (in case that makes any difference).

Paul

-- 
lyx-users mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to