Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Touying template uses outdated import #159

Open
Thijsie2 opened this issue Mar 1, 2025 · 1 comment
Open

Touying template uses outdated import #159

Thijsie2 opened this issue Mar 1, 2025 · 1 comment

Comments

@Thijsie2
Copy link

Thijsie2 commented Mar 1, 2025

Hi! Thanks for making touying, I find it very easy to make presentations with it :)

When I created a file from the Touying template in Typst just now (by selecting 'Customize a template' in the drop-down menu of the main page https://typst.app/), it starts with the following line of code:

#import "@preview/touying:0.3.2": *

This version of Touying is no longer supported. I would like to suggest changing the default template to this code (or something similar):

#import "@preview/touying:0.6.1": *
#import themes.aqua: *

#show: aqua-theme.with(
aspect-ratio: "16-9",
config-info(
title: [Title],
subtitle: [Subtitle],
author: [Authors],
date: datetime.today(),
institution: [Institution],
),
)

#title-slide()

#outline-slide()

I found the code here: https://touying-typ.github.io/docs/themes/aqua

I hope this helps and the issue is clear. If not, let me know! Have a nice day :)

@OrangeX4
Copy link
Member

OrangeX4 commented Mar 1, 2025

This is because I mistakenly published touying as a template in version 0.3.2, when in fact touying should just be a package. For comparison, touying-aqua is a template instead of package. Let me see if I can modify the template field of the old version of touying to remove it from touying 0.3.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants