Skip to content

Releases: touying-typ/touying

Touying 0.4.2

28 May 17:28
dd5d288
Compare
Choose a tag to compare

Feature: Export slides to PPTX and HTML formats and show presentation online. touying-exporter touying-template online

  • theme(metropolis): decoupled text color with neutral-dark (Breaking change)
  • feat: add mark-style uncover, only and alternatives
  • feat: add warning for styled block for slides
  • feat: add warning for touying-temporary-mark
  • feat: add markup-text for speaker-note
  • fix: fix bug of slides

Touying 0.4.1

13 May 09:01
Compare
Choose a tag to compare

Features

  • feat: support builtin outline and bookmark #44
  • feat: support speaker note for dual-screen #43
  • feat: add touying-mitex function

Fixes

  • fix: add outline-slide for dewdrop theme #42
  • fix: fix regression of default value "auto" for repeat

Miscellaneous Improvements

  • feat: add list support for touying-outline function
  • feat: add auto-reset-footnote
  • feat: add freeze-in-empty-page for better page counter
  • feat: add ..args for register method to capture unused arguments #22

Touying 0.4.0

06 Apr 12:03
Compare
Choose a tag to compare

Features

  • feat: support #footnote[] for all themes. #26
  • feat: access subslide and repeat in footer and header by self => self.subslide. #21
  • feat: support numbered theorem environments by ctheorems.
  • feat: support numbering for sections and subsections.

Fixes

  • fix: make nested includes work correctly.
  • fix: disable multi-page slides from creating the same section multiple times. #23

Breaking changes

  • refactor: remove self.padding and add self.full-header self.full-footer config.

Touying 0.3.3

26 Mar 15:23
Compare
Choose a tag to compare
  • template: move template to touying-aqua package, make Touying searchable in Typst Universe Packages
  • themes: fix bugs in university and dewdrop theme
  • feat: make set-show rule work without setting parameter
  • feat: make composer parameter more simpler
  • feat: add empty-slide function

Touying 0.3.2

15 Mar 11:18
Compare
Choose a tag to compare
  • fix critical bug: fix is-sequence function, make grid and table work correctly in touying
  • theme: add aqua theme, thanks for pride7
  • theme: make university theme more configurable
  • refactor: don't export variable s by default anymore, it will be extracted by register function (Breaking Change)
  • meta: add categories and template config to typst.toml for Typst 0.11

Touying 0.3.1

07 Mar 09:09
Compare
Choose a tag to compare
  • fix some typos
  • fix slide-level bug
  • fix bug of pdfpc label

Touying 0.3.0

06 Mar 15:22
Compare
Choose a tag to compare
  • better show-slides mode.
  • support align and pad.
  • add more detailed documentation.
  • simplify theme.
  • fix many bugs.

Touying 0.2.1

19 Feb 09:51
Compare
Choose a tag to compare
  • touying-reducer: support cetz and fletcher animation
  • add university theme
  • fix footer progress in metropolis theme
  • fix some bugs in simple and dewdrop themes
  • fix bug that outline does not display more than 4 sections

Touying 0.2.0

20 Jan 13:01
Compare
Choose a tag to compare
  1. #pause and #meanwhile Marks document
  2. Dewdrop Theme Navigation Bar document
  3. touying-equation Math Equation Animation document
  4. #show: slides Style and #slide[..] Style document

Touying 0.1.0

11 Jan 12:13
Compare
Choose a tag to compare

Touying 0.1.0

#import "@preview/touying:0.1.0": s, pause, utils, states, pdfpc, themes
  • Object-oriented programming: Singleton s, binding methods utils.methods(s) and (self: obj, ..) => {..} methods.
  • Page arguments management: Instead of using #set page(..), you should use self.page-args to retrieve or set page parameters, thereby avoiding unnecessary creation of new pages.
  • #pause for sequence content: You can use #pause at the outermost level of a slide, including inline and list.
  • #pause for layout functions: You can use the composer parameter to add yourself layout function like utils.side-by-side, and simply use multiple pos parameters like #slide[..][..].
  • Callback-style uncover, only and alternatives: Based on the concise syntax provided by Polylux, allow precise control of the timing for displaying content.
    • You should manually control the number of subslides using the repeat parameter.
  • Transparent cover: Enable transparent cover using oop syntax like #let s = (s.methods.enable-transparent-cover)(self: s).
  • Handout mode: enable handout mode by #let s = (s.methods.enable-handout-mode)(self: s).
  • Fit-to-width and fit-to-height: Fit-to-width for title in header and fit-to-height for image.
    • utils.fit-to-width(grow: true, shrink: true, width, body)
    • utils.fit-to-height(width: none, prescale-width: none, grow: true, shrink: true, height, body)
  • Slides counter: states.slide-counter.display() + " / " + states.last-slide-number and states.touying-progress(ratio => ..).
  • Appendix: Freeze the last-slide-number to prevent the slide number from increasing further.
  • Sections: Touying's built-in section support can be used to display the current section title and show progress.
    • states.new-section(section) to register a new section.
    • states.current-section to get the current section.
    • states.touying-outline or s.methods.touying-outline to display a outline of sections.
    • states.touying-final-sections(sections => ..) for custom outline display.
    • states.touying-progress-with-sections((current-sections: .., final-sections: .., current-slide-number: .., last-slide-number: ..) => ..) for powerful progress display.
  • Pdfpc: pdfpc support and export .pdfpc file without external tool by typst query command simply.