texlab 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/texlab/texlabfile.rb +7 -6
  3. metadata +26 -26
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.3.0
@@ -13,7 +13,7 @@ class TexlabFile < LatexFile
13
13
 
14
14
  @extras = {
15
15
  :documentclass => :article,
16
- :fontsize => "10pt"
16
+ :fontsize => "12pt"
17
17
  }
18
18
 
19
19
  #use defaults for unused entries:
@@ -31,7 +31,8 @@ class TexlabFile < LatexFile
31
31
  :amsmath=>true,
32
32
  :units=>true,
33
33
  :float=>true,
34
- :xcolor=>"table"
34
+ :xcolor=>"table",
35
+ :rmpage=>[:wider,:taller]
35
36
  #:subfig=>["lofdepth", "lotdepth"]
36
37
  }
37
38
 
@@ -81,10 +82,10 @@ class TexlabFile < LatexFile
81
82
  else puts "\\usepackage[#{settings}]{#{package}}"
82
83
  end
83
84
  end
84
- puts "\\addtolength{\\oddsidemargin}{-3.5cm}"
85
- puts "\\addtolength{\\textwidth}{7cm}"
86
- puts "\\addtolength{\\topmargin}{-3cm}"
87
- puts "\\addtolength{\\textheight}{5cm}"
85
+ #puts "\\addtolength{\\oddsidemargin}{-3.5cm}"
86
+ #puts "\\addtolength{\\textwidth}{7cm}"
87
+ #puts "\\addtolength{\\topmargin}{-3cm}"
88
+ #puts "\\addtolength{\\textheight}{5cm}"
88
89
  puts "\\newcommand{\\hide}[1]{}"
89
90
 
90
91
  puts "\\special{landscape}" if @extras[:landscape]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: texlab
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-04-10 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake4latex
16
- requirement: &89182830 !ruby/object:Gem::Requirement
16
+ requirement: &77643060 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - =
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.1.3
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *89182830
24
+ version_requirements: *77643060
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: plusminus
27
- requirement: &89182540 !ruby/object:Gem::Requirement
27
+ requirement: &77642690 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - =
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 0.2.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *89182540
35
+ version_requirements: *77642690
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: easystats
38
- requirement: &89182230 !ruby/object:Gem::Requirement
38
+ requirement: &77642280 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - =
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 0.1.0
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *89182230
46
+ version_requirements: *77642280
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: to_latex
49
- requirement: &89181980 !ruby/object:Gem::Requirement
49
+ requirement: &77641880 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - =
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 0.4.0
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *89181980
57
+ version_requirements: *77641880
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: gnuplot
60
- requirement: &89181660 !ruby/object:Gem::Requirement
60
+ requirement: &77641550 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 2.4.1
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *89181660
68
+ version_requirements: *77641550
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: latex
71
- requirement: &89181360 !ruby/object:Gem::Requirement
71
+ requirement: &77641210 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - =
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: 0.1.3
77
77
  type: :runtime
78
78
  prerelease: false
79
- version_requirements: *89181360
79
+ version_requirements: *77641210
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: nio-percent_fmt
82
- requirement: &89180950 !ruby/object:Gem::Requirement
82
+ requirement: &77640880 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - =
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: 0.0.0
88
88
  type: :runtime
89
89
  prerelease: false
90
- version_requirements: *89180950
90
+ version_requirements: *77640880
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: rspec
93
- requirement: &89180040 !ruby/object:Gem::Requirement
93
+ requirement: &77636030 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ~>
@@ -98,10 +98,10 @@ dependencies:
98
98
  version: 2.8.0
99
99
  type: :development
100
100
  prerelease: false
101
- version_requirements: *89180040
101
+ version_requirements: *77636030
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: rdoc
104
- requirement: &89179600 !ruby/object:Gem::Requirement
104
+ requirement: &77635720 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
107
  - - ~>
@@ -109,10 +109,10 @@ dependencies:
109
109
  version: '3.12'
110
110
  type: :development
111
111
  prerelease: false
112
- version_requirements: *89179600
112
+ version_requirements: *77635720
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: bundler
115
- requirement: &89179320 !ruby/object:Gem::Requirement
115
+ requirement: &77635410 !ruby/object:Gem::Requirement
116
116
  none: false
117
117
  requirements:
118
118
  - - ~>
@@ -120,10 +120,10 @@ dependencies:
120
120
  version: 1.0.0
121
121
  type: :development
122
122
  prerelease: false
123
- version_requirements: *89179320
123
+ version_requirements: *77635410
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: jeweler
126
- requirement: &89179040 !ruby/object:Gem::Requirement
126
+ requirement: &77635130 !ruby/object:Gem::Requirement
127
127
  none: false
128
128
  requirements:
129
129
  - - ~>
@@ -131,10 +131,10 @@ dependencies:
131
131
  version: 1.8.3
132
132
  type: :development
133
133
  prerelease: false
134
- version_requirements: *89179040
134
+ version_requirements: *77635130
135
135
  - !ruby/object:Gem::Dependency
136
136
  name: rcov
137
- requirement: &89178770 !ruby/object:Gem::Requirement
137
+ requirement: &77634830 !ruby/object:Gem::Requirement
138
138
  none: false
139
139
  requirements:
140
140
  - - ! '>='
@@ -142,7 +142,7 @@ dependencies:
142
142
  version: '0'
143
143
  type: :development
144
144
  prerelease: false
145
- version_requirements: *89178770
145
+ version_requirements: *77634830
146
146
  description: texlab a toolkit based on erb that for creating documents and doing calculations
147
147
  at the same time. It is capable to output the proper number of significant digits,
148
148
  generate tables and plots using gnuplot. It has a simple DSL.
@@ -195,7 +195,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
195
195
  version: '0'
196
196
  segments:
197
197
  - 0
198
- hash: 712927149
198
+ hash: 629395247
199
199
  required_rubygems_version: !ruby/object:Gem::Requirement
200
200
  none: false
201
201
  requirements: