From b6f065160f14dd8fd962b391a01a4ded6b2ac1bc Mon Sep 17 00:00:00 2001 From: Henrik Tidefelt Date: Mon, 9 Nov 2020 08:32:43 +0100 Subject: [PATCH] Add comment regarding LaTeXML failure to treat \lstinline properly inside \caption --- chapters/operatorsandexpressions.tex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chapters/operatorsandexpressions.tex b/chapters/operatorsandexpressions.tex index 87b2f6ae7..6aeaf1e20 100644 --- a/chapters/operatorsandexpressions.tex +++ b/chapters/operatorsandexpressions.tex @@ -39,6 +39,8 @@ \section{Operator Precedence and Associativity}\label{operator-precedence-and-as The following table presents all the expression operators in order of precedence. \begin{table}[H] % 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 \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} \begin{center} \begin{tabular}{l l l}