Skip to content

Commit 5ef07b5

Browse files
committed
Use discipline as subject in PDF document properties (resolve #1025)
1 parent 0edd596 commit 5ef07b5

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
### Changed
1010

1111
- `Biblatex` 的斜线不再默认使用等宽字体([#1018](https://github.com/tuna/thuthesis/discussions/1018))。
12+
- 使用“学科”作为 PDF 文档属性的“主题”([#1025](https://github.com/tuna/thuthesis/issues/1025))。
1213

1314
### Fixed
1415

testfiles/package-hyperref.tlg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Package fontspec Info:
1010
Completed box being shipped out [1]
1111
\vbox(710.18088+0.0)x439.87962
1212
.\hbox(0.0+0.0)x0.0
13-
..\special{pdf:docinfo<</Title(\376\377\000T\000i\000t\000l\000e)/Subject(\376\3\ETC.}
13+
..\special{pdf:docinfo<</Title(\376\377\000T\000i\000t\000l\000e)/Subject()/Crea\ETC.}
1414
.\hbox(0.0+0.0)x0.0
1515
..\kern -72.26999
1616
..\vbox(0.0+0.0)x0.0, glue set 72.26999fil

thuthesis.dtx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6527,14 +6527,14 @@
65276527
\hypersetup{
65286528
pdftitle = \thu@title,
65296529
pdfauthor = \thu@author,
6530-
pdfsubject = \thu@degree@category,
6530+
pdfsubject = \thu@discipline,
65316531
pdfkeywords = \thu@keywords,
65326532
}%
65336533
\else
65346534
\hypersetup{
65356535
pdftitle = \thu@title@en,
65366536
pdfauthor = \thu@author@en,
6537-
pdfsubject = \thu@degree@category@en,
6537+
pdfsubject = \thu@discipline@en,
65386538
pdfkeywords = \thu@keywords@en,
65396539
}%
65406540
\fi

0 commit comments

Comments
 (0)