docgenerator 1.0.2 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. data/lib/docgenerator.rb +27 -1
  2. data/lib/docgenerator_css.rb +26 -23
  3. data/lib/docgenerator_document.rb +78 -16
  4. data/lib/docgenerator_element.rb +10 -25
  5. data/lib/docgenerator_elements.rb +78 -13
  6. data/lib/templates/docgenerator_template_css.rb +73 -0
  7. data/lib/wiki2doc/wiki2docgenerator.rb +12 -19
  8. data/unittest/expected/beamer_01_article.tex +13 -0
  9. data/unittest/expected/beamer_01_attachment.tex +15 -0
  10. data/unittest/expected/beamer_01_doc.html +13 -0
  11. data/unittest/expected/beamer_01_doc.tex +18 -0
  12. data/unittest/expected/beamer_01_notes_only.tex +13 -0
  13. data/unittest/expected/beamer_01_notes_onlyslideswithnotes.tex +13 -0
  14. data/unittest/expected/beamer_01_notes_show.tex +13 -0
  15. data/unittest/expected/beamer_01_presentation.tex +13 -0
  16. data/unittest/expected/beamer_02_doc.html +29 -0
  17. data/unittest/expected/beamer_02_doc.tex +34 -0
  18. data/unittest/expected/beamer_block.html +1 -0
  19. data/unittest/expected/beamer_block.latex +1 -0
  20. data/unittest/expected/beamer_doc_fragile_doc.tex +33 -0
  21. data/unittest/expected/beamer_doc_key_doc.html +20 -0
  22. data/unittest/expected/beamer_doc_key_doc.tex +29 -0
  23. data/unittest/expected/beamer_doc_note_doc.html +30 -0
  24. data/unittest/expected/beamer_doc_note_doc.tex +37 -0
  25. data/unittest/expected/beamer_doc_pic_bottom_doc.html +24 -0
  26. data/unittest/expected/beamer_doc_pic_doc.html +24 -0
  27. data/unittest/expected/beamer_doc_pic_doc.tex +28 -0
  28. data/unittest/expected/beamer_doc_pic_left_doc.html +24 -0
  29. data/unittest/expected/beamer_doc_pic_left_doc.tex +28 -0
  30. data/unittest/expected/beamer_doc_pic_ratio_doc.tex +29 -0
  31. data/unittest/expected/beamer_doc_pic_right_doc.html +24 -0
  32. data/unittest/expected/beamer_doc_pic_right_doc.tex +28 -0
  33. data/unittest/expected/beamer_doc_pic_top_doc.html +24 -0
  34. data/unittest/expected/beamer_frame.html +5 -0
  35. data/unittest/expected/beamer_frame.tex +11 -0
  36. data/unittest/expected/beamer_frame_fragile.tex +7 -0
  37. data/unittest/expected/beamer_frame_id.html +1 -0
  38. data/unittest/expected/beamer_frame_id.tex +4 -0
  39. data/unittest/expected/beamer_framepic.html +5 -0
  40. data/unittest/expected/beamer_framepic.latex +1 -0
  41. data/unittest/expected/beamer_framepic_link.html +5 -0
  42. data/unittest/expected/beamer_framepic_link.latex +1 -0
  43. data/unittest/expected/beamer_frametitle.html +1 -0
  44. data/unittest/expected/beamer_frametitle.latex +1 -0
  45. data/unittest/expected/beamer_note.html +1 -0
  46. data/unittest/expected/{test_beamer_note.latex → beamer_note.latex} +0 -0
  47. data/unittest/expected/css_collection.html +9 -0
  48. data/unittest/expected/css_collection_anonym.html +9 -0
  49. data/unittest/expected/test_css.css +1 -1
  50. data/unittest/expected/test_css2.css +1 -1
  51. data/unittest/expected/test_document_toc.html +14 -0
  52. data/unittest/expected/test_document_toc_article.latex +64 -0
  53. data/unittest/expected/test_document_toc_deep.html +18 -0
  54. data/unittest/expected/test_document_toc_deep.latex +35 -0
  55. data/unittest/expected/test_document_toc_deep_1.html +6 -0
  56. data/unittest/expected/test_document_toc_deep_1.latex +11 -0
  57. data/unittest/expected/test_document_toc_deep_4.html +24 -0
  58. data/unittest/expected/test_document_toc_deep_4.latex +47 -0
  59. data/unittest/expected/test_document_toc_deep_err.html +34 -0
  60. data/unittest/expected/test_document_toc_deep_err.latex +37 -0
  61. data/unittest/expected/test_document_toc_deep_err.log +4 -0
  62. data/unittest/expected/test_document_toc_deep_single.html +30 -0
  63. data/unittest/expected/test_document_toc_html.html +34 -0
  64. data/unittest/expected/test_document_toc_single.html +14 -0
  65. data/unittest/expected/test_document_toc_single.latex +27 -0
  66. data/unittest/expected/test_document_toc_single_pre.html +16 -0
  67. data/unittest/expected/test_document_toc_single_pre.latex +35 -0
  68. data/unittest/expected/test_document_toc_single_pre2.html +15 -0
  69. data/unittest/expected/test_document_toc_single_pre2.latex +35 -0
  70. data/unittest/expected/test_html_css.html +1 -1
  71. data/unittest/expected/test_tabular.html +2 -2
  72. data/unittest/expected/test_wiki_amazon.html +2 -2
  73. data/unittest/expected/test_wiki_link.html +6 -6
  74. data/unittest/expected/test_wiki_link.latex +7 -4
  75. data/unittest/expected/test_wiki_link.wiki +6 -1
  76. data/unittest/expected/test_wiki_picture.html +3 -3
  77. data/unittest/expected/toc_css.css +15 -0
  78. data/unittest/test_docgenerator.rb +24 -1
  79. data/unittest/unittest_docgenerator.rb +166 -37
  80. data/unittest/unittest_wiki2doc.rb +9 -1
  81. metadata +75 -8
  82. data/unittest/expected/test_beamer_note.html +0 -1
  83. data/unittest/expected/test_beamer_note.text +0 -1
  84. data/unittest/expected/test_beamer_note.wiki +0 -1
@@ -4,28 +4,8 @@ Element.log = true
4
4
  #~ DOCGENERATOR_LOGGER.level = Log4r::DEBUG
5
5
  #~ DOCGENERATOR_LOGGER.level = Log4r::ERROR
6
6
 
7
-
8
7
  class Test_elements < Test::Unit::TestCase
9
- #Redirect Logger data to temporary file
10
- def set_temporary_logger()
11
- templogfile = Tempfile.new("xxx_warn.log")
12
- @loglevel = DOCGENERATOR_LOGGER.level
13
- @outputter = DOCGENERATOR_LOGGER.outputters.first
14
- DOCGENERATOR_LOGGER.level = Log4r::WARN
15
- DOCGENERATOR_LOGGER.outputters = Log4r::IOOutputter.new('log_xxx', templogfile )
16
- return templogfile
17
- end
18
- #Get temporary data and reset logger.
19
- def get_temporary_logger(templogfile)
20
- templogfile.close()
21
- templogfile.open()
22
- templogfile_content = templogfile.readlines.to_s
23
- templogfile.close(true)
24
- DOCGENERATOR_LOGGER.level = @loglevel
25
- DOCGENERATOR_LOGGER.outputters = @outputter
26
- return templogfile_content
27
- end
28
-
8
+ include Temp_Logger
29
9
  def test_generell_settings()
30
10
  #Check the logger
31
11
  assert_instance_of( Log4r::Logger, DOCGENERATOR_LOGGER)
@@ -45,7 +25,7 @@ class Test_elements < Test::Unit::TestCase
45
25
  #Result ok, but warning
46
26
  assert_equal( "<br />", element(:br,{},'content').to_html)
47
27
 
48
- #fixme Umsetzen des logger in methden
28
+ #fixme Umsetzen des logger in methoden
49
29
  templogfile = set_temporary_logger()
50
30
  assert_equal( "<br />", element(:br,{},'content').to_html)
51
31
  #~ assert_equal_filecontent( "expected/test_content.log", get_temporary_logger() )
