I am trying to highlight equations of a linear program starting from buttom and add constraints to the highlight. Here is my MWE:
\documentclass{beamer}
\usepackage{lmodern,amsmath,amssymb}
\usepackage[beamer]{hf-tikz}
\usetheme{Copenhagen}
\begin{document}
\section{Mysection}
\subsection{A subsection}
\begin{frame}{The equations}
\begin{block}{}
\[
\begin{array}{r@{}r@{}r@{}l}
\text{Max} \quad z=x_1 &{} + 12x_2 \\[\jot]
\text{s.t.}\qquad 3x_1 &{} + \phantom{12}x_2 &{} &{} \leq 5 \\
x_1 & &{} &{} \leq 16 \\
\tikzmarkin<2->{a}
15x_1 &{} + \phantom{12}x_2 & &{} = 14 \\ \tikzmarkend<2->{a}
\tikzmarkin<1>{a}x_1 &{} &{} &{} \geq 0 \\
&{} x_2 & &{} \geq 0\tikzmarkend{a}\\
\end{array}
\]
\end{block}
\end{frame}
\end{document}
I get a weird 2-> expression in my slides and also my highlight box doesn't cover the equation fully (in second slide). Am I missing something? Thank you in advance for your help.
NOTE: ht-tikz always needs two comilation. The manual says: Two compilation runs are always necessary: the first one to compute the position of the markers (also called delimiters) and the second one to place the box. So, if you get an error in the first run, don't panic! Run it again...

Package tikz Error: Cannot parse this coordinate.message. Please ensure your example is compilable. – Peter Grill Dec 02 '12 at 01:12ht-tikzneeds to be updated to use the upcomingtikzmarkpackage. I just retried it and get the same error message upon every compilation. – Peter Grill Dec 02 '12 at 04:53ht-tikzsomething that strange should be mentioned in the question. However, I don't know why I was not able to compile it. – Peter Grill Dec 02 '12 at 05:43tikzmarkpackage on CTAN I'll probably make use of it inhf-tikz. – Claudio Fiandrino Dec 02 '12 at 10:40