generated from me/guix-typst-template
Switch to absolute paths
This commit is contained in:
parent
62d4693a43
commit
935e8e4f29
7 changed files with 8 additions and 8 deletions
2
Justfile
2
Justfile
|
@ -1,5 +1,5 @@
|
||||||
default:
|
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:
|
fonts:
|
||||||
guix time-machine --channels=./channels.scm.lock -- shell --container --emulate-fhs --manifest=./manifest.scm -- typst fonts --font-path=/usr/share/fonts
|
guix time-machine --channels=./channels.scm.lock -- shell --container --emulate-fhs --manifest=./manifest.scm -- typst fonts --font-path=/usr/share/fonts
|
||||||
|
|
|
@ -8,8 +8,8 @@
|
||||||
class: "",
|
class: "",
|
||||||
content
|
content
|
||||||
) = {
|
) = {
|
||||||
import "../base/text.typ": base_text
|
import "/base/text.typ": base_text
|
||||||
import "../base/page.typ": base_page
|
import "/base/page.typ": base_page
|
||||||
import "essay/header.typ": page_essay_header
|
import "essay/header.typ": page_essay_header
|
||||||
import "essay/content.typ": page_essay_content
|
import "essay/content.typ": page_essay_content
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#let page_essay_base_grid(..items) = {
|
#let page_essay_base_grid(..items) = {
|
||||||
import "../../../base/const.typ": base_spacing
|
import "/base/const.typ": base_spacing
|
||||||
|
|
||||||
grid(
|
grid(
|
||||||
gutter: base_spacing,
|
gutter: base_spacing,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#let page_essay_base_heading(title: "") = {
|
#let page_essay_base_heading(title: "") = {
|
||||||
import "../../../base/text.typ": base_text
|
import "/base/text.typ": base_text
|
||||||
|
|
||||||
align(
|
align(
|
||||||
center,
|
center,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#let page_essay_bibliography_heading(title: "") = {
|
#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(
|
block(
|
||||||
width: 100%,
|
width: 100%,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#let page_essay_body(content) = {
|
#let page_essay_body(content) = {
|
||||||
import "../../base/const.typ": base_spacing
|
import "/base/const.typ": base_spacing
|
||||||
|
|
||||||
set par(
|
set par(
|
||||||
leading: base_spacing,
|
leading: base_spacing,
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
class: "",
|
class: "",
|
||||||
content
|
content
|
||||||
) = {
|
) = {
|
||||||
import "../../base/text.typ": base_text
|
import "/base/text.typ": base_text
|
||||||
import "base/grid.typ": page_essay_base_grid
|
import "base/grid.typ": page_essay_base_grid
|
||||||
import "title.typ": page_essay_title
|
import "title.typ": page_essay_title
|
||||||
import "heading.typ": page_essay_heading
|
import "heading.typ": page_essay_heading
|
||||||
|
|
Reference in a new issue