I have some supporting tables in an article that need to be submitted as a separate pdf file, however I need the cross-references and table numbers with captions (\listoftables) in the main document.
The separate pdf is not a problem, but how do I hide specific tables in the main document? Basically some tables should be processed for references and captions but removed from the final output.
Thanks!
edit: minimal working example
\documentclass[letterpaper,11pt]{article}
\usepackage[nolists,nomarkers,figuresfirst]{endfloat}
\newcommand{\beginsupplement}{\setcounter{table}{0}\renewcommand{\thetable}{S\arabic{table}}\setcounter{figure}{0}\renewcommand{\thefigure}{S\arabic{figure}}}
\begin{document}
Table~\ref{tab:S1} but not Table~\ref{tab:1} should be in a separate pdf file. The rest is fine.
\begin{table}[ht]
\begin{tabular}{c}
Content 1
\end{tabular}
\caption{Caption 1}
\label{tab:1}
\end{table}
\newpage
\listoftables
\newpage
\processdelayedfloats
\beginsupplement
\renewcommand{\tablename}{Supporting Table}
\begin{table}[ht]
\begin{tabular}{c}
Content S1
\end{tabular}
\caption{Caption S1}
\label{tab:S1}
\end{table}
\end{document}