cossincalc 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
@@ -31,7 +31,7 @@ EOT
|
|
31
31
|
# The filename should be provided without the .pdf extension.
|
32
32
|
def save_pdf(filename)
|
33
33
|
save_tex(filename)
|
34
|
-
Dir.chdir(File.dirname(filename)) { `pdflatex "#{filename}.tex"` }
|
34
|
+
Dir.chdir(File.dirname(filename)) { `pdflatex "#{File.basename(filename)}.tex"` }
|
35
35
|
end
|
36
36
|
|
37
37
|
# Returns the content of the LaTeX document.
|
data/lib/cossincalc/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cossincalc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 8
|
10
|
+
version: 1.0.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Molte Emil Strange Andersen
|