diff --git a/1-current-metaprogramming/1-metaprog-and-hpc-overview.tex b/1-current-metaprogramming/1-metaprog-and-hpc-overview.tex index dc89d9e..d064a57 100644 --- a/1-current-metaprogramming/1-metaprog-and-hpc-overview.tex +++ b/1-current-metaprogramming/1-metaprog-and-hpc-overview.tex @@ -45,7 +45,7 @@ \section{ \begin{lstlisting}[ language={c++}, - caption={C++ macro usage example \footnotemark{}}, + caption={C++ macro usage example \protect\footnotemark{}}, label={lst:c-preproc-example} ]{} #include @@ -73,7 +73,7 @@ \section{ \begin{lstlisting}[ language={lisp}, - caption={Definition of the \lstinline{while} Lisp macro\footnotemark{}}, + caption={Definition of the \lstinline{while} Lisp macro\protect\footnotemark{}}, label=lst:lisp-while ]{} (defmacro while (condition &body body) @@ -95,7 +95,7 @@ \section{ \begin{lstlisting}[ language=caml, - caption={Run-time specialization of the power function in MetaOCaml\footnotemark{}}, + caption={Run-time specialization of the power function in MetaOCaml\protect\footnotemark{}}, label={lst:metaocaml-spower} ]{} let rec spower : int -> int code -> int code = @@ -140,7 +140,7 @@ \section{ \begin{lstlisting}[ language=rust, - caption={Definition of the \lstinline{vec!} macro\footnotemark{}}, + caption={Definition of the \lstinline{vec!} macro\protect\footnotemark{}}, label={lst:rust-vec-macro} ]{} #[macro_export] @@ -173,7 +173,7 @@ \section{ \begin{lstlisting}[ language=terra, - caption={Definition of the \lstinline{addone} metafunction\footnotemark{}}, + caption={Definition of the \lstinline{addone} metafunction\protect\footnotemark{}}, label={lst:terra-addone} ]{} function addone(a) diff --git a/main.pdf b/main.pdf index 8baaced..9971b62 100644 Binary files a/main.pdf and b/main.pdf differ