Skip to content

Commit cd753a2

Browse files
Enhance arXiv workflow for Unicode support
1 parent f178c9a commit cd753a2

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/arXiv.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
uses: actions/checkout@v4
1111

1212
- name: Install Pandoc and TeX Live
13-
# Installs Pandoc for conversion and TeX Live to generate the PDF
13+
# Added texlive-xetex for robust Unicode character support (like the Ω symbol)
1414
run: |
1515
sudo apt-get update
16-
sudo apt-get install -y pandoc texlive texlive-latex-extra texlive-fonts-recommended zip
16+
sudo apt-get install -y pandoc texlive texlive-latex-extra texlive-fonts-recommended texlive-xetex zip
1717
1818
- name: Generate LaTeX, PDF, and arXiv Zip
1919
run: |
@@ -22,11 +22,11 @@ jobs:
2222
# 1. Generate the arXiv-compatible LaTeX file (.tex)
2323
pandoc paper.md -o paper.tex --standalone --citeproc --bibliography=paper.bib
2424
25-
# 2. Generate the viewable PDF file (.pdf)
26-
pandoc paper.md -o paper.pdf --standalone --citeproc --bibliography=paper.bib
25+
# 2. Generate the viewable PDF file (.pdf) using XeLaTeX for Unicode support
26+
pandoc paper.md -o paper.pdf --standalone --citeproc --bibliography=paper.bib --pdf-engine=xelatex
2727
2828
# 3. Create the ZIP package for arXiv submission
29-
# If you have an images/assets folder referenced in your paper, add it to the end of this line (e.g., zip -r arxiv_submission.zip paper.tex paper.bib ../pica/assets/Images)
29+
# Note: If your paper includes images, append their path here (e.g., zip arxiv_submission.zip paper.tex paper.bib ../pica/assets/Images)
3030
zip arxiv_submission.zip paper.tex paper.bib
3131
3232
- name: Upload PDF Artifact

0 commit comments

Comments
 (0)