diff options
-rw-r--r-- | Master/texmf-dist/doc/latex/threeparttablex/README | 5 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/threeparttablex/threeparttablex.pdf | bin | 76148 -> 72846 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/threeparttablex/threeparttablex.tex | 16 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/threeparttablex/threeparttablex.sty | 23 | ||||
-rwxr-xr-x | Master/tlpkg/libexec/ctan2tds | 1 |
5 files changed, 6 insertions, 39 deletions
diff --git a/Master/texmf-dist/doc/latex/threeparttablex/README b/Master/texmf-dist/doc/latex/threeparttablex/README index bb436363399..91f71f17085 100644 --- a/Master/texmf-dist/doc/latex/threeparttablex/README +++ b/Master/texmf-dist/doc/latex/threeparttablex/README @@ -1,4 +1,4 @@ -% (C) Lars Madsen, daleif@imf.au.dk, 2009/08/23 +% (C) Lars Madsen, daleif@imf.au.dk, 2009/12/28 % This material is subject to the LaTeX Project Public License. % See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html % for the details of that license. @@ -20,8 +20,7 @@ can now do \tnotex{tn:a} to get \tnote{\ref{tn:a}}. For information on how to use threeparttable with longtable see the manual. * v0.06 - Added support for \note and \source when loading the referable option, - for example of use, see the manual + Made \tnotex robust * v0.04 Added \setTableNoteFont diff --git a/Master/texmf-dist/doc/latex/threeparttablex/threeparttablex.pdf b/Master/texmf-dist/doc/latex/threeparttablex/threeparttablex.pdf Binary files differindex 5a98f59271c..7c5dc25554a 100644 --- a/Master/texmf-dist/doc/latex/threeparttablex/threeparttablex.pdf +++ b/Master/texmf-dist/doc/latex/threeparttablex/threeparttablex.pdf diff --git a/Master/texmf-dist/doc/latex/threeparttablex/threeparttablex.tex b/Master/texmf-dist/doc/latex/threeparttablex/threeparttablex.tex index bc15298ad0b..1d7a713b652 100644 --- a/Master/texmf-dist/doc/latex/threeparttablex/threeparttablex.tex +++ b/Master/texmf-dist/doc/latex/threeparttablex/threeparttablex.tex @@ -39,8 +39,6 @@ \author{Lars Madsen\thanks{Email: daleif@imf.au.dk}} -\date{Version 0.06, \today} - \maketitle \section{Introduction} @@ -126,14 +124,6 @@ few \tpt internals such that the tnote into a hyperlink. \item \cs{setTableNoteFont}\marg{font commands} can be used to set the font inside tables notes. (default is empty) -\item inside the \emph{tablenotes} environment, the macros \cs{note} - and \cs{source} can be used to specify general notes and a source - reference for the table data. These are commonly used within the - examples in The Chicago Manual of Style. -\item The macros \cs{TPTLnotename} \cs{TPTLsourcename} holds the title - names for \cs{note} and \cs{source} (default: >>Note<< and - >>Source<<). Both are typeset using \cs{TPTLnotesnamefontcommand} - which deaults to \cs{textit}. \end{enumerate} \section{Example} @@ -144,7 +134,6 @@ few \tpt internals such that \begin{TableNotes} \item[a] \label{tn:a} test test test test test test test test \item[b] \label{tn:b} test2 - \source Made up by daleif \end{TableNotes} \begin{longtable}{l l l} @@ -181,21 +170,17 @@ few \tpt internals such that \footnotesize \item[c] test test test test test test test test \item[d] \label{tn:c} the reference to this is not a link - \note Some general note \end{tablenotes} \end{threeparttable} \end{center} \end{lstlisting} -\newpage - \noindent Resulting in: \begin{ThreePartTable} \begin{TableNotes} \item[a] \label{tn:a} test test test test test test test test \item[b] \label{tn:b} test2 - \source Made up by daleif \end{TableNotes} \begin{longtable}{l l l} @@ -232,7 +217,6 @@ few \tpt internals such that \footnotesize \item[c] test test test test test test test test \item[d] \label{tn:c} the reference to this is not a link - \note Some general note \end{tablenotes} \end{threeparttable} \end{center} diff --git a/Master/texmf-dist/tex/latex/threeparttablex/threeparttablex.sty b/Master/texmf-dist/tex/latex/threeparttablex/threeparttablex.sty index b52df58c45d..356aaea76a2 100644 --- a/Master/texmf-dist/tex/latex/threeparttablex/threeparttablex.sty +++ b/Master/texmf-dist/tex/latex/threeparttablex/threeparttablex.sty @@ -1,4 +1,4 @@ -\ProvidesPackage{threeparttablex}[2009/10/27 v0.06 by daleif] +\ProvidesPackage{threeparttablex}[2009/12/28 v0.06 by daleif] %% %% This package can be distributed and/or modified under the @@ -69,11 +69,11 @@ % define an extra \tnote command that table a label instead of a string -\newcommand\tnotex{\@ifstar{\TPTL@tnotex{01}}{\TPTL@tnotex{00}}} +\DeclareRobustCommand\tnotex{\@ifstar{\TPTL@tnotex{01}}{\TPTL@tnotex{00}}} \newcommand\TPTL@tnotex[2]{\tnote{\ref{#2}}} -% if hyperref is loaded we activate a starred version +% if hyperref is loaded we activat a starred version \AtBeginDocument{% \@ifpackageloaded{hyperref}{% \renewcommand\TPTL@tnotex[2]{% @@ -83,21 +83,6 @@ \tnote{\ref*{#2}} \fi}}{}} - -\newcommand\TPTL@generator[2]{% - \providecommand{#1}{}% just to make it exist - \renewcommand#1[1][#2]{% - \let\TPTL@oldmakelabel=\makelabel - \renewcommand\makelabel[1]{\TPTLnotesnamefontcommand{##1:}} - \item - \let\makelabel=\TPTL@oldmakelabel}} - -\providecommand\TPTLnotename{Note} -\providecommand\TPTLsourcename{Source} -\providecommand\TPTLnotesnamefontcommand{\textit} - - - \let\TPTL@tablenotes=\tablenotes % \makelabel (i.e. \item) hides its argument inside a group, making it @@ -107,8 +92,6 @@ \let\TPTL@item=\item \renewcommand\item[1][]{\TPTL@item[##1]% \phantomsection\protected@edef\@currentlabel{##1}} - \TPTL@generator\note{\TPTLnotename} - \TPTL@generator\source{\TPTLsourcename} \TPTL@font\TPTL@tablenotes} % just in case it is not already there diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 44c0dcde101..3676866ec7f 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -541,6 +541,7 @@ $Master = "$mydir/../.."; 'schedule', "die 'skipping, noinfo, too old to matter'", 'scripttex', "die 'skipping, nosell'", 'seminar', "&MAKEseminar", + 'sfarticle', "die 'skipping, LaTeX 2.09'", 'shipunov', "&MAKEcopy", 'shortlst', "die 'skipping, nosell'", 'showexpl', "&MAKEflatten", |