latex-formulae icon indicating copy to clipboard operation
latex-formulae copied to clipboard

Out-of-bounds errors from Data.Vector.Generic `(!)`, and weird 5px pictures from TikZ

Open mrkgnao opened this issue 8 years ago • 0 comments

This is my post:


---
title: Hello!
tags: nontechnical
preamble: \usepackage{amsmath,amsfonts,amssymb}\usepackage{tikz}\usetikzlibrary{calc,fadings,decorations.pathreplacing}

---

Some prettier stuff:

$$ \begin{tikzpicture}
\draw (0,0)--(10,0);
\filldraw (0,0) circle (3pt);
\end{tikzpicture}
$$

This is what I get:

data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAGCAQAAAC/O6xzAAAAKklEQVR4nGNggIDbDP+hEAUoYhdmYOjDLszAcA67MANDGcNfbMIgO8AAAOObEODG8S5AAAAAAElFTkSuQmCC

This is an 11x6 image!

In addition, sometimes I get these weird errors while doing a ./site build:

Compiling
  cached  templates/default.html
  cached  about.rst
    formula (displaymath) "\begin{tikzpictu"
      drawing...
  [ERROR] ./Data/Vector/Generic.hs:235 ((!)): index out of bounds (40,40)
    formula (displaymath) "\begin{tikzpictu"
      drawing...

mrkgnao avatar Mar 10 '16 09:03 mrkgnao