Skip to content

Commit

Permalink
fix: fix bugs
Browse files Browse the repository at this point in the history
Former-commit-id: e886c56
  • Loading branch information
RalXYZ committed Nov 11, 2021
1 parent 8b5f506 commit 91296c9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ all-and-compress:
cd $(target_dir)/$(windows)-$(typora); zip -r $(target_dir)/latex-theme-$(windows).zip ./*
cd $(target_dir)/$(macos)-$(typora); zip -r $(target_dir)/latex-theme-$(macos).zip ./*
cd $(target_dir)/$(linux)-$(typora); zip -r $(target_dir)/latex-theme-$(linux).zip ./*
cd $(target_dir)/$(pandoc)-$(typora); zip -r $(target_dir)/latex-theme-$(pandoc).zip ./*
# cd $(target_dir)/$(pandoc)-$(typora); zip -r $(target_dir)/latex-theme-$(pandoc).zip ./*

.PHONY: windows
windows:
Expand Down
17 changes: 9 additions & 8 deletions src/latex-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
that contains part or all of the Typora LaTeX Theme
and distribute that work under terms of your choice,
so long as that work isn't itself a CSS theme
or a generator of CSS theme. Alternatively, if you
or can be processed into CSS theme by using some
CSS pre-processors like SASS. Alternatively, if you
modify or redistribute this CSS theme itself,
you may (at your option) remove this special exception,
which will cause the CSS theme and the resulting output files
Expand All @@ -29,11 +30,11 @@

/////////////////////////////////////////////////////////////////////
// //
// 如果您仅想使用本主题 //
// 不要下载此文件! //
// 请前往 GitHub Release 页面下载 ZIP 包 //
// //
/////////////////////////////////////////////////////////////////////
// 如果您仅想使用本主题 //
// 不要下载此文件! //
// 请前往 GitHub Release 页面下载 ZIP 包 //
// //
////////////////////////////////////////////////////////////////////

// 以下三个键会被 Makefile 拼接到文件起始部分
// 下面展示的值是一个样例
Expand All @@ -50,14 +51,14 @@
$sub-sub-chapter-Chinese-font: "华文仿宋" !global;
$base-Chinese-font: "华文宋体" !global;
} @else if $os == "macos" {
$ui-font: "苹方-简" !global;
$ui-font: "\"苹方-简\"" !global;
$heading-Chinese-font: "华文黑体Bold" !global;
$chapter-Chinese-font: "方正公文黑体" !global;
$sub-chapter-Chinese-font: "方正公文楷体" !global;
$sub-sub-chapter-Chinese-font: "方正公文仿宋" !global;
$base-Chinese-font: "宋体-简" !global;
} @else if $os == "linux" {
$ui-font: "Noto Sans CJK SC" !global;
$ui-font: "\"Noto Sans CJK SC\"" !global;
$heading-Chinese-font: "Noto Sans CJK SC" !global;
$chapter-Chinese-font: "Noto Sans CJK SC" !global;
$sub-chapter-Chinese-font: "Noto Serif CJK SC" !global;
Expand Down

0 comments on commit 91296c9

Please sign in to comment.