# [texhax] are outlines and chemfig packages incompatible?

Christopher W. Ryan cryan at binghamton.edu
Tue Jul 28 04:21:12 CEST 2015

Runing Linux Mint. I want to use the outlines package, and the chemfig
package, in a beamer presentation. It seems that I can do only one or
the other. In the example below, "toggle" the chemfig package (and
related code) and the outlines package (and related code) on or off. If
try to use both, I get an error that "error occurred after last tex file
closed"

Same error happens in article class.

I don't even need to try to draw a molecule. Simply uncommenting the

Any ideas?

Thanks.

--Chris Ryan

Working example:

\documentclass{beamer}
% \usepackage{chemfig}
\usepackage{outlines}

\begin{document}

\begin{frame}
\frametitle{title}

% \chemfig{(-[:210.001]-[:150.002]-[:210.001]HS)-[:329.999]}

non-chemfig text

\end{frame}

\begin{frame}
\frametitle{second slide}

\begin{outline}
\1 foo
\1 bar
\end{outline}

\end{frame}

\end{document}