rake4latex 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. data/bin/call_rake4latex.rb +7 -1
  2. data/bin/readme_call_rake4latex.txt +1 -0
  3. data/lib/rake4latex.rb +15 -14
  4. data/lib/rake4latex/analyse_texfile.rb +6 -4
  5. data/lib/rake4latex/base.rb +191 -63
  6. data/lib/rake4latex/clean.rb +9 -6
  7. data/lib/rake4latex/glossaries.rb +101 -0
  8. data/lib/rake4latex/latexrunner.rb +16 -27
  9. data/lib/rake4latex/rules.rb +81 -54
  10. data/lib/rake4latex/splitindex.rb +0 -1
  11. data/lib/rake4latex/tex_statistic.rb +18 -6
  12. data/lib/rake4latex_dtx.rb +3 -3
  13. data/lib/rake4latex_dvipdfm.rb +2 -2
  14. data/readme.html +32 -14
  15. data/readme.txt +21 -11
  16. data/test/_expected/bibtex_test.txt +9 -9
  17. data/test/_expected/bibtex_test_bib.txt +4 -4
  18. data/test/_expected/bibtex_test_build_rakefile.txt +3 -0
  19. data/test/_expected/dtx_test.txt +11 -11
  20. data/test/_expected/dvipdfm_test.txt +6 -6
  21. data/test/_expected/error_test.txt +3 -3
  22. data/test/_expected/error_test_ignore_error.txt +4 -4
  23. data/test/_expected/error_test_overview.txt +7 -2
  24. data/test/_expected/error_test_statistic.txt +2 -2
  25. data/test/_expected/gloss_test.txt +15 -15
  26. data/test/_expected/gloss_test_bib.txt +7 -7
  27. data/test/_expected/gloss_test_build_rakefile.txt +3 -0
  28. data/test/_expected/glossaries_test.txt +12 -0
  29. data/test/_expected/includes_test.txt +7 -7
  30. data/test/_expected/includes_test_build_rakefile.txt +3 -0
  31. data/test/_expected/index_test.txt +6 -6
  32. data/test/_expected/longtable_test.txt +5 -5
  33. data/test/_expected/minitoc_test.txt +7 -7
  34. data/test/_expected/ps2pdf_test.txt +7 -7
  35. data/test/_expected/rail_error_test.txt +9 -9
  36. data/test/_expected/rail_test.txt +6 -6
  37. data/test/_expected/splitindex_test.txt +7 -7
  38. data/test/_expected/splitindex_test_build_rakefile.txt +9 -6
  39. data/test/_expected/supertabular_test.txt +5 -5
  40. data/test/_expected/supertabular_test_statistic.txt +1 -1
  41. data/test/_expected/two_tasks_test.txt +15 -0
  42. data/test/_expected/two_tasks_test_statistic.txt +11 -0
  43. data/test/_expected/varioref_test.txt +5 -5
  44. data/test/_expected/varioref_test_ignore_error.txt +7 -7
  45. data/test/_expected/z_complex_test.txt +12 -11
  46. data/test/_expected/z_complex_test_overview.txt +24 -9
  47. data/test/_expected/z_complex_test_overview_file.txt +2 -0
  48. data/test/_expected/z_complex_test_statistic.txt +2 -2
  49. data/test/bibtex/rakefile.rb +4 -2
  50. data/test/dtx/rakefile.rb +3 -3
  51. data/test/dvipdfm/rakefile.rb +4 -2
  52. data/test/error/rakefile.rb +10 -6
  53. data/test/gloss/rakefile.rb +3 -2
  54. data/test/glossaries/rakefile.rb +50 -0
  55. data/test/glossaries/sample.tex +133 -0
  56. data/test/includes/rakefile.rb +7 -6
  57. data/test/index/rakefile.rb +3 -2
  58. data/test/longtable/rakefile.rb +3 -2
  59. data/test/minitoc/rakefile.rb +3 -2
  60. data/test/ps2pdf/rakefile.rb +3 -2
  61. data/test/rail/rakefile.rb +5 -4
  62. data/test/rail_error/rakefile.rb +3 -2
  63. data/test/splitindex/rakefile.rb +7 -5
  64. data/test/supertabular/rakefile.rb +3 -2
  65. data/test/two_tasks/rakefile.rb +50 -0
  66. data/test/two_tasks/testdocument_1.tex +10 -0
  67. data/test/two_tasks/testdocument_2.tex +10 -0
  68. data/test/unittest_rake4latex.rb +27 -4
  69. data/test/unittest_rake4latex_testcases.rb +27 -11
  70. data/test/varioref/rakefile.rb +11 -5
  71. data/test/z_complex/rakefile.rb +8 -6
  72. data/test/z_complex/testdocument.tex +12 -1
  73. metadata +149 -28
@@ -1,8 +1,8 @@
1
1
 
2
- INFO LaTeXRunner testdocument.tex: StartLaTeXRunner for testdocument.tex
3
- INFO LaTeXRunner testdocument.tex: Excute pdflatex -interaction=batchmode testdocument.tex
4
- INFO LaTeXRunner testdocument.tex: Define additional rule <animals.bbl> (gloss.sty)
5
- INFO LaTeXRunner testdocument.tex: Define additional rule <gls.bbl> (gloss.sty)
6
- INFO LaTeXRunner testdocument.tex: Call target testdocument.animals.bbl (test_gloss.bib changed)
7
- INFO LaTeXRunner testdocument.tex: Call target testdocument.gls.bbl (test_gloss.bib changed)
8
- INFO LaTeXRunner testdocument.tex: TeX-run stopped after 1 run
2
+ INFO testdocument: StartLaTeXRunner for testdocument.tex
3
+ INFO testdocument: Excute pdflatex -interaction=batchmode testdocument.tex
4
+ INFO testdocument: Define additional rule <animals.bbl> (gloss.sty)
5
+ INFO testdocument: Define additional rule <gls.bbl> (gloss.sty)
6
+ INFO testdocument: Call target testdocument.animals.bbl (test_gloss.bib changed)
7
+ INFO testdocument: Call target testdocument.gls.bbl (test_gloss.bib changed)
8
+ INFO testdocument: TeX-run stopped after 1 run
@@ -3,6 +3,7 @@
3
3
  Rakefile for LaTeX-project testdocument
4
4
 
5
5
  Generated by Rake4LaTeX.build_rakefile, <<today>>
6
+ Options: [:dvi, :pdf, :gloss]
6
7
 
7
8
  =end
8
9
  require 'rake4latex'
@@ -44,6 +45,8 @@ task :default => 'testdocument.dvi' #build the dvi
44
45
  Closing Tasks
45
46
  =end
46
47
  task :default => :statistic #Get an overview on errors and warnings
48
+ #~ task :default => :log_overview #Show log overview-file
49
+ #~ task :default => :log_overview_file #Build a log overview-file
47
50
  task :default => :clean #delete helpfiles
48
51
 
49
52
  =begin
@@ -0,0 +1,12 @@
1
+
2
+ INFO sample: StartLaTeXRunner for sample.tex
3
+ INFO sample: Excute pdflatex -interaction=batchmode sample.tex
4
+ INFO sample: Rerun necessary (aux-file changed)
5
+ INFO sample: Call target sample.gls (true)
6
+ INFO sample: Prepare glossaries ["main", "acronym"]
7
+ INFO sample: Excute pdflatex -interaction=batchmode sample.tex
8
+ INFO sample: Rerun necessary (aux-file changed)
9
+ INFO sample: Call target sample.gls (true)
10
+ INFO sample: Excute pdflatex -interaction=batchmode sample.tex
11
+ INFO sample: Call target sample.gls (true)
12
+ INFO sample: TeX-run stopped after 3 runs
@@ -1,8 +1,8 @@
1
1
 
2
- INFO LaTeXRunner testdocument.tex: StartLaTeXRunner for testdocument.tex
3
- INFO LaTeXRunner testdocument.tex: Excute pdflatex -interaction=batchmode testdocument.tex
4
- INFO LaTeXRunner testdocument.tex: Rerun necessary (aux-file changed)
5
- INFO LaTeXRunner testdocument.tex: Excute pdflatex -interaction=batchmode testdocument.tex
6
- INFO LaTeXRunner testdocument.tex: Rerun necessary (aux-file changed)
7
- INFO LaTeXRunner testdocument.tex: Excute pdflatex -interaction=batchmode testdocument.tex
8
- INFO LaTeXRunner testdocument.tex: TeX-run stopped after 3 runs
2
+ INFO testdocument: StartLaTeXRunner for testdocument.tex
3
+ INFO testdocument: Excute pdflatex -interaction=batchmode testdocument.tex
4
+ INFO testdocument: Rerun necessary (aux-file changed)
5
+ INFO testdocument: Excute pdflatex -interaction=batchmode testdocument.tex
6
+ INFO testdocument: Rerun necessary (aux-file changed)
7
+ INFO testdocument: Excute pdflatex -interaction=batchmode testdocument.tex
8
+ INFO testdocument: TeX-run stopped after 3 runs
@@ -3,6 +3,7 @@
3
3
  Rakefile for LaTeX-project testdocument
4
4
 
5
5
  Generated by Rake4LaTeX.build_rakefile, <<today>>
6
+ Options: [:dvi, :pdf, :dependecies]
6
7
 
7
8
  =end
8
9
  require 'rake4latex'
@@ -43,6 +44,8 @@ task :default => 'testdocument.dvi' #build the dvi
43
44
  Closing Tasks
44
45
  =end
45
46
  task :default => :statistic #Get an overview on errors and warnings
47
+ #~ task :default => :log_overview #Show log overview-file
48
+ #~ task :default => :log_overview_file #Build a log overview-file
46
49
  task :default => :clean #delete helpfiles
47
50
 
48
51
  =begin
@@ -1,7 +1,7 @@
1
1
 
2
- INFO LaTeXRunner testdocument.tex: StartLaTeXRunner for testdocument.tex
3
- INFO LaTeXRunner testdocument.tex: Excute pdflatex -interaction=batchmode testdocument.tex
4
- INFO LaTeXRunner testdocument.tex: Rerun necessary (aux-file changed)
5
- INFO LaTeXRunner testdocument.tex: Call target testdocument.ind (testdocument.idx changed)
6
- INFO LaTeXRunner testdocument.tex: Excute pdflatex -interaction=batchmode testdocument.tex
7
- INFO LaTeXRunner testdocument.tex: TeX-run stopped after 2 runs
2
+ INFO testdocument: StartLaTeXRunner for testdocument.tex
3
+ INFO testdocument: Excute pdflatex -interaction=batchmode testdocument.tex
4
+ INFO testdocument: Rerun necessary (aux-file changed)
5
+ INFO testdocument: Call target testdocument.ind (testdocument.idx changed)
6
+ INFO testdocument: Excute pdflatex -interaction=batchmode testdocument.tex
7
+ INFO testdocument: TeX-run stopped after 2 runs
@@ -1,6 +1,6 @@
1
1
 
2
- INFO LaTeXRunner testdocument.tex: StartLaTeXRunner for testdocument.tex
3
- INFO LaTeXRunner testdocument.tex: Excute pdflatex -interaction=batchmode testdocument.tex
4
- INFO LaTeXRunner testdocument.tex: Rerun necessary (aux-file changed)
5
- INFO LaTeXRunner testdocument.tex: Excute pdflatex -interaction=batchmode testdocument.tex
6
- INFO LaTeXRunner testdocument.tex: TeX-run stopped after 2 runs
2
+ INFO testdocument: StartLaTeXRunner for testdocument.tex
3
+ INFO testdocument: Excute pdflatex -interaction=batchmode testdocument.tex
4
+ INFO testdocument: Rerun necessary (aux-file changed)
5
+ INFO testdocument: Excute pdflatex -interaction=batchmode testdocument.tex
6
+ INFO testdocument: TeX-run stopped after 2 runs
@@ -1,8 +1,8 @@
1
1
 
2
- INFO LaTeXRunner testdocument.tex: StartLaTeXRunner for testdocument.tex
3
- INFO LaTeXRunner testdocument.tex: Excute pdflatex -interaction=batchmode testdocument.tex
4
- INFO LaTeXRunner testdocument.tex: Rerun necessary (aux-file changed)
5
- INFO LaTeXRunner testdocument.tex: Excute pdflatex -interaction=batchmode testdocument.tex
6
- INFO LaTeXRunner testdocument.tex: Rerun necessary (aux-file changed)
7
- INFO LaTeXRunner testdocument.tex: Excute pdflatex -interaction=batchmode testdocument.tex
8
- INFO LaTeXRunner testdocument.tex: TeX-run stopped after 3 runs
2
+ INFO testdocument: StartLaTeXRunner for testdocument.tex
3
+ INFO testdocument: Excute pdflatex -interaction=batchmode testdocument.tex
4
+ INFO testdocument: Rerun necessary (aux-file changed)
5
+ INFO testdocument: Excute pdflatex -interaction=batchmode testdocument.tex
6
+ INFO testdocument: Rerun necessary (aux-file changed)
7
+ INFO testdocument: Excute pdflatex -interaction=batchmode testdocument.tex
8
+ INFO testdocument: TeX-run stopped after 3 runs
@@ -1,8 +1,8 @@
1
1
 
2
- INFO LaTeXRunner testdocument.tex: StartLaTeXRunner for testdocument.tex
3
- INFO LaTeXRunner testdocument.tex: Excute latex -interaction=batchmode testdocument.tex
4
- INFO LaTeXRunner testdocument.tex: Rerun necessary (aux-file changed)
5
- INFO LaTeXRunner testdocument.tex: Excute latex -interaction=batchmode testdocument.tex
6
- INFO LaTeXRunner testdocument.tex: TeX-run stopped after 2 runs
7
- INFO LaTeXRunner testdocument.tex: Call dvips for <testdocument.dvi>
8
- INFO LaTeXRunner testdocument.tex: Call ps2pdf for <testdocument.ps>
2
+ INFO testdocument: StartLaTeXRunner for testdocument.tex
3
+ INFO testdocument: Excute latex -interaction=batchmode testdocument.tex
4
+ INFO testdocument: Rerun necessary (aux-file changed)
5
+ INFO testdocument: Excute latex -interaction=batchmode testdocument.tex
6
+ INFO testdocument: TeX-run stopped after 2 runs
7
+ INFO testdocument: Call dvips for <testdocument.dvi>
8
+ INFO LaTeXRunner: Call ps2pdf for <testdocument.ps>
@@ -1,10 +1,10 @@
1
1
 
2
- INFO LaTeXRunner testrail_error.tex: StartLaTeXRunner for testrail_error.tex
3
- INFO LaTeXRunner testrail_error.tex: Excute pdflatex -interaction=batchmode testrail_error.tex
4
- INFO LaTeXRunner testrail_error.tex: Rerun necessary (aux-file changed)
5
- INFO LaTeXRunner testrail_error.tex: Call target testrail_error.rao (testrail_error.rai changed)
6
- ERROR LaTeXRunner testrail_error.tex: Rail error: stdin, line 2: syntax error in rule 'block2'
7
- ERROR LaTeXRunner testrail_error.tex: Rail error: stdin, line 3: syntax error in rule 'block3'
8
- WARN LaTeXRunner testrail_error.tex: No rail diagramms generated
9
- INFO LaTeXRunner testrail_error.tex: Excute pdflatex -interaction=batchmode testrail_error.tex
10
- INFO LaTeXRunner testrail_error.tex: TeX-run stopped after 2 runs
2
+ INFO testrail_error: StartLaTeXRunner for testrail_error.tex
3
+ INFO testrail_error: Excute pdflatex -interaction=batchmode testrail_error.tex
4
+ INFO testrail_error: Rerun necessary (aux-file changed)
5
+ INFO testrail_error: Call target testrail_error.rao (testrail_error.rai changed)
6
+ ERROR testrail_error: Rail error: stdin, line 2: syntax error in rule 'block2'
7
+ ERROR testrail_error: Rail error: stdin, line 3: syntax error in rule 'block3'
8
+ WARN testrail_error: No rail diagramms generated
9
+ INFO testrail_error: Excute pdflatex -interaction=batchmode testrail_error.tex
10
+ INFO testrail_error: TeX-run stopped after 2 runs
@@ -1,7 +1,7 @@
1
1
 
2
- INFO LaTeXRunner testrail.tex: StartLaTeXRunner for testrail.tex
3
- INFO LaTeXRunner testrail.tex: Excute pdflatex -interaction=batchmode testrail.tex
4
- INFO LaTeXRunner testrail.tex: Rerun necessary (aux-file changed)
5
- INFO LaTeXRunner testrail.tex: Call target testrail.rao (testrail.rai changed)
6
- INFO LaTeXRunner testrail.tex: Excute pdflatex -interaction=batchmode testrail.tex
7
- INFO LaTeXRunner testrail.tex: TeX-run stopped after 2 runs
2
+ INFO testrail: StartLaTeXRunner for testrail.tex
3
+ INFO testrail: Excute pdflatex -interaction=batchmode testrail.tex
4
+ INFO testrail: Rerun necessary (aux-file changed)
5
+ INFO testrail: Call target testrail.rao (testrail.rai changed)
6
+ INFO testrail: Excute pdflatex -interaction=batchmode testrail.tex
7
+ INFO testrail: TeX-run stopped after 2 runs
@@ -1,8 +1,8 @@
1
1
 
2
- INFO LaTeXRunner testdocument.tex: StartLaTeXRunner for testdocument.tex
3
- INFO LaTeXRunner testdocument.tex: Excute pdflatex -interaction=batchmode testdocument.tex
4
- INFO LaTeXRunner testdocument.tex: Rerun necessary (aux-file changed)
5
- INFO LaTeXRunner testdocument.tex: Call target testdocument.ind (testdocument.idx changed)
6
- INFO LaTeXRunner testdocument.tex: Build splitindex-files for ["veg", "ani", "idx", "fru"]
7
- INFO LaTeXRunner testdocument.tex: Excute pdflatex -interaction=batchmode testdocument.tex
8
- INFO LaTeXRunner testdocument.tex: TeX-run stopped after 2 runs
2
+ INFO testdocument: StartLaTeXRunner for testdocument.tex
3
+ INFO testdocument: Excute pdflatex -interaction=batchmode testdocument.tex
4
+ INFO testdocument: Rerun necessary (aux-file changed)
5
+ INFO testdocument: Call target testdocument.ind (testdocument.idx changed)
6
+ INFO testdocument: Build splitindex-files for ["fru", "idx", "veg", "ani"]
7
+ INFO testdocument: Excute pdflatex -interaction=batchmode testdocument.tex
8
+ INFO testdocument: TeX-run stopped after 2 runs
@@ -3,6 +3,7 @@
3
3
  Rakefile for LaTeX-project testdocument
4
4
 
5
5
  Generated by Rake4LaTeX.build_rakefile, <<today>>
6
+ Options: [:pdf, :splitindex]
6
7
 
7
8
  =end
8
9
  require 'rake4latex'
@@ -18,18 +19,18 @@ file 'testdocument.pdf' => 'testdocument.tex'
18
19
  =begin
19
20
  dependecies for splitindex
20
21
  =end
21
- # Index veg [Index of Vegetables]
22
- file 'testdocument-veg.ind' => 'testdocument-veg.idx'
23
- file 'testdocument.pdf' => 'testdocument-veg.ind'
24
- # Index ani [Index of Animals]
25
- file 'testdocument-ani.ind' => 'testdocument-ani.idx'
26
- file 'testdocument.pdf' => 'testdocument-ani.ind'
27
22
  # Index idx [GeneralIndex]
28
23
  file 'testdocument-idx.ind' => 'testdocument-idx.idx'
29
24
  file 'testdocument.pdf' => 'testdocument-idx.ind'
25
+ # Index ani [Index of Animals]
26
+ file 'testdocument-ani.ind' => 'testdocument-ani.idx'
27
+ file 'testdocument.pdf' => 'testdocument-ani.ind'
30
28
  # Index fru [Index of Fruits]
31
29
  file 'testdocument-fru.ind' => 'testdocument-fru.idx'
32
30
  file 'testdocument.pdf' => 'testdocument-fru.ind'
31
+ # Index veg [Index of Vegetables]
32
+ file 'testdocument-veg.ind' => 'testdocument-veg.idx'
33
+ file 'testdocument.pdf' => 'testdocument-veg.ind'
33
34
 
34
35
  #Force the compilation
35
36
  task :touch => 'testdocument.tex'
@@ -44,6 +45,8 @@ task :default => 'testdocument.pdf' #build the pdf
44
45
  Closing Tasks
45
46
  =end
46
47
  task :default => :statistic #Get an overview on errors and warnings
48
+ #~ task :default => :log_overview #Show log overview-file
49
+ #~ task :default => :log_overview_file #Build a log overview-file
47
50
  task :default => :clean #delete helpfiles
48
51
 
49
52
  =begin
@@ -1,6 +1,6 @@
1
1
 
2
- INFO LaTeXRunner testdocument.tex: StartLaTeXRunner for testdocument.tex
3
- INFO LaTeXRunner testdocument.tex: Excute pdflatex -interaction=batchmode testdocument.tex
4
- INFO LaTeXRunner testdocument.tex: Rerun necessary (aux-file changed)
5
- INFO LaTeXRunner testdocument.tex: Excute pdflatex -interaction=batchmode testdocument.tex
6
- INFO LaTeXRunner testdocument.tex: TeX-run stopped after 2 runs
2
+ INFO testdocument: StartLaTeXRunner for testdocument.tex
3
+ INFO testdocument: Excute pdflatex -interaction=batchmode testdocument.tex
4
+ INFO testdocument: Rerun necessary (aux-file changed)
5
+ INFO testdocument: Excute pdflatex -interaction=batchmode testdocument.tex
6
+ INFO testdocument: TeX-run stopped after 2 runs
@@ -1,3 +1,3 @@
1
1
 
2
- Statistic for testdocument.tex:
2
+ Statistic for testdocument:
3
3
  Document : 7 pages, 18 underfull boxes (testdocument.log)
@@ -0,0 +1,15 @@
1
+
2
+ INFO testdocument_1: StartLaTeXRunner for testdocument_1.tex
3
+ INFO testdocument_1: Excute pdflatex -interaction=batchmode testdocument_1.tex
4
+ INFO testdocument_1: Rerun necessary (aux-file changed)
5
+ INFO testdocument_1: Excute pdflatex -interaction=batchmode testdocument_1.tex
6
+ INFO testdocument_1: TeX-run stopped after 2 runs
7
+ Statistic for testdocument_1:
8
+ Document : 1 page (testdocument_1.log)
9
+ INFO testdocument_2: StartLaTeXRunner for testdocument_2.tex
10
+ INFO testdocument_2: Excute pdflatex -interaction=batchmode testdocument_2.tex
11
+ INFO testdocument_2: Rerun necessary (aux-file changed)
12
+ INFO testdocument_2: Excute pdflatex -interaction=batchmode testdocument_2.tex
13
+ INFO testdocument_2: TeX-run stopped after 2 runs
14
+ Statistic for testdocument_2:
15
+ Document : 1 page (testdocument_2.log)
@@ -0,0 +1,11 @@
1
+
2
+ INFO testdocument_1: StartLaTeXRunner for testdocument_1.tex
3
+ INFO testdocument_1: Excute pdflatex -interaction=batchmode testdocument_1.tex
4
+ INFO testdocument_1: TeX-run stopped after 1 run
5
+ INFO testdocument_2: StartLaTeXRunner for testdocument_2.tex
6
+ INFO testdocument_2: Excute pdflatex -interaction=batchmode testdocument_2.tex
7
+ INFO testdocument_2: TeX-run stopped after 1 run
8
+ Statistic for testdocument_1:
9
+ Document : 1 page (testdocument_1.log)
10
+ Statistic for testdocument_2:
11
+ Document : 1 page (testdocument_2.log)
@@ -1,6 +1,6 @@
1
1
 
2
- INFO LaTeXRunner testdocument.tex: StartLaTeXRunner for testdocument.tex
3
- INFO LaTeXRunner testdocument.tex: Excute pdflatex -interaction=batchmode testdocument.tex
4
- INFO LaTeXRunner testdocument.tex: Rerun necessary (aux-file changed)
5
- INFO LaTeXRunner testdocument.tex: Excute pdflatex -interaction=batchmode testdocument.tex
6
- FATAL LaTeXRunner testdocument.tex: There where pdflatex errors. See testdocument.log for details
2
+ INFO testdocument: StartLaTeXRunner for testdocument.tex
3
+ INFO testdocument: Excute pdflatex -interaction=batchmode testdocument.tex
4
+ INFO testdocument: Rerun necessary (aux-file changed)
5
+ INFO testdocument: Excute pdflatex -interaction=batchmode testdocument.tex
6
+ FATAL testdocument: There where pdflatex errors. See testdocument.log for details
@@ -1,11 +1,11 @@
1
1
 
2
2
  INFO LaTeXRunner: Clean: delete helpfiles ["testdocument.aux", "testdocument.log", "testdocument.out"]
3
3
  INFO LaTeXRunner: Clobber: delete helpfiles ["testdocument.aux", "testdocument.log", "testdocument.out", "testdocument.pdf"]
4
- INFO LaTeXRunner testdocument.tex: StartLaTeXRunner for testdocument.tex
5
- INFO LaTeXRunner testdocument.tex: Excute pdflatex -interaction=batchmode testdocument.tex
6
- INFO LaTeXRunner testdocument.tex: Rerun necessary (aux-file changed)
7
- INFO LaTeXRunner testdocument.tex: Excute pdflatex -interaction=batchmode testdocument.tex
8
- FATAL LaTeXRunner testdocument.tex: There where pdflatex errors. See testdocument.log for details
9
- INFO LaTeXRunner testdocument.tex: TeX-run stopped after 2 runs
10
- Statistic for testdocument.tex:
4
+ INFO testdocument: StartLaTeXRunner for testdocument.tex
5
+ INFO testdocument: Excute pdflatex -interaction=batchmode testdocument.tex
6
+ INFO testdocument: Rerun necessary (aux-file changed)
7
+ INFO testdocument: Excute pdflatex -interaction=batchmode testdocument.tex
8
+ FATAL testdocument: There where pdflatex errors. See testdocument.log for details
9
+ INFO testdocument: TeX-run stopped after 2 runs
10
+ Statistic for testdocument:
11
11
  Document : 2 pages, 1 error, 1 warning (testdocument.log)
@@ -1,12 +1,13 @@
1
1
 
2
- INFO LaTeXRunner testdocument.tex: StartLaTeXRunner for testdocument.tex
3
- INFO LaTeXRunner testdocument.tex: Excute pdflatex -interaction=batchmode testdocument.tex
4
- INFO LaTeXRunner testdocument.tex: Rerun necessary (aux-file changed)
5
- INFO LaTeXRunner testdocument.tex: Call target testdocument.ind (testdocument.idx changed)
6
- INFO LaTeXRunner testdocument.tex: Build splitindex-files for ["xxx", "veg", "ani", "idx", "fru"]
7
- INFO LaTeXRunner testdocument.tex: Call target testdocument.bbl (testdocument.aux changed)
8
- INFO LaTeXRunner testdocument.tex: Excute pdflatex -interaction=batchmode testdocument.tex
9
- INFO LaTeXRunner testdocument.tex: Rerun necessary (aux-file changed)
10
- INFO LaTeXRunner testdocument.tex: Call target testdocument.bbl (testdocument.aux changed)
11
- INFO LaTeXRunner testdocument.tex: Excute pdflatex -interaction=batchmode testdocument.tex
12
- INFO LaTeXRunner testdocument.tex: TeX-run stopped after 3 runs
2
+ INFO testdocument: StartLaTeXRunner for testdocument.tex
3
+ INFO testdocument: Excute pdflatex -interaction=batchmode testdocument.tex
4
+ INFO testdocument: Rerun necessary (aux-file changed)
5
+ INFO testdocument: Call target testdocument.ind (testdocument.idx changed)
6
+ INFO testdocument: Build splitindex-files for ["fru", "idx", "veg", "ani", "xxx"]
7
+ INFO testdocument: Call target testdocument.bbl (testdocument.aux changed)
8
+ INFO testdocument: Excute pdflatex -interaction=batchmode testdocument.tex
9
+ INFO testdocument: Rerun necessary (aux-file changed)
10
+ INFO testdocument: Call target testdocument.ind (testdocument.idx changed)
11
+ INFO testdocument: Call target testdocument.bbl (testdocument.aux changed)
12
+ INFO testdocument: Excute pdflatex -interaction=batchmode testdocument.tex
13
+ INFO testdocument: TeX-run stopped after 3 runs
@@ -1,5 +1,6 @@
1
+
1
2
  Log-overview for testdocument.tex
2
- Document : 9 pages, 3 warnings (testdocument.log)
3
+ Document : 9 pages, 4 warnings (testdocument.log)
3
4
  Bibliography: Used testdocument.bib, 3 warnings (testdocument.blg)
4
5
  Index : 1 entry (testdocument-ani.ilg)
5
6
  Index : 1 entry (testdocument-fru.ilg)
@@ -41,11 +42,18 @@ testdocument.blg:
41
42
  - empty journal in dtk00.4:lickert:blindtext
42
43
  testdocument.log:
43
44
  :latex_warnings:
44
- - No \author given. [log#264]
45
- - Citation `irgendwas' on page 4 undefined on input line 46. [log#301]
46
- - There were undefined references. [log#319]
45
+ - No \author given. [log#371]
46
+ - Citation `irgendwas' on page 5 undefined on input line 57. [log#418]
47
+ - There were undefined references. [log#447]
47
48
  :output:
48
- - Output written on testdocument.pdf (9 pages, 91808 bytes). [log#336]
49
+ - Output written on testdocument.pdf (9 pages) [log#465]
50
+ :package_warnings:
51
+ minitoc(hints):
52
+ - W0030 [log#347]
53
+ - W0023 [log#352]
54
+ - W0039 [log#357]
55
+ - W0023 [log#362]
56
+ - W0024 [log#441]
49
57
 
50
58
  ========
51
59
  Detailed analyse of testdocument.log
@@ -55,8 +63,15 @@ testdocument.log:
55
63
  ###########
56
64
  ---
57
65
  :latex_warnings:
58
- - "No \\author given. (./testdocument.tex) [log#62] - "
59
- - "Citation `irgendwas' on page 4 undefined on input line 46. (./testdocument.tex) [log#86] - "
60
- - "There were undefined references. (./testdocument.tex) [log#96] - "
66
+ - "No \\author given. (./testdocument.tex) [log#114] - "
67
+ - "Citation `irgendwas' on page 5 undefined on input line 57. (./testdocument.tex) [log#145] - "
68
+ - "There were undefined references. (./testdocument.tex) [log#166] - "
61
69
  :output:
62
- - "Output written on testdocument.pdf (9 pages, 91808 bytes). [page0] [log#21] - "
70
+ - "Output written on testdocument.pdf (9 pages) [page0] [log#22] - "
71
+ :package_warnings:
72
+ minitoc(hints):
73
+ - "W0030 (./testdocument.tex) [log#90] - "
74
+ - "W0023 (./testdocument.tex) [log#95] - "
75
+ - "W0039 (./testdocument.tex) [log#100] - "
76
+ - "W0023 (./testdocument.tex) [log#105] - "
77
+ - "W0024 (./testdocument.tex) [log#160] - "
@@ -0,0 +1,2 @@
1
+
2
+ Create testdocument.overview.txt
@@ -1,6 +1,6 @@
1
1
 
2
- Statistic for testdocument.tex:
3
- Document : 9 pages, 3 warnings (testdocument.log)
2
+ Statistic for testdocument:
3
+ Document : 9 pages, 4 warnings (testdocument.log)
4
4
  Bibliography: Used testdocument.bib, 3 warnings (testdocument.blg)
5
5
  Index : 1 entry (testdocument-ani.ilg)
6
6
  Index : 1 entry (testdocument-fru.ilg)
@@ -7,7 +7,9 @@
7
7
  # 3 - tex verwendet daten
8
8
  #
9
9
  #
10
- Dir.chdir('../../lib'){ require 'rake4latex'}
10
+
11
+ $:.unshift('../../lib')
12
+ require 'rake4latex'
11
13
 
12
14
  deps = [
13
15
  'testdocument.tex',
@@ -25,7 +27,7 @@ file 'testdocument.pdf' => deps
25
27
 
26
28
  #~ file 'testdocument.dvi' => LaTeXRunner.find_included_files( 'testdocument.tex' ).flatten.uniq
27
29
 
28
- task :basefile => 'testdocument.tex'
30
+ Rake4LaTeX::Basefile.set("testdocument.tex")
29
31
  task :touch => 'testdocument.tex' ##Zeitstempel anpassen/Kompilation erzwingen
30
32
 
31
33
  task :default => :touch
data/test/dtx/rakefile.rb CHANGED
@@ -3,7 +3,7 @@ Test dtx statt tex als Source.
3
3
  =end
4
4
  Dir.chdir('../../lib'){ require 'rake4latex_dtx'}
5
5
 
6
- task :basefile => 'blindtext.dtx'
6
+ Rake4LaTeX::Basefile.set("blindtext.dtx")
7
7
  task :touch => 'blindtext.dtx'
8
8
  CLOBBER.include('blindtext.sty')
9
9
 
@@ -24,8 +24,8 @@ if $0 == __FILE__
24
24
  #~ Rake4LaTeX.set_latexrunner_default(:loglevel, Log4r::DEBUG)
25
25
  app = Rake.application
26
26
  #~ app[:default].invoke
27
- #~ app[:test].invoke
27
+ app[:test].invoke
28
28
  #~ app[:test_sty].invoke
29
- app[:clobber].invoke
29
+ #~ app[:clobber].invoke
30
30
  end
31
31
  __END__