chirun-ncl / chirun

A Python package providing the command line interface for building flexible and accessible content with Chirun.
https://chirun.org.uk/
Other
30 stars 4 forks source link

The algorithm and algorithmic packages cause the imager to add a `\Command` macro to its tex document #206

Open christianp opened 1 year ago

christianp commented 1 year ago

Becuase algorithm and algorithmic aren't implemented in Python, the TeX version is loaded. Something goes wrong with this and the imager adds \Command where \usepackage{algorithm} should go.

Here's a minimal example:

\documentclass{article}

\usepackage{algorithm}
\usepackage{algorithmic}
\usepackage{tikz}

\begin{document}

\begin{tikzpicture}
  \node[draw,circle,inner sep=0.25cm] (2) at (0,0) {};
\end{tikzpicture}

\end{document}