Skip to content

Commit

Permalink
Microfixes to global things
Browse files Browse the repository at this point in the history
  • Loading branch information
sesquideus committed Jan 9, 2025
1 parent dd88299 commit 6504565
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions core/builder/convertor.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ def call_pandoc(self):
"--filter", "pandoc-eqnos",
"--filter", "pandoc-include",
"-M", f"include-entry={Path(self.infile.name).parent}/",
"-M", f"rewrite-path=false",
"--filter", "pandoc-minted",
"--lua-filter", "./core/filters/quotes.lua",
]
Expand Down
1 change: 1 addition & 0 deletions dgs-copy.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def main():
# copy pictures
copy_wildcard = ' -o '.join([f"-name '*.{x}'" for x in COPY_EXTENSIONS])

# stupid hack to make it work with trojstenweb
fire(rf"mkdir -p tasks/{path_fragment_remote}/obrazky/ && "
rf"find output/seminar/{path_fragment_local}/ \( {copy_wildcard} \) "
rf"-exec ln -s $(pwd)/'{{}}' tasks/{path_fragment_remote}/obrazky/ \;")
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ This is DGS, short for Document Generation System (pronounced ['degeʃ]).
DGS is a build system for structured documents, mostly those built on standardized
frameworks, where the structure is always the same (or very similar) but the underlying
data change -- such as correspondence seminar problems, competitions, lectures,
lectures and handouts. It includes a basic support for internationalization.
homework sheets and handouts. It also includes basic internationalization.

The same content can be repeatedly rendered to various templates or output formats,
for instance XeLaTeX for printable documents and HTML for the web.
Expand Down

0 comments on commit 6504565

Please sign in to comment.