From 04cce0c925f5c50a2c23f15fe05620a3874c2000 Mon Sep 17 00:00:00 2001 From: pacrob <5199899+pacrob@users.noreply.github.com> Date: Wed, 24 Apr 2024 12:21:39 -0600 Subject: [PATCH] switch to xelatex for building latexpdf as it supports more unicode --- .circleci/config.yml | 2 +- docs/conf.py | 4 ++-- setup.py | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d5accebe..403fe74a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -101,7 +101,7 @@ docs: &docs name: install latexpdf dependencies command: | sudo apt-get update - sudo apt-get install latexmk tex-gyre texlive-fonts-extra + sudo apt-get install latexmk tex-gyre texlive-fonts-extra texlive-xetex xindy - run: name: run tox command: python -m tox run -r diff --git a/docs/conf.py b/docs/conf.py index 1d0560df..7aaef77c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- -# # documentation build configuration file, created by # sphinx-quickstart on Thu Oct 16 20:43:24 2014. # @@ -195,6 +193,8 @@ htmlhelp_basename = "docs" # -- Options for LaTeX output --------------------------------------------- +latex_engine = "xelatex" + latex_elements = { # The paper size ('letterpaper' or 'a4paper'). #'papersize': 'letterpaper', diff --git a/setup.py b/setup.py index 76a45df6..c9e821d9 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -# -*- coding: utf-8 -*- from setuptools import ( find_packages, setup,