-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
57 lines (48 loc) · 1.53 KB
/
pyproject.toml
File metadata and controls
57 lines (48 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[project]
name = "presentation-template"
version = "1.1.0"
description = "NumPEx presentation and poster templates for LaTeX/Beamer and Typst"
[tool.article-cli]
# Project configuration
[tool.article-cli.project]
type = "presentation"
engines = ["latex", "typst"]
[tool.article-cli.presentation]
theme = "numpex"
aspect_ratio = "169"
[tool.article-cli.documents]
# LaTeX documents
main = "presentation.template.tex"
additional = ["poster.template.tex"]
# Typst documents
main_typst = "presentation.template.typ"
additional_typst = ["poster.template.typ"]
[tool.article-cli.latex]
engine = "xelatex"
shell_escape = true
build_dir = "build/tex"
[tool.article-cli.typst]
font_paths = ["fonts/Marianne/desktop", "fonts/Roboto/static"]
build_dir = "build/typst"
[tool.article-cli.workflow]
output_dir = "build"
fonts_dir = "fonts"
install_fonts = true
[tool.article-cli.git]
default_branch = "main"
[tool.article-cli.fonts]
directory = "fonts"
# Use GitHub releases for reliable font downloads
sources = [
{ name = "Roboto", url = "https://github.com/googlefonts/roboto/releases/download/v2.138/roboto-unhinted.zip", description = "Google's sans-serif font family" },
{ name = "Roboto Mono", url = "https://github.com/googlefonts/RobotoMono/archive/refs/heads/main.zip", description = "Google's monospace font, good for code" }
]
[tool.article-cli.theme]
name = "numpex"
latex_files = [
"beamerthemenumpex.sty",
"beamercolorthemenumpex.sty",
"beamerfontthemenumpex.sty"
]
typst_files = ["numpex.typ"]
shared_directories = ["images", "fonts"]