daskol / typst-templates

A list of paper templates in the area of machine learning.
MIT License
101 stars 4 forks source link

Add templates to typst packages #3

Closed n-gao closed 7 months ago

n-gao commented 7 months ago

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

daskol commented 7 months ago

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 commented 7 months ago

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

typst init @preview/bloated-neurips
n-gao commented 7 months ago

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 commented 7 months ago

Thanks a lot!

daskol commented 7 months ago

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