Skip to content

Fix Unicode character error building Japanese PDF documents#149

Merged
JulienPalard merged 3 commits intopython:mainfrom
atsuoishimoto:fix-ja-pdf-error
Mar 10, 2023
Merged

Fix Unicode character error building Japanese PDF documents#149
JulienPalard merged 3 commits intopython:mainfrom
atsuoishimoto:fix-ja-pdf-error

Conversation

@atsuoishimoto
Copy link
Copy Markdown
Contributor

Fix Unicode character error building Japanese PDF documents.

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

@atsuoishimoto
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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