From 0f4aa5b369f234b81f034b7c39cc5b60bf575f9a Mon Sep 17 00:00:00 2001 From: Yu Cong Date: Sat, 6 Sep 2025 16:42:45 +0800 Subject: [PATCH] z --- .gitea/workflows/compile.yml | 2 -- xenotes.sty | 12 ------------ 2 files changed, 14 deletions(-) diff --git a/.gitea/workflows/compile.yml b/.gitea/workflows/compile.yml index cfd34d0..66e1fc2 100644 --- a/.gitea/workflows/compile.yml +++ b/.gitea/workflows/compile.yml @@ -12,8 +12,6 @@ jobs: - name: Compile LaTeX using local TeX Live # These commands run directly in your machine's shell run: | - echo $HOME - fc-list | grep "Source Han Sans" echo "Compiling document..." latexmk -pdf main.tex diff --git a/xenotes.sty b/xenotes.sty index e3c5023..22e93da 100644 --- a/xenotes.sty +++ b/xenotes.sty @@ -1,5 +1,4 @@ \ProvidesPackage{xenotes} -\RequirePackage[fontset=none, scheme=plain]{ctex} \RequirePackage{fontspec} \newif\ifxenotes@sans @@ -12,27 +11,16 @@ % Now use the conditional \ifxenotes@sans -\setCJKmainfont{Source Han Sans SC}[BoldFont=*, ItalicFont=*] -\setCJKsansfont{Source Han Sans SC} -\setCJKmonofont{Source Han Sans SC} -% \RequirePackage[fira]{fontsetup} -% \RequirePackage{FiraMono} -% \setmathfont{Fira Math}[range=\setminus] \usepackage[default]{lato} \usepackage{lete-sans-math} \else -\setCJKmainfont{Source Han Serif SC}[BoldFont=*, ItalicFont=*] -\setCJKsansfont{Source Han Serif SC} -\setCJKmonofont{Source Han Serif SC} \RequirePackage[charter]{mathdesign} % math font only for serif mode \RequirePackage{amsmath} \RequirePackage{eucal} \RequirePackage{microtype} \fi -% \setCJKmainfont{SourceHanSerifSC-Regular.otf}[BoldFont={SourceHanSerifSC-Bold.otf}, ItalicFont=SourceHanSerifSC-Regular.otf] - \RequirePackage[margin=1in]{geometry} \RequirePackage[dvipsnames]{xcolor}