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

fix: revert \inserttitlegraphic to the original definition #176

Merged
merged 6 commits into from
Dec 21, 2024

Conversation

LogCreative
Copy link
Contributor

@LogCreative LogCreative commented Dec 21, 2024

撤销 #84 中对 \inserttitlegraphic 的重定义,如果用户需要使用 defaulttitle page,会导致其在插入 \titlepage 时调用 \usebeamertemplate{titlegraphic},而此时 \usebeamertemplate{titlegraphic}(default) 会调用 \inserttitlegraphic 然后调用 \usebeamertemplate{titlegraphic},从而导致循环调用。本 PR 将使用 sjtutitlegraphic 的 beamer template 来管理 SJTUBeamer “原生”的头图,并添加 \setsjtutitlegraphic 来初始化 \titlegraphic

回退 #156 关于头图为空的判定,因为现在应当使用 \inserttitlegraphic 是否为空来判定。

@LogCreative LogCreative merged commit 579b4c1 into main Dec 21, 2024
4 checks passed
@LogCreative LogCreative deleted the logcreative-titlegraphic branch December 21, 2024 14:19
@LogCreative
Copy link
Contributor Author

josephwright/beamer#849 在 default 模板里引入了 titlegraphic beamer template 导致了这种循环引用的情况,也就意味着 TeX Live 2023 及之前并无此问题。

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

Successfully merging this pull request may close these issues.

1 participant