<div dir="ltr"><div>Hello,</div><div><br></div><div>Apologies if this is not the best place to submit a bug report -- I am trying out this mailing group thing for the first time -- but I think I am running into a bug with tex4ht. I am also fairly new with LaTex in general, so please bear with me if I am missing something obvious. I am trying to use TikZ in Emacs Org Mode via a LaTeX source block. For testing purposes, I am trying to compile the following block:</div><div><br></div><div>---<br></div><div> \begin{tikzpicture}<br> \draw[->] (-3,0) -- (-2,0) arc[radius=0.5cm,start angle=-180,end angle=0] (-1,0) -- (1,0) arc[radius=0.5cm,start angle=180,end angle=0] (2,0) -- (3,0);<br> \filldraw (-1.5,0) circle[radius=1mm];<br> \filldraw (1.5,0) circle[radius=1mm];<br> \end{tikzpicture}<br></div><div>---</div><div><br></div><div>Trying to compile this with pdfTex fails; the shell outputs the following message:</div><div><br></div><div>---<br></div><div>! Undefined control sequence.<br>l.140 \AtBeginEnvironment<br>                         [tex4ht]{abstract}{\ConfigureEnv{center}{\a:abstrac...<br><br>? <br>! Emergency stop.<br>l.140 \AtBeginEnvironment<br>                         [tex4ht]{abstract}{\ConfigureEnv{center}{\a:abstrac...<br><br>No pages of output.<br></div><div>---</div><div><br></div><div>I tried to track down where AtBeginEnivronment is from, with me being new to debugging LaTeX, a quick search suggests it is from the etoolbox package. Looking up the AtBeginEnvironment in the manual here: <a href="http://mirrors.ibiblio.org/CTAN/macros/latex/contrib/etoolbox/etoolbox.pdf">http://mirrors.ibiblio.org/CTAN/macros/latex/contrib/etoolbox/etoolbox.pdf</a>, it looks like the definition is missing the `[tex4ht]`, so my best guess is that the control sequence is being invoked improperly in tex4ht-4ht.tex:<br></div><div><br></div><div><a href="http://svn.gnu.org.ua/viewvc/tex4ht/trunk/lit/tex4ht-4ht.tex?annotate=877#l8227">http://svn.gnu.org.ua/viewvc/tex4ht/trunk/lit/tex4ht-4ht.tex?annotate=877#l8227</a></div><div><br></div><div>Let me know if you need anything from me to debug this or if there's a better way to submit this bug.</div><div><br></div><div>Regards,</div><div>Trent<br></div></div>