[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0rc2-1239-ge00f658e3

git at osgeo.org git at osgeo.org
Thu Jul 13 09:04:39 PDT 2023


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  e00f658e35688b27c2c9d86021046167ba35a37b (commit)
      from  670a40076b6bc22b6ddd98eb57d85e3b2e1a53a6 (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 e00f658e35688b27c2c9d86021046167ba35a37b
Author: Sandro Santilli <strk at kbt.io>
Date:   Thu Jul 13 18:04:19 2023 +0200

    Use custom tex style for japanese
    
    References #5439

diff --git a/doc/Makefile.in b/doc/Makefile.in
index 2bad7ccac..7650caf93 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -376,7 +376,8 @@ else
 		 -P figure.warning="images/warning" \
 		 -P figure.caution="images/caution" \
 		 -P latex.output.revhistory=0 \
-		 -s "$(abs_srcdir)/texstyle.sty" \
+		 --texinputs "$(srcdir):$(abs_srcdir)" \
+		 -s "texstyle" \
 		 $(DBLATEX_EXTRA_OPTIONS) \
 		 -o postgis-${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}.${POSTGIS_MICRO_VERSION}$(DOCSUFFIX).pdf $<
 endif
diff --git a/doc/po/ja/texstyle.sty b/doc/po/ja/texstyle.sty
new file mode 100644
index 000000000..fa9f9d2e1
--- /dev/null
+++ b/doc/po/ja/texstyle.sty
@@ -0,0 +1,14 @@
+%%
+%% This style is derived from the manual
+%% http://dblatex.sourceforge.net/doc/manual/sec-custom-latex.html
+%%
+\NeedsTeXFormat{LaTeX2e} % is this needed ?
+\ProvidesPackage{texstyle}[2017/04/25 PostGIS DocBook Japanese Style ]
+
+%% Just use the original package and pass the options
+\RequirePackageWithOptions{texstyle-common}
+
+\usepackage{xeCJK}
+\setCJKmainfont[BoldFont=HaranoAjiMincho-Bold]{HaranoAjiMincho}
+\setCJKsansfont[BoldFont=HaranoAjiGothic-Bold]{HaranoAjiGothic}
+\setCJKmonofont[BoldFont=HaranoAjiGothic-Bold]{HaranoAjiGothic}
diff --git a/doc/texstyle.sty b/doc/texstyle-common.sty
similarity index 99%
copy from doc/texstyle.sty
copy to doc/texstyle-common.sty
index 58689bb32..3b0550cae 100644
--- a/doc/texstyle.sty
+++ b/doc/texstyle-common.sty
@@ -12,3 +12,4 @@
 \usepackage{listings}
 \lstset{upquote=true}
 
+
diff --git a/doc/texstyle.sty b/doc/texstyle.sty
index 58689bb32..113a4e976 100644
--- a/doc/texstyle.sty
+++ b/doc/texstyle.sty
@@ -6,9 +6,5 @@
 \ProvidesPackage{texstyle}[2017/04/25 PostGIS DocBook Style]
 
 %% Just use the original package and pass the options
-\RequirePackageWithOptions{docbook}
-
-%% Make regular quotes within programlisting tags (#3726)
-\usepackage{listings}
-\lstset{upquote=true}
+\RequirePackageWithOptions{texstyle-common}
 

-----------------------------------------------------------------------

Summary of changes:
 doc/Makefile.in                           |  3 ++-
 doc/po/ja/texstyle.sty                    | 14 ++++++++++++++
 doc/{texstyle.sty => texstyle-common.sty} |  1 +
 doc/texstyle.sty                          |  6 +-----
 4 files changed, 18 insertions(+), 6 deletions(-)
 create mode 100644 doc/po/ja/texstyle.sty
 copy doc/{texstyle.sty => texstyle-common.sty} (99%)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list