Giter Site home page Giter Site logo

Comments (5)

KronosTheLate avatar KronosTheLate commented on June 3, 2024 1

Right. As it is not a polylux-issue, it is only appropriate to close this.

It also sounds like you, as the author of pinit, is well aware, so I will not make a new issue there.

from polylux.

OrangeX4 avatar OrangeX4 commented on June 3, 2024 1

Maybe I can add a warnning to the pinit readme, thanks for the issue.

from polylux.

OrangeX4 avatar OrangeX4 commented on June 3, 2024

This is due to the fact that typst doesn't have a built-in absolute-place, so pinit uses a hack implementation where you need to add a blank line before pinit-highlight.

from polylux.

KronosTheLate avatar KronosTheLate commented on June 3, 2024

I just reproduced this in Touying, so it seems like all effects come from pinit. Is it possible to move this issue over there?

Code used in touying:

#import "@preview/touying:0.2.0": *
#import "@preview/pinit:0.1.3": *

#let s = (s.methods.enable-transparent-cover)(self: s)
#let (init, slide, uncover, only, alternatives) = utils.methods(s)
#show: init

#slide(repeat: 2, self => [
  #let (uncover, only, alternatives) = utils.methods(self)

  #uncover("1-")[#pin(1)Test#pin(2)]

  #only("2-")[#pinit-highlight(1, 2)]
  #uncover("2-")[Something new]

])

from polylux.

OrangeX4 avatar OrangeX4 commented on June 3, 2024

Like I said, it has nothing to do with polylux or touying, it's caused by typst not having absolute-place, so you need to add more blank lines with pinit :-(

from polylux.

Related Issues (20)

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.