[postgis-tickets] r15365 - PDF manual from dblatex renders fancy quotes for programlisting
Regina Obe
lr at pcorp.us
Mon Apr 24 23:02:13 PDT 2017
Author: robe
Date: 2017-04-24 23:02:12 -0700 (Mon, 24 Apr 2017)
New Revision: 15365
Added:
branches/2.3/doc/texstyle.sty
Modified:
branches/2.3/NEWS
branches/2.3/doc/Makefile.in
Log:
PDF manual from dblatex renders fancy quotes for programlisting
Change to use regular quotes
patch from Mike Toews
References #3726 for PostGIS 2.3
Modified: branches/2.3/NEWS
===================================================================
--- branches/2.3/NEWS 2017-04-24 20:42:05 UTC (rev 15364)
+++ branches/2.3/NEWS 2017-04-25 06:02:12 UTC (rev 15365)
@@ -4,10 +4,13 @@
* Bug Fixes
- #3711, Azimuth error upon adding 2.5D edges to topology
+ - #3726, PDF manual from dblatex renders fancy quotes for programlisting
+ (Mike Toews)
- #3738, raster: Using -s without -Y in raster2pgsql transforms
raster data instead of setting srid
- #3744, ST_Subdivide loses subparts of inverted geometries
(Darafei Praliaskouski Komzpa)
+
PostGIS 2.3.2
2017/01/31
Modified: branches/2.3/doc/Makefile.in
===================================================================
--- branches/2.3/doc/Makefile.in 2017-04-24 20:42:05 UTC (rev 15364)
+++ branches/2.3/doc/Makefile.in 2017-04-25 06:02:12 UTC (rev 15365)
@@ -276,6 +276,7 @@
-P figure.warning="${PWD}/html/images/warning" \
-P figure.caution="${PWD}/html/images/caution" \
-P latex.output.revhistory=0 \
+ -s texstyle \
-o postgis-${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}.${POSTGIS_MICRO_VERSION}$(DOCSUFFIX).pdf $<; \
fi
Added: branches/2.3/doc/texstyle.sty
===================================================================
--- branches/2.3/doc/texstyle.sty (rev 0)
+++ branches/2.3/doc/texstyle.sty 2017-04-25 06:02:12 UTC (rev 15365)
@@ -0,0 +1,14 @@
+%%
+%% This style is derived from the manual
+%% http://dblatex.sourceforge.net/doc/manual/sec-custom-latex.html
+%%
+\NeedsTeXFormat{LaTeX2e}
+\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}
+
More information about the postgis-tickets
mailing list