Archived
Template
1
0
Fork 0
generated from me/guix-typst-template

Switch to absolute paths

This commit is contained in:
Ethan Reece 2025-05-05 14:57:45 -05:00
parent 62d4693a43
commit 935e8e4f29
Signed by: me
GPG key ID: 198E9EB433DB1B28
7 changed files with 8 additions and 8 deletions

View file

@ -1,5 +1,5 @@
default:
guix time-machine --channels=./channels.scm.lock -- shell --container --emulate-fhs --manifest=./manifest.scm -- sh -c "mkdir -p ./out && typst compile ./src/document.typ ./out/document.pdf --font-path=/usr/share/fonts"
guix time-machine --channels=./channels.scm.lock -- shell --container --emulate-fhs --manifest=./manifest.scm -- sh -c "mkdir -p ./out && typst compile ./src/document.typ ./out/document.pdf --font-path=/usr/share/fonts --root=src"
fonts:
guix time-machine --channels=./channels.scm.lock -- shell --container --emulate-fhs --manifest=./manifest.scm -- typst fonts --font-path=/usr/share/fonts

View file

@ -8,8 +8,8 @@
class: "",
content
) = {
import "../base/text.typ": base_text
import "../base/page.typ": base_page
import "/base/text.typ": base_text
import "/base/page.typ": base_page
import "essay/header.typ": page_essay_header
import "essay/content.typ": page_essay_content

View file

@ -1,5 +1,5 @@
#let page_essay_base_grid(..items) = {
import "../../../base/const.typ": base_spacing
import "/base/const.typ": base_spacing
grid(
gutter: base_spacing,

View file

@ -1,5 +1,5 @@
#let page_essay_base_heading(title: "") = {
import "../../../base/text.typ": base_text
import "/base/text.typ": base_text
align(
center,

View file

@ -1,5 +1,5 @@
#let page_essay_bibliography_heading(title: "") = {
import "../base/heading.typ": page_essay_base_heading
import "/page/essay/base/heading.typ": page_essay_base_heading
block(
width: 100%,

View file

@ -1,5 +1,5 @@
#let page_essay_body(content) = {
import "../../base/const.typ": base_spacing
import "/base/const.typ": base_spacing
set par(
leading: base_spacing,

View file

@ -8,7 +8,7 @@
class: "",
content
) = {
import "../../base/text.typ": base_text
import "/base/text.typ": base_text
import "base/grid.typ": page_essay_base_grid
import "title.typ": page_essay_title
import "heading.typ": page_essay_heading