Merge pull request 'build/update-nix-channel' (#75) from build/update-nix-channel into main
Gitea Action for checking typst compilation / run-ci-linux (push) Successful in 1m53s
Details
Gitea Action for checking typst compilation / run-ci-linux (push) Successful in 1m53s
Details
Reviewed-on: #75
This commit is contained in:
commit
4df961b5e3
|
@ -1,5 +1,5 @@
|
||||||
let
|
let
|
||||||
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-unstable";
|
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-24.11";
|
||||||
pkgs = import nixpkgs { config = {}; overlays = []; };
|
pkgs = import nixpkgs { config = {}; overlays = []; };
|
||||||
in
|
in
|
||||||
|
|
||||||
|
|
|
@ -34,10 +34,9 @@ SOFTWARE.*/
|
||||||
loc,
|
loc,
|
||||||
inclusive: false,
|
inclusive: false,
|
||||||
),
|
),
|
||||||
loc,
|
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
query(selector(label(__glossary_label_prefix + key)), loc)
|
query(selector(label(__glossary_label_prefix + key)))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -49,7 +48,7 @@ SOFTWARE.*/
|
||||||
// Reference a term
|
// Reference a term
|
||||||
#let gls(key, suffix: none, long: none, display: none) = {
|
#let gls(key, suffix: none, long: none, display: none) = {
|
||||||
context {
|
context {
|
||||||
let __glossary_entries = __glossary_entries.final(here())
|
let __glossary_entries = __glossary_entries.final()
|
||||||
if key in __glossary_entries {
|
if key in __glossary_entries {
|
||||||
let entry = __glossary_entries.at(key)
|
let entry = __glossary_entries.at(key)
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
#let render_filtered_outline(title: str, kind: selector) = (
|
#let render_filtered_outline(title: str, kind: selector) = (
|
||||||
context {
|
context {
|
||||||
|
|
||||||
let elems = query(figure.where(kind: kind), here())
|
let elems = query(figure.where(kind: kind))
|
||||||
let count = elems.len()
|
let count = elems.len()
|
||||||
|
|
||||||
show outline.entry: it => {
|
show outline.entry: it => {
|
||||||
|
|
|
@ -184,7 +184,7 @@
|
||||||
show figure.caption: c => [
|
show figure.caption: c => [
|
||||||
#if c.body.fields().len() > 0 {
|
#if c.body.fields().len() > 0 {
|
||||||
text(weight: "medium")[
|
text(weight: "medium")[
|
||||||
#c.supplement #c.counter.display("1.1.1")
|
#c.supplement #context c.counter.display("1.1.1")
|
||||||
]
|
]
|
||||||
c.separator
|
c.separator
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue