render/latex/mac_classic.render in ultraviolet-0.10.0 vs render/latex/mac_classic.render in ultraviolet-0.10.1
- old
+ new
@@ -34,11 +34,11 @@
- begin: "{\\color[HTML]{0C450D}\\textbf{"
end: "}}"
selector: keyword.control.import
- begin: "{\\color[HTML]{0000A2}\\textbf{"
end: "}}"
- selector: entity.name.function, keyword.other.name-of-parameter.objc
+ selector: entity.name.function, support.function.any-method
- begin: "{\\underline{"
end: "}}"
selector: entity.name.type
- begin: "{\\textit{"
end: "}}"
@@ -65,20 +65,20 @@
end: "}}"
selector: support.variable
- begin: "{\\color[HTML]{687687}"
end: "}"
selector: keyword.operator.js
-- begin: \colorbox[HTML]{990000}{\color[HTML]{FFFFFF}
+- begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{990000}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{FFFFFF}
end: "}"
selector: invalid
-- begin: \colorbox[HTML]{FFD0D0}{
+- begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{FFD0D0}{\rule[-0.5ex]{0pt}{2.0ex}
end: "}"
selector: invalid.deprecated.trailing-whitespace
-- begin: \colorbox[HTML]{F2F2F2}{
+- begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{0C0C0C}{\rule[-0.5ex]{0pt}{2.0ex}
end: "}"
selector: text source, string.unquoted
-- begin: \colorbox[HTML]{F0F0F0}{
+- begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{0E0E0E}{\rule[-0.5ex]{0pt}{2.0ex}
end: "}"
selector: text source string.unquoted, text source text source
- begin: "{\\color[HTML]{68685B}"
end: "}"
selector: meta.tag.preprocessor.xml
@@ -107,11 +107,11 @@
end: "}"
selector: markup.list
listing:
begin: |
\newcolumntype{C}{>{\color[HTML]{000000}\columncolor[HTML]{FFFFFF}}l}
- \newcolumntype{N}{>{\color[HTML]{000000}\columncolor[HTML]{C4DCFF}}l}
+ \newcolumntype{N}{>{\color[HTML]{000000}\columncolor[HTML]{4D97FF}}l}
\begin{longtable}{NC}
end: |
\end{longtable}
@@ -127,9 +127,9 @@
\begin{document}
end: |
\end{document}
-filter: "@escaped.gsub(/(_|\\{|\\}|&|\\#|\\\\)/, '\\\\\\\\\\1').gsub(/~/, '\\\\textasciitilde').gsub(/ /,'\\\\hspace{1ex}').gsub(/\\t/,'\\\\hspace{3ex}')"
+filter: "@escaped.gsub(/(\\$)/, '\\\\\\\\\\1').gsub(/\\\\(?!\\$)/, '$\\\\\\\\backslash$').gsub(/(_|\\{|\\}|&|\\#|%)/, '\\\\\\\\\\1').gsub(/~/, '\\\\textasciitilde ').gsub(/ /,'\\\\hspace{1ex}').gsub(/\\t| /,'\\\\hspace{3ex}').gsub(/\\\"/, \"''\").gsub(/(\\^)/,'\\\\\\\\\\1{}')"
line-numbers:
begin: \texttt{
end: "}&\\mbox{\\texttt{"