Skip to content

v0.6.1#29

Merged
dialvarezs merged 14 commits intomainfrom
dev
Dec 23, 2025
Merged

v0.6.1#29
dialvarezs merged 14 commits intomainfrom
dev

Conversation

@dialvarezs
Copy link
Owner

No description provided.

january3 and others added 12 commits December 18, 2025 11:58
Co-authored-by: Diego Alvarez S. <dialvarezs@gmail.com>
Co-authored-by: Diego Alvarez S. <dialvarezs@gmail.com>
Co-authored-by: Diego Alvarez S. <dialvarezs@gmail.com>
Co-authored-by: Diego Alvarez S. <dialvarezs@gmail.com>
Co-authored-by: Diego Alvarez S. <dialvarezs@gmail.com>
Co-authored-by: Diego Alvarez S. <dialvarezs@gmail.com>
Fixing the issues with bibliography
Added caching for the Fontist gem to improve installation speed.
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR bumps the version from 0.6.0 to 0.6.1, introducing support for dictionary-formatted authors in Hayagriva YAML bibliographies, adding a reverse-order parameter for publications, and optimizing GitHub Actions font caching.

Key Changes:

  • Added support for Hayagriva dictionary author format (with "name", "given-name", "prefix" fields)
  • Introduced reverse-order parameter for publications display
  • Updated fontawesome dependency from 0.6.0 to 0.6.1
  • Optimized GitHub Actions with fontist gem caching

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
typst.toml Version bump from 0.6.0 to 0.6.1
lib.typ Added __format-author function for dictionary author support, refactored publication formatting, added reverse-order parameter, updated fontawesome version, added clarifying comments
template/publications.yml Added test publications with dictionary-formatted authors and books without parent field
template/cv.typ Updated import version to 0.6.1
template/letter.typ Updated import version to 0.6.1
README.md Updated example code to use version 0.6.1
.github/actions/setup-fonts/action.yml Added fontist gem caching and conditional gem installation
Comments suppressed due to low confidence (1)

lib.typ:475

  • The highlight-authors matching logic will not work correctly when an author is provided as a dictionary. At this point in the code, author may be a dictionary (e.g., with "name", "given-name", "prefix" fields), but highlight-authors likely contains string values like "LastName, FirstName". The comparison author in highlight-authors will never match for dictionary authors. Consider performing the comparison after converting the author to a string format, or convert the author to the string format expected by highlight-authors before the comparison.
      if author in highlight-authors {
        text(weight: "medium", author-display)
      } else {
        author-display
      }

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dialvarezs dialvarezs merged commit d4b5e1e into main Dec 23, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants