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

More robust fix for libertinus font and TinyTeX #31

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
workflow_dispatch:
push:
branches: main
pull_request:
branches:
- master
- main

jobs:
build-and-publish:
Expand All @@ -24,13 +28,15 @@ jobs:
uses: quarto-dev/quarto-actions/setup@v2
with:
tinytex: true
version: pre-release

- name: register tinytex globally for diagram.lua
run: |
mkdir -p ~/.local/bin
~/.TinyTeX/bin/x86_64-linux/tlmgr option sys_bin ~/.local/bin
~/.TinyTeX/bin/x86_64-linux/tlmgr path add
~/.TinyTeX/bin/x86_64-linux/tlmgr install libertinus-fonts

# ~/.TinyTeX/bin/x86_64-linux/tlmgr install libertinus-fonts

- name: install dependencies for diagram.lua and webshot2
run: sudo apt update && sudo apt install -y inkscape libcurl4-openssl-dev
Expand Down
5 changes: 4 additions & 1 deletion _extensions/computo/_extension.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
title: Computo Format Template
author: Computorg Team
version: 0.2.5
version: 0.2.6
contributes:
formats:
common:
Expand Down Expand Up @@ -66,6 +66,9 @@ contributes:
- textheight=24cm
- textwidth=15.5cm
fontfamily: libertinus
fontfamilyoptions:
- osf
- p
fontsize: 11pt
highlight-style: github
monofont: Latin Modern Mono
Expand Down
2 changes: 1 addition & 1 deletion _extensions/computo/partials/pdf/include-in-header.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
\usepackage{tabularx}
\usepackage{orcidlink}
\usepackage{lineno}
\usepackage{libertinus}
% \usepackage{libertinus}
Loading