-
Notifications
You must be signed in to change notification settings - Fork 699
efter-plugget:0.1.0 #3085
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
efter-plugget:0.1.0 #3085
Conversation
303e84b
to
b49ee42
Compare
This comment was marked as resolved.
This comment was marked as resolved.
Can you please change the name to something less generic? Also, you should add at least one category in the manifest, as reported here. |
b49ee42
to
0ce0e14
Compare
0ce0e14
to
9d8f565
Compare
Hi Ana! Thanks for the review. I've now renamed the package to "efter plugget" which is a tribute to a Swedish song about finishing Uni. I've also added the "report" category to the Typst manifest, as this package is intended for lab reports, Uni assignments, etc. Cheers, |
Converted to draft for now, as I need to update some show rules for figures before publishing the package. |
9d8f565
to
07dc94c
Compare
Now the package is ready for review again : ) It depends on the latest version of the |
07dc94c
to
3495863
Compare
3495863
to
802cafa
Compare
802cafa
to
6d9272e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The invisible warning reported by CI is because of exclude
(the warning is reported on the whole directory, and GitHub doesn't know how to display that).
description = "Lab report, essay and exam template for Typst." | ||
repository = "https://github.com/mewmew/efter-plugget" | ||
categories = ["report"] | ||
exclude = ["inc"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This also matches template/inc
, can you please replace it with /inc
to only match the top-level directory?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This also matches
template/inc
, can you please replace it with/inc
to only match the top-level directory?
Ah, wow. Good catch! Didn't know that's how it worked. I'll send an update.
Edit: Done in 014b082
6d9272e
to
014b082
Compare
Otherwise template/inc is also skipped. ref: typst/packages#3085 (review)
Thank you. |
@elegaanz, thank you for the review :) I tried to use However, it seems like the webapp is using an old/wrong version of the package? See the following exmple which was generated from the "File not found (searched at inc/default_logo.png)." ![]() When I try to do the same locally it works without error. typst init @preview/efter-plugget:0.1.0
cd efter-plugget
# Compiles successfully.
typst compile report.typ So it seems like what was deployed for the Note, the image imported is
My guess is that what was deployed to |
I think paths are normalized to be relative to the project root before being displayed, at least in the web app, so the missing leading slash is not relevant here. The web app should use the exact same archive as the CLI, I wonder if maybe there was some kind of race condition that made the editor load before the image file was actually created, did you try to close and re-open the project, to force it to reload all the files? |
I tried again and get the same results. Typst.app example project ![]() It should be easy to reproduce this:
Do the same but from the command line. typst init @preview/efter-plugget:0.1.0
cd efter-plugget
# Successful compile.
typst compile report.typ Notice that in the web app we get a "file not found" error, and from the command line it works. But using the same version of efter-plugget. At least as far as I can tell. Please try to see if you can reproduce. And then we know if it is only on my machine. Cheers, |
I can reproduce the issue, both in the web app and using the CLI. The issue is that the Can you please publish a new version, without the |
No worries! And thanks for reproducing it. I updated the exclude = ["/inc/thumbnail.png"] Hope this should work :) |
I am submitting
Description: a template for University lab reports, essays and exams.
I have read and followed the submission guidelines and, in particular, I
typst.toml
file with all required keysREADME.md
with documentation for my packageLICENSE
file or linked one in myREADME.md
exclude
d PDFs or README images, if any, but not the LICENSEJust replace the logo with the one of your University to use the template.