polytexnic 0.9.1 → 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 693920d944da7586887198762d18e2eee9b1a787
4
- data.tar.gz: ff6ce785abcd55a2b87b9a592aa8aaf4112acb02
3
+ metadata.gz: 1f22f8b4aae8ee0c5113a2c86293dbd98a9914d1
4
+ data.tar.gz: fea9483cb2ecde2f494516d5f310f0be77ade536
5
5
  SHA512:
6
- metadata.gz: 34c90bfd345ba110cd5bfd1f5b0abfc72e2aed03bab7a305da916ef32811a2ef2685a5b21d18e77598af94bafbda83319f1d839049afb8c66c9b01f127582ad2
7
- data.tar.gz: c41b22d3c5ddcc9edb175e8b45835e7bbca533ec1f10a579004735d8f3366b2bb0e9c1307aa9985cc8e669f73f10ff57768af2a10f460f915d87175b6f1d014c
6
+ metadata.gz: 32b6dfd32c84392609bda29210f99ea11b1aa9d457fee7f1d0b6f6249e2d074a4ad821bca202588ce9bfadc6af6e0e0c8319d97cf5448e7e9113eb1b1247f95d
7
+ data.tar.gz: 54ae66c1b0a5c19be36e42f482471fff584bb2902af237eeccd1f8dfe9118d8d7ce002827459ba10a34e3a2462388cabd267612ab4e1ea927cbddfb033055aac
@@ -146,12 +146,13 @@ module Polytexnic
146
146
  end
147
147
  end
148
148
 
149
- # Highlight lines (i.e., with a yellow backgroun).
149
+ # Highlight lines (i.e., with a yellow background).
150
150
  # This is needed due to a Pygments bug that fails to highlight lines
151
151
  # in the LaTeX output.
152
152
  def highlight_lines(output, options)
153
153
  highlighted_lines(options).each do |i|
154
- output[i] = '\colorbox{hilightyellow}{' + output[i] + '}'
154
+ output[i] = '\setlength{\fboxsep}{0pt}\colorbox{hilightyellow}{' +
155
+ output[i] + '}'
155
156
  end
156
157
  end
157
158
 
@@ -1,3 +1,3 @@
1
1
  module Polytexnic
2
- VERSION = "0.9.1"
2
+ VERSION = "0.9.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polytexnic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Hartl