Browse Source

Remove space around `\zhdigits' in date (partially revert 6f80b5cc).

master
Casper Ti. Vector 4 months ago
parent
commit
5cd6381a7b
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      doc/readme/pkuthss.tex
  2. +1
    -1
      utils/bump

+ 1
- 1
doc/readme/pkuthss.tex View File

@@ -60,7 +60,7 @@
cauthor = {盖茨波·钛·维克托},
eauthor = {Casper Ti.\ Vector},
studentid = {00910???},
date = {\zhdigits{2019} \zhnumber{11} 月},
date = {\zhdigits{2019}年\zhnumber{11}月},
school = {化学与分子工程学院},
cmajor = {化学(?)}, emajor = {Chemistry ... ?},
direction = {据说 Casper 自己也不知道},


+ 1
- 1
utils/bump View File

@@ -4,7 +4,7 @@
# Public domain.

NUMDATE = $(shell date '+%Y/%m/%d')
CNDATE = $(shell date '+\\zhdigits{%Y} \\zhnumber{%-m} 月')
CNDATE = $(shell date '+\\zhdigits{%Y}年\\zhnumber{%-m}月')

revbump:
sed -i '/\\Provides/,+1 s;\[[^ ]* [^ ]*;[$(NUMDATE) v$(VERSION);g' \


Loading…
Cancel
Save