/doc/English/rules/rules.conf

http://txt2tags.googlecode.com/ · Config · 37 lines · 30 code · 7 blank · 0 comment · 0 complexity · 38785c59575901869865804c5a0e68fb MD5 · raw file

  1. %!options: --toc --toc-level 2
  2. %!options: --css-sugar --css-inside --style rules.css
  3. %!options: -o ../rules.html
  4. %!preproc: '^%% ' ''
  5. %!preproc: MARKUPDEMO markup.html
  6. %!preproc: TESTPATH ../../../test/marks
  7. %!preproc: img\.png ../img/t2tpowered.png
  8. %%%%% SPECIAL PROCESSING RULES
  9. %
  10. % Title section: remove title tests from TOC
  11. %!postproc: '^(?i) *<LI>.*[Tt]itle Level .*' ''
  12. % Link section: one link per line
  13. %!postproc: '^(?i)((any text: )?<A HREF=.*)' '\1<br>'
  14. % Inline section: special format for tests results
  15. %!preproc: '^(i\) .{82})' '\1}{'
  16. %!preproc: '^(i\) .{69})' '\1}{'
  17. %!preproc: '^(i\) .{55})' '\1}{'
  18. %!preproc: '^(i\) .{41})' '\1}{'
  19. %!preproc: '^(i\) .{27})' '\1}{'
  20. %!preproc: '^(i\) .{13})' '\1}{'
  21. %!preproc: '^i\)( .*)' '{\1 }@@@@'
  22. % Mark the section titles (excluding doc title and title tests)
  23. %!postproc: '(?i)<H1>' '<h1 class="section">'
  24. %!postproc: '(?i)<h1 class="section">(Txt2tags|Title Level)' '<h1>\1'
  25. % Include the default test configs
  26. %!includeconf: ../../../test/marks/test.conf
  27. % XHTML requires this
  28. %!postproc: '<br>' '<br />'
  29. %!postproc: '\n' '####'
  30. %!target: xhtml