gollum 2.3.0 → 2.3.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of gollum might be problematic. Click here for more details.

data/README.md CHANGED
@@ -363,25 +363,7 @@ appropriately.
363
363
 
364
364
  ## MATHEMATICAL EQUATIONS
365
365
 
366
-
367
- Page files may contain mathematic equations in TeX syntax that will be nicely
368
- typeset into the expected output. A block-style equation is delimited by `\[`
369
- and `\]`. For example:
370
-
371
- \[ P(E) = {n \choose k} p^k (1-p)^{ n-k} \]
372
-
373
- Inline equations are delimited by `\(` and `\)`. These equations will appear
374
- inline with regular text. For example:
375
-
376
- The Pythagorean theorem is \( a^2 + b^2 = c^2 \).
377
-
378
- ### INSTALLATION REQUIREMENTS
379
-
380
- In order to get the mathematical equations rendering to work, you need the following binaries:
381
-
382
- * LaTex, TeTex or MacTex/BasicTeX (pdflatex)
383
- * Netpbm (pnmcrop, pnmpad, pnmscale, ppmtopgm, pnmgamma, pnmtopng)
384
- * Ghostscript (gs)
366
+ Start gollum with the `--mathjax` flag. Read more about [MathJax](http://docs.mathjax.org/en/latest/index.html) on the web. Gollum uses the `TeX-AMS-MML_HTMLorMML` config with the autoload-all extension.
385
367
 
386
368
  ## SEQUENCE DIAGRAMS
387
369
 
data/Rakefile CHANGED
@@ -113,6 +113,7 @@ task :release => :build do
113
113
  puts "You must be on the master branch to release!"
114
114
  exit!
115
115
  end
116
+ sh "git pull"
116
117
  sh "git commit --allow-empty -a -m 'Release #{version}'"
117
118
  sh "git tag v#{version}"
118
119
  sh "git push origin master"
@@ -5,7 +5,7 @@ Gem::Specification.new do |s|
5
5
  s.required_ruby_version = ">= 1.8.7"
6
6
 
7
7
  s.name = 'gollum'
8
- s.version = '2.3.0'
8
+ s.version = '2.3.1'
9
9
  s.date = '2012-10-21'
10
10
  s.rubyforge_project = 'gollum'
11
11
 
@@ -22,7 +22,7 @@ require File.expand_path('../gollum/web_sequence_diagram', __FILE__)
22
22
  require File.expand_path('../gollum/frontend/uri_encode_component', __FILE__)
23
23
 
24
24
  module Gollum
25
- VERSION = '2.3.0'
25
+ VERSION = '2.3.1'
26
26
 
27
27
  def self.assets_path
28
28
  ::File.expand_path('gollum/frontend/public', ::File.dirname(__FILE__))
@@ -20,7 +20,13 @@
20
20
  <script type="text/javascript" src="{{base_url}}/javascript/editor/gollum.editor.js"></script>
21
21
  {{#mathjax}}
22
22
  <script type="text/x-mathjax-config">
23
- MathJax.Hub.Config({ TeX: { extensions: ["autoload-all.js"] }});
23
+ MathJax.Hub.Config({
24
+ tex2jax: {
25
+ inlineMath: [ ['$','$'], ['\\(','\\)']],
26
+ displayMath: [ ['$$','$$'], ['\[','\]'] ],
27
+ processEscapes: true
28
+ },
29
+ TeX: { extensions: ["autoload-all.js"] }});
24
30
  </script>
25
31
  <script>(function(d,j){
26
32
  j = d.createElement('script');
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gollum
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: