docfu 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -4
- data/lib/docfu.rb +1 -1
- data/lib/docfu/outputs/pdf.rb +3 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -4,11 +4,9 @@ A document generation utility. The intention is to make writing documentation //
|
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
7
|
-
On centos the following libraries need be installed:
|
7
|
+
On centos 6 the following libraries need be installed:
|
8
8
|
|
9
|
-
texlive-latex texlive-xetex
|
10
|
-
liberation-fonts-mono-fonts liberation-fonts-serif-fonts
|
11
|
-
liberation-fonts-common
|
9
|
+
texlive-latex texlive-xetex pandoc msttcore-fonts helvetica-fonts
|
12
10
|
|
13
11
|
## Contributing to docfu
|
14
12
|
|
data/lib/docfu.rb
CHANGED
data/lib/docfu/outputs/pdf.rb
CHANGED
@@ -56,9 +56,11 @@ module Docfu
|
|
56
56
|
unless abort
|
57
57
|
print " Moving output to #{info['title'].split(' ').join('_')}.#{lang}.pdf... "
|
58
58
|
["aux", "log", "out", "toc"].each { |f| rm "#{output_dir}/main.#{f}" }
|
59
|
-
mv("#{
|
59
|
+
mv("#{project_home}/main.pdf", "#{output_dir}/#{info['title'].split(' ').join('_')}.#{lang}.pdf")
|
60
60
|
puts "done"
|
61
61
|
end
|
62
|
+
|
63
|
+
File.delete("#{dir}/main.tex")
|
62
64
|
end
|
63
65
|
end
|
64
66
|
end
|