I'm using the package dtsyntax to highlight code text based on listings. For in-line annotation they make a new command \modelica{ } based on lstinline as follows :
\newcommand{\modelica}[1]{\lstinline[basicstyle=\ttfamily,language=modelica]|#1|}
But when i use this as follows
this is a test concerning highlighting \modelica{"modelica"} in LaTeX ...
I get the following error which i can not trace back :
Package Listings Error: lstinline ended by EOL.
can anyone help me with this ?