Skip to content

Fix Unicode character error building Japanese PDF documents #149

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 10, 2023

Conversation

atsuoishimoto
Copy link
Contributor

Fix Unicode character error building Japanese PDF documents.

See python/python-docs-ja#31, python/python-docs-ja#35

@atsuoishimoto
Copy link
Contributor Author

Dockerfile I used to build the document:

FROM ubuntu:22.04

ENV DEBIAN_FRONTEND=noninteractive

WORKDIR /pydoc
RUN apt update \
    && apt-get install -y python3.11 python3-pip python3.11-venv git rsync zip \
    curl latexmk xindy texinfo texlive-xetex texlive-latex-recommended \
    texlive-fonts-extra texlive-lang-japanese fonts-noto-cjk-extra\
    texlive-luatex \
    && apt-get clean
RUN python3.11 -m venv .venv

ENV PATH="/pydoc/.venv/bin:${PATH}"
COPY requirements.txt .
RUN pip install -r requirements.txt
WORKDIR /builddir

@JulienPalard
Copy link
Member

Tried it locally: it works, let's try it in production!

@JulienPalard JulienPalard merged commit d5a0a72 into python:main Mar 10, 2023
@JulienPalard
Copy link
Member

(Thanks for all the hard work on this!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants