I have some tabular data in a footnote invoked from a cell in a table in the document's text.
I eventually managed to isolate the problem and am now able to provide a one-page non-working document as well as a version that does not incur the error.
This works:
Code: Select all
\documentclass[10pt]{book}
\usepackage{longtable}
\setlength{\tabcolsep}{1.75pt}
\begin{document}
\chapter*{\centering Lièvre farci.}
\begin{longtable}{rrrl}
750 & grammes & de & foie gras d'oie de Strasbourg ou de Nancy, \\
500 & grammes & de & foies de volaille et de gibier, \\
500 & grammes & de & lard frais, \\
250 & grammes & de & champignons de couche, \\
30 & grammes & de & beurre, \\
30 & grammes & de & cognac, \\
20 & grammes & d' & échalotes, \\
15 & grammes & de & farine, \\
3 & litres & de & gelée de veau et de volaille, \\
& & 1 & beau lièvre jeune et tendre, \\
& & & marinade, p. 660, ou p. 669, \\
& & & madère, \\
& & & porto \\
& & & mélange d'épices\footnote{Par exemple : \\
\begin{tabular}{ p{16em} l r l l }
& Clous de girofle \dotfill & 27,50 & pour & 100, \\
& Muscade \dotfill & 27,50 & pour & 100, \\
& Thym \dotfill & 10,00 & pour & 100, \\
& Laurier \dotfill & 10,00 & pour & 100, \\
& Poivre blanc \dotfill & 10,00 & pour & 100, \\
& Marjolaine \dotfill & 5,00 & pour & 100, \\
& Romarin \dotfill & 5,00 & pour & 100, \\
& Cayenne \dotfill & 5,00 & pour & 100, \\
\end{tabular}}, \\
\end{longtable}
\end{document}
Code: Select all
\documentclass[10pt]{book}
\usepackage{longtable}
\setlength{\tabcolsep}{1.75pt}
\begin{document}
\chapter*{\centering Lièvre farci.}
\begin{longtable}{rrrp{16em}}
750 & grammes & de & foie gras d'oie de Strasbourg ou de Nancy, \\
500 & grammes & de & foies de volaille et de gibier, \\
500 & grammes & de & lard frais, \\
250 & grammes & de & champignons de couche, \\
30 & grammes & de & beurre, \\
30 & grammes & de & cognac, \\
20 & grammes & d' & échalotes, \\
15 & grammes & de & farine, \\
3 & litres & de & gelée de veau et de volaille, \\
& & 1 & beau lièvre jeune et tendre, \\
& & & marinade, p. 660, ou p. 669, \\
& & & madère, \\
& & & porto \\
& & & mélange d'épices\footnote{Par exemple : \\
\begin{tabular}{ p{16em} l r l l }
& Clous de girofle \dotfill & 27,50 & pour & 100, \\
& Muscade \dotfill & 27,50 & pour & 100, \\
& Thym \dotfill & 10,00 & pour & 100, \\
& Laurier \dotfill & 10,00 & pour & 100, \\
& Poivre blanc \dotfill & 10,00 & pour & 100, \\
& Marjolaine \dotfill & 5,00 & pour & 100, \\
& Romarin \dotfill & 5,00 & pour & 100, \\
& Cayenne \dotfill & 5,00 & pour & 100, \\
\end{tabular}}, \\
\end{longtable}
\end{document}
The version that fails has:
Code: Select all
\begin{longtable}{rrrp{16em}}
Code: Select all
\begin{longtable}{rrrl}
Especially since I have hundreds of similar "longtable" definitions and would prefer to have all their columns aligned when they happen to live on the same page.
Thanks,
CJ
PS. I see in the preview of this post that the '\\''s (next line) on the right of the code samples are not visible. Hopefully this will right itself when actualy post (?). All apologies if not - I have never used this forum before and will post amended versions of the two versions (after testing them) if it does not.