From 8b2f6aa1b116377e5a4e1021336b2461855a7955 Mon Sep 17 00:00:00 2001 From: Mark Date: Tue, 21 Jan 2025 18:40:32 -0800 Subject: [PATCH] Move typst lib --- {src/Advanced/Tropical Polynomials => lib/typst}/handout.typ | 0 src/Advanced/Tropical Polynomials/macros.typ | 3 ++- src/Advanced/Tropical Polynomials/main.typ | 2 +- src/Advanced/Tropical Polynomials/parts/00 arithmetic.typ | 2 +- src/Advanced/Tropical Polynomials/parts/01 polynomials.typ | 2 +- src/Advanced/Tropical Polynomials/parts/02 cubic.typ | 2 +- 6 files changed, 6 insertions(+), 5 deletions(-) rename {src/Advanced/Tropical Polynomials => lib/typst}/handout.typ (100%) diff --git a/src/Advanced/Tropical Polynomials/handout.typ b/lib/typst/handout.typ similarity index 100% rename from src/Advanced/Tropical Polynomials/handout.typ rename to lib/typst/handout.typ diff --git a/src/Advanced/Tropical Polynomials/macros.typ b/src/Advanced/Tropical Polynomials/macros.typ index db144b1..5e3b706 100644 --- a/src/Advanced/Tropical Polynomials/macros.typ +++ b/src/Advanced/Tropical Polynomials/macros.typ @@ -1,5 +1,6 @@ +#import "../../../lib/typst/handout.typ": * #import "@preview/cetz:0.3.1" -#import "handout.typ": * + // Shorthand, we'll be using these a lot. #let tp = sym.plus.circle diff --git a/src/Advanced/Tropical Polynomials/main.typ b/src/Advanced/Tropical Polynomials/main.typ index ea81c7f..70ef20d 100644 --- a/src/Advanced/Tropical Polynomials/main.typ +++ b/src/Advanced/Tropical Polynomials/main.typ @@ -1,4 +1,4 @@ -#import "handout.typ": * +#import "../../../lib/typst/handout.typ": * #show: doc => handout( doc, diff --git a/src/Advanced/Tropical Polynomials/parts/00 arithmetic.typ b/src/Advanced/Tropical Polynomials/parts/00 arithmetic.typ index 5a85ba6..2ecbbe5 100644 --- a/src/Advanced/Tropical Polynomials/parts/00 arithmetic.typ +++ b/src/Advanced/Tropical Polynomials/parts/00 arithmetic.typ @@ -1,4 +1,4 @@ -#import "../handout.typ": * +#import "../../../../lib/typst/handout.typ": * #import "../macros.typ": * = Tropical Arithmetic diff --git a/src/Advanced/Tropical Polynomials/parts/01 polynomials.typ b/src/Advanced/Tropical Polynomials/parts/01 polynomials.typ index 6000de5..fe980de 100644 --- a/src/Advanced/Tropical Polynomials/parts/01 polynomials.typ +++ b/src/Advanced/Tropical Polynomials/parts/01 polynomials.typ @@ -1,4 +1,4 @@ -#import "../handout.typ": * +#import "../../../../lib/typst/handout.typ": * #import "../macros.typ": * #import "@preview/cetz:0.3.1" diff --git a/src/Advanced/Tropical Polynomials/parts/02 cubic.typ b/src/Advanced/Tropical Polynomials/parts/02 cubic.typ index 0ff3385..8614724 100644 --- a/src/Advanced/Tropical Polynomials/parts/02 cubic.typ +++ b/src/Advanced/Tropical Polynomials/parts/02 cubic.typ @@ -1,4 +1,4 @@ -#import "../handout.typ": * +#import "../../../../lib/typst/handout.typ": * #import "../macros.typ": * #import "@preview/cetz:0.3.1"