@@ -350,7 +330,8 @@ class Test_tabular < Test::Unit::TestCase
350
330
  end
351
331
 
352
332
 
353
- class Test_HTML < Test::Unit::TestCase
333
+ class Test_CSS < Test::Unit::TestCase
334
+ include Temp_Logger
354
335
  def test_html_css()
355
336
  text = [
356
337
  element(:div,{}, [ 'Block 1',
@@ -364,37 +345,62 @@ class Test_HTML < Test::Unit::TestCase
364
345
  ]).cr
365
346
  ]
366
347
  assert_equal_filecontent( "expected/test_html_css.html", text.to_doc(:html))
367
- #~ assert_equal_filecontent( "expected/test_block.latex", text.to_doc(:latex))
368
- #~ assert_equal_filecontent( "expected/test_block.wiki", text.to_doc(:wiki))
369
- #~ assert_equal_filecontent( "expected/test_block.text", text.to_doc(:text))
370
348
  end
371
349
  def test_css()
372
350
  css = CSS.new(
373
351
  :color => 'red',
374
352
  :background_color => 'blue'
375
353
  )
376
- assert_equal_filecontent( "expected/test_css.css", css.to_s)
354
+ assert_equal_filecontent( "expected/test_css.css", css.to_html)
377
355
  css[:float] = 'right'
378
356
  assert_equal_filecontent( "expected/test_css2.css", css.to_html)
379
357
  end
380
- end
381
- #~ class TestBeamer < Test::Unit::TestCase
382
- #~ def test_beamer_note()
383
- #~ text = element(:note,{}, 'Notiz').cr
358
+ #The data for CSS are checked, warnings and error are returned.
359
+ def test_css_error()
360
+ templogfile = set_temporary_logger()
361
+ css = CSS.new( :color => 'red')
362
+ assert_equal('', get_temporary_logger(templogfile))
363
+
364
+ templogfile = set_temporary_logger()
365
+ css[:color] = 'black'
366
+ assert_equal(" WARN docgenerator: CSS: Overwrite :color\n", get_temporary_logger(templogfile))
384
367
 
385
- #~ assert_equal_filecontent( "expected/test_beamer_note.html", text.to_doc(:html))
386
- #~ assert_equal_filecontent( "expected/test_beamer_note.latex", text.to_doc(:latex))
387
- #~ assert_equal_filecontent( "expected/test_beamer_note.wiki", text.to_doc(:wiki))
388
- #~ assert_equal_filecontent( "expected/test_beamer_note.text", text.to_doc(:text))
368
+ templogfile = set_temporary_logger()
369
+ css[:background_color] = 'nocolor'
370
+ assert_equal("ERROR docgenerator: CSS: nocolor not allowed for background-color\n", get_temporary_logger(templogfile))
389
371
 
390
- #~ end
391
- #~ end #TestBeamer
372
+ templogfile = set_temporary_logger()
373
+ css[:nonsense] = 'not valid'
374
+ assert_equal("ERROR docgenerator: CSS: Undefined key :nonsense\n", get_temporary_logger(templogfile))
375
+
376
+ end
377
+ def test_css_collection_anonym
378
+ test = CSS_collection.new(nil, 'CSS to test')
379
+ test.add('div.test', CSS.new(
380
+ :font_size => 'xx-small',
381
+ :font_weight => 'normal'
382
+ ))
383
+ assert_equal_filecontent( "expected/css_collection_anonym.html", test.style.to_html)
384
+ end
385
+ def test_css_collection
386
+ CSS_collection.new(:test, 'CSS to test')
387
+ CSS_collection[:test].add('div.test', CSS.new(
388
+ :font_size => 'xx-small',
389
+ :font_weight => 'normal'
390
+ ))
391
+ assert_equal_filecontent( "expected/css_collection.html", CSS_collection[:test].style.to_html)
392
+ end
393
+ def test_css_collection_toc
394
+ assert_equal_filecontent( "expected/toc_css.css", CSS_collection[:toc].style.to_html)
395
+ end
396
+ end
392
397
 
393
398
  #
394
399
  #Remark:
395
400
  #- The <<prefix>> is replaced by Document.save.
396
401
  #- With <<prefix>> we get always differences (timestamp)
397
402
  class Test_document < Test::Unit::TestCase
403
+ include Temp_Logger
398
404
  def test_document()
399
405
  doc = Document.new(
400
406
  :title => 'Testdokument',
@@ -423,6 +429,7 @@ class Test_document < Test::Unit::TestCase
423
429
  }))
424
430
  }
425
431
  end
432
+ #Make a test with a replacement in the result.
426
433
  def test_doc_with_replacement()
427
434
  doc = Document.new(
428
435
  :title => 'Testdokument',
@@ -451,4 +458,126 @@ class Test_document < Test::Unit::TestCase
451
458
  }))
452
459
  }
453
460
  end
461
+ end #Test_document < Test::Unit::TestCase
462
+ class Test_document_toc < Test::Unit::TestCase
463
+ include Temp_Logger
464
+ def test_document_toc()
465
+ doc = Document.new(
466
+ :title => 'Testdokument for toc-command'
467
+ )
468
+
469
+ doc.body << [
470
+ element(:tableofcontents, {:as_list => true }).cr,
471
+ element(:h1, {}, 'Abschnitt 1' ).cr,
472
+ element(:par, {}, 'Text zu Abschnitt 1' ).cr,
473
+ element(:h2, {}, 'Abschnitt 1.1' ).cr,
474
+ element(:p, {}, 'Text zu Abschnitt 1.1' ).cr,
475
+ element(:h2, {}, 'Abschnitt 1.2' ).cr,
476
+ element(:h1, {}, 'Abschnitt 2' ).cr,
477
+ element(:par, {}, 'Text zu Abschnitt 2' ).cr,
478
+ element(:h2, {}, 'Abschnitt 2.1' ).cr,
479
+ element(:p, {}, 'Text zu Abschnitt 2.1' ).cr,
480
+ element(:h1, {:id=>'sect3'}, 'Abschnitt 3' ).cr,
481
+ ]
482
+
483
+ assert_equal_filecontent( "expected/test_document_toc_single.html", doc.toc( :tocfilename => 'test.html/').to_doc(:html))
484
+ assert_equal_filecontent( "expected/test_document_toc_single.latex", doc.toc().to_doc(:latex))
485
+ #Normaly, the standard tableofcontents is used
486
+ assert_equal( "\\tableofcontents ", element(:tableofcontents).to_doc(:latex))
487
+
488
+ {
489
+ :html => :html,
490
+ :article => :latex,
491
+ #~ :wiki => :wiki,
492
+ #~ :text => :text,
493
+ }.each{|template, target|
494
+ filename = "test_document_toc_#{template}.#{target}"
495
+ assert_equal_filecontent( "expected/#{filename}",
496
+ doc.to_doc(target, {
497
+ :template=> DocumentTemplate[template],
498
+ :filename => filename,
499
+ :document => doc,
500
+ #~ :replacements => replacements,
501
+ :log => doc.log
502
+ }))
503
+ }
504
+
505
+ #Test with pre and post
506
+ prepost = { :pre => 'Pretext', :post => 'Posttext' }
507
+ assert_equal_filecontent( "expected/test_document_toc_single_pre.html", doc.toc( prepost).to_doc(:html))
508
+ assert_equal_filecontent( "expected/test_document_toc_single_pre.latex", doc.toc(prepost).to_doc(:latex))
509
+
510
+ testel = element(:ul,{},[element(:li,{},'1'),element(:li,{},'2')])
511
+ prepost = { :pre => testel , :post => testel }
512
+ assert_equal_filecontent( "expected/test_document_toc_single_pre2.html", doc.toc( prepost).to_doc(:html))
513
+ assert_equal_filecontent( "expected/test_document_toc_single_pre2.latex", doc.toc(prepost).to_doc(:latex))
514
+ end
515
+ def test_document_toc_deep()
516
+ doc = Document.new(
517
+ :title => 'Testdokument for toc-command'
518
+ )
519
+
520
+ doc.body << [
521
+ element(:tableofcontents, {:as_list => true }).cr,
522
+ element(:h1, {}, 'Abschnitt 1' ).cr,
523
+ element(:h2, {}, 'Abschnitt 1.1' ).cr,
524
+ element(:h3, {}, 'Abschnitt 1.1.1' ).cr,
525
+ element(:h4, {}, 'Abschnitt 1.1.1.1' ).cr,
526
+ element(:h5, {}, 'Abschnitt 1.1.1.1.1' ).cr,
527
+ element(:h1, {}, 'Abschnitt 2' ).cr,
528
+ element(:h2, {}, 'Abschnitt 2.1' ).cr,
529
+ element(:h3, {}, 'Abschnitt 2.1.1' ).cr,
530
+ element(:h4, {}, 'Abschnitt 2.1.1.1' ).cr,
531
+ element(:h5, {}, 'Abschnitt 2.1.1.1.1' ).cr, ]
532
+
533
+ assert_equal_filecontent( "expected/test_document_toc_deep.html", doc.toc().to_doc(:html))
534
+ assert_equal_filecontent( "expected/test_document_toc_deep.latex", doc.toc().to_doc(:latex))
535
+
536
+ assert_equal_filecontent( "expected/test_document_toc_deep_1.html", doc.toc(:level=>1).to_doc(:html))
537
+ assert_equal_filecontent( "expected/test_document_toc_deep_1.latex", doc.toc(:level=>1).to_doc(:latex))
538
+
539
+ assert_equal_filecontent( "expected/test_document_toc_deep_4.html", doc.toc(:level=>4).to_doc(:html))
540
+ assert_equal_filecontent( "expected/test_document_toc_deep_4.latex", doc.toc(:level=>4).to_doc(:latex))
541
+
542
+ end
543
+ def test_document_toc_deep_err()
544
+ doc = Document.new(
545
+ :title => 'Testdokument for toc-command'
546
+ )
547
+
548
+ doc.body << [
549
+ element(:tableofcontents, {:as_list => true }).cr,
550
+ #What happens if there are missing levels
551
+ # element(:h1, {}, 'Abschnitt 1' ).cr, Missing first level
552
+ element(:h2, {}, 'Abschnitt 1.1' ).cr,
553
+ element(:h3, {}, 'Abschnitt 1.1.1' ).cr,
554
+ element(:h4, {}, 'Abschnitt 1.1.1.1' ).cr,
555
+ element(:h1, {}, 'Abschnitt 2' ).cr,
556
+ # element(:h2, {}, 'Abschnitt 2.1' ).cr, #Jump over one levels
557
+ element(:h3, {}, 'Abschnitt 2.1.1' ).cr,
558
+ element(:h4, {}, 'Abschnitt 2.1.1.1' ).cr,
559
+ element(:h1, {}, 'Abschnitt 3' ).cr, #Jump over two levels
560
+ element(:h4, {}, 'Abschnitt 3.1.1.1' ).cr,
561
+ ]
562
+ templogfile = set_temporary_logger()
563
+ assert_equal_filecontent( "expected/test_document_toc_deep_err.html", doc.toc(:level=>4, :log => DOCGENERATOR_LOGGER).to_doc(:html))
564
+ assert_equal_filecontent( "expected/test_document_toc_deep_err.log", get_temporary_logger(templogfile))
565
+
566
+ assert_equal_filecontent( "expected/test_document_toc_deep_err.latex", doc.toc().to_doc(:latex))
567
+
568
+ end
569
+
454
570
  end
571
+
572
+ #~ class Test_Element < Test::Unit::TestCase
573
+ #~ def test_add_output()
574
+ #~ cmd = <<'cmd'
575
+ #~ def to_html(options = {})
576
+ #~ o = Docgenerator_logger.set_option_defaults(options)
577
+ #~ o[:log].debug("enter to_doc(html) for Element, options: #{options.keys.inspect}") if o[:log].debug?
578
+ #~ "#{@content.to_doc(:html, o)}"
579
+ #~ end
580
+ #~ cmd
581
+ #~ assert_equal(cmd, Element.add_output( :html, '#{@content}' ))
582
+ #~ end
583
+ #~ end
@@ -1,5 +1,9 @@
1
+ $: << 'C:/usr/Script/DocumentGenerator' #for AMAZON...
2
+ #require 'privat/docgenerator_affiliate'
3
+
1
4
  require 'test_docgenerator.rb'
2
5
  $fixme = []
6
+
3
7
  END { puts $fixme }
4
8
 
5
9
  class Testcase < Test::Unit::TestCase
@@ -401,7 +405,11 @@ wiki
401
405
  end
402
406
  def test_wiki_link()
403
407
  wiki = Wikitext.new(:content => <<wiki
404
- [./#{__FILE__} link to test]
408
+ text before [./#{__FILE__} link to test] text after
409
+
410
+ text before
411
+ [./#{__FILE__} link to test]
412
+ text after
405
413
 
406
414
  [./unexisting_file.xx link with error]
407
415
  wiki
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: docgenerator
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.0.2
7
- date: 2008-05-06 00:00:00 +02:00
6
+ version: 1.0.4
7
+ date: 2008-07-14 00:00:00 +02:00
8
8
  summary: The docgenerator-package allows the definition of documents and export to *LaTeX *HTML *Wiki (not very good supported) *plain text (also not very good supported) This package is the base of *wiki2docgenerator.rb - a Wiki to TeX/HTML-Translator (part of the distribution) *yaml2presentation.rb - a presentation generator for LaTeX-Beamer-class. Can also be used to build image galleries. *Sitegenerator - An offline website generator (No generation on the fly)
9
9
  require_paths:
10
10
  - ./lib
@@ -42,6 +42,7 @@ files:
42
42
  - lib/docgenerator_sections.rb
43
43
  - lib/docgenerator_tabular.rb
44
44
  - lib/templates/docgenerator_template.rb
45
+ - lib/templates/docgenerator_template_css.rb
45
46
  - lib/templates/docgenerator_template.yaml
46
47
  - lib/packages/docgenerator_attachfile.rb
47
48
  - lib/packages/docgenerator_caption.rb
@@ -64,10 +65,47 @@ test_files:
64
65
  - unittest/test_docgenerator.rb
65
66
  - unittest/unittest_docgenerator.rb
66
67
  - unittest/unittest_wiki2doc.rb
67
- - unittest/expected/test_beamer_note.html
68
- - unittest/expected/test_beamer_note.latex
69
- - unittest/expected/test_beamer_note.text
70
- - unittest/expected/test_beamer_note.wiki
68
+ - unittest/expected/beamer_01_article.tex
69
+ - unittest/expected/beamer_01_attachment.tex
70
+ - unittest/expected/beamer_01_doc.html
71
+ - unittest/expected/beamer_01_doc.tex
72
+ - unittest/expected/beamer_01_notes_only.tex
73
+ - unittest/expected/beamer_01_notes_onlyslideswithnotes.tex
74
+ - unittest/expected/beamer_01_notes_show.tex
75
+ - unittest/expected/beamer_01_presentation.tex
76
+ - unittest/expected/beamer_02_doc.html
77
+ - unittest/expected/beamer_02_doc.tex
78
+ - unittest/expected/beamer_block.html
79
+ - unittest/expected/beamer_block.latex
80
+ - unittest/expected/beamer_doc_fragile_doc.tex
81
+ - unittest/expected/beamer_doc_key_doc.html
82
+ - unittest/expected/beamer_doc_key_doc.tex
83
+ - unittest/expected/beamer_doc_note_doc.html
84
+ - unittest/expected/beamer_doc_note_doc.tex
85
+ - unittest/expected/beamer_doc_pic_bottom_doc.html
86
+ - unittest/expected/beamer_doc_pic_doc.html
87
+ - unittest/expected/beamer_doc_pic_doc.tex
88
+ - unittest/expected/beamer_doc_pic_left_doc.html
89
+ - unittest/expected/beamer_doc_pic_left_doc.tex
90
+ - unittest/expected/beamer_doc_pic_ratio_doc.tex
91
+ - unittest/expected/beamer_doc_pic_right_doc.html
92
+ - unittest/expected/beamer_doc_pic_right_doc.tex
93
+ - unittest/expected/beamer_doc_pic_top_doc.html
94
+ - unittest/expected/beamer_frame.html
95
+ - unittest/expected/beamer_frame.tex
96
+ - unittest/expected/beamer_framepic.html
97
+ - unittest/expected/beamer_framepic.latex
98
+ - unittest/expected/beamer_framepic_link.html
99
+ - unittest/expected/beamer_framepic_link.latex
100
+ - unittest/expected/beamer_frametitle.html
101
+ - unittest/expected/beamer_frametitle.latex
102
+ - unittest/expected/beamer_frame_fragile.tex
103
+ - unittest/expected/beamer_frame_id.html
104
+ - unittest/expected/beamer_frame_id.tex
105
+ - unittest/expected/beamer_note.html
106
+ - unittest/expected/beamer_note.latex
107
+ - unittest/expected/css_collection.html
108
+ - unittest/expected/css_collection_anonym.html
71
109
  - unittest/expected/test_block.html
72
110
  - unittest/expected/test_block.latex
73
111
  - unittest/expected/test_block.text
@@ -85,6 +123,25 @@ test_files:
85
123
  - unittest/expected/test_document_replacement_text.text
86
124
  - unittest/expected/test_document_replacement_wiki.wiki
87
125
  - unittest/expected/test_document_text.text
126
+ - unittest/expected/test_document_toc.html
127
+ - unittest/expected/test_document_toc_article.latex
128
+ - unittest/expected/test_document_toc_deep.html
129
+ - unittest/expected/test_document_toc_deep.latex
130
+ - unittest/expected/test_document_toc_deep_1.html
131
+ - unittest/expected/test_document_toc_deep_1.latex
132
+ - unittest/expected/test_document_toc_deep_4.html
133
+ - unittest/expected/test_document_toc_deep_4.latex
134
+ - unittest/expected/test_document_toc_deep_err.html
135
+ - unittest/expected/test_document_toc_deep_err.latex
136
+ - unittest/expected/test_document_toc_deep_err.log
137
+ - unittest/expected/test_document_toc_deep_single.html
138
+ - unittest/expected/test_document_toc_html.html
139
+ - unittest/expected/test_document_toc_single.html
140
+ - unittest/expected/test_document_toc_single.latex
141
+ - unittest/expected/test_document_toc_single_pre.html
142
+ - unittest/expected/test_document_toc_single_pre.latex
143
+ - unittest/expected/test_document_toc_single_pre2.html
144
+ - unittest/expected/test_document_toc_single_pre2.latex
88
145
  - unittest/expected/test_document_wiki.wiki
89
146
  - unittest/expected/test_enumerate.html
90
147
  - unittest/expected/test_enumerate.latex
@@ -178,6 +235,7 @@ test_files:
178
235
  - unittest/expected/test_wiki_ul_multiple_line.latex
179
236
  - unittest/expected/test_wiki_ul_multiple_line.text
180
237
  - unittest/expected/test_wiki_ul_multiple_line.wiki
238
+ - unittest/expected/toc_css.css
181
239
  rdoc_options: []
182
240
 
183
241
  extra_rdoc_files: []
@@ -187,6 +245,15 @@ executables: []
187
245
  extensions: []
188
246
 
189
247
  requirements:
248
+ - yaml
190
249
  - A (La)TeX-system if used as TeX-generator (in fact, you can create TeX-Files, but without a TeX-System you will have no fun with it ;-))
191
- dependencies: []
192
-
250
+ dependencies:
251
+ - !ruby/object:Gem::Dependency
252
+ name: log4r
253
+ version_requirement:
254
+ version_requirements: !ruby/object:Gem::Version::Requirement
255
+ requirements:
256
+ - - ">"
257
+ - !ruby/object:Gem::Version
258
+ version: 0.0.0
259
+ version:
@@ -1 +0,0 @@
1
- <span >Notiz</span>
@@ -1 +0,0 @@
1
- Notiz
@@ -1 +0,0 @@
1
- Notiz