Skip to content
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

Add templates to typst packages #3

Closed
n-gao opened this issue Mar 18, 2024 · 5 comments
Closed

Add templates to typst packages #3

n-gao opened this issue Mar 18, 2024 · 5 comments
Labels
question Further information is requested

Comments

@n-gao
Copy link

n-gao commented Mar 18, 2024

It would be great if these templates could be integrated into https://github.com/typst/packages since templates are now supported there.

@daskol
Copy link
Owner

daskol commented Mar 18, 2024

Yes, I am already working on submitting the templates but I am still looking into how authorship works with the new template package system.

@daskol daskol added the question Further information is requested label Mar 18, 2024
@daskol
Copy link
Owner

daskol commented Mar 19, 2024

Done. Now you can create paper from ICML/NeurIPS template in WebApp or in command line as follows.

typst init @preview/bloated-neurips

@daskol daskol closed this as completed Mar 19, 2024
@n-gao
Copy link
Author

n-gao commented Mar 19, 2024

There seems to be an issue with the submitted files

 #import "/logo.typ": LaTeX, LaTeXe, TeX 

should be

 #import "./logo.typ": LaTeX, LaTeXe, TeX

@n-gao
Copy link
Author

n-gao commented Mar 19, 2024

Thanks a lot!

@daskol
Copy link
Owner

daskol commented Mar 19, 2024

There seems to be an issue with the submitted files

How to reproduce the issue? I tried to compile bootstrapped from template with typst init and everything works fine.

FYI Import paths work as absolute/relative URLs.

// Absolute path to typst file with respect to root directory (usually, `main.typ`).
#import "/logo.typ": LaTeX, LaTeXe, TeX
// Relative to current translation unit.
#import "./logo.typ": LaTeX, LaTeXe, TeX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants