Can I use \foreach inside of decoration = {markings, ...?
\documentclass[convert = false, tikz]{standalone}
\usetikzlibrary{decorations.markings}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}
\begin{scope}[decoration = {markings,
\foreach \loc in {.1, .2, ..., 1}{
mark = at position \loc with {\arrow{latex}},
}
}]
\draw[postaction = decorate] (0, 0) -- (2,3);
\end{scope}
\end{tikzpicture}
\end{document}
This code freezes on compilation.
