[SCM] PostGIS branch master updated. 3.7.0alpha1-629-g4fd912474
git at osgeo.org
git at osgeo.org
Sun Jul 19 04:13:11 PDT 2026
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".
The branch, master has been updated
via 4fd9124747f5b669c5a764ed32ca82887ebf9467 (commit)
via a8e74159fb689830083610deb5f5c1fb06724585 (commit)
from c86243a205a0e5bb04442dc404c6acb86e8b8ee6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4fd9124747f5b669c5a764ed32ca82887ebf9467
Merge: c86243a20 a8e74159f
Author: Darafei Praliaskouski <komzpa at gmail.com>
Date: Sun Jul 19 04:13:09 2026 -0700
Merge pull request 'docs: support Unicode mappings with XeTeX' (!436) from Komzpa/postgis:fix/docs-xetex-unicode-characters into master
Reviewed-on: https://gitea.osgeo.org/postgis/postgis/pulls/436
commit a8e74159fb689830083610deb5f5c1fb06724585
Author: Darafei Praliaskouski <me at komzpa.net>
Date: Sun Jul 19 06:53:31 2026 +0400
docs: support Unicode mappings with XeTeX
diff --git a/doc/texstyle-common.sty b/doc/texstyle-common.sty
index 0364d0949..9c1d29fea 100644
--- a/doc/texstyle-common.sty
+++ b/doc/texstyle-common.sty
@@ -12,10 +12,17 @@
\usepackage{xcolor}
\usepackage{needspace}
\usepackage{listings}
-\DeclareUnicodeCharacter{2026}{\ldots}
-\DeclareUnicodeCharacter{1D62}{\ensuremath{_{i}}}
-\DeclareUnicodeCharacter{1D4F}{\ensuremath{^{k}}}
-\DeclareUnicodeCharacter{021B}{\c{t}}
+%% Keep characters used by examples independent of both the TeX engine and
+%% the selected font. Unlike \DeclareUnicodeCharacter, newunicodechar works
+%% with the XeTeX builds used by the translated manuals as well as pdfTeX.
+%% Delay the definitions until language styles have configured xeCJK.
+\usepackage{newunicodechar}
+\AtBeginDocument{%
+ \newunicodechar{…}{\ldots}%
+ \newunicodechar{ᵢ}{\ensuremath{_{i}}}%
+ \newunicodechar{ᵏ}{\ensuremath{^{k}}}%
+ \newunicodechar{ț}{\c{t}}%
+}
%% DocBook uses the readable language name while listings exposes C# as the
%% C language's Sharp dialect. Keep the HTML language metadata without
%% making the PDF backend reject the same programlisting.
-----------------------------------------------------------------------
Summary of changes:
doc/texstyle-common.sty | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list