From e1225776aebe30bcf8033f5f2b355c3d9b99d0ad Mon Sep 17 00:00:00 2001 From: Kian-Meng Ang Date: Thu, 31 Aug 2023 12:36:26 +0800 Subject: [PATCH] Fix typos Found via `typos --format brief` --- book/src/changelog.md | 2 +- book/src/dynamic/alternatives.md | 2 +- book/src/dynamic/dynamic.md | 4 ++-- book/src/dynamic/internals.md | 2 +- book/src/polylux.md | 2 +- book/src/themes.md | 2 +- book/src/themes/gallery/index.md | 2 +- book/src/themes/gallery/metropolis.md | 2 +- book/src/themes/gallery/simple.md | 2 +- book/src/utils/progress.md | 2 +- book/src/utils/utils.md | 2 +- 11 files changed, 12 insertions(+), 12 deletions(-) diff --git a/book/src/changelog.md b/book/src/changelog.md index 4fa0442..0dc9a25 100644 --- a/book/src/changelog.md +++ b/book/src/changelog.md @@ -4,7 +4,7 @@ - The previously existing module `helpers` was transformed to `utils` and now contains many more useful features. -- The modules `logic` and `utils` are now directly accesible when importing +- The modules `logic` and `utils` are now directly accessible when importing Polylux (it was a bug that it did not work previously). - We finally have an ergonomic `#pause` function that does not expect the user to keep track of some counter themselves. diff --git a/book/src/dynamic/alternatives.md b/book/src/dynamic/alternatives.md index 3801d0d..e0a00f6 100644 --- a/book/src/dynamic/alternatives.md +++ b/book/src/dynamic/alternatives.md @@ -20,7 +20,7 @@ than `Christopher` when using `#only` for that job. This somewhat disturbs the perception of the constant structure of the sentence and that only the names and kinds of ice cream change. -To avoid such movement and only subsitute certain parts of content, you can use +To avoid such movement and only substitute certain parts of content, you can use the `#alternatives` function. With it, our example becomes: ```typ diff --git a/book/src/dynamic/dynamic.md b/book/src/dynamic/dynamic.md index d6554cf..d14e7dc 100644 --- a/book/src/dynamic/dynamic.md +++ b/book/src/dynamic/dynamic.md @@ -21,8 +21,8 @@ the maximum is take again and that defines the number of PDF pages produced for one logical slide.** For example, suppose we have a slide with the following commands: - show something on subslides 1 and 3 -- show someting from subslide 2 to subslide 4 -- show someting until subslide 6 +- show something from subslide 2 to subslide 4 +- show something until subslide 6 This results in 6 PDF pages for this logical slide. diff --git a/book/src/dynamic/internals.md b/book/src/dynamic/internals.md index effeedb..b12911b 100644 --- a/book/src/dynamic/internals.md +++ b/book/src/dynamic/internals.md @@ -45,7 +45,7 @@ this leads to severe lagging that somewhat defeats the purpose of Typst's speed. It appears reasonable that occasions are rare where one needs more than ten subslides for one slide. Therefore, ten is the default value for how often we try to create a new subslide. -This should not produce noticable lag. +This should not produce noticeable lag. (If it does for you, consider [creating an issue](https://github.com/andreasKroepelin/polylux/issues) so we can discuss this.) diff --git a/book/src/polylux.md b/book/src/polylux.md index 0331428..85c6e3e 100644 --- a/book/src/polylux.md +++ b/book/src/polylux.md @@ -10,7 +10,7 @@ display PDFs in the form of a slide show (usually by hitting the F5-key). Polylux gives you: -- Elegant yet powerfull typesetting by the ever-improving Typst. +- Elegant yet powerful typesetting by the ever-improving Typst. - Fully customisable slides. - Dynamic slides (or *overlays* or (dis-)appearing content, or however you want to call it). diff --git a/book/src/themes.md b/book/src/themes.md index 21df088..42b585d 100644 --- a/book/src/themes.md +++ b/book/src/themes.md @@ -110,7 +110,7 @@ provided another number of content blocks than you expected. To make use of some of the functionality this template offers, you can access - the counter `logical-slide`, telling you the "page number" of a slide, but - without counting up on dynamical slides that produce mulitple PDF pages; + without counting up on dynamical slides that produce multiple PDF pages; - the state `section`, telling you what the user has currently set as the section name. diff --git a/book/src/themes/gallery/index.md b/book/src/themes/gallery/index.md index f4dda48..56e80ed 100644 --- a/book/src/themes/gallery/index.md +++ b/book/src/themes/gallery/index.md @@ -4,6 +4,6 @@ If you decide to use one of the themes shipped with polylux, you can use this gallery to get to know how each theme works and if you like how it looks. All themes follow the convention introduced on the previous page if not stated otherwise. -For many things, most themes are interchangable, meaning that you can simply +For many things, most themes are interchangeable, meaning that you can simply change what theme you import and its initialisation and everything still works. However, this is not guaranteed and might break at any point. diff --git a/book/src/themes/gallery/metropolis.md b/book/src/themes/gallery/metropolis.md index 9eb11c4..4c6e0ab 100644 --- a/book/src/themes/gallery/metropolis.md +++ b/book/src/themes/gallery/metropolis.md @@ -35,7 +35,7 @@ information by a bright line. Accepts the following keyword arguments: - `title`: title of the presentation, default: `[]` - `subtitle`: subtitle of the presentation, default: `none` -- `author`: author of presentation, can be arbitrary contet, default: `none` +- `author`: author of presentation, can be arbitrary content, default: `none` - `date`: date of the presentation, default: `none` - `extra`: some extra information, can be used for affiliation, instiution, logos, etc., default: `none` diff --git a/book/src/themes/gallery/simple.md b/book/src/themes/gallery/simple.md index 4f9f077..e906452 100644 --- a/book/src/themes/gallery/simple.md +++ b/book/src/themes/gallery/simple.md @@ -2,7 +2,7 @@ ![simple](simple.png) -This theme is rather unobstrusive and might still be considered bare-bones. +This theme is rather unobtrusive and might still be considered bare-bones. It uses a minimal amount of colour and lets you define your slides' content very freely. diff --git a/book/src/utils/progress.md b/book/src/utils/progress.md index f138580..bb276e9 100644 --- a/book/src/utils/progress.md +++ b/book/src/utils/progress.md @@ -1,6 +1,6 @@ # How much longer? 🥱 -There are a handfull of features that let you display the progress of the +There are a handful of features that let you display the progress of the presentation. The most simple one is directly displaying the current slide number. diff --git a/book/src/utils/utils.md b/book/src/utils/utils.md index 9d896a6..449b6f7 100644 --- a/book/src/utils/utils.md +++ b/book/src/utils/utils.md @@ -11,7 +11,7 @@ using ```typ {{#include ../IMPORT.typ}} ``` -you can direcly invoke them using `utils` and `logic`. +you can directly invoke them using `utils` and `logic`. As a theme author, you have access to them due to the imports ```typ #import "../logic.typ"