latex 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/ChangeLog +5 -0
  2. data/examples/latex.rb +3 -2
  3. data/lib/latex.rb +3 -2
  4. metadata +2 -2
data/ChangeLog CHANGED
@@ -1,3 +1,8 @@
1
+ 0.1.3
2
+ 2004-11-31 Christian Bang <cbang@cbang@web.de>
3
+
4
+ * Bug fix for table: column alignment was not set properly.
5
+
1
6
  0.1.2
2
7
  2004-10-12 Christian Bang <cbang@cbang@web.de>
3
8
 
@@ -1,6 +1,6 @@
1
1
  # Copyright (c) 2004 Christian Bang <cbang AT web.de> and Frank Hutter
2
2
  #
3
- # Version 0.1.2
3
+ # Version 0.1.3
4
4
  #
5
5
  # All rights reserved. You can redistribute and/or modify it under the same terms as Ruby.
6
6
  #
@@ -38,7 +38,6 @@ class LatexFile < File
38
38
  @@default_extras = {:fontsize => "10pt" }
39
39
  attr_reader :extras
40
40
 
41
- @default_table_align = 'c'
42
41
  # The default table alignment is <tt>'c'</tt> but can be changed.
43
42
  attr_accessor :default_table_align
44
43
 
@@ -58,6 +57,8 @@ class LatexFile < File
58
57
 
59
58
  @usePackages = @extras[:usePackages] || @@defaultUsePackages
60
59
 
60
+ @default_table_align = 'c'
61
+
61
62
  writeDocumentHeader
62
63
  @lastWasPrint = false
63
64
  end
@@ -1,6 +1,6 @@
1
1
  # Copyright (c) 2004 Christian Bang <cbang AT web.de> and Frank Hutter
2
2
  #
3
- # Version 0.1.2
3
+ # Version 0.1.3
4
4
  #
5
5
  # All rights reserved. You can redistribute and/or modify it under the same terms as Ruby.
6
6
  #
@@ -38,7 +38,6 @@ class LatexFile < File
38
38
  @@default_extras = {:fontsize => "10pt" }
39
39
  attr_reader :extras
40
40
 
41
- @default_table_align = 'c'
42
41
  # The default table alignment is <tt>'c'</tt> but can be changed.
43
42
  attr_accessor :default_table_align
44
43
 
@@ -58,6 +57,8 @@ class LatexFile < File
58
57
 
59
58
  @usePackages = @extras[:usePackages] || @@defaultUsePackages
60
59
 
60
+ @default_table_align = 'c'
61
+
61
62
  writeDocumentHeader
62
63
  @lastWasPrint = false
63
64
  end
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.1
3
3
  specification_version: 1
4
4
  name: latex
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.1.2
7
- date: 2004-10-19
6
+ version: 0.1.3
7
+ date: 2004-11-04
8
8
  summary: Latex is a LaTeX text generation library for Ruby.
9
9
  require_paths:
10
10
  - lib