diff --git a/chapters/operatorsandexpressions.tex b/chapters/operatorsandexpressions.tex index ad1ef360e..e71f7777e 100644 --- a/chapters/operatorsandexpressions.tex +++ b/chapters/operatorsandexpressions.tex @@ -41,7 +41,11 @@ \section{Operator Precedence and Associativity}\label{operator-precedence-and-as % Beware that the array construction operator, normally expressed as \lstinline!{ }! needs escaped braces inside \caption. % This isn't handled correctly by LaTeXML, as reported here: % - https://github.com/brucemiller/LaTeXML/issues/1377 +\ifpdf \caption{Operators in order of precedence from highest to lowest, as derived from the Modelica grammar in \cref{modelica-concrete-syntax}. All operators are binary except the postfix operators and those shown as unary together with \emph{expr}, the conditional operator, the array construction operator \lstinline!\{ \}! and concatenation operator \lstinline![ ]!, and the array range constructor which is either binary or ternary. Operators with the same precedence occur at the same table row.}\label{tab:operator-precedence} +\else +\caption{Operators in order of precedence from highest to lowest, as derived from the Modelica grammar in \cref{modelica-concrete-syntax}. All operators are binary except the postfix operators and those shown as unary together with \emph{expr}, the conditional operator, the array construction operator \lstinline!{ }! and concatenation operator \lstinline![ ]!, and the array range constructor which is either binary or ternary. Operators with the same precedence occur at the same table row.}\label{tab:operator-precedence} +\fi \begin{center} \begin{tabular}{l l l} \hline