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

Support numbered pdf bookmarks and Chinese pdf properties #95

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zhiyunyao
Copy link

@zhiyunyao zhiyunyao commented Apr 24, 2024

Change Log

1 Support numbered pdf bookmarks

tex/pkuthss.cls Line 86/83

Add options bookmarksnumbered, unicode for hyperref.
This change supports numbered pdf bookmarks.
For example, former bookmark '引言' will turn into '第一章 引言'.

2 Support Chinese pdf properties

tex/pkuthss.cls Line 221-222/219-220

Change eauthor to cauthor, etitle to ctitle, etc.

3 Format adjustment

According to the latest official template:

tex/pkuthss.cls Line 280/278

Change bottom = 3.0cm to bottom = 2.5cm .

tex/pkuthss.def Line 28-39/33-34

Change Directed by\ to Supervised by\ .
Change KEYWORDS:\ to KEY WORDS:\ .

4 Code cleanup

tex/pkuthss.def Line 68-70/87

This error was caused by a bug in the package ulem and has been fixed offcially.
See also ctex: 与 amsmath 的兼容性问题.

@CasperVector
Copy link
Owner

CasperVector commented Oct 13, 2024

(1-2) These require pkuthss to drop its GBK support, which is perhaps not going to happen soon.
(3) LaTeX defaults to \flushbottom, while MS Word defaults to somethings like \raggedbottom; the bottom setting was chosen to make their number of lines in an average page equal. KEY WORDS is only used in the ugly mode because "keyword" is almost invariably used instead of "key word" in the native English corpus as far as I know.
(4) I think this needs a transition phase, where a comment is placed next to the code fragment to be eventually removed.

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.

2 participants