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

docs: customization #78

Merged
merged 27 commits into from
Dec 12, 2021
Merged

docs: customization #78

merged 27 commits into from
Dec 12, 2021

Conversation

LogCreative
Copy link
Contributor

@LogCreative LogCreative commented Dec 1, 2021

  • fix Max样式中正文背景图取消 #76 . 通过添加文档,向 Snippets 添加说明提供方案。
  • 用户文档添加章节《自定》,引导感兴趣的开发者使用 my 预留接口生成自定义的模板样式。
  • 修复 min 的 cdot 根据是否有文字而显示。
  • 原本是想要修复 \maketitle[max] 等内部 API 接口,但是通过:
  1. 将 max 的背景统一为 background 设定而不是 titlegraphic 与 maxplus 和 min 分离以避免干扰。被 revert,因为会造成接口困扰;而且会导致真正背景不透明度无法分离设置,导致太亮。
  2. 如果看到不一样的封面模板配置就重新加载对应的 titlegraphic 和 background 设定。branch 被废弃,因为之后想要进行自定义背景就没有办法通过顶层调用完成
\documentclass{ctexbeamer}
\usetheme[maxplus]{sjtubeamer}         % <--- maxplus is different from max
\begin{document}
\setbeamertemplate{background}{my.png} % <--- want to set here
\maketitle[max]                        % <--- but will be override here
\end{document}

所以只能内部使用,该API没有发生更改。

@LogCreative
Copy link
Contributor Author

发生了与 #62 一样的 xelatex: broken pipe 问题,过两天再check。

@LogCreative
Copy link
Contributor Author

LogCreative commented Dec 3, 2021

可能最近服务器有点抽风,加上l3build最近还在更新,另一个分支上会在不同的地方出现访问错误,会等待一周后缓存清除再check。(l3build最近还在修l3build install的问题)

@LogCreative LogCreative marked this pull request as draft December 3, 2021 06:18
@LogCreative LogCreative marked this pull request as ready for review December 7, 2021 13:44
@LogCreative LogCreative force-pushed the logcreative-coverpage branch 2 times, most recently from fe57a4f to e367a7b Compare December 7, 2021 15:13
@LogCreative
Copy link
Contributor Author

LogCreative commented Dec 7, 2021

用户文档因为某种未知问题改不动,下一个PR再改

This reverts commit e367a7b.
@LogCreative
Copy link
Contributor Author

看来服务恢复了,对于一周自然好这件事情有点奇怪(

@LogCreative LogCreative marked this pull request as draft December 8, 2021 02:38
@LogCreative
Copy link
Contributor Author

还没有完全好 文档没传上去(

@LogCreative
Copy link
Contributor Author

LogCreative commented Dec 10, 2021

感觉是最近的 docker 镜像更新所致,我可能要排查一下:https://github.com/xu-cheng/latex-docker/pkgs/container/texlive-full/11104817?tag=20211201

以后还是避免月初PR吧(
下月初再check(
latex3/l3build@3156f7e

@LogCreative LogCreative marked this pull request as ready for review December 10, 2021 04:11
@LogCreative LogCreative force-pushed the logcreative-coverpage branch 2 times, most recently from c446747 to 3212001 Compare December 10, 2021 04:14
@skyzh
Copy link
Member

skyzh commented Dec 10, 2021

感觉是最近的 docker 镜像更新所致,我可能要排查一下:https://github.com/xu-cheng/latex-docker/pkgs/container/texlive-full/11104817?tag=20211201

以后还是避免月初PR吧(

TeXLive 镜像一个月更新一次,我们也可以在此基础上手动 tlmgr update(

@LogCreative
Copy link
Contributor Author

LogCreative commented Dec 10, 2021

以后有时间我自己造算了(大雾
至少固定个版本,这跳来跳去太可怕

@LogCreative
Copy link
Contributor Author

以及 CTeX 的看起来挺不错的,三个系统都可以测🤔:https://github.com/CTeX-org/ctex-kit/blob/master/.github/workflows/test.yml

@LogCreative
Copy link
Contributor Author

update失败了 下月一定

@LogCreative LogCreative marked this pull request as draft December 10, 2021 05:02
@LogCreative LogCreative marked this pull request as ready for review December 11, 2021 18:21
@LogCreative
Copy link
Contributor Author

恢复正常了

@LogCreative LogCreative merged commit a5ba04d into main Dec 12, 2021
@LogCreative LogCreative deleted the logcreative-coverpage branch December 12, 2021 05:00
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.

Max样式中正文背景图取消
2 participants