Skip to content

remove adhoc pgfsys-dvisvgm4ht.def #224

Description

@wiobber

This file got added in october 2024, but it now seems to cause subtle [..] errors ( File ended while scanning use of \AltlDisplayDollars.) when used after some tikzpictures ...

Example of problem:

\documentclass{article}
% \documentclass{ximera}

\usepackage{tikz}
% \input{../preamble.tex}

\title{Test mathmode - tikz - mathjax issue} %\license{CC BY-NC-SA 4.0}

\begin{document}

% \begin{abstract}
% \end{abstract}
% \maketitle

\typeout{Test A} [ x=2 ] \typeout{Done}

\begin{tikzpicture}[scale=0.8]

% Axes
\draw[->] (-4,0) -- (4.2,0) node[right, font=\scriptsize] {$x$};
\draw[->] (0,-3) -- (0,5.2) node[above, font=\scriptsize] {$y$};

% X ticks + labels
\foreach \x/\xlabel in {-3/{$-3 \hspace{7pt}$}, -2/{$-2 \hspace{7pt}$}, -1/{$-1 \hspace{7pt}$},
1/{$1$}, 2/{$2$}, 3/{$3$}}
\draw (\x,0.1) -- (\x,-0.1) node[below, font=\scriptsize] {\xlabel};

% Y ticks + labels
\foreach \y/\ylabel in {-2/{$-2$}, -1/{$-1$}, 1/{$1$}, 2/{$2$}, 3/{$3$}, 4/{$4$}}
\draw (0.1,\y) -- (-0.1,\y) node[left, font=\scriptsize] {\ylabel};

% Constant line with arrows on both ends
\draw[thick, <->, >=stealth] (-4,3) -- (4,3);

% Caption
\node[above,align=left] at (3,2){`constant', $m = 0$};

\end{tikzpicture}

%% NOW THIS MIGHT NOT WORK:
\typeout{Test E} [ x=2 ] \typeout{Done}

\end{document}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions