Skip to content

Commit

Permalink
Merge pull request OSGeo#11166 from rouault/fix_11162
Browse files Browse the repository at this point in the history
Doc: fix issue with Unicode zero-width space character and PDF output
  • Loading branch information
rouault authored Oct 30, 2024
2 parents 9edec15 + 38aaedb commit e4effaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions doc/build_doc_snapshot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ rm -f .doxygen_up_to_date
rm -rf build/html
rm -rf build/latex
make html

python3 -m sphinx -T -b latex -d build/doctrees -D language=en source build/latex
(cd build/latex && (latexmk -r latexmkrc -pdf -f -dvi- -ps- -jobname=gdal -interaction=nonstopmode || test -f gdal.pdf))
make latexpdf

rm -rf "${TMPDIR}"
mkdir ${TMPDIR}
Expand Down
1 change: 1 addition & 0 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,7 @@
preamble = r"""
\ifdefined\DeclareUnicodeCharacter
\DeclareUnicodeCharacter{2032}{$'$}% prime
\DeclareUnicodeCharacter{200B}{{\hskip 0pt}}
\fi
"""

Expand Down

0 comments on commit e4effaf

Please sign in to comment.