rake4latex 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -8,7 +8,6 @@ class Splitindex
8
8
  @basename = idx_basename
9
9
  @logger = logger
10
10
 
11
-
12
11
  if ! File.exist?( @basename )
13
12
  @logger.error("Error: No idx-file for splitindex (#{@basename})")
14
13
  @indices = ['idx']
@@ -105,7 +105,7 @@ class TeX_Statistic
105
105
  @texmessages = log_analyse_content( File.read(@texfile.ext('log')),nil,nil)
106
106
  @stat[@texfile.ext('log')] = texmessages2hash(:messages => @texmessages) #option , :page_info ??
107
107
  else
108
- @stat[@texfile.ext('log')] ||= [ "No log-file #{@texfile.ext('log')} found" ]
108
+ @stat[@texfile.ext('log')] ||= { :errors => "No log-file #{@texfile.ext('log')} found" }
109
109
  end #File.exist?(@texfile.ext('log'))
110
110
 
111
111
  #Analyse BibTeX-log
@@ -115,6 +115,8 @@ class TeX_Statistic
115
115
 
116
116
  #Analyse index-logs (multiple possible with splitindex)
117
117
  #Example for dirpattern: testdokument{-*,}.ilg
118
+ #
119
+ #Missing: Logs from glossaries.sty
118
120
  Dir["#{@texfile.ext}{-*,}".ext('ilg')].each{|ilg_filename|
119
121
  @stat[ilg_filename] = ilg_analyse(ilg_filename)
120
122
  }
@@ -144,6 +146,13 @@ Errors:
144
146
  Somewhere is an offset 4 loglines
145
147
  =end
146
148
  def log_analyse_by_file(logfilename)
149
+
150
+ if ! File.exist?(logfilename)
151
+ return [
152
+ TeXMessage.new(:latex_errors, nil, nil, "No log-file #{logfilename} found", {}, 0, logfilename)
153
+ ]
154
+ end
155
+
147
156
  log = File.read(logfilename)
148
157
  stat = {}
149
158
  texmessages = []
@@ -233,7 +242,7 @@ file, startpage and logstart are only needed for the splitted analyse to get the
233
242
  messages =[]
234
243
  linecorrection = logstart + 1
235
244
  get_next_lines = nil
236
- log.each_with_index{|logline, loc_lineno|
245
+ log.split("\n").each_with_index{|logline, loc_lineno|
237
246
  logline.strip!
238
247
  #Check if the message is continued on next line
239
248
  case get_next_lines
@@ -276,9 +285,10 @@ file, startpage and logstart are only needed for the splitted analyse to get the
276
285
  messages << TeXMessage.new(:warnings, lineno, logline, {}, page, file)
277
286
  when /Package (.*) Info: (.*)/ #A lot of messages
278
287
  messages << TeXMessage.new(:package_info, lineno, $2, {:package => $1 }, page, file)
279
- when /Output written on (.*) \((\d*) pages, (\d*) bytes\)/
288
+ when /Output written on (.*) \((\d*) pages?, (\d*) bytes\)/
280
289
  raise "Double output in #{logfilename}" if stat[:output]
281
- messages << TeXMessage.new(:output, lineno, logline, {
290
+ messages << TeXMessage.new(:output, lineno,
291
+ "Output written on #{$1} (#{$2} pages)", {
282
292
  :name => $1, :pages => $2, :bytes => $3, :kbytes => ($3.to_i / 1024 )},
283
293
  page, file)
284
294
  when /Overfull \\hbox \((.*) too wide\) in paragraph at lines (.*)/
@@ -430,7 +440,8 @@ Example:
430
440
  stat[:reject] = $1.to_i unless $1 == '0'
431
441
  when /Database file (.+) used/
432
442
  ( stat[:source] ||= [] ) << $1
433
- when /Output written on .* \((\d*) pages, (\d*) bytes\)/
443
+ #~ when /Output written on .* \((\d*) pages, (\d*) bytes\)/
444
+ when /Output written on .* \((\d*) page/
434
445
  stat[:pages] = $1.to_i
435
446
  when /Input file:/
436
447
  else
@@ -472,7 +483,8 @@ Example:
472
483
  when 1; summary << "#{stat[:reject]} rejected entry"
473
484
  else; summary << "#{stat[:reject]} rejected entries"
474
485
  end
475
-
486
+
487
+ #fixme: stat[:package_warnings] counts packages with warnings, not number of warnings
476
488
  warnings = (stat[:warnings] ? stat[:warnings] : 0 ) +
477
489
  (stat[:latex_warnings] ? stat[:latex_warnings] : 0 ) +
478
490
  (stat[:package_warnings] ? stat[:package_warnings] : 0 )
@@ -73,11 +73,11 @@ Same action is defined twice, because of two "source files".
73
73
  desc "Build the Style-File from ins-file"
74
74
  rule '.sty' => '.ins' do |t|
75
75
  puts "Build #{t.name}"
76
- `latex blindtext.ins`
76
+ `latex #{t.name.ext('.ins')}`
77
77
  end
78
- desc "Build the Style-File from ins-file"
78
+ desc "Build the Style-File from dtx-file"
79
79
  rule '.sty' => '.dtx' do |t|
80
80
  puts "Build #{t.name}"
81
- `latex blindtext.ins`
81
+ `latex #{t.name.ext('.ins')}`
82
82
  end
83
83
 
@@ -23,7 +23,7 @@ require 'rake4latex/base'
23
23
 
24
24
  desc "Build a pdf-file via dvipdfm."
25
25
  rule '.pdf' => '.dvi' do |t|
26
- Rake4LaTeX::Logger.info("Call dvipdfm for <#{t.source}>")
26
+ Rake4LaTeX::Basefile.set(t.source).logger.info("Call dvipdfm for <#{t.source}>")
27
27
  cmd = Rake4LaTeX.build_cmd( 'dvipdfm', :filename => t.source )
28
28
 
29
29
  stdout, stderr = catch_screen_output{
@@ -35,6 +35,6 @@ rule '.pdf' => '.dvi' do |t|
35
35
  puts stderr
36
36
  }
37
37
  if $? != 0
38
- Rake4LaTeX::Logger.fatal("There where dvipdfm errors. \n#{stdout}")
38
+ Rake4LaTeX::Basefile.set(t.source).logger.fatal("There where dvipdfm errors. \n#{stdout}")
39
39
  end
40
40
  end
data/readme.html CHANGED
@@ -1,17 +1,19 @@
1
1
  <!--
2
2
 
3
- Build by C:/Program Files/ruby/lib/ruby/gems/1.8/gems/docgenerator-1.2.0/./lib/docgenerator/document.rb
3
+ Build by c:/program files/ruby19/lib/ruby/gems/1.9.1/gems/docgenerator-1.2.0/lib/docgenerator/document.rb
4
4
  Dir: C:/usr/Script/rake4latex
5
5
  Creator: rakefile_rake4latex.rb
6
6
  Target: readme.html
7
- 2010/01/22 14:43:51
7
+ 2010/09/14 17:46:52
8
8
 
9
9
  Generation-Info-End
10
10
  -->
11
11
  <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
12
12
  <html>
13
- <head ></head>
14
- <body ><h1 >rake4latex: TeX-Build-Tool 0.1.1</h1>
13
+ <head >
14
+ <title>Rake4LaTeX V0.1.2</title>
15
+ </head>
16
+ <body ><h1 >rake4latex: TeX-Build-Tool</h1>
15
17
  <h2 >Introduction</h2>
16
18
  <p >
17
19
  This file contains definitions to build a rakefile for LaTeX-documents.
@@ -66,7 +68,7 @@ Example:
66
68
  call_rake4latex.rb -e my_file
67
69
  </pre>
68
70
  <p >
69
- Windows users can pick up a stand alone executable of call_rake4latex at CTAN: <a href = "http://ctan.org/tex-archive/support/rake4latex" >http://ctan.org/tex-archive/support/rake4latex</a>
71
+ Windows users can pick up a stand alone executable of call_rake4latex at CTAN: <a href = "http://ctan.org/tex-archive/support/rake4latex" >http://ctan.org/tex-archive/support/rake4latex</a>
70
72
  </p>
71
73
  <h3 >rake4latex as lib in your application</h3>
72
74
  <p >
@@ -189,9 +191,14 @@ The rake process to generate the document is independent of any package. But so
189
191
  For the following packages exist special solutions:
190
192
  </p>
191
193
  <ul >
192
- <li > splitindex (splitindex is replaced by internal routines) <a href = "http://www.ctan.org/tex-archive/macros/latex/contrib/splitindex/" >http://www.ctan.org/tex-archive/macros/latex/contrib/splitindex/</a> </li>
193
- <li > gloss (glossary based on bibTeX) <a href = "http://www.ctan.org/tex-archive/macros/latex/contrib/gloss/" >http://www.ctan.org/tex-archive/macros/latex/contrib/gloss/</a> </li>
194
- <li > rail (creating rail-diagramms) <a href = "http://www.ctan.org/tex-archive/support/rail/" >http://www.ctan.org/tex-archive/support/rail/</a> </li>
194
+ <li > splitindex (splitindex is replaced by internal routines) <a href = "http://www.ctan.org/tex-archive/macros/latex/contrib/splitindex/" >http://www.ctan.org/tex-archive/macros/latex/contrib/splitindex/</a> </li>
195
+ <li > gloss (glossary based on bibTeX) <a href = "http://www.ctan.org/tex-archive/macros/latex/contrib/gloss/" >http://www.ctan.org/tex-archive/macros/latex/contrib/gloss/</a> </li>
196
+ <li > rail (creating rail-diagramms) <a href = "http://www.ctan.org/tex-archive/support/rail/" >http://www.ctan.org/tex-archive/support/rail/</a> </li>
197
+ <li > glossaries (glossary based on makeindex) <ul >
198
+ <li >use gloss.sty instead or </li>
199
+ <li >load rake4latex/glossaries.rb </li>
200
+ </ul>
201
+ </li>
195
202
  </ul>
196
203
  <h2 >Special Tasks</h2>
197
204
  <h3 >basefile</h3>
@@ -369,8 +376,6 @@ tex-files? </li>
369
376
  There are additional packages requiring additonal runs.
370
377
  </p>
371
378
  <ul >
372
- <li > glossaries (glossary based on makeindex) - see test cases or use
373
- gloss.sty. </li>
374
379
  <li > multiind/index (multiple index) - support not planned. Please use splitindex or inform me about your need. </li>
375
380
  </ul>
376
381
  <h2 >Version History</h2>
@@ -378,28 +383,41 @@ gloss.sty. </li>
378
383
  0.0.1 2010-01-03
379
384
  </p>
380
385
  <ul >
381
- <li > First release published at gemcutter <a href = "http://gemcutter.org/gems/rake4latex" >http://gemcutter.org/gems/rake4latex</a> </li>
386
+ <li > First release published at gemcutter <a href = "http://gemcutter.org/gems/rake4latex" >http://gemcutter.org/gems/rake4latex</a> </li>
382
387
  </ul>
383
388
  <p >
384
389
  0.1.0 2010-01-07
385
390
  </p>
386
391
  <ul >
387
- <li > rubyforge project rake4latex: <a href = "http://rubyforge.org/projects/rake4latex/" >http://rubyforge.org/projects/rake4latex/</a> </li>
392
+ <li > rubyforge project rake4latex: <a href = "http://rubyforge.org/projects/rake4latex/" >http://rubyforge.org/projects/rake4latex/</a> </li>
388
393
  <li > Add support dvips + ps2pdf (and dvipdfm, xelatex, lualatex) </li>
389
394
  <li > Configurable programm settings (rake4latex.yaml) </li>
390
395
  <li > Define a caller call_rake4latex </li>
391
396
  <li > Support of gloss.sty </li>
392
397
  </ul>
393
398
  <p >
394
- 0.1.1
399
+ 0.1.1 2010-01-21
395
400
  </p>
396
401
  <ul >
397
402
  <li > Replace LaTeXDependecies with TeXfile, better analyse for dependecies. </li>
398
403
  <li > Replace Rake4LaTeX.template with Rake4LaTeX.build_rakefile </li>
399
404
  <li > Use kpsewhich for bib-files. </li>
400
405
  <li > Add dtx-support (rake4latex_dtx.rb) </li>
401
- <li > Better log analyse </li>
406
+ <li > Better log analyse and statistic </li>
402
407
  <li > Add tasks log_archive, :log_overview </li>
403
408
  </ul>
409
+ <p >
410
+ 0.1.2
411
+ </p>
412
+ <ul >
413
+ <li > Minor changes in testcases </li>
414
+ <li > rename task :log_overview to :log_overview_file </li>
415
+ <li > task :log_overview shows log overview. </li>
416
+ <li > add rake4latex/glossaries.rb for glossaries.sty </li>
417
+ <li > use 'more_unit_test/rake/testtask.rb' for tests </li>
418
+ <li > Added Rake4LaTeX::Basefile.set (replaces task :basefile) </li>
419
+ <li > Replaced Rake4LaTeX.set_latexrunner_default with Rake4LaTeX::Basefile#[]= </li>
420
+ <li > Minor corrections for Ruby 1.9 </li>
421
+ </ul>
404
422
  </body>
405
423
  </html>
data/readme.txt CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
 
3
- rake4latex: TeX-Build-Tool 0.1.1
3
+ rake4latex: TeX-Build-Tool
4
4
  ------------------------------
5
5
 
6
6
  Introduction
@@ -47,7 +47,7 @@ Example:
47
47
  call_rake4latex.rb my_file
48
48
  call_rake4latex.rb -e my_file
49
49
 
50
- Windows users can pick up a stand alone executable of call_rake4latex at CTAN: http://ctan.org/tex-archive/support/rake4latex (http://ctan.org/tex-archive/support/rake4latex)
50
+ Windows users can pick up a stand alone executable of call_rake4latex at CTAN: http://ctan.org/tex-archive/support/rake4latex (http://ctan.org/tex-archive/support/rake4latex)
51
51
 
52
52
  rake4latex as lib in your application
53
53
  ------------------------------
@@ -148,9 +148,11 @@ Supported (checked) packages
148
148
  The rake process to generate the document is independent of any package. But some packages requires additional actions.
149
149
 
150
150
  For the following packages exist special solutions:
151
- - splitindex (splitindex is replaced by internal routines) http://www.ctan.org/tex-archive/macros/latex/contrib/splitindex/ (http://www.ctan.org/tex-archive/macros/latex/contrib/splitindex/)
152
- - gloss (glossary based on bibTeX) http://www.ctan.org/tex-archive/macros/latex/contrib/gloss/ (http://www.ctan.org/tex-archive/macros/latex/contrib/gloss/)
153
- - rail (creating rail-diagramms) http://www.ctan.org/tex-archive/support/rail/ (http://www.ctan.org/tex-archive/support/rail/)
151
+ - splitindex (splitindex is replaced by internal routines) http://www.ctan.org/tex-archive/macros/latex/contrib/splitindex/ (http://www.ctan.org/tex-archive/macros/latex/contrib/splitindex/)
152
+ - gloss (glossary based on bibTeX) http://www.ctan.org/tex-archive/macros/latex/contrib/gloss/ (http://www.ctan.org/tex-archive/macros/latex/contrib/gloss/)
153
+ - rail (creating rail-diagramms) http://www.ctan.org/tex-archive/support/rail/ (http://www.ctan.org/tex-archive/support/rail/)
154
+ - glossaries (glossary based on makeindex) - use gloss.sty instead or
155
+ - load rake4latex/glossaries.rb
154
156
 
155
157
  Special Tasks
156
158
  ------------------------------
@@ -297,28 +299,36 @@ Packages with problems
297
299
  ------------------------------
298
300
 
299
301
  There are additional packages requiring additonal runs.
300
- - glossaries (glossary based on makeindex) - see test cases or use
301
- gloss.sty.
302
302
  - multiind/index (multiple index) - support not planned. Please use splitindex or inform me about your need.
303
303
 
304
304
  Version History
305
305
  ------------------------------
306
306
 
307
307
  0.0.1 2010-01-03
308
- - First release published at gemcutter http://gemcutter.org/gems/rake4latex (http://gemcutter.org/gems/rake4latex)
308
+ - First release published at gemcutter http://gemcutter.org/gems/rake4latex (http://gemcutter.org/gems/rake4latex)
309
309
 
310
310
  0.1.0 2010-01-07
311
- - rubyforge project rake4latex: http://rubyforge.org/projects/rake4latex/ (http://rubyforge.org/projects/rake4latex/)
311
+ - rubyforge project rake4latex: http://rubyforge.org/projects/rake4latex/ (http://rubyforge.org/projects/rake4latex/)
312
312
  - Add support dvips + ps2pdf (and dvipdfm, xelatex, lualatex)
313
313
  - Configurable programm settings (rake4latex.yaml)
314
314
  - Define a caller call_rake4latex
315
315
  - Support of gloss.sty
316
316
 
317
- 0.1.1
317
+ 0.1.1 2010-01-21
318
318
  - Replace LaTeXDependecies with TeXfile, better analyse for dependecies.
319
319
  - Replace Rake4LaTeX.template with Rake4LaTeX.build_rakefile
320
320
  - Use kpsewhich for bib-files.
321
321
  - Add dtx-support (rake4latex_dtx.rb)
322
- - Better log analyse
322
+ - Better log analyse and statistic
323
323
  - Add tasks log_archive, :log_overview
324
324
 
325
+ 0.1.2
326
+ - Minor changes in testcases
327
+ - rename task :log_overview to :log_overview_file
328
+ - task :log_overview shows log overview.
329
+ - add rake4latex/glossaries.rb for glossaries.sty
330
+ - use 'more_unit_test/rake/testtask.rb' for tests
331
+ - Added Rake4LaTeX::Basefile.set (replaces task :basefile)
332
+ - Replaced Rake4LaTeX.set_latexrunner_default with Rake4LaTeX::Basefile#[]=
333
+ - Minor corrections for Ruby 1.9
334
+
@@ -1,10 +1,10 @@
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.bbl (testdocument.aux changed)
6
- INFO LaTeXRunner testdocument.tex: Excute pdflatex -interaction=batchmode testdocument.tex
7
- INFO LaTeXRunner testdocument.tex: Rerun necessary (aux-file changed)
8
- INFO LaTeXRunner testdocument.tex: Call target testdocument.bbl (testdocument.aux changed)
9
- INFO LaTeXRunner testdocument.tex: Excute pdflatex -interaction=batchmode testdocument.tex
10
- 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.bbl (testdocument.aux changed)
6
+ INFO testdocument: Excute pdflatex -interaction=batchmode testdocument.tex
7
+ INFO testdocument: Rerun necessary (aux-file changed)
8
+ INFO testdocument: Call target testdocument.bbl (testdocument.aux changed)
9
+ INFO testdocument: Excute pdflatex -interaction=batchmode testdocument.tex
10
+ INFO testdocument: TeX-run stopped after 3 runs
@@ -1,5 +1,5 @@
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: Call target testdocument.bbl (testdocument.bib changed)
5
- 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: Call target testdocument.bbl (testdocument.bib changed)
5
+ 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, :bib]
6
7
 
7
8
  =end
8
9
  require 'rake4latex'
@@ -37,6 +38,8 @@ task :default => 'testdocument.dvi' #build the dvi
37
38
  Closing Tasks
38
39
  =end
39
40
  task :default => :statistic #Get an overview on errors and warnings
41
+ #~ task :default => :log_overview #Show log overview-file
42
+ #~ task :default => :log_overview_file #Build a log overview-file
40
43
  task :default => :clean #delete helpfiles
41
44
 
42
45
  =begin
@@ -1,12 +1,12 @@
1
1
 
2
- INFO LaTeXRunner blindtext.dtx: StartLaTeXRunner for blindtext.dtx
3
- INFO LaTeXRunner blindtext.dtx: Excute pdflatex -interaction=batchmode blindtext.dtx
4
- INFO LaTeXRunner blindtext.dtx: Rerun necessary (aux-file changed)
5
- INFO LaTeXRunner blindtext.dtx: Call target blindtext.ind (blindtext.idx changed)
6
- INFO LaTeXRunner blindtext.dtx: Call target blindtext.gls (blindtext.glo changed)
7
- INFO LaTeXRunner blindtext.dtx: Excute pdflatex -interaction=batchmode blindtext.dtx
8
- INFO LaTeXRunner blindtext.dtx: Rerun necessary (aux-file changed)
9
- INFO LaTeXRunner blindtext.dtx: Call target blindtext.ind (blindtext.idx changed)
10
- INFO LaTeXRunner blindtext.dtx: Call target blindtext.gls (blindtext.glo changed)
11
- INFO LaTeXRunner blindtext.dtx: Excute pdflatex -interaction=batchmode blindtext.dtx
12
- INFO LaTeXRunner blindtext.dtx: TeX-run stopped after 3 runs
2
+ INFO blindtext: StartLaTeXRunner for blindtext.dtx
3
+ INFO blindtext: Excute pdflatex -interaction=batchmode blindtext.dtx
4
+ INFO blindtext: Rerun necessary (aux-file changed)
5
+ INFO blindtext: Call target blindtext.ind (blindtext.idx changed)
6
+ INFO blindtext: Call target blindtext.gls (blindtext.glo changed)
7
+ INFO blindtext: Excute pdflatex -interaction=batchmode blindtext.dtx
8
+ INFO blindtext: Rerun necessary (aux-file changed)
9
+ INFO blindtext: Call target blindtext.ind (blindtext.idx changed)
10
+ INFO blindtext: Call target blindtext.gls (blindtext.glo changed)
11
+ INFO blindtext: Excute pdflatex -interaction=batchmode blindtext.dtx
12
+ INFO blindtext: TeX-run stopped after 3 runs
@@ -1,7 +1,7 @@
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 dvipdfm for <testdocument.dvi>
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 dvipdfm for <testdocument.dvi>
@@ -1,4 +1,4 @@
1
1
 
2
- INFO LaTeXRunner testdocument.tex: StartLaTeXRunner for testdocument.tex
3
- INFO LaTeXRunner testdocument.tex: Excute pdflatex -interaction=batchmode testdocument.tex
4
- 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
+ FATAL testdocument: There where pdflatex errors. See testdocument.log for details
@@ -1,5 +1,5 @@
1
1
 
2
- INFO LaTeXRunner testdocument.tex: StartLaTeXRunner for testdocument.tex
3
- INFO LaTeXRunner testdocument.tex: Excute pdflatex -interaction=batchmode testdocument.tex
4
- FATAL LaTeXRunner testdocument.tex: There where pdflatex errors. See testdocument.log for details
5
- 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
+ FATAL testdocument: There where pdflatex errors. See testdocument.log for details
5
+ INFO testdocument: TeX-run stopped after 1 run
@@ -1,9 +1,12 @@
1
+
1
2
  Log-overview for testdocument.tex
2
- Document : 1 error (testdocument.log)
3
+ Document : 1 page, 1 error (testdocument.log)
3
4
  ---
4
5
  testdocument.log:
5
6
  :latex_errors:
6
7
  - Undefined control sequence. [log#256]
8
+ :output:
9
+ - Output written on testdocument.pdf (1 pages) [log#279]
7
10
 
8
11
  ========
9
12
  Detailed analyse of testdocument.log
@@ -13,4 +16,6 @@ testdocument.log:
13
16
  ###########
14
17
  ---
15
18
  :latex_errors:
16
- - "Undefined control sequence. (./testdocument.tex) [log#56] - "
19
+ - Undefined control sequence. (./testdocument.tex) [log#56] - []
20
+ :output:
21
+ - Output written on testdocument.pdf (1 pages) [page0] [log#17] - []
@@ -1,3 +1,3 @@
1
1
 
2
- Statistic for testdocument.tex:
3
- Document : 1 error (testdocument.log)
2
+ Statistic for testdocument:
3
+ Document : 1 page, 1 error (testdocument.log)
@@ -1,16 +1,16 @@
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: Rerun necessary (aux-file changed)
7
- INFO LaTeXRunner testdocument.tex: Call target testdocument.animals.bbl (testdocument.animals.aux changed)
8
- INFO LaTeXRunner testdocument.tex: Call target testdocument.gls.bbl (testdocument.gls.aux changed)
9
- INFO LaTeXRunner testdocument.tex: Excute pdflatex -interaction=batchmode testdocument.tex
10
- INFO LaTeXRunner testdocument.tex: Define additional rule <animals.bbl> (gloss.sty)
11
- INFO LaTeXRunner testdocument.tex: Define additional rule <gls.bbl> (gloss.sty)
12
- INFO LaTeXRunner testdocument.tex: Rerun necessary (aux-file changed)
13
- INFO LaTeXRunner testdocument.tex: Excute pdflatex -interaction=batchmode testdocument.tex
14
- INFO LaTeXRunner testdocument.tex: Define additional rule <animals.bbl> (gloss.sty)
15
- INFO LaTeXRunner testdocument.tex: Define additional rule <gls.bbl> (gloss.sty)
16
- 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: Define additional rule <animals.bbl> (gloss.sty)
5
+ INFO testdocument: Define additional rule <gls.bbl> (gloss.sty)
6
+ INFO testdocument: Rerun necessary (aux-file changed)
7
+ INFO testdocument: Call target testdocument.animals.bbl (testdocument.animals.aux changed)
8
+ INFO testdocument: Call target testdocument.gls.bbl (testdocument.gls.aux changed)
9
+ INFO testdocument: Excute pdflatex -interaction=batchmode testdocument.tex
10
+ INFO testdocument: Define additional rule <animals.bbl> (gloss.sty)
11
+ INFO testdocument: Define additional rule <gls.bbl> (gloss.sty)
12
+ INFO testdocument: Rerun necessary (aux-file changed)
13
+ INFO testdocument: Excute pdflatex -interaction=batchmode testdocument.tex
14
+ INFO testdocument: Define additional rule <animals.bbl> (gloss.sty)
15
+ INFO testdocument: Define additional rule <gls.bbl> (gloss.sty)
16
+ INFO testdocument: TeX-run stopped after 3 runs