xelatex
Build LaTeX PDF / build (push) Successful in 9m52s

This commit is contained in:
Domipoke
2026-07-27 16:08:17 +02:00
parent 68f7914565
commit 7b1cfd8bd4
3 changed files with 17 additions and 7 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ jobs:
args: >- args: >-
-c "mkdir -p pdf aux && for f in ${{ steps.roots.outputs.roots }}; do -c "mkdir -p pdf aux && for f in ${{ steps.roots.outputs.roots }}; do
echo Building $f; echo Building $f;
latexmk -pdf -interaction=nonstopmode -halt-on-error -outdir=pdf -auxdir=aux \"$f\" || exit 1; latexmk -xelatex -interaction=nonstopmode -halt-on-error -outdir=pdf -auxdir=aux \"$f\" || exit 1;
done && find pdf -type f ! -name '*.pdf' -delete" done && find pdf -type f ! -name '*.pdf' -delete"
- name: Upload built PDFs - name: Upload built PDFs
BIN
View File
Binary file not shown.
+16 -6
View File
@@ -2,9 +2,19 @@
\KOMAoptions{paper=a4, fontsize=12pt, chapterprefix=true, twoside=semi, DIV=classic, parskip=half} \KOMAoptions{paper=a4, fontsize=12pt, chapterprefix=true, twoside=semi, DIV=classic, parskip=half}
\usepackage[svgnames, dvipsnames, table]{xcolor} \usepackage[svgnames, dvipsnames, table]{xcolor}
\usepackage{CJKutf8} % pdflatex only
\usepackage[utf8]{inputenc} % \usepackage{CJKutf8}
\usepackage[T1]{fontenc} % \usepackage[utf8]{inputenc}
% \usepackage[T1]{fontenc}
% xelatex
\usepackage{fontspec}
\usepackage{xeCJK}
% JP Font
\setCJKmainfont{HaranoAjiMincho-Regular}
% other package
\usepackage{lmodern} \usepackage{lmodern}
\usepackage{microtype} \usepackage{microtype}
\usepackage{tcolorbox} \usepackage{tcolorbox}
@@ -73,7 +83,8 @@ delim_0 ",\~"
%% %%
\newcommand{\jp}[1]{\begin{CJK*}{UTF8}{min}#1\end{CJK*}} % \newcommand{\jp}[1]{\begin{CJK*}{UTF8}{min}#1\end{CJK*}}
\newcommand{\jp}[1]{#1}
\newcommand{\bul}[1]{\textbf{\underline{#1}}} \newcommand{\bul}[1]{\textbf{\underline{#1}}}
\newcommand{\rarr}{$\rightarrow$} \newcommand{\rarr}{$\rightarrow$}
\definecolor{ForestPrimary}{HTML}{2E5339} \definecolor{ForestPrimary}{HTML}{2E5339}
@@ -111,8 +122,7 @@ delim_0 ",\~"
\setkomafont{dictumtext}{\itshape\small} \setkomafont{dictumtext}{\itshape\small}
\setkomafont{dictumauthor}{\itshape\small} \setkomafont{dictumauthor}{\itshape\small}
%% Emoji %% Emoji
\newcommand{\heart}{\fontspec{Symbola}\symbol{"1FA77}} \newcommand{\heart}{{\fontspec{Symbola.ttf}[Path=./fonts/]\symbol{"1FA77}}}
%% %%
\title{Letteratura Giapponese I} \title{Letteratura Giapponese I}
\author{Marianna} \author{Marianna}