GeneralUpdating a variable based on a table?

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
bombcar
Posts: 22
Joined: Tue Oct 28, 2008 10:18 pm

Updating a variable based on a table?

Post by bombcar »

I have a footer using fancyhdr defined as:

\fancyfoot[CE,CO]{Revision 1.2}

However, I have to manually remember to update that revision number. I'd much rather it pull it automatically from this table:

Code: Select all

\markboth{Revision History}{}
\section*{Revision History}
\addcontentsline{toc}{section}{Revision History}
\addtocounter{section}{1}
\begin{tabularx}{\textwidth}{ c l X l}
\toprule
Revision 	& Date 		& Description 		& Editor \\ \midrule
1.0		& 2008-11-13	& Initial document	& Elvis \\
1.1		& 2008-12-01	& Removed Elvis	& Bob Dylan \\
1.2		& 2008-12-02	& Clarifications        & MJ\\
\bottomrule
\end{tabularx}
Is there a way to make a variable always equal to the "bottom left" entry in a table elsewhere?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply