Skip to content

Instantly share code, notes, and snippets.

@dginev
Created September 4, 2019 15:08
Show Gist options
  • Save dginev/f3ebeaf96ce7682f9410483a120fa50b to your computer and use it in GitHub Desktop.
Save dginev/f3ebeaf96ce7682f9410483a120fa50b to your computer and use it in GitHub Desktop.
Broken Tikz Example from latexml/#1196
Display the source blob
Display the rendered blob
Raw
<?xml version="1.0" encoding="UTF-8"?>
<svg id="p1.pic1" class="ltx_picture" style="width:279.3pt;height:86.9pt;" height="120.26" overflow="visible" version="1.1" viewBox="-306.14 -106.38 386.44 120.26" width="386.44">
<g transform="matrix(1 0 0 -1 0 -92.5)">
<g>
<g stroke="#000000">
<g fill="#000000">
<g stroke-width="0.4pt" color="#000000">
<g>
<g>
<path d="M -77.26 -10.84 h 154.51 v 21.68 h -154.51 Z" style="fill:none" />
<g>
<g transform="matrix(1 0 0 1 -72.64 -3.46)">
<g class="ltx_svg_fog" transform="matrix(1 0 0 -1 0 12.45)">
<switch>
<foreignObject color="#000000" height="100%" overflow="visible" width="145.29">
<p class="ltx_p" />
</foreignObject>
<g stroke="#000000">
<g fill="#000000">
<switch>
<foreignObject width="7.5pt" height="9.0pt">
SNPC Server
<math id="p1.pic1.m1" class="ltx_Math" alttext="S" display="inline">
<mi>S</mi>
</math>
</foreignObject>
</switch>
</g>
</g>
</switch>
</g>
</g>
</g>
<g>
<g fill="#FFFF00">
<g stroke-width="1.2pt">
<g>
<g fill="#FFFF00">
<g stroke-width="1.2pt">
<path d="M -51.31 -89.58 h 102.62 v 21.68 h -102.62 Z" />
</g>
</g>
</g>
<g>
<g transform="matrix(1 0 0 1 -46.7 -82.2)">
<g class="ltx_svg_fog" transform="matrix(1 0 0 -1 0 12.45)">
<switch>
<foreignObject color="#000000" height="100%" overflow="visible" width="93.4">
<p class="ltx_p" />
</foreignObject>
<g stroke="#000000">
<g fill="#000000">
<switch>
<foreignObject width="7.5pt" height="9.0pt">
worker
<math id="p1.pic1.m2" class="ltx_Math" alttext="W" display="inline">
<mi>W</mi>
</math>
</foreignObject>
</switch>
</g>
</g>
</switch>
</g>
</g>
</g>
</g>
</g>
<g>
<g fill="#FFFF00">
<g stroke-width="1.2pt">
<g>
<g fill="#FFFF00">
<g stroke-width="1.2pt">
<path d="M -152.52 -102.78 h 68.81 v 48.08 h -68.81 Z" />
</g>
</g>
</g>
<g>
<g transform="matrix(1 0 0 1 -147.91 -69)">
<g class="ltx_svg_fog" transform="matrix(1 0 0 -1 0 12.45)">
<switch>
<foreignObject color="#000000" height="100%" overflow="visible" width="59.59">
<p class="ltx_p" />
</foreignObject>
<g stroke="#000000">
<g fill="#000000">
<switch>
<foreignObject width="35.6pt" height="28.1pt">
<span class="ltx_inline-para ltx_minipage ltx_align_top" style="width:35.6pt;">
<span id="p1.pic1.p1" class="ltx_para">
<span class="ltx_p">
proxy
<math id="p1.pic1.p1.m1" class="ltx_Math" alttext="P" display="inline">
<mi>P</mi>
</math>
(
<math id="p1.pic1.p1.m2" class="ltx_Math" alttext="I_{1}" display="inline">
<msub>
<mi>I</mi>
<mn>1</mn>
</msub>
</math>
)
</span>
</span>
</span>
</foreignObject>
</switch>
</g>
</g>
</switch>
</g>
</g>
</g>
</g>
</g>
<g>
<path d="M -303.1 -89.58 h 133.75 v 21.68 h -133.75 Z" style="fill:none" />
<g>
<g transform="matrix(1 0 0 1 -298.49 -82.2)">
<g class="ltx_svg_fog" transform="matrix(1 0 0 -1 0 12.45)">
<switch>
<foreignObject color="#000000" height="100%" overflow="visible" width="124.53">
<p class="ltx_p" />
</foreignObject>
<g stroke="#000000">
<g fill="#000000">
<switch>
<foreignObject width="7.5pt" height="9.0pt">
dependent
<math id="p1.pic1.m3" class="ltx_Math" alttext="D" display="inline">
<mi>D</mi>
</math>
</foreignObject>
</switch>
</g>
</g>
</switch>
</g>
</g>
</g>
<g>
<g>
<g transform="matrix(1 0 0 1 -1.47 -63.74)">
<g class="ltx_svg_fog" transform="matrix(1 0 0 -1 0 12.45)">
<switch>
<foreignObject color="#000000" height="100%" overflow="visible" width="26.57">
<p class="ltx_p" />
</foreignObject>
<g stroke="#000000">
<g fill="#000000">
<switch>
<foreignObject width="11.7pt" height="10.1pt">
<math id="p1.pic1.m4" class="ltx_Math" alttext="C_{S}" display="inline">
<msub>
<mi>C</mi>
<mi>S</mi>
</msub>
</math>
</foreignObject>
</switch>
</g>
</g>
</switch>
</g>
</g>
</g>
<g>
<g>
<g transform="matrix(1 0 0 1 -56.59 -73.58)">
<g class="ltx_svg_fog" transform="matrix(1 0 0 -1 0 12.45)">
<switch>
<foreignObject color="#000000" height="100%" overflow="visible" width="26.57">
<p class="ltx_p" />
</foreignObject>
<g stroke="#000000">
<g fill="#000000">
<switch>
<foreignObject width="11.7pt" height="10.1pt">
<math id="p1.pic1.m5" class="ltx_Math" alttext="C_{P}" display="inline">
<msub>
<mi>C</mi>
<mi>P</mi>
</msub>
</math>
</foreignObject>
</switch>
</g>
</g>
</switch>
</g>
</g>
</g>
<g>
<g>
<g transform="matrix(1 0 0 1 -88.09 -73.58)">
<g class="ltx_svg_fog" transform="matrix(1 0 0 -1 0 12.45)">
<switch>
<foreignObject color="#000000" height="100%" overflow="visible" width="26.57">
<p class="ltx_p" />
</foreignObject>
<g stroke="#000000">
<g fill="#000000">
<switch>
<foreignObject width="11.7pt" height="10.1pt">
<math id="p1.pic1.m6" class="ltx_Math" alttext="C_{W}" display="inline">
<msub>
<mi>C</mi>
<mi>W</mi>
</msub>
</math>
</foreignObject>
</switch>
</g>
</g>
</switch>
</g>
</g>
</g>
<g>
<g>
<g transform="matrix(1 0 0 1 -98.46 -89.33)">
<g class="ltx_svg_fog" transform="matrix(1 0 0 -1 0 12.45)">
<switch>
<foreignObject color="#000000" height="100%" overflow="visible" width="47.32">
<p class="ltx_p" />
</foreignObject>
<g stroke="#000000">
<g fill="#000000">
<switch>
<foreignObject width="7.5pt" height="9.0pt">
(
<math id="p1.pic1.m7" class="ltx_Math" alttext="P_{1}" display="inline">
<msub>
<mi>P</mi>
<mn>1</mn>
</msub>
</math>
)
</foreignObject>
</switch>
</g>
</g>
</switch>
</g>
</g>
</g>
<g>
<g>
<g transform="matrix(1 0 0 1 -170.76 -73.58)">
<g class="ltx_svg_fog" transform="matrix(1 0 0 -1 0 12.45)">
<switch>
<foreignObject color="#000000" height="100%" overflow="visible" width="26.57">
<p class="ltx_p" />
</foreignObject>
<g stroke="#000000">
<g fill="#000000">
<switch>
<foreignObject width="11.7pt" height="10.1pt">
<math id="p1.pic1.m8" class="ltx_Math" alttext="C_{D}" display="inline">
<msub>
<mi>C</mi>
<mi>D</mi>
</msub>
</math>
</foreignObject>
</switch>
</g>
</g>
</switch>
</g>
</g>
</g>
<g>
<g>
<g transform="matrix(1 0 0 1 -183.11 -89.33)">
<g class="ltx_svg_fog" transform="matrix(1 0 0 -1 0 12.45)">
<switch>
<foreignObject color="#000000" height="100%" overflow="visible" width="47.32">
<p class="ltx_p" />
</foreignObject>
<g stroke="#000000">
<g fill="#000000">
<switch>
<foreignObject width="7.5pt" height="9.0pt">
(
<math id="p1.pic1.m9" class="ltx_Math" alttext="P_{2}" display="inline">
<msub>
<mi>P</mi>
<mn>2</mn>
</msub>
</math>
)
</foreignObject>
</switch>
</g>
</g>
</switch>
</g>
</g>
</g>
<path d="M 0 -11.12 L 0 -67.07" style="fill:none" />
<g>
<g stroke-dasharray="0.4pt,2.0pt" stroke-dashoffset="0.0pt">
<path d="M -52.14 -78.74 L -82.87 -78.74" style="fill:none" />
</g>
</g>
<path d="M -153.35 -78.74 L -169.07 -78.74" style="fill:none" />
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment