ultraviolet 0.9.0 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. data/History.txt +9 -0
  2. data/Manifest.txt +23 -2
  3. data/bin/theme2latexrender +143 -0
  4. data/bin/{theme2render → theme2xhtmlrender} +67 -9
  5. data/bin/uv +28 -51
  6. data/lib/uv.rb +14 -9
  7. data/lib/uv/html_processor.rb +23 -7
  8. data/render/latex/active4d.render +132 -0
  9. data/render/latex/all_hallows_eve.render +96 -0
  10. data/render/latex/amy.render +171 -0
  11. data/render/latex/blackboard.render +111 -0
  12. data/render/latex/brilliance_black.render +602 -0
  13. data/render/latex/brilliance_dull.render +561 -0
  14. data/render/latex/cobalt.render +162 -0
  15. data/render/latex/dawn.render +126 -0
  16. data/render/latex/eiffel.render +132 -0
  17. data/render/latex/espresso_libre.render +123 -0
  18. data/render/latex/idle.render +93 -0
  19. data/render/latex/iplastic.render +99 -0
  20. data/render/latex/lazy.render +96 -0
  21. data/render/latex/mac_classic.render +135 -0
  22. data/render/latex/magicwb_amiga.render +117 -0
  23. data/render/latex/pastels_on_dark.render +204 -0
  24. data/render/latex/slush_poppies.render +123 -0
  25. data/render/latex/spacecadet.render +81 -0
  26. data/render/latex/sunburst.render +186 -0
  27. data/render/latex/twilight.render +153 -0
  28. data/render/latex/zenburnesque.render +126 -0
  29. data/render/xhtml/active4d.render +35 -0
  30. data/render/xhtml/all_hallows_eve.render +35 -0
  31. data/render/xhtml/amy.render +35 -0
  32. data/render/xhtml/blackboard.render +35 -0
  33. data/render/xhtml/brilliance_black.render +35 -0
  34. data/render/xhtml/brilliance_dull.render +35 -0
  35. data/render/xhtml/cobalt.render +35 -0
  36. data/render/xhtml/dawn.render +35 -0
  37. data/render/xhtml/eiffel.render +35 -0
  38. data/render/xhtml/espresso_libre.render +35 -0
  39. data/render/xhtml/idle.render +35 -0
  40. data/render/xhtml/iplastic.render +35 -0
  41. data/render/xhtml/lazy.render +35 -0
  42. data/render/xhtml/mac_classic.render +35 -0
  43. data/render/xhtml/magicwb_amiga.render +35 -0
  44. data/render/xhtml/pastels_on_dark.render +35 -0
  45. data/render/xhtml/slush_poppies.render +35 -0
  46. data/render/xhtml/spacecadet.render +35 -0
  47. data/render/xhtml/sunburst.render +35 -0
  48. data/render/xhtml/twilight.render +35 -0
  49. data/render/xhtml/zenburnesque.render +35 -0
  50. metadata +27 -5
