[pytables] 02/05: New 0004-unicode-charecter-for-latexpdf.patch

Antonio Valentino a_valentino-guest at moszumanska.debian.org
Sun Aug 13 17:34:18 UTC 2017


This is an automated email from the git hooks/post-receive script.

a_valentino-guest pushed a commit to branch master
in repository pytables.

commit 5071b77dc8963bfd6fd973b17ede155885f21fce
Author: Antonio Valentino <antonio.valentino at tiscali.it>
Date:   Sun Aug 13 09:13:56 2017 +0000

    New 0004-unicode-charecter-for-latexpdf.patch
---
 debian/changelog                                   |  1 +
 debian/patches/0003-use-local-mathjax.patch        |  2 +-
 .../0004-unicode-charecter-for-latexpdf.patch      | 22 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 4 files changed, 25 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 8a1c2f5..448cd88 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,7 @@ pytables (3.4.2-1) UNRELEASED; urgency=medium
       0006-allow-for-long-type-in-nextafter: applied upstream
     - refresh remainimg patches
     - new 0003-use-local-mathjax.patch
+    - new 0004-unicode-charecter-for-latexpdf.patch
   * Updated copyright file
   * debian/control
     - add build dependency from python(3)-sphinx-rtd-theme,
diff --git a/debian/patches/0003-use-local-mathjax.patch b/debian/patches/0003-use-local-mathjax.patch
index bf2921e..4f772b6 100644
--- a/debian/patches/0003-use-local-mathjax.patch
+++ b/debian/patches/0003-use-local-mathjax.patch
@@ -7,7 +7,7 @@ Subject: use local mathjax
  1 file changed, 3 insertions(+)
 
 diff --git a/doc/source/conf.py b/doc/source/conf.py
-index 013ab5d..cbe9f60 100644
+index 013ab5d..1f8a675 100644
 --- a/doc/source/conf.py
 +++ b/doc/source/conf.py
 @@ -260,3 +260,6 @@ extlinks = {
diff --git a/debian/patches/0004-unicode-charecter-for-latexpdf.patch b/debian/patches/0004-unicode-charecter-for-latexpdf.patch
new file mode 100644
index 0000000..b2e48ac
--- /dev/null
+++ b/debian/patches/0004-unicode-charecter-for-latexpdf.patch
@@ -0,0 +1,22 @@
+From: Antonio Valentino <antonio.valentino at tiscali.it>
+Date: Sun, 13 Aug 2017 09:11:48 +0000
+Subject: unicode charecter for latexpdf
+
+---
+ doc/source/conf.py | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/doc/source/conf.py b/doc/source/conf.py
+index 1f8a675..6324862 100644
+--- a/doc/source/conf.py
++++ b/doc/source/conf.py
+@@ -134,7 +134,8 @@ latex_elements = {
+     #'pointsize': '10pt',
+ 
+     # Additional stuff for the LaTeX preamble.
+-    'preamble': '\usepackage{bookmark,hyperref}',
++    'preamble': r'''\usepackage{bookmark,hyperref}
++\DeclareUnicodeCharacter{210F}{$\hbar$}''',
+ }
+ 
+ # Grouping the document tree into LaTeX files. List of tuples
diff --git a/debian/patches/series b/debian/patches/series
index 4e2591e..938e411 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 0001-use-dynamic-lib.patch
 0002-Never-use-the-msse2-flag-explicitly.patch
 0003-use-local-mathjax.patch
+0004-unicode-charecter-for-latexpdf.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pytables.git



More information about the debian-science-commits mailing list