Skip to content

Commit

Permalink
Add paragraph breaks around tabbing environment for LaTeXML build
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Nov 20, 2021
1 parent d1ac62b commit a9d0080
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions chapters/functions.tex
Expand Up @@ -2464,6 +2464,12 @@ \subsection{Annotations for External Libraries and Include Files}\label{annotati
end MyExternalFunctions;
\end{lstlisting}
Directory structure:
% Adding paragraph break above tabbing environment to work around LaTeXML issue:
% - https://github.com/brucemiller/LaTeXML/issues/1719
\ifpdf
\else
\par
\fi
{\upshape
\begin{tabbing}
\hspace{15em}\=\hspace{1em}\=\kill
Expand All @@ -2489,6 +2495,12 @@ \subsection{Annotations for External Libraries and Include Files}\label{annotati
\filename{MyExternalFunctions}\\
\quad\filename{package.mo}% No line break on last line!
\end{tabbing}}
% Adding paragraph break (line break isn't allowed after empty line) below tabbing environment to work around LaTeXML issue:
% - https://github.com/brucemiller/LaTeXML/issues/1719
\ifpdf
\else
\par
\fi
Note that calling the function \lstinline!MyExternalFunctions.ExternalFunc1! will use
the header and library files from \lstinline!ExternalFunction!, the \lstinline!ExternalFunctions.Example! will not use \filename{ExternalFunc3.c},
and one library file may contain multiple functions.
Expand Down

0 comments on commit a9d0080

Please sign in to comment.