@@ -0,0 +1,93 @@
1
+ ---
2
+ name: IDLE
3
+ line:
4
+ begin: ""
5
+ end: "}}\\\\"
6
+ tags:
7
+ - begin: "{\\color[HTML]{919191}"
8
+ end: "}"
9
+ selector: comment
10
+ - begin: "{\\color[HTML]{00A33F}"
11
+ end: "}"
12
+ selector: string
13
+ - begin: "{"
14
+ end: "}"
15
+ selector: constant.numeric
16
+ - begin: "{\\color[HTML]{A535AE}"
17
+ end: "}"
18
+ selector: constant.language
19
+ - begin: "{"
20
+ end: "}"
21
+ selector: constant.character, constant.other
22
+ - begin: "{"
23
+ end: "}"
24
+ selector: variable.language, variable.other
25
+ - begin: "{\\color[HTML]{FF5600}"
26
+ end: "}"
27
+ selector: keyword
28
+ - begin: "{\\color[HTML]{FF5600}"
29
+ end: "}"
30
+ selector: storage
31
+ - begin: "{\\color[HTML]{21439C}"
32
+ end: "}"
33
+ selector: entity.name.type
34
+ - begin: "{"
35
+ end: "}"
36
+ selector: entity.other.inherited-class
37
+ - begin: "{\\color[HTML]{21439C}"
38
+ end: "}"
39
+ selector: entity.name.function
40
+ - begin: "{"
41
+ end: "}"
42
+ selector: variable.parameter
43
+ - begin: "{"
44
+ end: "}"
45
+ selector: entity.name.tag
46
+ - begin: "{"
47
+ end: "}"
48
+ selector: entity.other.attribute-name
49
+ - begin: "{\\color[HTML]{A535AE}"
50
+ end: "}"
51
+ selector: support.function
52
+ - begin: "{\\color[HTML]{A535AE}"
53
+ end: "}"
54
+ selector: support.constant
55
+ - begin: "{\\color[HTML]{A535AE}"
56
+ end: "}"
57
+ selector: support.type, support.class
58
+ - begin: "{\\color[HTML]{A535AE}"
59
+ end: "}"
60
+ selector: support.variable
61
+ - begin: \colorbox[HTML]{990000}{\color[HTML]{FFFFFF}
62
+ end: "}"
63
+ selector: invalid
64
+ - begin: "{\\color[HTML]{990000}"
65
+ end: "}"
66
+ selector: constant.other.placeholder.py
67
+ listing:
68
+ begin: |
69
+ \newcolumntype{C}{>{\color[HTML]{000000}\columncolor[HTML]{FFFFFF}}l}
70
+ \newcolumntype{N}{>{\color[HTML]{000000}\columncolor[HTML]{BAD6FD}}l}
71
+ \begin{longtable}{NC}
72
+
73
+ end: |
74
+ \end{longtable}
75
+
76
+ document:
77
+ begin: |
78
+ \documentclass[a4paper,landscape]{article}
79
+ \usepackage{xcolor}
80
+ \usepackage{colortbl}
81
+ \usepackage{longtable}
82
+ \usepackage[left=2cm,top=1cm,right=3cm,nohead,nofoot]{geometry}
83
+ \usepackage[T1]{fontenc}
84
+ \usepackage[scaled]{beramono}
85
+ \begin{document}
86
+
87
+ end: |
88
+ \end{document}
89
+
90
+ filter: "@escaped.gsub(/(_|\\{|\\}|&|\\#|\\\\)/, '\\\\\\\\\\1').gsub(/~/, '\\\\textasciitilde').gsub(/ /,'\\\\hspace{1ex}').gsub(/\\t/,'\\\\hspace{3ex}')"
91
+ line-numbers:
92
+ begin: \texttt{
93
+ end: "}&\\mbox{\\texttt{"
@@ -0,0 +1,99 @@
1
+ ---
2
+ name: iPlastic
3
+ line:
4
+ begin: ""
5
+ end: "}}\\\\"
6
+ tags:
7
+ - begin: "{\\color[HTML]{009933}"
8
+ end: "}"
9
+ selector: string
10
+ - begin: "{\\color[HTML]{0066FF}"
11
+ end: "}"
12
+ selector: constant.numeric
13
+ - begin: "{\\color[HTML]{FF0080}"
14
+ end: "}"
15
+ selector: string.regexp
16
+ - begin: "{\\color[HTML]{0000FF}"
17
+ end: "}"
18
+ selector: keyword
19
+ - begin: "{\\color[HTML]{9700CC}"
20
+ end: "}"
21
+ selector: constant.language
22
+ - begin: "{\\color[HTML]{990000}"
23
+ end: "}"
24
+ selector: support.class.exception
25
+ - begin: "{\\color[HTML]{FF8000}"
26
+ end: "}"
27
+ selector: entity.name.function
28
+ - begin: "{\\textbf{"
29
+ end: "}}"
30
+ selector: entity.name.type
31
+ - begin: "{\\textit{"
32
+ end: "}}"
33
+ selector: variable.parameter
34
+ - begin: "{\\color[HTML]{0066FF}\\textit{"
35
+ end: "}}"
36
+ selector: comment
37
+ - begin: \colorbox[HTML]{EBAEA9}{\color[HTML]{FF0000}
38
+ end: "}"
39
+ selector: invalid
40
+ - begin: \colorbox[HTML]{EEEEEB}{
41
+ end: "}"
42
+ selector: invalid.deprecated.trailing-whitespace
43
+ - begin: \colorbox[HTML]{F9F9F9}{\color[HTML]{000000}
44
+ end: "}"
45
+ selector: text source
46
+ - begin: "{\\color[HTML]{0033CC}"
47
+ end: "}"
48
+ selector: meta.tag, declaration.tag
49
+ - begin: "{\\color[HTML]{6782D3}"
50
+ end: "}"
51
+ selector: constant, support.constant
52
+ - begin: "{\\color[HTML]{3333FF}\\textbf{"
53
+ end: "}}"
54
+ selector: support
55
+ - begin: "{\\textbf{"
56
+ end: "}}"
57
+ selector: storage
58
+ - begin: "{\\textbf{"
59
+ end: "}}"
60
+ selector: entity.name.section
61
+ - begin: "{\\color[HTML]{000000}\\textbf{"
62
+ end: "}}"
63
+ selector: entity.name.function.frame
64
+ - begin: "{\\color[HTML]{333333}"
65
+ end: "}"
66
+ selector: meta.tag.preprocessor.xml
67
+ - begin: "{\\color[HTML]{3366CC}\\textit{"
68
+ end: "}}"
69
+ selector: entity.other.attribute-name
70
+ - begin: "{\\textbf{"
71
+ end: "}}"
72
+ selector: entity.name.tag
73
+ listing:
74
+ begin: |
75
+ \newcolumntype{C}{>{\color[HTML]{000000}\columncolor[HTML]{EEEEED}}l}
76
+ \newcolumntype{N}{>{\color[HTML]{000000}\columncolor[HTML]{BAD6FD}}l}
77
+ \begin{longtable}{NC}
78
+
79
+ end: |
80
+ \end{longtable}
81
+
82
+ document:
83
+ begin: |
84
+ \documentclass[a4paper,landscape]{article}
85
+ \usepackage{xcolor}
86
+ \usepackage{colortbl}
87
+ \usepackage{longtable}
88
+ \usepackage[left=2cm,top=1cm,right=3cm,nohead,nofoot]{geometry}
89
+ \usepackage[T1]{fontenc}
90
+ \usepackage[scaled]{beramono}
91
+ \begin{document}
92
+
93
+ end: |
94
+ \end{document}
95
+
96
+ filter: "@escaped.gsub(/(_|\\{|\\}|&|\\#|\\\\)/, '\\\\\\\\\\1').gsub(/~/, '\\\\textasciitilde').gsub(/ /,'\\\\hspace{1ex}').gsub(/\\t/,'\\\\hspace{3ex}')"
97
+ line-numbers:
98
+ begin: \texttt{
99
+ end: "}&\\mbox{\\texttt{"
@@ -0,0 +1,96 @@
1
+ ---
2
+ name: LAZY
3
+ line:
4
+ begin: ""
5
+ end: "}}\\\\"
6
+ tags:
7
+ - begin: "{\\color[HTML]{8C868F}"
8
+ end: "}"
9
+ selector: comment
10
+ - begin: "{\\color[HTML]{3B5BB5}"
11
+ end: "}"
12
+ selector: constant
13
+ - begin: "{\\color[HTML]{3B5BB5}"
14
+ end: "}"
15
+ selector: entity
16
+ - begin: "{\\color[HTML]{D62A28}"
17
+ end: "}"
18
+ selector: text.tex.latex entity
19
+ - begin: "{\\color[HTML]{FF7800}"
20
+ end: "}"
21
+ selector: keyword, storage
22
+ - begin: "{\\color[HTML]{409B1C}"
23
+ end: "}"
24
+ selector: string, meta.verbatim
25
+ - begin: "{\\color[HTML]{3B5BB5}"
26
+ end: "}"
27
+ selector: support
28
+ - begin: "{"
29
+ end: "}"
30
+ selector: variable
31
+ - begin: "{\\color[HTML]{990000}\\textit{"
32
+ end: "}}"
33
+ selector: invalid.deprecated
34
+ - begin: \colorbox[HTML]{9D1E15}{\color[HTML]{F8F8F8}
35
+ end: "}"
36
+ selector: invalid.illegal
37
+ - begin: "{\\color[HTML]{3B5BB5}\\textit{"
38
+ end: "}}"
39
+ selector: entity.other.inherited-class
40
+ - begin: "{\\color[HTML]{671EBB}"
41
+ end: "}"
42
+ selector: string constant.other.placeholder
43
+ - begin: "{\\color[HTML]{3E4558}"
44
+ end: "}"
45
+ selector: meta.function-call.py
46
+ - begin: "{\\color[HTML]{3A4A64}"
47
+ end: "}"
48
+ selector: meta.tag, meta.tag entity
49
+ - begin: "{\\color[HTML]{7F90AA}"
50
+ end: "}"
51
+ selector: keyword.type.variant
52
+ - begin: "{\\color[HTML]{000000}"
53
+ end: "}"
54
+ selector: source.ocaml keyword.operator
55
+ - begin: "{\\color[HTML]{3B5BB5}"
56
+ end: "}"
57
+ selector: source.ocaml keyword.operator.symbol.infix
58
+ - begin: "{\\color[HTML]{3B5BB5}"
59
+ end: "}"
60
+ selector: source.ocaml keyword.operator.symbol.prefix
61
+ - begin: "{\\underline{"
62
+ end: "}}"
63
+ selector: source.ocaml keyword.operator.symbol.infix.floating-point
64
+ - begin: "{\\underline{"
65
+ end: "}}"
66
+ selector: source.ocaml keyword.operator.symbol.prefix.floating-point
67
+ - begin: "{\\underline{"
68
+ end: "}}"
69
+ selector: source.ocaml constant.numeric.floating-point
70
+ listing:
71
+ begin: |
72
+ \newcolumntype{C}{>{\color[HTML]{000000}\columncolor[HTML]{FFFFFF}}l}
73
+ \newcolumntype{N}{>{\color[HTML]{000000}\columncolor[HTML]{E3FC8D}}l}
74
+ \begin{longtable}{NC}
75
+
76
+ end: |
77
+ \end{longtable}
78
+
79
+ document:
80
+ begin: |
81
+ \documentclass[a4paper,landscape]{article}
82
+ \usepackage{xcolor}
83
+ \usepackage{colortbl}
84
+ \usepackage{longtable}
85
+ \usepackage[left=2cm,top=1cm,right=3cm,nohead,nofoot]{geometry}
86
+ \usepackage[T1]{fontenc}
87
+ \usepackage[scaled]{beramono}
88
+ \begin{document}
89
+
90
+ end: |
91
+ \end{document}
92
+
93
+ filter: "@escaped.gsub(/(_|\\{|\\}|&|\\#|\\\\)/, '\\\\\\\\\\1').gsub(/~/, '\\\\textasciitilde').gsub(/ /,'\\\\hspace{1ex}').gsub(/\\t/,'\\\\hspace{3ex}')"
94
+ line-numbers:
95
+ begin: \texttt{
96
+ end: "}&\\mbox{\\texttt{"
@@ -0,0 +1,135 @@
1
+ ---
2
+ name: Mac Classic
3
+ line:
4
+ begin: ""
5
+ end: "}}\\\\"
6
+ tags:
7
+ - begin: "{\\color[HTML]{0066FF}\\textit{"
8
+ end: "}}"
9
+ selector: comment
10
+ - begin: "{\\color[HTML]{0000FF}\\textbf{"
11
+ end: "}}"
12
+ selector: keyword, storage
13
+ - begin: "{\\color[HTML]{0000CD}"
14
+ end: "}"
15
+ selector: constant.numeric
16
+ - begin: "{\\color[HTML]{C5060B}\\textbf{"
17
+ end: "}}"
18
+ selector: constant
19
+ - begin: "{\\color[HTML]{585CF6}\\textbf{"
20
+ end: "}}"
21
+ selector: constant.language
22
+ - begin: "{\\color[HTML]{318495}"
23
+ end: "}"
24
+ selector: variable.language, variable.other
25
+ - begin: "{\\color[HTML]{036A07}"
26
+ end: "}"
27
+ selector: string
28
+ - begin: "{\\color[HTML]{26B31A}"
29
+ end: "}"
30
+ selector: constant.character.escape, string source
31
+ - begin: "{\\color[HTML]{1A921C}"
32
+ end: "}"
33
+ selector: meta.preprocessor
34
+ - begin: "{\\color[HTML]{0C450D}\\textbf{"
35
+ end: "}}"
36
+ selector: keyword.control.import
37
+ - begin: "{\\color[HTML]{0000A2}\\textbf{"
38
+ end: "}}"
39
+ selector: entity.name.function, keyword.other.name-of-parameter.objc
40
+ - begin: "{\\underline{"
41
+ end: "}}"
42
+ selector: entity.name.type
43
+ - begin: "{\\textit{"
44
+ end: "}}"
45
+ selector: entity.other.inherited-class
46
+ - begin: "{\\textit{"
47
+ end: "}}"
48
+ selector: variable.parameter
49
+ - begin: "{\\color[HTML]{70727E}"
50
+ end: "}"
51
+ selector: storage.type.method
52
+ - begin: "{\\textit{"
53
+ end: "}}"
54
+ selector: meta.section entity.name.section, declaration.section entity.name.section
55
+ - begin: "{\\color[HTML]{3C4C72}\\textbf{"
56
+ end: "}}"
57
+ selector: support.function
58
+ - begin: "{\\color[HTML]{6D79DE}\\textbf{"
59
+ end: "}}"
60
+ selector: support.class, support.type
61
+ - begin: "{\\color[HTML]{06960E}\\textbf{"
62
+ end: "}}"
63
+ selector: support.constant
64
+ - begin: "{\\color[HTML]{21439C}\\textbf{"
65
+ end: "}}"
66
+ selector: support.variable
67
+ - begin: "{\\color[HTML]{687687}"
68
+ end: "}"
69
+ selector: keyword.operator.js
70
+ - begin: \colorbox[HTML]{990000}{\color[HTML]{FFFFFF}
71
+ end: "}"
72
+ selector: invalid
73
+ - begin: \colorbox[HTML]{FFD0D0}{
74
+ end: "}"
75
+ selector: invalid.deprecated.trailing-whitespace
76
+ - begin: \colorbox[HTML]{F2F2F2}{
77
+ end: "}"
78
+ selector: text source, string.unquoted
79
+ - begin: \colorbox[HTML]{F0F0F0}{
80
+ end: "}"
81
+ selector: text source string.unquoted, text source text source
82
+ - begin: "{\\color[HTML]{68685B}"
83
+ end: "}"
84
+ selector: meta.tag.preprocessor.xml
85
+ - begin: "{\\color[HTML]{888888}"
86
+ end: "}"
87
+ selector: meta.tag.sgml.doctype, meta.tag.sgml.doctype entity, meta.tag.sgml.doctype string, meta.tag.preprocessor.xml, meta.tag.preprocessor.xml entity, meta.tag.preprocessor.xml string
88
+ - begin: "{\\textit{"
89
+ end: "}}"
90
+ selector: string.quoted.docinfo.doctype.DTD
91
+ - begin: "{\\color[HTML]{1C02FF}"
92
+ end: "}"
93
+ selector: meta.tag, declaration.tag
94
+ - begin: "{\\textbf{"
95
+ end: "}}"
96
+ selector: entity.name.tag
97
+ - begin: "{\\textit{"
98
+ end: "}}"
99
+ selector: entity.other.attribute-name
100
+ - begin: "{\\color[HTML]{0C07FF}\\textbf{"
101
+ end: "}}"
102
+ selector: markup.heading
103
+ - begin: "{\\color[HTML]{000000}\\textit{"
104
+ end: "}}"
105
+ selector: markup.quote
106
+ - begin: "{\\color[HTML]{B90690}"
107
+ end: "}"
108
+ selector: markup.list
109
+ listing:
110
+ begin: |
111
+ \newcolumntype{C}{>{\color[HTML]{000000}\columncolor[HTML]{FFFFFF}}l}
112
+ \newcolumntype{N}{>{\color[HTML]{000000}\columncolor[HTML]{C4DCFF}}l}
113
+ \begin{longtable}{NC}
114
+
115
+ end: |
116
+ \end{longtable}
117
+
118
+ document:
119
+ begin: |
120
+ \documentclass[a4paper,landscape]{article}
121
+ \usepackage{xcolor}
122
+ \usepackage{colortbl}
123
+ \usepackage{longtable}
124
+ \usepackage[left=2cm,top=1cm,right=3cm,nohead,nofoot]{geometry}
125
+ \usepackage[T1]{fontenc}
126
+ \usepackage[scaled]{beramono}
127
+ \begin{document}
128
+
129
+ end: |
130
+ \end{document}
131
+
132
+ filter: "@escaped.gsub(/(_|\\{|\\}|&|\\#|\\\\)/, '\\\\\\\\\\1').gsub(/~/, '\\\\textasciitilde').gsub(/ /,'\\\\hspace{1ex}').gsub(/\\t/,'\\\\hspace{3ex}')"
133
+ line-numbers:
134
+ begin: \texttt{
135
+ end: "}&\\mbox{\\texttt{"
@@ -0,0 +1,117 @@
1
+ ---
2
+ name: MagicWB (Amiga)
3
+ line:
4
+ begin: ""
5
+ end: "}}\\\\"
6
+ tags:
7
+ - begin: "{\\color[HTML]{8D2E75}\\textit{"
8
+ end: "}}"
9
+ selector: comment
10
+ - begin: \colorbox[HTML]{AA7878}{\color[HTML]{FFFFFF}
11
+ end: "}"
12
+ selector: string
13
+ - begin: "{\\color[HTML]{FFFFFF}"
14
+ end: "}"
15
+ selector: constant.numeric
16
+ - begin: "{\\color[HTML]{FFA995}\\textbf{"
17
+ end: "}}"
18
+ selector: constant.language
19
+ - begin: \colorbox[HTML]{7878AA}{\color[HTML]{FFA995}
20
+ end: "}"
21
+ selector: constant.character, constant.other
22
+ - begin: "{\\color[HTML]{FFA995}"
23
+ end: "}"
24
+ selector: variable.language, variable.other
25
+ - begin: "{\\textbf{"
26
+ end: "}}"
27
+ selector: keyword
28
+ - begin: "{\\color[HTML]{3A68A3}\\textbf{"
29
+ end: "}}"
30
+ selector: storage
31
+ - begin: "{\\underline{"
32
+ end: "}}"
33
+ selector: entity.name.type
34
+ - begin: "{\\textit{"
35
+ end: "}}"
36
+ selector: entity.other.inherited-class
37
+ - begin: "{\\color[HTML]{FFA995}"
38
+ end: "}"
39
+ selector: entity.name.function
40
+ - begin: "{\\textit{"
41
+ end: "}}"
42
+ selector: variable.parameter
43
+ - begin: "{\\color[HTML]{0000FF}\\textbf{"
44
+ end: "}}"
45
+ selector: entity.name
46
+ - begin: "{\\color[HTML]{3A68A3}\\textit{"
47
+ end: "}}"
48
+ selector: entity.other.attribute-name
49
+ - begin: "{\\color[HTML]{E5B3FF}"
50
+ end: "}"
51
+ selector: support.function
52
+ - begin: "{\\color[HTML]{000000}"
53
+ end: "}"
54
+ selector: support.function.any-method
55
+ - begin: "{\\textit{"
56
+ end: "}}"
57
+ selector: support.function.any-method - punctuation
58
+ - begin: "{\\color[HTML]{FFFFFF}"
59
+ end: "}"
60
+ selector: support.constant
61
+ - begin: "{\\color[HTML]{FFA995}"
62
+ end: "}"
63
+ selector: support.type, support.class
64
+ - begin: "{\\color[HTML]{3A68A3}"
65
+ end: "}"
66
+ selector: support.variable
67
+ - begin: \colorbox[HTML]{797979}{\color[HTML]{FFFFFF}
68
+ end: "}"
69
+ selector: invalid
70
+ - begin: \colorbox[HTML]{969696}{\color[HTML]{FFA995}\textit{
71
+ end: "}}"
72
+ selector: string.quoted.other.lt-gt.include
73
+ - begin: \colorbox[HTML]{969696}{\color[HTML]{FFA995}
74
+ end: "}"
75
+ selector: string.quoted.double.include
76
+ - begin: "{\\color[HTML]{4D4E60}"
77
+ end: "}"
78
+ selector: markup.list
79
+ - begin: \colorbox[HTML]{0000FF}{\color[HTML]{FFFFFF}
80
+ end: "}"
81
+ selector: markup.raw
82
+ - begin: "{\\color[HTML]{00F0C9}"
83
+ end: "}"
84
+ selector: markup.quote
85
+ - begin: "{\\color[HTML]{4C457E}"
86
+ end: "}"
87
+ selector: markup.quote markup.quote
88
+ - begin: \colorbox[HTML]{8A9ECB}{
89
+ end: "}"
90
+ selector: text.html source
91
+ listing:
92
+ begin: |
93
+ \newcolumntype{C}{>{\color[HTML]{000000}\columncolor[HTML]{969696}}l}
94
+ \newcolumntype{N}{>{\color[HTML]{000000}\columncolor[HTML]{B1B1B1}}l}
95
+ \begin{longtable}{NC}
96
+
97
+ end: |
98
+ \end{longtable}
99
+
100
+ document:
101
+ begin: |
102
+ \documentclass[a4paper,landscape]{article}
103
+ \usepackage{xcolor}
104
+ \usepackage{colortbl}
105
+ \usepackage{longtable}
106
+ \usepackage[left=2cm,top=1cm,right=3cm,nohead,nofoot]{geometry}
107
+ \usepackage[T1]{fontenc}
108
+ \usepackage[scaled]{beramono}
109
+ \begin{document}
110
+
111
+ end: |
112
+ \end{document}
113
+
114
+ filter: "@escaped.gsub(/(_|\\{|\\}|&|\\#|\\\\)/, '\\\\\\\\\\1').gsub(/~/, '\\\\textasciitilde').gsub(/ /,'\\\\hspace{1ex}').gsub(/\\t/,'\\\\hspace{3ex}')"
115
+ line-numbers:
116
+ begin: \texttt{
117
+ end: "}&\\mbox{\\texttt{"