Giter Site home page Giter Site logo

typst-templates's People

Contributors

cderv avatar cscheid avatar jjallaire avatar mskyttner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

typst-templates's Issues

Version Error

@cscheid ; after seeing your posit talk on typst / academic posters I was eager to give it a go - I unfortunately ‘failed’ right after installation.

I installed the latest pre-release of Quarto (1.4.415) and tried to create the template as described in the readme.

It resulted in the following error:

ERROR: The extension Poster is incompatible with this quarto version.

Extension requires: >=99.9.0
Quarto version: 1.4.415

Stack trace:

Extension requires: >=99.9.0
Quarto version: 1.4.415
    at validateExtension (file:///Applications/quarto/bin/quarto.js:42524:15)
    at readExtension (file:///Applications/quarto/bin/quarto.js:42600:5)
    at eventLoopTick (ext:core/01_core.js:181:11)
    at async readExtensions (file:///Applications/quarto/bin/quarto.js:42373:35)
    at async readAndCopyExtensions (file:///Applications/quarto/bin/quarto.js:98469:24)
    at async copyExtensions (file:///Applications/quarto/bin/quarto.js:98466:5)
    at async file:///Applications/quarto/bin/quarto.js:105492:17
    at async withSpinner (file:///Applications/quarto/bin/quarto.js:39165:16)
    at async useTemplate (file:///Applications/quarto/bin/quarto.js:105487:9)
    at async Command.fn (file:///Applications/quarto/bin/quarto.js:105471:9)

The directory was created, but the quarto-ext folder has no files.

Any help on how to resolve this is appreciated!

types - IEEE - format & generalise column layout

Got pointed here - and in hindsight agree - this is the better place to speak about typst and its ieee format.

Updated Quarto and RStudio today to play around with Typst and/or decide whether to give it a try for an upcoming conference paper submission. Thanks for all the hard work on Typst, it really feels lightweight.
From a youtube video of posit::2023, I understood that format observations should also be posted here. If I got this wrong, please kill this "request" (and let me know where to put it instead).

The bit I noted: The current typst-ieee format prints the abstract across the whole page q14-ieee-typst.pdf.
Typically, in IEEE conference proceedings, the abstract sits in the column layout.
It feels like the column settings only take effect after the abstract section.

For the case at hand (IEEE conference proceedings requirement) the abstract should be part of the column layout of the document.
However, I could picture for own layouts that the author would like to have the abstract spanning (similar to the title) the full body of the page.
Ditto for a table-of-contents.

The idea would be to have this controlled via a key like abstract-in-column (or toc-in-column).

For the typst-ieee format this could be automatically set to true (as IEEE requires it).

Next to the number of columns, it would be nice to be able to control - next to the page margins - also the gap between the columns (e.g. column-spacing).

Again, thanks for all the hard work on typst and helping non-LATEXer starting to tame the pdf landscape.

How to make a yaml argument optional

As an example, in this poster, if I do not want the university logo displayed, and I remove this key from the yaml file:

institution-logo: "./images/ncstate.png"

I get an error. Is it possible to make institution-logo an optional variable? ie; if it's specified, use it, else skip it.

Poster control

This is a nice example, and I have been experimenting at https://github.com/higgi13425/quarto_poster.git
and realizing that I don't know much about how to control

  1. size of logo (too big right now)
  2. Length, line breaks in title
  3. Title font and font size
  4. Why does title break there - not go full width?
  5. Put a background color behind the title/author/affiliations block
  6. Add an image on the right side of this block (logo on left side)
  7. Larger sizes, up to 72 in wide, 42 in tall in US, taller in euro zone
  8. Author font, font size, italics, font color, and line breaks
  9. Multiple author affiliations (diff univ, department, divison)
  10. Having a line break between authors and affiiliations
  11. Turn off roman numerals for sections - Background, Methods
  12. Control alignment - left, center, right
  13. Control underlines, bold
  14. control number of columns, column width, space between columns
  15. Add superscripts for references
  16. Control body font size, font

What is the best resource for these questions?

thanks,
Peter

Template cant handle multiple affiliations

The IEEE template has a hard time handling quarto author affiliation input.
Also, do not handle flags such as corresponding or equal-contributor.

For example:

author:
  - name: Author One
    affiliations:
      - name: Harvard University
        id: a
        department: Department of Government
        city: Cambridge
        state: MA
        postal-code: 02138
      - name: Harvard University
        id: c
        department: Department of Statistics
        city: Cambridge
        state: MA
        postal-code: 02138
    attributes:
      equal-contributor: true
  - name: Author Two
    affiliations:
      - name: Yale University
        id: b
        department: Department of Political Science
        city: New Haven
        state: CT
        postal-code: 06511
    email: [email protected]
    attributes:
      equal-contributor: true
      corresponding: true

Bug in poster template

The poster template has a few bugs. Here are the corrected lines of typst-show.typ. In the original version, underlines (_) were erroneously used in place of hyphens (-)

// University logo's scale (in %).
  $if(univ-logo-scale)$ univ_logo_scale: $univ-logo-scale$, $endif$

  // University logo's column size (in in).
  $if(univ-logo-column-size)$ univ_logo_column_size: $univ-logo-column-size$, $endif$

  // Title and authors' column size (in in).
  $if(title-column-size)$ title_column_size: $title-column-size$, $endif$

  // Poster title's font size (in pt).
  $if(title-font-size)$ title_font_size: $title-font-size$, $endif$

  // Authors' font size (in pt).
  $if(authors-font-size)$ authors_font_size: $authors-font-size$, $endif$

  // Footer's URL and email font size (in pt).
  $if(footer-url-font-size)$ footer_url_font_size: $footer-url-font-size$, $endif$

  // Footer's text font size (in pt).
  $if(footer-text-font-size)$ footer_text_font_size: [$footer-text-font-size$], $endif$

Inline code does not work

Code blocks work but inline code wont render:

There are `r nrow(mpg)` observations in our data. 

Renders to:

There are r nrow(mpg) observations in our data

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.