diff --git a/docs/build-your-own-theme.md b/docs/build-your-own-theme.md index a372e972..bca5cb37 100644 --- a/docs/build-your-own-theme.md +++ b/docs/build-your-own-theme.md @@ -20,12 +20,12 @@ To demonstrate how to create a theme with Touying, let's step by step create a s If you want to modify a Touying internal theme locally instead of creating one from scratch, you can achieve this by: 1. Copying the [theme code](https://github.com/touying-typ/touying/tree/main/themes) from the `themes` directory to your local, for example, copying `themes/university.typ` to your local `university.typ`. -2. Replacing the `#import "../src/exports.typ": *` command at the top of the `university.typ` file with `#import "@preview/touying:0.5.4": *`. +2. Replacing the `#import "../src/exports.typ": *` command at the top of the `university.typ` file with `#import "@preview/touying:0.5.5": *`. Then you can import and use the theme by: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import "university.typ": * #show: university-theme.with( @@ -48,7 +48,7 @@ Depending on whether the theme is your own or part of Touying, you can import it If it's just for your own use, you can directly import Touying: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * ``` If you want the theme to be part of Touying, placed in the Touying `themes` directory, then you should change the import statement above to @@ -73,7 +73,7 @@ Generally, the first step in making slides is to determine the font size and pag ```typst // bamboo.typ -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #let bamboo-theme( aspect-ratio: "16-9", @@ -94,7 +94,7 @@ Generally, the first step in making slides is to determine the font size and pag } // main.typ -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import "bamboo.typ": * #show: bamboo-theme.with(aspect-ratio: "16-9") @@ -195,7 +195,7 @@ We also need to customize a `slide` method, which accepts `#let slide(title: aut ```typst // bamboo.typ -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #let slide(title: auto, ..args) = touying-slide-wrapper(self => { if title != auto { @@ -270,7 +270,7 @@ We also need to customize a `slide` method, which accepts `#let slide(title: aut // main.typ -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import "bamboo.typ": * #show: bamboo-theme.with(aspect-ratio: "16-9") @@ -294,7 +294,7 @@ For the `new-section-slide` method, it's the same, but the only thing to note is ```typst // bamboo.typ -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #let slide(title: auto, ..args) = touying-slide-wrapper(self => { if title != auto { @@ -411,7 +411,7 @@ For the `new-section-slide` method, it's the same, but the only thing to note is // main.typ -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import "bamboo.typ": * #show: bamboo-theme.with( diff --git a/docs/changelog.md b/docs/changelog.md index 54e49991..7ca437f6 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -87,7 +87,7 @@ This is a significant disruptive version update. Touying has removed many mistak A simple usage example is shown below, and more examples can be found in the `examples` directory: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.university: * #show: university-theme.with( diff --git a/docs/code-styles.md b/docs/code-styles.md index 27a28a6f..f03449b5 100644 --- a/docs/code-styles.md +++ b/docs/code-styles.md @@ -9,7 +9,7 @@ sidebar_position: 4 If we just need to use it simply, we can directly input content under the title, just like writing a normal Typst document. The titles here serve to separate pages, and we can also normally use commands like `#pause` to achieve animation effects. ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #show: simple-theme.with(aspect-ratio: "16-9") @@ -32,7 +32,7 @@ And you can use an empty title `== ` to create a new page, which If we need to maintain the current title and just want to add a new page, we can use `#pagebreak()`, or directly use `---` to split the page, the latter is parsed as `#pagebreak()` in Touying. ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #show: simple-theme.with(aspect-ratio: "16-9") @@ -57,7 +57,7 @@ Many times, using only the simple style cannot achieve all the functions we need For example, the above example can be transformed into ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #show: simple-theme.with(aspect-ratio: "16-9") @@ -91,7 +91,7 @@ You may have noticed that when using the simple theme, using a first-level title If we do not want it to automatically create such a section slide, we can remove this method: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #show: simple-theme.with( @@ -117,7 +117,7 @@ As you can see, this will only result in two pages, and the default section slid Similarly, we can also register a new section slide: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #show: simple-theme.with( diff --git a/docs/dynamic/other.md b/docs/dynamic/other.md index 1f08aed5..7d6536f7 100644 --- a/docs/dynamic/other.md +++ b/docs/dynamic/other.md @@ -11,7 +11,7 @@ Touying also provides `touying-reducer`, which adds `pause` and `meanwhile` anim Here's an example: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.university: * #import "@preview/cetz:0.3.1" #import "@preview/fletcher:0.5.3" as fletcher: node, edge diff --git a/docs/external/pdfpc.md b/docs/external/pdfpc.md index 79eb0217..8978a397 100644 --- a/docs/external/pdfpc.md +++ b/docs/external/pdfpc.md @@ -52,7 +52,7 @@ typst query --root . ./example.typ --field value --one "" > ./exampl With the compatibility of Touying and Polylux, you can make Polylux also support direct export by adding the following code: ```typst -#import "@preview/touying:0.5.4" +#import "@preview/touying:0.5.5" #context touying.pdfpc.pdfpc-file(here()) ``` \ No newline at end of file diff --git a/docs/external/pympress.md b/docs/external/pympress.md index cf9cccb1..52768473 100644 --- a/docs/external/pympress.md +++ b/docs/external/pympress.md @@ -10,7 +10,7 @@ sidebar_position: 2 ## Speaker Notes ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.university: * #show: university-theme.with( diff --git a/docs/integration/cetz.md b/docs/integration/cetz.md index 077c1239..114e9330 100644 --- a/docs/integration/cetz.md +++ b/docs/integration/cetz.md @@ -11,7 +11,7 @@ Touying provides the `touying-reducer`, which adds `pause` and `meanwhile` anima An example: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.metropolis: * #import "@preview/cetz:0.3.1" #import "@preview/fletcher:0.5.3" as fletcher: node, edge diff --git a/docs/integration/codly.md b/docs/integration/codly.md index 491dc74f..030c7791 100644 --- a/docs/integration/codly.md +++ b/docs/integration/codly.md @@ -7,7 +7,7 @@ sidebar_position: 5 When using Codly, we should initialize it using the `config-common(preamble: {..})` method. ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #import "@preview/codly:1.0.0": * diff --git a/docs/integration/ctheorems.md b/docs/integration/ctheorems.md index 27fba2c4..f80c373d 100644 --- a/docs/integration/ctheorems.md +++ b/docs/integration/ctheorems.md @@ -9,7 +9,7 @@ Touying can work seamlessly with the `ctheorems` package, allowing you to direct Moreover, you can utilize `#set heading(numbering: "1.1")` to set numbering for sections and subsections. ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #import "@preview/ctheorems:1.1.3": * #import "@preview/numbly:0.1.0": numbly diff --git a/docs/integration/fletcher.md b/docs/integration/fletcher.md index 3f539e52..a3fae372 100644 --- a/docs/integration/fletcher.md +++ b/docs/integration/fletcher.md @@ -9,7 +9,7 @@ Touying provides the `touying-reducer`, which adds `pause` and `meanwhile` anima An example: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.metropolis: * #import "@preview/cetz:0.3.1" #import "@preview/fletcher:0.5.3" as fletcher: node, edge diff --git a/docs/integration/pinit.md b/docs/integration/pinit.md index 00f4a0ad..d64dd1a4 100644 --- a/docs/integration/pinit.md +++ b/docs/integration/pinit.md @@ -34,7 +34,7 @@ Another [example](https://github.com/OrangeX4/typst-pinit/blob/main/examples/equ An example of shared usage with Touying: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.default: * #import "@preview/pinit:0.2.0": * diff --git a/docs/multi-file.md b/docs/multi-file.md index df78be5b..5de09eee 100644 --- a/docs/multi-file.md +++ b/docs/multi-file.md @@ -18,7 +18,7 @@ These three files are separated to allow both `main.typ` and `content.typ` to im ```typst // globals.typ -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.university: * // as well as some utility functions diff --git a/docs/sections.md b/docs/sections.md index 5e4290ca..2ef444cd 100644 --- a/docs/sections.md +++ b/docs/sections.md @@ -11,7 +11,7 @@ Like Beamer, Touying also has the concept of sections and subsections. Generally, first-level, second-level, and third-level headings correspond to sections, subsections, and subsubsections, respectively, such as in the dewdrop theme. ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.dewdrop: * #show: dewdrop-theme.with(aspect-ratio: "16-9") @@ -30,7 +30,7 @@ Hello, Touying! However, there are many times when we do not need subsections, so we also use first-level and second-level headings to correspond to sections and titles, respectively, such as in the university theme. ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.university: * #show: university-theme.with(aspect-ratio: "16-9") @@ -62,7 +62,7 @@ This sets the default numbering to `1.1`, and the section corresponds to the num Displaying a table of contents in Touying is straightforward: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #import "@preview/numbly:0.1.0": numbly diff --git a/docs/start.md b/docs/start.md index 8b89f97d..b833d39d 100644 --- a/docs/start.md +++ b/docs/start.md @@ -9,7 +9,7 @@ Before you begin, make sure you have the Typst environment installed. If not, yo To use Touying, you just need to include the following in your document: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #show: simple-theme.with(aspect-ratio: "16-9") @@ -38,7 +38,7 @@ In fact, Touying provides various styles for slide writing. You can also use the Touying offers many built-in themes to easily create beautiful slides. For example, in this case: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.university: * #import "@preview/cetz:0.3.1" #import "@preview/fletcher:0.5.3" as fletcher: node, edge diff --git a/docs/themes/aqua.md b/docs/themes/aqua.md index bf8c540c..8fc67ce3 100644 --- a/docs/themes/aqua.md +++ b/docs/themes/aqua.md @@ -13,7 +13,7 @@ This theme is created by [@pride7](https://github.com/pride7), featuring beautif You can initialize it with the following code: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.aqua: * #show: aqua-theme.with( @@ -112,7 +112,7 @@ Start a new section with the given title. ## Example ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.aqua: * #show: aqua-theme.with( diff --git a/docs/themes/dewdrop.md b/docs/themes/dewdrop.md index 427297be..21a50f06 100644 --- a/docs/themes/dewdrop.md +++ b/docs/themes/dewdrop.md @@ -15,7 +15,7 @@ The Dewdrop theme features an elegantly designed navigation, including two modes You can initialize it using the following code: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.dewdrop: * #import "@preview/numbly:0.1.0": numbly @@ -110,7 +110,7 @@ Used to draw attention, with the background color set to `self.colors.primary`. ## Example ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.dewdrop: * #import "@preview/numbly:0.1.0": numbly diff --git a/docs/themes/metropolis.md b/docs/themes/metropolis.md index acaec846..5603b1fa 100644 --- a/docs/themes/metropolis.md +++ b/docs/themes/metropolis.md @@ -15,7 +15,7 @@ The Metropolis theme is elegant and suitable for everyday use. It is recommended You can initialize it using the following code: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.metropolis: * #import "@preview/numbly:0.1.0": numbly @@ -117,7 +117,7 @@ Creates a new section with the given title. ## Example ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.metropolis: * #import "@preview/numbly:0.1.0": numbly diff --git a/docs/themes/simple.md b/docs/themes/simple.md index 00387e14..31a82639 100644 --- a/docs/themes/simple.md +++ b/docs/themes/simple.md @@ -15,7 +15,7 @@ Considered a relatively straightforward theme, you can use it to create simple s You can initialize it using the following code: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #show: simple-theme.with( @@ -86,7 +86,7 @@ Used to draw attention, it optionally accepts a foreground color (defaulting to ## Example ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #show: simple-theme.with( diff --git a/docs/themes/stargazer.md b/docs/themes/stargazer.md index f5486487..7f13ab90 100644 --- a/docs/themes/stargazer.md +++ b/docs/themes/stargazer.md @@ -13,7 +13,7 @@ The Stargazer theme, originally created by [Coekjan](https://github.com/Coekjan/ You can initialize the theme with the following code: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.stargazer: * #import "@preview/numbly:0.1.0": numbly @@ -127,7 +127,7 @@ Start a new section with the given title. ## Example ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.stargazer: * #import "@preview/numbly:0.1.0": numbly diff --git a/docs/themes/university.md b/docs/themes/university.md index 6f31e791..4772e86a 100644 --- a/docs/themes/university.md +++ b/docs/themes/university.md @@ -13,7 +13,7 @@ This aesthetically pleasing theme is courtesy of [Pol Dellaiera](https://github. You can initialize the theme with the following code: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.university: * #import "@preview/numbly:0.1.0": numbly @@ -124,7 +124,7 @@ Refer to the [documentation](https://polylux.dev/book/themes/gallery/university. ## Example ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.university: * #import "@preview/numbly:0.1.0": numbly diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/build-your-own-theme.md b/i18n/zh/docusaurus-plugin-content-docs/current/build-your-own-theme.md index 5317a4ad..fd571aae 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/build-your-own-theme.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/build-your-own-theme.md @@ -21,12 +21,12 @@ sidebar_position: 11 如果你想在本地修改一个 Touying 内部的 themes,而不是自己从零开始创建,你可以选择通过下面的方式实现: 1. 将 `themes` 目录下的 [主题代码](https://github.com/touying-typ/touying/tree/main/themes) 复制到本地,例如将 `themes/university.typ` 复制到本地 `university.typ` 中。 -2. 将 `university.typ` 文件顶部的 `#import "../src/exports.typ": *` 命令替换为 `#import "@preview/touying:0.5.4": *` +2. 将 `university.typ` 文件顶部的 `#import "../src/exports.typ": *` 命令替换为 `#import "@preview/touying:0.5.5": *` 然后就可以通过 ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import "university.typ": * #show: university-theme.with( @@ -52,7 +52,7 @@ sidebar_position: 11 如果只是你自己使用,你可以直接导入 Touying: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * ``` 如果你希望这个主题作为 Touying 的一部分,放置在 Touying `themes` 目录下,那你应该将上面的导入语句改为 @@ -76,7 +76,7 @@ sidebar_position: 11 ```typst // bamboo.typ -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #let bamboo-theme( aspect-ratio: "16-9", @@ -97,7 +97,7 @@ sidebar_position: 11 } // main.typ -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import "bamboo.typ": * #show: bamboo-theme.with(aspect-ratio: "16-9") @@ -201,7 +201,7 @@ config-methods(alert: utils.alert-with-primary-color) ```typst // bamboo.typ -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #let slide(title: auto, ..args) = touying-slide-wrapper(self => { if title != auto { @@ -276,7 +276,7 @@ config-methods(alert: utils.alert-with-primary-color) // main.typ -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import "bamboo.typ": * #show: bamboo-theme.with(aspect-ratio: "16-9") @@ -301,7 +301,7 @@ A slide with a title and an *important* information. ``` // bamboo.typ -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #let slide(title: auto, ..args) = touying-slide-wrapper(self => { if title != auto { @@ -418,7 +418,7 @@ A slide with a title and an *important* information. // main.typ -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import "bamboo.typ": * #show: bamboo-theme.with( diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/changelog.md b/i18n/zh/docusaurus-plugin-content-docs/current/changelog.md index 3ef38758..f98933fa 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/changelog.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/changelog.md @@ -86,7 +86,7 @@ This is a significant disruptive version update. Touying has removed many mistak A simple usage example is shown below, and more examples can be found in the `examples` directory: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.university: * #show: university-theme.with( diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/code-styles.md b/i18n/zh/docusaurus-plugin-content-docs/current/code-styles.md index 7f16bba4..f24a40b1 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/code-styles.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/code-styles.md @@ -9,7 +9,7 @@ sidebar_position: 4 如果我们只是需要简单使用,我们可以直接在标题下输入内容,就像是在编写正常 Typst 文档一样。这里的标题有着分割页面的作用,同时我们也能正常地使用 `#pause` 等命令实现动画效果。 ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #show: simple-theme.with(aspect-ratio: "16-9") @@ -32,7 +32,7 @@ Hello, Typst! 如果我们需要维持当前标题,仅仅是想加入一个新页,我们可以使用 `#pagebreak()`,亦或者直接使用 `---` 来分割页面,后者在 Touying 中被解析为 `#pagebreak()`。 ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #show: simple-theme.with(aspect-ratio: "16-9") @@ -57,7 +57,7 @@ Hello, Typst! 例如上面的例子就可以改造成 ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #show: simple-theme.with(aspect-ratio: "16-9") @@ -92,7 +92,7 @@ Hello, Typst! 如果我们不希望它自动创建这样一个 section slide,我们可以将这个方法删除: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #show: simple-theme.with( @@ -118,7 +118,7 @@ Hello, Typst! 同理,我们也可以注册一个新的 section slide: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #show: simple-theme.with( diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/dynamic/other.md b/i18n/zh/docusaurus-plugin-content-docs/current/dynamic/other.md index d9e16cc7..4fcf923d 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/dynamic/other.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/dynamic/other.md @@ -11,7 +11,7 @@ Touying 还提供了 `touying-reducer`,它能为 cetz 与 fletcher 加入 `pau 一个例子: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.university: * #import "@preview/cetz:0.3.1" #import "@preview/fletcher:0.5.3" as fletcher: node, edge diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/external/pdfpc.md b/i18n/zh/docusaurus-plugin-content-docs/current/external/pdfpc.md index 8cf582ad..911467dc 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/external/pdfpc.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/external/pdfpc.md @@ -54,7 +54,7 @@ typst query --root . ./example.typ --field value --one "" > ./exampl 借助 Touying 与 Polylux 的兼容性,你可以让 Polylux 也支持直接导出,只需要加入下面的代码即可。 ``` -#import "@preview/touying:0.5.4" +#import "@preview/touying:0.5.5" #context touying.pdfpc.pdfpc-file(here()) ``` \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/external/pympress.md b/i18n/zh/docusaurus-plugin-content-docs/current/external/pympress.md index 0bbb5ce3..22768a91 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/external/pympress.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/external/pympress.md @@ -10,7 +10,7 @@ sidebar_position: 2 ## 笔记支持 ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.university: * #show: university-theme.with( diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/integration/cetz.md b/i18n/zh/docusaurus-plugin-content-docs/current/integration/cetz.md index fb9d210d..b8f5d16e 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/integration/cetz.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/integration/cetz.md @@ -11,7 +11,7 @@ Touying 提供了 `touying-reducer`,它能为 cetz 与 fletcher 加入 `pause` 一个例子: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.metropolis: * #import "@preview/cetz:0.3.1" #import "@preview/fletcher:0.5.3" as fletcher: node, edge diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/integration/codly.md b/i18n/zh/docusaurus-plugin-content-docs/current/integration/codly.md index e983df79..f56fcc62 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/integration/codly.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/integration/codly.md @@ -7,7 +7,7 @@ sidebar_position: 5 当我们使用 Codly 时,我们可以通过 `config-common(preamble: {..})` 初始化。 ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #import "@preview/codly:1.0.0": * diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/integration/ctheorems.md b/i18n/zh/docusaurus-plugin-content-docs/current/integration/ctheorems.md index adc504c3..ec78547b 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/integration/ctheorems.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/integration/ctheorems.md @@ -9,7 +9,7 @@ Touying 能够与 ctheorems 包一起正常工作,你可以直接使用 ctheor 其中,你还可以使用 `#set heading(numbering: "1.1")` 为 sections 和 subsections 设置 numbering。 ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.university: * #import "@preview/ctheorems:1.1.3": * #import "@preview/numbly:0.1.0": numbly diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/integration/fletcher.md b/i18n/zh/docusaurus-plugin-content-docs/current/integration/fletcher.md index 19eca695..edf5dcf9 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/integration/fletcher.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/integration/fletcher.md @@ -9,7 +9,7 @@ Touying 提供了 `touying-reducer`,它能为 fletcher 加入 `pause` 和 `mea 一个例子: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.metropolis: * #import "@preview/cetz:0.3.1" #import "@preview/fletcher:0.5.3" as fletcher: node, edge diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/integration/pinit.md b/i18n/zh/docusaurus-plugin-content-docs/current/integration/pinit.md index 227faafb..519b6f79 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/integration/pinit.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/integration/pinit.md @@ -36,7 +36,7 @@ A simple #pin(1)highlighted text#pin(2). 一个与 Touying 共同使用的示例: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.default: * #import "@preview/pinit:0.2.0": * diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/multi-file.md b/i18n/zh/docusaurus-plugin-content-docs/current/multi-file.md index 4d4a73d9..b56b5966 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/multi-file.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/multi-file.md @@ -19,7 +19,7 @@ Touying 有着如同原生 Typst 文档一般简洁的语法,以及繁多的 ```typst // globals.typ -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.university: * // as well as some utility functions diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/sections.md b/i18n/zh/docusaurus-plugin-content-docs/current/sections.md index e90088fb..65e55fe4 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/sections.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/sections.md @@ -11,7 +11,7 @@ sidebar_position: 3 一般而言,1 级、2 级和 3 级标题分别用来对应 section、subsection 和 subsubsection,例如 dewdrop 主题。 ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.dewdrop: * #show: dewdrop-theme.with(aspect-ratio: "16-9") @@ -30,7 +30,7 @@ Hello, Touying! 但是很多时候我们并不需要 subsection,因此也会使用 1 级和 2 级标题来分别对应 section 和 title,例如 university 主题。 ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.university: * #show: university-theme.with(aspect-ratio: "16-9") @@ -64,7 +64,7 @@ Hello, Touying! 在 Touying 中显示目录很简单: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #import "@preview/numbly:0.1.0": numbly diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/start.md b/i18n/zh/docusaurus-plugin-content-docs/current/start.md index 9209cdd6..8656063b 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/start.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/start.md @@ -9,7 +9,7 @@ sidebar_position: 2 要使用 Touying,您只需要在文档里加入 ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #show: simple-theme.with(aspect-ratio: "16-9") @@ -36,7 +36,7 @@ Hello, Typst! 事实上,Touying 提供了多种 slides 编写风格,实际上您也可以使用 `#slide[..]` 的写法,以获得 Touying 提供的更多更强大的功能。 ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.university: * #import "@preview/cetz:0.3.1" #import "@preview/fletcher:0.5.3" as fletcher: node, edge diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/themes/aqua.md b/i18n/zh/docusaurus-plugin-content-docs/current/themes/aqua.md index 2e18d8a2..f5da5322 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/themes/aqua.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/themes/aqua.md @@ -14,7 +14,7 @@ sidebar_position: 5 你可以通过下面的代码来初始化: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.aqua: * #show: aqua-theme.with( @@ -107,7 +107,7 @@ Aqua 主题提供了一系列自定义 slide 函数: ## 示例 ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.aqua: * #show: aqua-theme.with( diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/themes/dewdrop.md b/i18n/zh/docusaurus-plugin-content-docs/current/themes/dewdrop.md index a9b0622e..52aa41ef 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/themes/dewdrop.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/themes/dewdrop.md @@ -15,7 +15,7 @@ sidebar_position: 3 你可以通过下面的代码来初始化: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.dewdrop: * #import "@preview/numbly:0.1.0": numbly @@ -107,7 +107,7 @@ Dewdrop 主题提供了一系列自定义 slide 函数: ## 示例 ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.dewdrop: * #import "@preview/numbly:0.1.0": numbly diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/themes/metropolis.md b/i18n/zh/docusaurus-plugin-content-docs/current/themes/metropolis.md index 1be1deb7..4c515b3a 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/themes/metropolis.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/themes/metropolis.md @@ -17,7 +17,7 @@ sidebar_position: 2 你可以通过下面的代码来初始化: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.metropolis: * #import "@preview/numbly:0.1.0": numbly @@ -117,7 +117,7 @@ Metropolis 主题提供了一系列自定义 slide 函数: ## 示例 ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.metropolis: * #import "@preview/numbly:0.1.0": numbly diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/themes/simple.md b/i18n/zh/docusaurus-plugin-content-docs/current/themes/simple.md index 1e793965..cc5f4cd1 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/themes/simple.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/themes/simple.md @@ -16,7 +16,7 @@ sidebar_position: 1 你可以通过下面的代码来初始化: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #show: simple-theme.with( @@ -84,7 +84,7 @@ simple 主题提供了一系列自定义 slide 函数: ## 示例 ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #show: simple-theme.with( diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/themes/stargazer.md b/i18n/zh/docusaurus-plugin-content-docs/current/themes/stargazer.md index ccf49564..06333315 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/themes/stargazer.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/themes/stargazer.md @@ -14,7 +14,7 @@ sidebar_position: 6 你可以通过下面的代码来初始化: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.stargazer: * #import "@preview/numbly:0.1.0": numbly @@ -125,7 +125,7 @@ Stargazer 主题提供了一系列自定义 slide 函数: ## 示例 ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.stargazer: * #import "@preview/numbly:0.1.0": numbly diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/themes/university.md b/i18n/zh/docusaurus-plugin-content-docs/current/themes/university.md index 6028cc9d..0f52c4bc 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/themes/university.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/themes/university.md @@ -13,7 +13,7 @@ sidebar_position: 4 你可以通过下面的代码来初始化: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.university: * #import "@preview/numbly:0.1.0": numbly @@ -129,7 +129,7 @@ University 主题提供了一系列自定义 slide 函数: ## 示例 ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.university: * #import "@preview/numbly:0.1.0": numbly diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/build-your-own-theme.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/build-your-own-theme.md index 5317a4ad..fd571aae 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/build-your-own-theme.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/build-your-own-theme.md @@ -21,12 +21,12 @@ sidebar_position: 11 如果你想在本地修改一个 Touying 内部的 themes,而不是自己从零开始创建,你可以选择通过下面的方式实现: 1. 将 `themes` 目录下的 [主题代码](https://github.com/touying-typ/touying/tree/main/themes) 复制到本地,例如将 `themes/university.typ` 复制到本地 `university.typ` 中。 -2. 将 `university.typ` 文件顶部的 `#import "../src/exports.typ": *` 命令替换为 `#import "@preview/touying:0.5.4": *` +2. 将 `university.typ` 文件顶部的 `#import "../src/exports.typ": *` 命令替换为 `#import "@preview/touying:0.5.5": *` 然后就可以通过 ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import "university.typ": * #show: university-theme.with( @@ -52,7 +52,7 @@ sidebar_position: 11 如果只是你自己使用,你可以直接导入 Touying: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * ``` 如果你希望这个主题作为 Touying 的一部分,放置在 Touying `themes` 目录下,那你应该将上面的导入语句改为 @@ -76,7 +76,7 @@ sidebar_position: 11 ```typst // bamboo.typ -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #let bamboo-theme( aspect-ratio: "16-9", @@ -97,7 +97,7 @@ sidebar_position: 11 } // main.typ -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import "bamboo.typ": * #show: bamboo-theme.with(aspect-ratio: "16-9") @@ -201,7 +201,7 @@ config-methods(alert: utils.alert-with-primary-color) ```typst // bamboo.typ -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #let slide(title: auto, ..args) = touying-slide-wrapper(self => { if title != auto { @@ -276,7 +276,7 @@ config-methods(alert: utils.alert-with-primary-color) // main.typ -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import "bamboo.typ": * #show: bamboo-theme.with(aspect-ratio: "16-9") @@ -301,7 +301,7 @@ A slide with a title and an *important* information. ``` // bamboo.typ -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #let slide(title: auto, ..args) = touying-slide-wrapper(self => { if title != auto { @@ -418,7 +418,7 @@ A slide with a title and an *important* information. // main.typ -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import "bamboo.typ": * #show: bamboo-theme.with( diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/changelog.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/changelog.md index 3ef38758..f98933fa 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/changelog.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/changelog.md @@ -86,7 +86,7 @@ This is a significant disruptive version update. Touying has removed many mistak A simple usage example is shown below, and more examples can be found in the `examples` directory: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.university: * #show: university-theme.with( diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/code-styles.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/code-styles.md index 7f16bba4..f24a40b1 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/code-styles.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/code-styles.md @@ -9,7 +9,7 @@ sidebar_position: 4 如果我们只是需要简单使用,我们可以直接在标题下输入内容,就像是在编写正常 Typst 文档一样。这里的标题有着分割页面的作用,同时我们也能正常地使用 `#pause` 等命令实现动画效果。 ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #show: simple-theme.with(aspect-ratio: "16-9") @@ -32,7 +32,7 @@ Hello, Typst! 如果我们需要维持当前标题,仅仅是想加入一个新页,我们可以使用 `#pagebreak()`,亦或者直接使用 `---` 来分割页面,后者在 Touying 中被解析为 `#pagebreak()`。 ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #show: simple-theme.with(aspect-ratio: "16-9") @@ -57,7 +57,7 @@ Hello, Typst! 例如上面的例子就可以改造成 ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #show: simple-theme.with(aspect-ratio: "16-9") @@ -92,7 +92,7 @@ Hello, Typst! 如果我们不希望它自动创建这样一个 section slide,我们可以将这个方法删除: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #show: simple-theme.with( @@ -118,7 +118,7 @@ Hello, Typst! 同理,我们也可以注册一个新的 section slide: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #show: simple-theme.with( diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/dynamic/other.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/dynamic/other.md index d9e16cc7..4fcf923d 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/dynamic/other.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/dynamic/other.md @@ -11,7 +11,7 @@ Touying 还提供了 `touying-reducer`,它能为 cetz 与 fletcher 加入 `pau 一个例子: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.university: * #import "@preview/cetz:0.3.1" #import "@preview/fletcher:0.5.3" as fletcher: node, edge diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/external/pdfpc.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/external/pdfpc.md index 8cf582ad..911467dc 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/external/pdfpc.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/external/pdfpc.md @@ -54,7 +54,7 @@ typst query --root . ./example.typ --field value --one "" > ./exampl 借助 Touying 与 Polylux 的兼容性,你可以让 Polylux 也支持直接导出,只需要加入下面的代码即可。 ``` -#import "@preview/touying:0.5.4" +#import "@preview/touying:0.5.5" #context touying.pdfpc.pdfpc-file(here()) ``` \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/external/pympress.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/external/pympress.md index 0bbb5ce3..22768a91 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/external/pympress.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/external/pympress.md @@ -10,7 +10,7 @@ sidebar_position: 2 ## 笔记支持 ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.university: * #show: university-theme.with( diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/cetz.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/cetz.md index fb9d210d..b8f5d16e 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/cetz.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/cetz.md @@ -11,7 +11,7 @@ Touying 提供了 `touying-reducer`,它能为 cetz 与 fletcher 加入 `pause` 一个例子: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.metropolis: * #import "@preview/cetz:0.3.1" #import "@preview/fletcher:0.5.3" as fletcher: node, edge diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/codly.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/codly.md index e983df79..f56fcc62 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/codly.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/codly.md @@ -7,7 +7,7 @@ sidebar_position: 5 当我们使用 Codly 时,我们可以通过 `config-common(preamble: {..})` 初始化。 ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #import "@preview/codly:1.0.0": * diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/ctheorems.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/ctheorems.md index adc504c3..ec78547b 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/ctheorems.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/ctheorems.md @@ -9,7 +9,7 @@ Touying 能够与 ctheorems 包一起正常工作,你可以直接使用 ctheor 其中,你还可以使用 `#set heading(numbering: "1.1")` 为 sections 和 subsections 设置 numbering。 ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.university: * #import "@preview/ctheorems:1.1.3": * #import "@preview/numbly:0.1.0": numbly diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/fletcher.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/fletcher.md index 19eca695..edf5dcf9 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/fletcher.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/fletcher.md @@ -9,7 +9,7 @@ Touying 提供了 `touying-reducer`,它能为 fletcher 加入 `pause` 和 `mea 一个例子: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.metropolis: * #import "@preview/cetz:0.3.1" #import "@preview/fletcher:0.5.3" as fletcher: node, edge diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/pinit.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/pinit.md index 227faafb..519b6f79 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/pinit.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/pinit.md @@ -36,7 +36,7 @@ A simple #pin(1)highlighted text#pin(2). 一个与 Touying 共同使用的示例: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.default: * #import "@preview/pinit:0.2.0": * diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/multi-file.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/multi-file.md index 4d4a73d9..b56b5966 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/multi-file.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/multi-file.md @@ -19,7 +19,7 @@ Touying 有着如同原生 Typst 文档一般简洁的语法,以及繁多的 ```typst // globals.typ -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.university: * // as well as some utility functions diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/sections.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/sections.md index e90088fb..65e55fe4 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/sections.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/sections.md @@ -11,7 +11,7 @@ sidebar_position: 3 一般而言,1 级、2 级和 3 级标题分别用来对应 section、subsection 和 subsubsection,例如 dewdrop 主题。 ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.dewdrop: * #show: dewdrop-theme.with(aspect-ratio: "16-9") @@ -30,7 +30,7 @@ Hello, Touying! 但是很多时候我们并不需要 subsection,因此也会使用 1 级和 2 级标题来分别对应 section 和 title,例如 university 主题。 ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.university: * #show: university-theme.with(aspect-ratio: "16-9") @@ -64,7 +64,7 @@ Hello, Touying! 在 Touying 中显示目录很简单: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #import "@preview/numbly:0.1.0": numbly diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/start.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/start.md index 9209cdd6..8656063b 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/start.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/start.md @@ -9,7 +9,7 @@ sidebar_position: 2 要使用 Touying,您只需要在文档里加入 ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #show: simple-theme.with(aspect-ratio: "16-9") @@ -36,7 +36,7 @@ Hello, Typst! 事实上,Touying 提供了多种 slides 编写风格,实际上您也可以使用 `#slide[..]` 的写法,以获得 Touying 提供的更多更强大的功能。 ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.university: * #import "@preview/cetz:0.3.1" #import "@preview/fletcher:0.5.3" as fletcher: node, edge diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/aqua.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/aqua.md index 2e18d8a2..f5da5322 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/aqua.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/aqua.md @@ -14,7 +14,7 @@ sidebar_position: 5 你可以通过下面的代码来初始化: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.aqua: * #show: aqua-theme.with( @@ -107,7 +107,7 @@ Aqua 主题提供了一系列自定义 slide 函数: ## 示例 ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.aqua: * #show: aqua-theme.with( diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/dewdrop.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/dewdrop.md index a9b0622e..52aa41ef 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/dewdrop.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/dewdrop.md @@ -15,7 +15,7 @@ sidebar_position: 3 你可以通过下面的代码来初始化: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.dewdrop: * #import "@preview/numbly:0.1.0": numbly @@ -107,7 +107,7 @@ Dewdrop 主题提供了一系列自定义 slide 函数: ## 示例 ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.dewdrop: * #import "@preview/numbly:0.1.0": numbly diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/metropolis.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/metropolis.md index 1be1deb7..4c515b3a 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/metropolis.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/metropolis.md @@ -17,7 +17,7 @@ sidebar_position: 2 你可以通过下面的代码来初始化: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.metropolis: * #import "@preview/numbly:0.1.0": numbly @@ -117,7 +117,7 @@ Metropolis 主题提供了一系列自定义 slide 函数: ## 示例 ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.metropolis: * #import "@preview/numbly:0.1.0": numbly diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/simple.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/simple.md index 1e793965..cc5f4cd1 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/simple.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/simple.md @@ -16,7 +16,7 @@ sidebar_position: 1 你可以通过下面的代码来初始化: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #show: simple-theme.with( @@ -84,7 +84,7 @@ simple 主题提供了一系列自定义 slide 函数: ## 示例 ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #show: simple-theme.with( diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/stargazer.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/stargazer.md index ccf49564..06333315 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/stargazer.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/stargazer.md @@ -14,7 +14,7 @@ sidebar_position: 6 你可以通过下面的代码来初始化: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.stargazer: * #import "@preview/numbly:0.1.0": numbly @@ -125,7 +125,7 @@ Stargazer 主题提供了一系列自定义 slide 函数: ## 示例 ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.stargazer: * #import "@preview/numbly:0.1.0": numbly diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/university.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/university.md index 6028cc9d..0f52c4bc 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/university.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/university.md @@ -13,7 +13,7 @@ sidebar_position: 4 你可以通过下面的代码来初始化: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.university: * #import "@preview/numbly:0.1.0": numbly @@ -129,7 +129,7 @@ University 主题提供了一系列自定义 slide 函数: ## 示例 ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.university: * #import "@preview/numbly:0.1.0": numbly diff --git a/versioned_docs/version-0.5.x/build-your-own-theme.md b/versioned_docs/version-0.5.x/build-your-own-theme.md index a372e972..bca5cb37 100644 --- a/versioned_docs/version-0.5.x/build-your-own-theme.md +++ b/versioned_docs/version-0.5.x/build-your-own-theme.md @@ -20,12 +20,12 @@ To demonstrate how to create a theme with Touying, let's step by step create a s If you want to modify a Touying internal theme locally instead of creating one from scratch, you can achieve this by: 1. Copying the [theme code](https://github.com/touying-typ/touying/tree/main/themes) from the `themes` directory to your local, for example, copying `themes/university.typ` to your local `university.typ`. -2. Replacing the `#import "../src/exports.typ": *` command at the top of the `university.typ` file with `#import "@preview/touying:0.5.4": *`. +2. Replacing the `#import "../src/exports.typ": *` command at the top of the `university.typ` file with `#import "@preview/touying:0.5.5": *`. Then you can import and use the theme by: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import "university.typ": * #show: university-theme.with( @@ -48,7 +48,7 @@ Depending on whether the theme is your own or part of Touying, you can import it If it's just for your own use, you can directly import Touying: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * ``` If you want the theme to be part of Touying, placed in the Touying `themes` directory, then you should change the import statement above to @@ -73,7 +73,7 @@ Generally, the first step in making slides is to determine the font size and pag ```typst // bamboo.typ -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #let bamboo-theme( aspect-ratio: "16-9", @@ -94,7 +94,7 @@ Generally, the first step in making slides is to determine the font size and pag } // main.typ -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import "bamboo.typ": * #show: bamboo-theme.with(aspect-ratio: "16-9") @@ -195,7 +195,7 @@ We also need to customize a `slide` method, which accepts `#let slide(title: aut ```typst // bamboo.typ -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #let slide(title: auto, ..args) = touying-slide-wrapper(self => { if title != auto { @@ -270,7 +270,7 @@ We also need to customize a `slide` method, which accepts `#let slide(title: aut // main.typ -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import "bamboo.typ": * #show: bamboo-theme.with(aspect-ratio: "16-9") @@ -294,7 +294,7 @@ For the `new-section-slide` method, it's the same, but the only thing to note is ```typst // bamboo.typ -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #let slide(title: auto, ..args) = touying-slide-wrapper(self => { if title != auto { @@ -411,7 +411,7 @@ For the `new-section-slide` method, it's the same, but the only thing to note is // main.typ -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import "bamboo.typ": * #show: bamboo-theme.with( diff --git a/versioned_docs/version-0.5.x/changelog.md b/versioned_docs/version-0.5.x/changelog.md index 3c3ade53..4ad2e7fe 100644 --- a/versioned_docs/version-0.5.x/changelog.md +++ b/versioned_docs/version-0.5.x/changelog.md @@ -86,7 +86,7 @@ This is a significant disruptive version update. Touying has removed many mistak A simple usage example is shown below, and more examples can be found in the `examples` directory: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.university: * #show: university-theme.with( diff --git a/versioned_docs/version-0.5.x/code-styles.md b/versioned_docs/version-0.5.x/code-styles.md index 27a28a6f..f03449b5 100644 --- a/versioned_docs/version-0.5.x/code-styles.md +++ b/versioned_docs/version-0.5.x/code-styles.md @@ -9,7 +9,7 @@ sidebar_position: 4 If we just need to use it simply, we can directly input content under the title, just like writing a normal Typst document. The titles here serve to separate pages, and we can also normally use commands like `#pause` to achieve animation effects. ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #show: simple-theme.with(aspect-ratio: "16-9") @@ -32,7 +32,7 @@ And you can use an empty title `== ` to create a new page, which If we need to maintain the current title and just want to add a new page, we can use `#pagebreak()`, or directly use `---` to split the page, the latter is parsed as `#pagebreak()` in Touying. ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #show: simple-theme.with(aspect-ratio: "16-9") @@ -57,7 +57,7 @@ Many times, using only the simple style cannot achieve all the functions we need For example, the above example can be transformed into ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #show: simple-theme.with(aspect-ratio: "16-9") @@ -91,7 +91,7 @@ You may have noticed that when using the simple theme, using a first-level title If we do not want it to automatically create such a section slide, we can remove this method: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #show: simple-theme.with( @@ -117,7 +117,7 @@ As you can see, this will only result in two pages, and the default section slid Similarly, we can also register a new section slide: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #show: simple-theme.with( diff --git a/versioned_docs/version-0.5.x/dynamic/other.md b/versioned_docs/version-0.5.x/dynamic/other.md index 1f08aed5..7d6536f7 100644 --- a/versioned_docs/version-0.5.x/dynamic/other.md +++ b/versioned_docs/version-0.5.x/dynamic/other.md @@ -11,7 +11,7 @@ Touying also provides `touying-reducer`, which adds `pause` and `meanwhile` anim Here's an example: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.university: * #import "@preview/cetz:0.3.1" #import "@preview/fletcher:0.5.3" as fletcher: node, edge diff --git a/versioned_docs/version-0.5.x/external/pdfpc.md b/versioned_docs/version-0.5.x/external/pdfpc.md index 79eb0217..8978a397 100644 --- a/versioned_docs/version-0.5.x/external/pdfpc.md +++ b/versioned_docs/version-0.5.x/external/pdfpc.md @@ -52,7 +52,7 @@ typst query --root . ./example.typ --field value --one "" > ./exampl With the compatibility of Touying and Polylux, you can make Polylux also support direct export by adding the following code: ```typst -#import "@preview/touying:0.5.4" +#import "@preview/touying:0.5.5" #context touying.pdfpc.pdfpc-file(here()) ``` \ No newline at end of file diff --git a/versioned_docs/version-0.5.x/external/pympress.md b/versioned_docs/version-0.5.x/external/pympress.md index cf9cccb1..52768473 100644 --- a/versioned_docs/version-0.5.x/external/pympress.md +++ b/versioned_docs/version-0.5.x/external/pympress.md @@ -10,7 +10,7 @@ sidebar_position: 2 ## Speaker Notes ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.university: * #show: university-theme.with( diff --git a/versioned_docs/version-0.5.x/integration/cetz.md b/versioned_docs/version-0.5.x/integration/cetz.md index 077c1239..114e9330 100644 --- a/versioned_docs/version-0.5.x/integration/cetz.md +++ b/versioned_docs/version-0.5.x/integration/cetz.md @@ -11,7 +11,7 @@ Touying provides the `touying-reducer`, which adds `pause` and `meanwhile` anima An example: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.metropolis: * #import "@preview/cetz:0.3.1" #import "@preview/fletcher:0.5.3" as fletcher: node, edge diff --git a/versioned_docs/version-0.5.x/integration/codly.md b/versioned_docs/version-0.5.x/integration/codly.md index 491dc74f..030c7791 100644 --- a/versioned_docs/version-0.5.x/integration/codly.md +++ b/versioned_docs/version-0.5.x/integration/codly.md @@ -7,7 +7,7 @@ sidebar_position: 5 When using Codly, we should initialize it using the `config-common(preamble: {..})` method. ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #import "@preview/codly:1.0.0": * diff --git a/versioned_docs/version-0.5.x/integration/ctheorems.md b/versioned_docs/version-0.5.x/integration/ctheorems.md index 27fba2c4..f80c373d 100644 --- a/versioned_docs/version-0.5.x/integration/ctheorems.md +++ b/versioned_docs/version-0.5.x/integration/ctheorems.md @@ -9,7 +9,7 @@ Touying can work seamlessly with the `ctheorems` package, allowing you to direct Moreover, you can utilize `#set heading(numbering: "1.1")` to set numbering for sections and subsections. ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #import "@preview/ctheorems:1.1.3": * #import "@preview/numbly:0.1.0": numbly diff --git a/versioned_docs/version-0.5.x/integration/fletcher.md b/versioned_docs/version-0.5.x/integration/fletcher.md index 3f539e52..a3fae372 100644 --- a/versioned_docs/version-0.5.x/integration/fletcher.md +++ b/versioned_docs/version-0.5.x/integration/fletcher.md @@ -9,7 +9,7 @@ Touying provides the `touying-reducer`, which adds `pause` and `meanwhile` anima An example: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.metropolis: * #import "@preview/cetz:0.3.1" #import "@preview/fletcher:0.5.3" as fletcher: node, edge diff --git a/versioned_docs/version-0.5.x/integration/pinit.md b/versioned_docs/version-0.5.x/integration/pinit.md index 00f4a0ad..d64dd1a4 100644 --- a/versioned_docs/version-0.5.x/integration/pinit.md +++ b/versioned_docs/version-0.5.x/integration/pinit.md @@ -34,7 +34,7 @@ Another [example](https://github.com/OrangeX4/typst-pinit/blob/main/examples/equ An example of shared usage with Touying: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.default: * #import "@preview/pinit:0.2.0": * diff --git a/versioned_docs/version-0.5.x/multi-file.md b/versioned_docs/version-0.5.x/multi-file.md index df78be5b..5de09eee 100644 --- a/versioned_docs/version-0.5.x/multi-file.md +++ b/versioned_docs/version-0.5.x/multi-file.md @@ -18,7 +18,7 @@ These three files are separated to allow both `main.typ` and `content.typ` to im ```typst // globals.typ -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.university: * // as well as some utility functions diff --git a/versioned_docs/version-0.5.x/sections.md b/versioned_docs/version-0.5.x/sections.md index 5e4290ca..2ef444cd 100644 --- a/versioned_docs/version-0.5.x/sections.md +++ b/versioned_docs/version-0.5.x/sections.md @@ -11,7 +11,7 @@ Like Beamer, Touying also has the concept of sections and subsections. Generally, first-level, second-level, and third-level headings correspond to sections, subsections, and subsubsections, respectively, such as in the dewdrop theme. ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.dewdrop: * #show: dewdrop-theme.with(aspect-ratio: "16-9") @@ -30,7 +30,7 @@ Hello, Touying! However, there are many times when we do not need subsections, so we also use first-level and second-level headings to correspond to sections and titles, respectively, such as in the university theme. ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.university: * #show: university-theme.with(aspect-ratio: "16-9") @@ -62,7 +62,7 @@ This sets the default numbering to `1.1`, and the section corresponds to the num Displaying a table of contents in Touying is straightforward: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #import "@preview/numbly:0.1.0": numbly diff --git a/versioned_docs/version-0.5.x/start.md b/versioned_docs/version-0.5.x/start.md index 8b89f97d..b833d39d 100644 --- a/versioned_docs/version-0.5.x/start.md +++ b/versioned_docs/version-0.5.x/start.md @@ -9,7 +9,7 @@ Before you begin, make sure you have the Typst environment installed. If not, yo To use Touying, you just need to include the following in your document: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #show: simple-theme.with(aspect-ratio: "16-9") @@ -38,7 +38,7 @@ In fact, Touying provides various styles for slide writing. You can also use the Touying offers many built-in themes to easily create beautiful slides. For example, in this case: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.university: * #import "@preview/cetz:0.3.1" #import "@preview/fletcher:0.5.3" as fletcher: node, edge diff --git a/versioned_docs/version-0.5.x/themes/aqua.md b/versioned_docs/version-0.5.x/themes/aqua.md index bf8c540c..8fc67ce3 100644 --- a/versioned_docs/version-0.5.x/themes/aqua.md +++ b/versioned_docs/version-0.5.x/themes/aqua.md @@ -13,7 +13,7 @@ This theme is created by [@pride7](https://github.com/pride7), featuring beautif You can initialize it with the following code: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.aqua: * #show: aqua-theme.with( @@ -112,7 +112,7 @@ Start a new section with the given title. ## Example ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.aqua: * #show: aqua-theme.with( diff --git a/versioned_docs/version-0.5.x/themes/dewdrop.md b/versioned_docs/version-0.5.x/themes/dewdrop.md index 427297be..21a50f06 100644 --- a/versioned_docs/version-0.5.x/themes/dewdrop.md +++ b/versioned_docs/version-0.5.x/themes/dewdrop.md @@ -15,7 +15,7 @@ The Dewdrop theme features an elegantly designed navigation, including two modes You can initialize it using the following code: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.dewdrop: * #import "@preview/numbly:0.1.0": numbly @@ -110,7 +110,7 @@ Used to draw attention, with the background color set to `self.colors.primary`. ## Example ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.dewdrop: * #import "@preview/numbly:0.1.0": numbly diff --git a/versioned_docs/version-0.5.x/themes/metropolis.md b/versioned_docs/version-0.5.x/themes/metropolis.md index acaec846..5603b1fa 100644 --- a/versioned_docs/version-0.5.x/themes/metropolis.md +++ b/versioned_docs/version-0.5.x/themes/metropolis.md @@ -15,7 +15,7 @@ The Metropolis theme is elegant and suitable for everyday use. It is recommended You can initialize it using the following code: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.metropolis: * #import "@preview/numbly:0.1.0": numbly @@ -117,7 +117,7 @@ Creates a new section with the given title. ## Example ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.metropolis: * #import "@preview/numbly:0.1.0": numbly diff --git a/versioned_docs/version-0.5.x/themes/simple.md b/versioned_docs/version-0.5.x/themes/simple.md index 00387e14..31a82639 100644 --- a/versioned_docs/version-0.5.x/themes/simple.md +++ b/versioned_docs/version-0.5.x/themes/simple.md @@ -15,7 +15,7 @@ Considered a relatively straightforward theme, you can use it to create simple s You can initialize it using the following code: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #show: simple-theme.with( @@ -86,7 +86,7 @@ Used to draw attention, it optionally accepts a foreground color (defaulting to ## Example ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.simple: * #show: simple-theme.with( diff --git a/versioned_docs/version-0.5.x/themes/stargazer.md b/versioned_docs/version-0.5.x/themes/stargazer.md index f5486487..7f13ab90 100644 --- a/versioned_docs/version-0.5.x/themes/stargazer.md +++ b/versioned_docs/version-0.5.x/themes/stargazer.md @@ -13,7 +13,7 @@ The Stargazer theme, originally created by [Coekjan](https://github.com/Coekjan/ You can initialize the theme with the following code: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.stargazer: * #import "@preview/numbly:0.1.0": numbly @@ -127,7 +127,7 @@ Start a new section with the given title. ## Example ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.stargazer: * #import "@preview/numbly:0.1.0": numbly diff --git a/versioned_docs/version-0.5.x/themes/university.md b/versioned_docs/version-0.5.x/themes/university.md index 6f31e791..4772e86a 100644 --- a/versioned_docs/version-0.5.x/themes/university.md +++ b/versioned_docs/version-0.5.x/themes/university.md @@ -13,7 +13,7 @@ This aesthetically pleasing theme is courtesy of [Pol Dellaiera](https://github. You can initialize the theme with the following code: ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.university: * #import "@preview/numbly:0.1.0": numbly @@ -124,7 +124,7 @@ Refer to the [documentation](https://polylux.dev/book/themes/gallery/university. ## Example ```typst -#import "@preview/touying:0.5.4": * +#import "@preview/touying:0.5.5": * #import themes.university: * #import "@preview/numbly:0.1.0": numbly