rake4latex 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/call_rake4latex.rb +7 -1
- data/bin/readme_call_rake4latex.txt +1 -0
- data/lib/rake4latex.rb +15 -14
- data/lib/rake4latex/analyse_texfile.rb +6 -4
- data/lib/rake4latex/base.rb +191 -63
- data/lib/rake4latex/clean.rb +9 -6
- data/lib/rake4latex/glossaries.rb +101 -0
- data/lib/rake4latex/latexrunner.rb +16 -27
- data/lib/rake4latex/rules.rb +81 -54
- data/lib/rake4latex/splitindex.rb +0 -1
- data/lib/rake4latex/tex_statistic.rb +18 -6
- data/lib/rake4latex_dtx.rb +3 -3
- data/lib/rake4latex_dvipdfm.rb +2 -2
- data/readme.html +32 -14
- data/readme.txt +21 -11
- data/test/_expected/bibtex_test.txt +9 -9
- data/test/_expected/bibtex_test_bib.txt +4 -4
- data/test/_expected/bibtex_test_build_rakefile.txt +3 -0
- data/test/_expected/dtx_test.txt +11 -11
- data/test/_expected/dvipdfm_test.txt +6 -6
- data/test/_expected/error_test.txt +3 -3
- data/test/_expected/error_test_ignore_error.txt +4 -4
- data/test/_expected/error_test_overview.txt +7 -2
- data/test/_expected/error_test_statistic.txt +2 -2
- data/test/_expected/gloss_test.txt +15 -15
- data/test/_expected/gloss_test_bib.txt +7 -7
- data/test/_expected/gloss_test_build_rakefile.txt +3 -0
- data/test/_expected/glossaries_test.txt +12 -0
- data/test/_expected/includes_test.txt +7 -7
- data/test/_expected/includes_test_build_rakefile.txt +3 -0
- data/test/_expected/index_test.txt +6 -6
- data/test/_expected/longtable_test.txt +5 -5
- data/test/_expected/minitoc_test.txt +7 -7
- data/test/_expected/ps2pdf_test.txt +7 -7
- data/test/_expected/rail_error_test.txt +9 -9
- data/test/_expected/rail_test.txt +6 -6
- data/test/_expected/splitindex_test.txt +7 -7
- data/test/_expected/splitindex_test_build_rakefile.txt +9 -6
- data/test/_expected/supertabular_test.txt +5 -5
- data/test/_expected/supertabular_test_statistic.txt +1 -1
- data/test/_expected/two_tasks_test.txt +15 -0
- data/test/_expected/two_tasks_test_statistic.txt +11 -0
- data/test/_expected/varioref_test.txt +5 -5
- data/test/_expected/varioref_test_ignore_error.txt +7 -7
- data/test/_expected/z_complex_test.txt +12 -11
- data/test/_expected/z_complex_test_overview.txt +24 -9
- data/test/_expected/z_complex_test_overview_file.txt +2 -0
- data/test/_expected/z_complex_test_statistic.txt +2 -2
- data/test/bibtex/rakefile.rb +4 -2
- data/test/dtx/rakefile.rb +3 -3
- data/test/dvipdfm/rakefile.rb +4 -2
- data/test/error/rakefile.rb +10 -6
- data/test/gloss/rakefile.rb +3 -2
- data/test/glossaries/rakefile.rb +50 -0
- data/test/glossaries/sample.tex +133 -0
- data/test/includes/rakefile.rb +7 -6
- data/test/index/rakefile.rb +3 -2
- data/test/longtable/rakefile.rb +3 -2
- data/test/minitoc/rakefile.rb +3 -2
- data/test/ps2pdf/rakefile.rb +3 -2
- data/test/rail/rakefile.rb +5 -4
- data/test/rail_error/rakefile.rb +3 -2
- data/test/splitindex/rakefile.rb +7 -5
- data/test/supertabular/rakefile.rb +3 -2
- data/test/two_tasks/rakefile.rb +50 -0
- data/test/two_tasks/testdocument_1.tex +10 -0
- data/test/two_tasks/testdocument_2.tex +10 -0
- data/test/unittest_rake4latex.rb +27 -4
- data/test/unittest_rake4latex_testcases.rb +27 -11
- data/test/varioref/rakefile.rb +11 -5
- data/test/z_complex/rakefile.rb +8 -6
- data/test/z_complex/testdocument.tex +12 -1
- metadata +149 -28
@@ -1,7 +1,8 @@
|
|
1
1
|
#
|
2
2
|
#Test index
|
3
3
|
#
|
4
|
-
|
4
|
+
$:.unshift('../../lib')
|
5
|
+
require 'rake4latex'
|
5
6
|
|
6
7
|
#Prepeare longtable-content
|
7
8
|
#~ 6.times{
|
@@ -19,7 +20,7 @@ Dir.chdir('../../lib'){ require 'rake4latex'}
|
|
19
20
|
|
20
21
|
#~ file 'testdocument.dvi' => LaTeXRunner.find_included_files( 'testdocument.tex' ).flatten.uniq
|
21
22
|
|
22
|
-
|
23
|
+
Rake4LaTeX::Basefile.set("testdocument.tex")
|
23
24
|
task :touch => 'testdocument.tex' #Zeitstempel anpassen/Kompilation erzwingen
|
24
25
|
|
25
26
|
file '*.tex'
|
@@ -0,0 +1,50 @@
|
|
1
|
+
#
|
2
|
+
# Test error
|
3
|
+
#
|
4
|
+
$:.unshift('../../lib')
|
5
|
+
require 'rake4latex'
|
6
|
+
|
7
|
+
#~ Rake4LaTeX::Basefile.set("testdocument_1.tex")
|
8
|
+
#~ task :basefile => 'testdocument_2.tex'
|
9
|
+
task :touch => 'testdocument_1.tex' #Zeitstempel anpassen/Kompilation erzwingen
|
10
|
+
task :touch => 'testdocument_2.tex' #Zeitstempel anpassen/Kompilation erzwingen
|
11
|
+
|
12
|
+
task :default => :touch
|
13
|
+
#~ task :default => 'testdocument.dvi'
|
14
|
+
task :default => 'testdocument.pdf'
|
15
|
+
task :default => :clean
|
16
|
+
|
17
|
+
Rake4LaTeX::Basefile.set('testdocument_1.tex')
|
18
|
+
Rake4LaTeX::Basefile.set('testdocument_2.tex')
|
19
|
+
|
20
|
+
|
21
|
+
desc "Testtask for Unittest"
|
22
|
+
task :test => [ :touch,
|
23
|
+
'testdocument_1.pdf', 'testdocument_1:statistic',
|
24
|
+
'testdocument_2.pdf', 'testdocument_2:statistic',
|
25
|
+
]
|
26
|
+
|
27
|
+
desc "Testtask for Unittest - all statistics."
|
28
|
+
task :test_statistic => [ :touch,
|
29
|
+
'testdocument_1.pdf',
|
30
|
+
'testdocument_2.pdf',
|
31
|
+
:statistic
|
32
|
+
]
|
33
|
+
|
34
|
+
|
35
|
+
#~ task :test => [ :touch,
|
36
|
+
#~ 'testdocument_1.pdf', :statistic,
|
37
|
+
#~ 'testdocument_2.pdf', :statistic,
|
38
|
+
#~ ]
|
39
|
+
|
40
|
+
if $0 == __FILE__
|
41
|
+
app = Rake.application
|
42
|
+
#~ app[:default].invoke
|
43
|
+
#~ app[:test].invoke
|
44
|
+
app[:test_statistic].invoke
|
45
|
+
#~ app[:log_archive].invoke
|
46
|
+
#~ app[:log_overview].invoke
|
47
|
+
app[:clobber].invoke
|
48
|
+
end
|
49
|
+
|
50
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
\documentclass[ngerman]{scrartcl}
|
2
|
+
\usepackage{babel}
|
3
|
+
\usepackage[ansinew]{inputenc}
|
4
|
+
\usepackage{blindtext}
|
5
|
+
\usepackage{hyperref}
|
6
|
+
% ----------------------------------------------------------------
|
7
|
+
\begin{document}
|
8
|
+
\blindtext
|
9
|
+
\end{document}
|
10
|
+
% ----------------------------------------------------------------
|
@@ -0,0 +1,10 @@
|
|
1
|
+
\documentclass[ngerman]{scrartcl}
|
2
|
+
\usepackage{babel}
|
3
|
+
\usepackage[ansinew]{inputenc}
|
4
|
+
\usepackage{blindtext}
|
5
|
+
\usepackage{hyperref}
|
6
|
+
% ----------------------------------------------------------------
|
7
|
+
\begin{document}
|
8
|
+
\blindtext
|
9
|
+
\end{document}
|
10
|
+
% ----------------------------------------------------------------
|
data/test/unittest_rake4latex.rb
CHANGED
@@ -4,11 +4,34 @@
|
|
4
4
|
|
5
5
|
require 'test/unit'
|
6
6
|
#~ require 'assert_equal_filecontent'
|
7
|
-
|
8
|
-
|
7
|
+
if $0 == __FILE__
|
8
|
+
$:.unshift('../lib')
|
9
|
+
else
|
10
|
+
#Change the directory. Relevant, if called from rakefile_rake4latex.rb
|
11
|
+
Dir.chdir(File.dirname(__FILE__))
|
12
|
+
end
|
9
13
|
require 'rake4latex'
|
10
14
|
include Rake4LaTeX
|
11
15
|
|
16
|
+
class Test_Basefile < Test::Unit::TestCase
|
17
|
+
def test_initialize()
|
18
|
+
assert_raise(NoMethodError){ Basefile.new() } #private method
|
19
|
+
assert_raise(ArgumentError){ Basefile.set() }
|
20
|
+
|
21
|
+
assert_equal(nil, Basefile['test_basefile.tex'])
|
22
|
+
assert_nothing_raised(ArgumentError){ Basefile.set( 'test_basefile.tex') }
|
23
|
+
#Test different variations with different extensions.
|
24
|
+
assert_equal(Basefile['test_basefile.tex'], Basefile.set( 'test_basefile.tex'))
|
25
|
+
assert_equal(Basefile['test_basefile.tex'], Basefile.set( 'test_basefile'))
|
26
|
+
assert_equal(Basefile['test_basefile'], Basefile.set( 'test_basefile.tex'))
|
27
|
+
assert_equal(Basefile['test_basefile.pdf'], Basefile.set( 'test_basefile.tex'))
|
28
|
+
|
29
|
+
#Undefined key.
|
30
|
+
assert_raise(ArgumentError){ Basefile.set( 'test_basefile.tex', :xx => 1) }
|
31
|
+
assert_nothing_raised(ArgumentError){ Basefile.set( 'test_basefile.tex', :loglevel => 1) }
|
32
|
+
|
33
|
+
end #test_initialize
|
34
|
+
end
|
12
35
|
class Test_LaTeXRunner < Test::Unit::TestCase
|
13
36
|
def test_initialize()
|
14
37
|
#~ texrunner = LaTeXRunner.new( :main_file => 'testdocument.tex' )
|
@@ -62,7 +85,7 @@ class Test_LaTeXRunner_Programms < Test::Unit::TestCase
|
|
62
85
|
end #test_generell
|
63
86
|
#
|
64
87
|
#Test all LaTeX-variants
|
65
|
-
def
|
88
|
+
def test_latex_single()
|
66
89
|
%w{latex pdflatex lualatex xelatex}.each{|latex|
|
67
90
|
tool = Rake4LaTeX::Programms[latex]
|
68
91
|
assert_instance_of(Hash, tool)
|
@@ -93,7 +116,7 @@ class Test_LaTeXRunner_Programms < Test::Unit::TestCase
|
|
93
116
|
)
|
94
117
|
end
|
95
118
|
#Test all LaTeX-variants
|
96
|
-
def
|
119
|
+
def test_latex_with_postprocessors()
|
97
120
|
%w{dvipdfm dvips ps2pdf}.each{|tool_id|
|
98
121
|
tool = Rake4LaTeX::Programms[tool_id]
|
99
122
|
assert_instance_of(Hash, tool)
|
@@ -2,9 +2,15 @@
|
|
2
2
|
#Checks the test cases (May take some time, makes a lot TeX-runs).
|
3
3
|
#
|
4
4
|
require 'test/unit'
|
5
|
-
|
5
|
+
gem 'more_unit_test', '>0.0.2'
|
6
|
+
require 'more_unit_test/assert_equal_filecontent'
|
6
7
|
|
7
|
-
|
8
|
+
if $0 == __FILE__
|
9
|
+
$:.unshift('../lib')
|
10
|
+
else
|
11
|
+
#Change the directory. Relevant, if called from rakefile_rake4latex.rb
|
12
|
+
Dir.chdir(File.dirname(__FILE__))
|
13
|
+
end
|
8
14
|
require 'rake4latex'
|
9
15
|
include Rake4LaTeX
|
10
16
|
|
@@ -28,25 +34,23 @@ class Test_testdocument < Test::Unit::TestCase
|
|
28
34
|
testcase = nil
|
29
35
|
File.open('rakefile.rb'){|rakefile|
|
30
36
|
rakefile_content = rakefile.read
|
31
|
-
assert_match(/^\s*task\s*:basefile\s
|
37
|
+
assert_match(/^\s*task\s*:basefile\s*=>|Rake4LaTeX::Basefile.set/, rakefile_content, "Missing basefile-task in Test #{dir}")
|
32
38
|
#Get all test cases
|
33
39
|
rakefile_content.scan(/^task\s*:(test\S*)\s*=>(.*)$/){|hit|
|
34
40
|
testcase = hit.first
|
35
41
|
dircontent = Dir['*'] #Remember the directory content before the task
|
36
42
|
result = `call rake #{testcase}`
|
37
43
|
result.sub!(/\(in .*?$/,'') #delete first line from rake (depends on directory the test runs).
|
38
|
-
|
44
|
+
result.sub!(/^call (.*?)\n$/,'') if RUBY_VERSION =~ /1.9/
|
45
|
+
|
39
46
|
#Take a look on the prerequisites
|
40
47
|
case hit[1]
|
41
48
|
#Special test with :log_overview.
|
42
49
|
#Don't test stdout, but content of the overview-file
|
43
|
-
when /:
|
50
|
+
when /:log_overview_file/
|
44
51
|
assert_equal( 1, Dir['*'].size - dircontent.size , 'No log-overview created' ) #One file created
|
45
|
-
(Dir['*'] - dircontent).each{|logfile|
|
46
|
-
result = File.read(logfile)
|
47
|
-
}
|
48
52
|
end
|
49
|
-
|
53
|
+
|
50
54
|
assert_equal_filecontent( "../_expected/#{dir}_#{testcase}.txt", result,
|
51
55
|
"../_failure#{Date.today}"
|
52
56
|
)
|
@@ -62,12 +66,24 @@ class Test_testdocument < Test::Unit::TestCase
|
|
62
66
|
`call rake clobber` #PDFs not really needed after the test.
|
63
67
|
}
|
64
68
|
end
|
65
|
-
|
69
|
+
|
70
|
+
|
71
|
+
#
|
72
|
+
#Loop on all test directories
|
73
|
+
#
|
74
|
+
Dir["*/"].each{|dir| #get all directories
|
66
75
|
next if dir =~ /^_/ #files for assert_equal_filecontent
|
67
76
|
|
77
|
+
|
78
|
+
#~ next unless dir =~ /includes/
|
68
79
|
#~ next unless dir =~ /complex/
|
69
80
|
#~ next unless dir =~ /vario/
|
70
|
-
#~ next unless dir =~ /
|
81
|
+
#~ next unless dir =~ /split/
|
82
|
+
#~ next unless dir =~ /two_tasks/
|
83
|
+
|
84
|
+
#~ next unless dir =~ /^error/
|
85
|
+
#~ next unless dir =~ /glossaries/
|
86
|
+
#~ next unless dir =~ /rail/
|
71
87
|
|
72
88
|
dir.chop! #delete trailing /
|
73
89
|
class_eval <<code
|
data/test/varioref/rakefile.rb
CHANGED
@@ -2,9 +2,10 @@
|
|
2
2
|
#Test varioref
|
3
3
|
#
|
4
4
|
#-> ! Package varioref Error: \vref at page boundary 1-2 (may loop).
|
5
|
-
|
5
|
+
$:.unshift('../../lib')
|
6
|
+
require 'rake4latex'
|
6
7
|
|
7
|
-
|
8
|
+
Rake4LaTeX::Basefile.set("testdocument.tex")
|
8
9
|
task :touch => 'testdocument.tex' #Zeitstempel anpassen/Kompilation erzwingen
|
9
10
|
|
10
11
|
task :default => [:touch]
|
@@ -15,7 +16,7 @@ task :default => :log_overview
|
|
15
16
|
#~ task :default => :clean
|
16
17
|
|
17
18
|
task :ignore_error do
|
18
|
-
Rake4LaTeX.
|
19
|
+
Rake4LaTeX::Basefile.set("testdocument.tex")[:texerrors_allowed] = true
|
19
20
|
end
|
20
21
|
|
21
22
|
|
@@ -32,6 +33,11 @@ task :test_ignore_error => [ :clobber, :touch, :ignore_error, 'testdocument.pdf
|
|
32
33
|
if $0 == __FILE__
|
33
34
|
app = Rake.application
|
34
35
|
#~ Rake4LaTeX.set_latexrunner_default(:loglevel, Log4r::DEBUG)
|
35
|
-
Rake4LaTeX.
|
36
|
-
app[:default].invoke
|
36
|
+
#~ Rake4LaTeX::Basefile.set("testdocument.tex")[:texerrors_allowed] = true
|
37
|
+
#~ app[:default].invoke
|
38
|
+
#~ app[:clobber].invoke
|
39
|
+
#~ app[:test].invoke
|
40
|
+
app[:test_ignore_error].invoke
|
41
|
+
#~ app[:basefile].invoke
|
42
|
+
#~ puts CLOBBER
|
37
43
|
end
|
data/test/z_complex/rakefile.rb
CHANGED
@@ -7,7 +7,8 @@
|
|
7
7
|
#
|
8
8
|
#
|
9
9
|
#
|
10
|
-
|
10
|
+
$:.unshift('../../lib')
|
11
|
+
require 'rake4latex'
|
11
12
|
|
12
13
|
dependecies = [
|
13
14
|
'testdocument.tex',
|
@@ -24,7 +25,7 @@ file 'testdocument.pdf' => dependecies
|
|
24
25
|
#
|
25
26
|
#~ file 'testdocument.dvi' => LaTeXRunner.find_included_files( 'testdocument.tex' ).flatten.uniq
|
26
27
|
|
27
|
-
|
28
|
+
Rake4LaTeX::Basefile.set("testdocument.tex")
|
28
29
|
CLEAN.add("testdocument-*") #splitidx-helpfiles, Not detected by set4clean
|
29
30
|
task :touch => 'testdocument.tex' #Zeitstempel anpassen/Kompilation erzwingen
|
30
31
|
|
@@ -43,6 +44,7 @@ desc "Testtask for Unittest"
|
|
43
44
|
task :test => [ :touch, 'testdocument.pdf' ]
|
44
45
|
task :test_statistic => [ :statistic ]
|
45
46
|
task :test_overview => [ :log_overview ]
|
47
|
+
task :test_overview_file => [ :log_overview_file ]
|
46
48
|
|
47
49
|
#
|
48
50
|
#There are errors
|
@@ -54,8 +56,8 @@ if $0 == __FILE__
|
|
54
56
|
#~ Rake4LaTeX.set_latexrunner_default(:maxruns, 1)
|
55
57
|
#~ Rake4LaTeX.set_latexrunner_default(:loglevel, Log4r::DEBUG)
|
56
58
|
#~ app.set_latexrunner_default(:texerrors_allowed, true)
|
57
|
-
app[:default].invoke
|
58
|
-
app[:statistic].invoke
|
59
|
-
|
60
|
-
|
59
|
+
#~ app[:default].invoke
|
60
|
+
#~ app[:statistic].invoke
|
61
|
+
app[:test].invoke
|
62
|
+
app[:clean].invoke
|
61
63
|
end
|
@@ -7,6 +7,8 @@
|
|
7
7
|
% ----------------------------------------------------------------
|
8
8
|
\title{Test document}
|
9
9
|
% ----------------------------------------------------------------
|
10
|
+
\usepackage{minitoc}
|
11
|
+
\dosecttoc
|
10
12
|
% ----------------------------------------------------------------
|
11
13
|
\newindex[GeneralIndex]{idx} % Nameandshortcutofthe1stindex
|
12
14
|
\newindex[Index of Animals]{ani} % ...2ndindex
|
@@ -29,6 +31,15 @@ This text was is generated by blindtext.sty, see \cite{dtk00.4:lickert:blindtext
|
|
29
31
|
\blinddocument
|
30
32
|
% ----------------------------------------------------------------
|
31
33
|
|
34
|
+
\section{SectionA}
|
35
|
+
\secttoc
|
36
|
+
% This secttoc moves the index entries during the second TeX-run
|
37
|
+
% and forces an additonal makeindex-run.
|
38
|
+
\subsection{SectionA.1}
|
39
|
+
\blindtext
|
40
|
+
\subsection{SectionA.2}
|
41
|
+
\blindtext
|
42
|
+
|
32
43
|
\section{Some index entries}
|
33
44
|
Apples\sindex[fru]{apple} and oranges\sindex[fru]{orange}
|
34
45
|
are fruits\sindex{fruits}.
|
@@ -40,7 +51,7 @@ Cats\sindex[ani]{cat} are animals\sindex[idx]{animals}.
|
|
40
51
|
|
41
52
|
\sindex[xxx]{undefined index}
|
42
53
|
|
43
|
-
\section{
|
54
|
+
\section{BibTeX entries}
|
44
55
|
This blind text in this document is generated by blindtext.sty, see \cite{dtk00.4:lickert:blindtext}.
|
45
56
|
|
46
57
|
This citation does not exist: \cite{irgendwas}
|
metadata
CHANGED
@@ -1,7 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rake4latex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 31
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 1
|
9
|
+
- 2
|
10
|
+
version: 0.1.2
|
5
11
|
platform: ruby
|
6
12
|
authors:
|
7
13
|
- Knut Lickert
|
@@ -9,57 +15,76 @@ autorequire:
|
|
9
15
|
bindir: bin
|
10
16
|
cert_chain: []
|
11
17
|
|
12
|
-
date: 2010-
|
18
|
+
date: 2010-09-14 00:00:00 +02:00
|
13
19
|
default_executable:
|
14
20
|
dependencies:
|
15
21
|
- !ruby/object:Gem::Dependency
|
16
22
|
name: rake
|
17
|
-
|
18
|
-
|
19
|
-
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
20
26
|
requirements:
|
21
27
|
- - ">="
|
22
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
30
|
+
segments:
|
31
|
+
- 0
|
23
32
|
version: "0"
|
24
|
-
|
33
|
+
type: :runtime
|
34
|
+
version_requirements: *id001
|
25
35
|
- !ruby/object:Gem::Dependency
|
26
36
|
name: log4r
|
27
|
-
|
28
|
-
|
29
|
-
|
37
|
+
prerelease: false
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
30
40
|
requirements:
|
31
41
|
- - ">="
|
32
42
|
- !ruby/object:Gem::Version
|
43
|
+
hash: 3
|
44
|
+
segments:
|
45
|
+
- 0
|
33
46
|
version: "0"
|
34
|
-
version:
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: more_unit_test
|
37
47
|
type: :runtime
|
38
|
-
|
39
|
-
|
48
|
+
version_requirements: *id002
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
name: knut_tools
|
51
|
+
prerelease: false
|
52
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
53
|
+
none: false
|
40
54
|
requirements:
|
41
55
|
- - ">="
|
42
56
|
- !ruby/object:Gem::Version
|
57
|
+
hash: 3
|
58
|
+
segments:
|
59
|
+
- 0
|
43
60
|
version: "0"
|
44
|
-
|
61
|
+
type: :runtime
|
62
|
+
version_requirements: *id003
|
45
63
|
- !ruby/object:Gem::Dependency
|
46
64
|
name: more_unit_test
|
47
|
-
|
48
|
-
|
49
|
-
|
65
|
+
prerelease: false
|
66
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
67
|
+
none: false
|
50
68
|
requirements:
|
51
|
-
- - "
|
69
|
+
- - ">"
|
52
70
|
- !ruby/object:Gem::Version
|
53
|
-
|
54
|
-
|
71
|
+
hash: 27
|
72
|
+
segments:
|
73
|
+
- 0
|
74
|
+
- 0
|
75
|
+
- 2
|
76
|
+
version: 0.0.2
|
77
|
+
type: :development
|
78
|
+
version_requirements: *id004
|
55
79
|
description: |
|
56
|
-
Rake4LaTeX contains rake-tasks to
|
57
|
-
Necessary makeindex or bibliography-calls are done,
|
80
|
+
Rake4LaTeX contains rake-tasks to translate (La)TeX-files
|
81
|
+
as often as needed. Necessary makeindex or bibliography-calls are done,
|
58
82
|
support of splitindex, gloss, rail.
|
83
|
+
Support of LaTeX (and dvips + ps2pdf), pdfLaTeX, XeLaTeX, LuaLaTeX.
|
59
84
|
|
60
85
|
email: knut@lickert.net
|
61
|
-
executables:
|
62
|
-
|
86
|
+
executables:
|
87
|
+
- call_rake4latex.rb
|
63
88
|
extensions: []
|
64
89
|
|
65
90
|
extra_rdoc_files: []
|
@@ -81,10 +106,91 @@ files:
|
|
81
106
|
- lib/rake4latex/rules.rb
|
82
107
|
- lib/rake4latex/tex_statistic.rb
|
83
108
|
- lib/rake4latex/rake4latex.yaml
|
109
|
+
- lib/rake4latex/glossaries.rb
|
84
110
|
- readme.txt
|
85
111
|
- readme.html
|
86
112
|
- bin/readme_call_rake4latex.txt
|
87
113
|
- license.txt
|
114
|
+
- test/_expected/bibtex_test.txt
|
115
|
+
- test/_expected/bibtex_test_bib.txt
|
116
|
+
- test/_expected/bibtex_test_build_rakefile.txt
|
117
|
+
- test/_expected/dtx_test.txt
|
118
|
+
- test/_expected/dtx_test_sty.txt
|
119
|
+
- test/_expected/dvipdfm_test.txt
|
120
|
+
- test/_expected/error_test.txt
|
121
|
+
- test/_expected/error_test_ignore_error.txt
|
122
|
+
- test/_expected/error_test_overview.txt
|
123
|
+
- test/_expected/error_test_statistic.txt
|
124
|
+
- test/_expected/gloss_test.txt
|
125
|
+
- test/_expected/gloss_test_bib.txt
|
126
|
+
- test/_expected/gloss_test_build_rakefile.txt
|
127
|
+
- test/_expected/glossaries_test.txt
|
128
|
+
- test/_expected/includes_test.txt
|
129
|
+
- test/_expected/includes_test_build_rakefile.txt
|
130
|
+
- test/_expected/index_test.txt
|
131
|
+
- test/_expected/longtable_test.txt
|
132
|
+
- test/_expected/minitoc_test.txt
|
133
|
+
- test/_expected/ps2pdf_test.txt
|
134
|
+
- test/_expected/rail_error_test.txt
|
135
|
+
- test/_expected/rail_test.txt
|
136
|
+
- test/_expected/splitindex_test.txt
|
137
|
+
- test/_expected/splitindex_test_build_rakefile.txt
|
138
|
+
- test/_expected/supertabular_test.txt
|
139
|
+
- test/_expected/supertabular_test_statistic.txt
|
140
|
+
- test/_expected/two_tasks_test.txt
|
141
|
+
- test/_expected/two_tasks_test_statistic.txt
|
142
|
+
- test/_expected/varioref_test.txt
|
143
|
+
- test/_expected/varioref_test_ignore_error.txt
|
144
|
+
- test/_expected/z_complex_test.txt
|
145
|
+
- test/_expected/z_complex_test_overview.txt
|
146
|
+
- test/_expected/z_complex_test_overview_file.txt
|
147
|
+
- test/_expected/z_complex_test_statistic.txt
|
148
|
+
- test/_test_call/test_call.rb
|
149
|
+
- test/_test_call/testdocument.tex
|
150
|
+
- test/bibtex/rakefile.rb
|
151
|
+
- test/bibtex/testdocument.bib
|
152
|
+
- test/bibtex/testdocument.tex
|
153
|
+
- test/dtx/rakefile.rb
|
154
|
+
- test/dvipdfm/rakefile.rb
|
155
|
+
- test/dvipdfm/testdocument.tex
|
156
|
+
- test/error/rakefile.rb
|
157
|
+
- test/error/testdocument.tex
|
158
|
+
- test/gloss/rakefile.rb
|
159
|
+
- test/gloss/test_gloss.bib
|
160
|
+
- test/gloss/testdocument.tex
|
161
|
+
- test/glossaries/rakefile.rb
|
162
|
+
- test/glossaries/sample.tex
|
163
|
+
- test/includes/rakefile.rb
|
164
|
+
- test/includes/testdocument.tex
|
165
|
+
- test/includes/testincludes/testinclude1.tex
|
166
|
+
- test/includes/testincludes/testinclude2.tex
|
167
|
+
- test/index/rakefile.rb
|
168
|
+
- test/index/testdocument.tex
|
169
|
+
- test/longtable/rakefile.rb
|
170
|
+
- test/longtable/testdocument.tex
|
171
|
+
- test/minitoc/rakefile.rb
|
172
|
+
- test/minitoc/testdocument.tex
|
173
|
+
- test/ps2pdf/rakefile.rb
|
174
|
+
- test/ps2pdf/testdocument.tex
|
175
|
+
- test/rail/rakefile.rb
|
176
|
+
- test/rail/testrail.tex
|
177
|
+
- test/rail_error/rakefile.rb
|
178
|
+
- test/rail_error/testrail_error.tex
|
179
|
+
- test/splitindex/rakefile.rb
|
180
|
+
- test/splitindex/testdocument.tex
|
181
|
+
- test/supertabular/rakefile.rb
|
182
|
+
- test/supertabular/testdocument.tex
|
183
|
+
- test/testdocument.tex
|
184
|
+
- test/two_tasks/rakefile.rb
|
185
|
+
- test/two_tasks/testdocument_1.tex
|
186
|
+
- test/two_tasks/testdocument_2.tex
|
187
|
+
- test/unittest_rake4latex.rb
|
188
|
+
- test/unittest_rake4latex_testcases.rb
|
189
|
+
- test/varioref/rakefile.rb
|
190
|
+
- test/varioref/testdocument.tex
|
191
|
+
- test/z_complex/rakefile.rb
|
192
|
+
- test/z_complex/testdocument.bib
|
193
|
+
- test/z_complex/testdocument.tex
|
88
194
|
has_rdoc: true
|
89
195
|
homepage: http://gems.rubypla.net/
|
90
196
|
licenses: []
|
@@ -96,21 +202,27 @@ rdoc_options:
|
|
96
202
|
require_paths:
|
97
203
|
- lib
|
98
204
|
required_ruby_version: !ruby/object:Gem::Requirement
|
205
|
+
none: false
|
99
206
|
requirements:
|
100
207
|
- - ">="
|
101
208
|
- !ruby/object:Gem::Version
|
209
|
+
hash: 3
|
210
|
+
segments:
|
211
|
+
- 0
|
102
212
|
version: "0"
|
103
|
-
version:
|
104
213
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
214
|
+
none: false
|
105
215
|
requirements:
|
106
216
|
- - ">="
|
107
217
|
- !ruby/object:Gem::Version
|
218
|
+
hash: 3
|
219
|
+
segments:
|
220
|
+
- 0
|
108
221
|
version: "0"
|
109
|
-
version:
|
110
222
|
requirements:
|
111
223
|
- A (La)TeX-system with bibTeX, makeindex...
|
112
224
|
rubyforge_project: rake4latex
|
113
|
-
rubygems_version: 1.3.
|
225
|
+
rubygems_version: 1.3.7
|
114
226
|
signing_key:
|
115
227
|
specification_version: 3
|
116
228
|
summary: Rake4LaTeX contains rake-tasks to compile TeX-Documents.
|
@@ -128,6 +240,7 @@ test_files:
|
|
128
240
|
- test/_expected/gloss_test.txt
|
129
241
|
- test/_expected/gloss_test_bib.txt
|
130
242
|
- test/_expected/gloss_test_build_rakefile.txt
|
243
|
+
- test/_expected/glossaries_test.txt
|
131
244
|
- test/_expected/includes_test.txt
|
132
245
|
- test/_expected/includes_test_build_rakefile.txt
|
133
246
|
- test/_expected/index_test.txt
|
@@ -140,10 +253,13 @@ test_files:
|
|
140
253
|
- test/_expected/splitindex_test_build_rakefile.txt
|
141
254
|
- test/_expected/supertabular_test.txt
|
142
255
|
- test/_expected/supertabular_test_statistic.txt
|
256
|
+
- test/_expected/two_tasks_test.txt
|
257
|
+
- test/_expected/two_tasks_test_statistic.txt
|
143
258
|
- test/_expected/varioref_test.txt
|
144
259
|
- test/_expected/varioref_test_ignore_error.txt
|
145
260
|
- test/_expected/z_complex_test.txt
|
146
261
|
- test/_expected/z_complex_test_overview.txt
|
262
|
+
- test/_expected/z_complex_test_overview_file.txt
|
147
263
|
- test/_expected/z_complex_test_statistic.txt
|
148
264
|
- test/_test_call/test_call.rb
|
149
265
|
- test/_test_call/testdocument.tex
|
@@ -158,6 +274,8 @@ test_files:
|
|
158
274
|
- test/gloss/rakefile.rb
|
159
275
|
- test/gloss/test_gloss.bib
|
160
276
|
- test/gloss/testdocument.tex
|
277
|
+
- test/glossaries/rakefile.rb
|
278
|
+
- test/glossaries/sample.tex
|
161
279
|
- test/includes/rakefile.rb
|
162
280
|
- test/includes/testdocument.tex
|
163
281
|
- test/includes/testincludes/testinclude1.tex
|
@@ -180,6 +298,9 @@ test_files:
|
|
180
298
|
- test/supertabular/testdocument.tex
|
181
299
|
- test/testdocument.tex
|
182
300
|
- test/testdocument.tex
|
301
|
+
- test/two_tasks/rakefile.rb
|
302
|
+
- test/two_tasks/testdocument_1.tex
|
303
|
+
- test/two_tasks/testdocument_2.tex
|
183
304
|
- test/unittest_rake4latex.rb
|
184
305
|
- test/unittest_rake4latex.rb
|
185
306
|
- test/unittest_rake4latex_testcases.rb
|