rubbr 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/History.txt CHANGED
@@ -1,4 +1,8 @@
1
- == 1.0.1 / 2008-02-28
1
+ == 1.0.3 / 2008-02-28
2
+
3
+ * Rerun latex when labels are updated.
4
+
5
+ == 1.0.2 / 2008-02-28
2
6
 
3
7
  * Exit program on errors and sort warnings
4
8
 
data/lib/rubbr.rb CHANGED
@@ -2,7 +2,7 @@ require 'optparse'
2
2
  $:.unshift File.dirname(__FILE__)
3
3
 
4
4
  module Rubbr
5
- VERSION = '1.0.2'
5
+ VERSION = '1.0.3'
6
6
 
7
7
  autoload :Options, 'rubbr/options'
8
8
  autoload :Cli, 'rubbr/cli'
@@ -30,6 +30,9 @@ module Rubbr
30
30
  if latex.warnings.join =~ /There were undefined citations/
31
31
  latex = preprocessor.new(base_latex_file, true)
32
32
  end
33
+ if latex.warnings.join =~ /Label\(s\) may have changed\. Rerun/
34
+ latex = preprocessor.new(base_latex_file, true)
35
+ end
33
36
  latex.silent = false
34
37
  latex.feedback
35
38
  if bibtex
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubbr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eivind Uggedal