Git Product home page Git Product logo

Comments (7)

dcpurton avatar dcpurton commented on July 21, 2024 1

This happens because for some reason \sys_if_output_pdf:TF is not defined in the preamble.

For now, you can set the PDF after \begin{document}:

\documentclass{article}
\usepackage{pdfoverlay}
\begin{document}
\pdfoverlaySetPDF{capitolo1.pdf}
Annotation on page 1.
\pdfoverlayIncludeToPage{10}
Annotation on page 10.
\pdfoverlayIncludeToLastPage
\end{document}

I will follow up with the LaTeX3 team and find out what is going on.

from pdfoverlay.

dcpurton avatar dcpurton commented on July 21, 2024

@xAlien95 , which TeX engine are you using?

from pdfoverlay.

dcpurton avatar dcpurton commented on July 21, 2024

Oh, I see! I'm sure it didn't used to do that!

from pdfoverlay.

xAlien95 avatar xAlien95 commented on July 21, 2024

[...] which TeX engine are you using?

It's pdflatex:

PDFLATEX: pdflatex -version
pdfTeX 3.14159265-2.6-1.40.21 (TeX Live 2020)
kpathsea version 6.3.2

from pdfoverlay.

xAlien95 avatar xAlien95 commented on July 21, 2024

Thank you.

From my point of view, this solves the issue. Feel free to close this issue if you prefer.

from pdfoverlay.

dcpurton avatar dcpurton commented on July 21, 2024

@xAlien95 Apparently the output format can be changed in the preamble, so this macro is defined late.

Another workaround is to explicitly load expl3 before loading pdfoverlay.

I will fix this issue, but am not yet quite sure what the best option is.

from pdfoverlay.

dcpurton avatar dcpurton commented on July 21, 2024

I've sent a new release to CTAN, so it should be available on the mirrors in a couple of days.

from pdfoverlay.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.