diff options
author | Karl Berry <karl@freefriends.org> | 2014-01-17 22:32:49 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-01-17 22:32:49 +0000 |
commit | 15d66dd18d30c82ae2c30ee9668585bf80dc954e (patch) | |
tree | 2387e2a32cf825e92f16291810ebca0d5d443ae5 /Master/texmf-dist/doc/latex/datatool | |
parent | 7f4fbb6f8595f086b514e4c489becf404a62be4b (diff) |
datatool (17jan14)
git-svn-id: svn://tug.org/texlive/trunk@32703 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/datatool')
18 files changed, 65 insertions, 18 deletions
diff --git a/Master/texmf-dist/doc/latex/datatool/CHANGES b/Master/texmf-dist/doc/latex/datatool/CHANGES index 987f07c8ce7..175bfb35174 100644 --- a/Master/texmf-dist/doc/latex/datatool/CHANGES +++ b/Master/texmf-dist/doc/latex/datatool/CHANGES @@ -1,3 +1,18 @@ +v2.19: + + * datatool: + + - changed \\ to \dtldisplaycr in \DTLdisplaydb + and set \dtldisplaycr to \tabularnewline + + - fixed bug in \glsaddall + + * datagidx: + + - added \glslink + + - defines \@idxitem if not already defined + v2.18: * datatool: diff --git a/Master/texmf-dist/doc/latex/datatool/INSTALL b/Master/texmf-dist/doc/latex/datatool/INSTALL index 55acc329594..86bfd84c2d6 100644 --- a/Master/texmf-dist/doc/latex/datatool/INSTALL +++ b/Master/texmf-dist/doc/latex/datatool/INSTALL @@ -39,12 +39,13 @@ Run LaTeX on datatool.ins to generate the package style files: latex datatool.ins -To create the package documentation (datatool.pdf): +To create the package documentation (datatool-code.pdf): -pdflatex datatool.dtx -makeindex -s gind.ist datatool.idx -pdflatex datatool.dtx -pdflatex datatool.dtx +pdflatex -jobname datatool-code datatool.dtx +makeindex -s gind.ist datatool-code.idx +makeindex -s gglo.ist -o datatool-code.gls datatool-code.glo +pdflatex -jobname datatool-code datatool.dtx +pdflatex -jobname datatool-code datatool.dtx If TEXMF denotes the base directory of your local TeX installation (e.g. /usr/share/texmf-local/ or C:\localtexmf\) then create the following diff --git a/Master/texmf-dist/doc/latex/datatool/README b/Master/texmf-dist/doc/latex/datatool/README index c215e9e5819..9f93eadae57 100644 --- a/Master/texmf-dist/doc/latex/datatool/README +++ b/Master/texmf-dist/doc/latex/datatool/README @@ -1,6 +1,6 @@ -LaTeX Bundle : datatool v2.18 +LaTeX Bundle : datatool v2.19 -Last Modified : 2013-09-06 +Last Modified : 2014-01-17 Author : Nicola Talbot diff --git a/Master/texmf-dist/doc/latex/datatool/datatool-code.pdf b/Master/texmf-dist/doc/latex/datatool/datatool-code.pdf Binary files differindex aadde68d664..a0192a52006 100644 --- a/Master/texmf-dist/doc/latex/datatool/datatool-code.pdf +++ b/Master/texmf-dist/doc/latex/datatool/datatool-code.pdf diff --git a/Master/texmf-dist/doc/latex/datatool/datatool-user.pdf b/Master/texmf-dist/doc/latex/datatool/datatool-user.pdf Binary files differindex 16f513d7498..a1941a87ab8 100644 --- a/Master/texmf-dist/doc/latex/datatool/datatool-user.pdf +++ b/Master/texmf-dist/doc/latex/datatool/datatool-user.pdf diff --git a/Master/texmf-dist/doc/latex/datatool/datatool-user.tex b/Master/texmf-dist/doc/latex/datatool/datatool-user.tex index d641d8a5f3a..372ca7d0299 100644 --- a/Master/texmf-dist/doc/latex/datatool/datatool-user.tex +++ b/Master/texmf-dist/doc/latex/datatool/datatool-user.tex @@ -91,11 +91,11 @@ \MakeShortVerb{"} \DeleteShortVerb{\|} - \title{User Manual for datatool bundle version~2.18} + \title{User Manual for datatool bundle version~2.19} \author{Nicola L.C. Talbot\\ \url{http://www.dickimaw-books.com/}} - \date{2013-09-06} + \date{2014-01-17} \maketitle \pagenumbering{roman} @@ -110,7 +110,7 @@ The \styfmt{datatool} bundle comes with the following documentation: \item[\url{datatool-code.pdf}] Advanced users wishing to know more about the inner workings of all the packages provided in the \styfmt{datatool} bundle should - read \qt{Documented Code for datatool v2.18} + read \qt{Documented Code for datatool v2.19} \item[INSTALL] Installation instructions. @@ -2258,8 +2258,17 @@ before you use \cs{DTLloaddb}. You can reverse this using \end{definition} The file (\meta{filename}) may have a header row at the start of the file, which provides the \meta{key} when creating a new database entry -using \ics{DTLnewdbentry}. The optional argument \meta{options} -is a key=value list of options. Available options are: +using \ics{DTLnewdbentry}. +The optional argument \meta{options} +is a \meta{key}=\meta{value} list of options. +\begin{important} +Some of the keys may take a comma-separated list as a value. +Note that spaces count in the default \TeX\ way within these lists. +Remember that \TeX\ considers an end-of-line character as a space. +If you have a long list, consider using the comment character (\%) +to suppress unwanted space caused by line breaks in the code. +\end{important} +Available options are: \begin{description} \item[\csopt{DTLloaddb}{noheader}] This is a boolean value and indicates if the file does not contain a header. If no value is @@ -2275,7 +2284,8 @@ keys are supplied in \meta{options}, then the keys will be given by \cs{dtldefaultkey}\meta{n}, where \meta{n} is the column number and \DescribeMacro{\dtldefaultkey}\cs{dtldefaultkey} defaults to ``\dtldefaultkey''. Note that the list of keys must be delimited by -braces since they contain commas. For example: +braces since they contain commas. +For example: \begin{verbatim} \DTLloaddb[noheader,keys={Temperature,Time,T2G}]{data}{data.csv} \end{verbatim} @@ -2312,6 +2322,10 @@ The delimiter can be changed using \begin{definition}[\DescribeMacro{\DTLsetdelimiter}]% \cs{DTLsetdelimiter}\marg{character} \end{definition} +\begin{important} +Note that spaces count in the default \TeX\ manner (unless you +specify a whitespace character as the delimiter). +\end{important} For example, suppose you have a file called \texttt{mydata.csv} which contains the following: @@ -2698,6 +2712,12 @@ Specifies the vertical alignment of the \env{tabular} environment used by \cs{DTLdisplaydb}. Defaults to \texttt{c} (centred). May be redefined to \texttt{t} (top) or \texttt{b} (bottom). +\begin{definition}[\DescribeMacro{\dtldisplaycr}] +\cs{dtldisplaycr} +\end{definition} +Specifies how to separate rows. Defaults to just +\ics{tabularnewline}. + \begin{definition}[\DescribeMacro{\dtldisplaystarttab}]% \cs{dtldisplaystarttab} \end{definition} @@ -6104,7 +6124,7 @@ adding to the definition of \begin{definition}[\DescribeMacro\newtermlabelhook] \cs{newtermlabelhook} \end{definition} -You can use \sty{etoolbox's} \ics{appto} command to append to this +You can use \sty{etoolbox}'s \ics{appto} command to append to this hook. For example, suppose you want to index the terms \verb|\TeX|, \verb|e\TeX| and \verb|pdf\TeX|, but you want the terms to have the label and sort fields to be just \verb|TeX|, \verb|eTeX| and @@ -6247,6 +6267,11 @@ following analogous commands instead: \cs{USEentrynl}\marg{label}\marg{field} \end{definition} +You can also specify your own custom text: +\begin{definition}[\DescribeMacro\glslink] +\cs{glslink}\marg{label}\marg{text} +\end{definition} + In all the above commands, the \meta{label} argument may optionally start with \oarg{format}, where format is the name of a control name \emph{without} the preceding backslash. This command will be @@ -6524,6 +6549,11 @@ Note that, unlike the \sty{glossaries} package, \cs{acr} isn't the same as \cs{gls}. With \styfmt{datagidx}, \cs{gls} always references the \csopt{newterm}{text} field. There is no ``first'' field. +\begin{important} +Take care when using acronyms with \cls{beamer}. Using overlays can +cause problems with first use expansions. +\end{important} + As a general rule, you're not supposed to capitalise the first letter of an acronym (especially if it is displayed in small caps) but if you need to you can use: @@ -10426,13 +10456,11 @@ stores in \meta{cs} (which must be a command name). \addcontentsline{toc}{chapter}{Acknowledgements} \chapter*{Acknowledgements} -Many thanks to Morten~H\o gholm for suggesting a much more +Many thanks to Morten~H\o gholm for providing a much more efficient way of storing the information in databases which has significantly improved the time it takes to \LaTeX\ documents containing large databases. -\clearpage -\phantomsection -\addcontentsline{toc}{chapter}{Index}\PrintIndex +\PrintIndex \end{document} diff --git a/Master/texmf-dist/doc/latex/datatool/samples/sample-barchart.pdf b/Master/texmf-dist/doc/latex/datatool/samples/sample-barchart.pdf Binary files differindex dcc87e1095b..17044288c1b 100644 --- a/Master/texmf-dist/doc/latex/datatool/samples/sample-barchart.pdf +++ b/Master/texmf-dist/doc/latex/datatool/samples/sample-barchart.pdf diff --git a/Master/texmf-dist/doc/latex/datatool/samples/sample-datatooltk.pdf b/Master/texmf-dist/doc/latex/datatool/samples/sample-datatooltk.pdf Binary files differindex 5a700b54650..393b0bd3cf5 100644 --- a/Master/texmf-dist/doc/latex/datatool/samples/sample-datatooltk.pdf +++ b/Master/texmf-dist/doc/latex/datatool/samples/sample-datatooltk.pdf diff --git a/Master/texmf-dist/doc/latex/datatool/samples/sample-dict.pdf b/Master/texmf-dist/doc/latex/datatool/samples/sample-dict.pdf Binary files differindex d209c431431..684937017cf 100644 --- a/Master/texmf-dist/doc/latex/datatool/samples/sample-dict.pdf +++ b/Master/texmf-dist/doc/latex/datatool/samples/sample-dict.pdf diff --git a/Master/texmf-dist/doc/latex/datatool/samples/sample-gidx.pdf b/Master/texmf-dist/doc/latex/datatool/samples/sample-gidx.pdf Binary files differindex 6423b8921da..d2d1b4fe58a 100644 --- a/Master/texmf-dist/doc/latex/datatool/samples/sample-gidx.pdf +++ b/Master/texmf-dist/doc/latex/datatool/samples/sample-gidx.pdf diff --git a/Master/texmf-dist/doc/latex/datatool/samples/sample-glossary.pdf b/Master/texmf-dist/doc/latex/datatool/samples/sample-glossary.pdf Binary files differindex a2ff8cfbfb9..701f67fc3c8 100644 --- a/Master/texmf-dist/doc/latex/datatool/samples/sample-glossary.pdf +++ b/Master/texmf-dist/doc/latex/datatool/samples/sample-glossary.pdf diff --git a/Master/texmf-dist/doc/latex/datatool/samples/sample-glossary.tex b/Master/texmf-dist/doc/latex/datatool/samples/sample-glossary.tex index b24fa252894..1265fd9f4b0 100644 --- a/Master/texmf-dist/doc/latex/datatool/samples/sample-glossary.tex +++ b/Master/texmf-dist/doc/latex/datatool/samples/sample-glossary.tex @@ -192,6 +192,9 @@ Next use: Full form: \Gls{html}, \gls{xml} and \gls{css}. +\newpage + +Provide your own link text: \glslink{[textbf]css}{style sheet}. \newpage diff --git a/Master/texmf-dist/doc/latex/datatool/samples/sample-index.pdf b/Master/texmf-dist/doc/latex/datatool/samples/sample-index.pdf Binary files differindex 95dc10fa433..a9bbadda262 100644 --- a/Master/texmf-dist/doc/latex/datatool/samples/sample-index.pdf +++ b/Master/texmf-dist/doc/latex/datatool/samples/sample-index.pdf diff --git a/Master/texmf-dist/doc/latex/datatool/samples/sample-mail-merge.pdf b/Master/texmf-dist/doc/latex/datatool/samples/sample-mail-merge.pdf Binary files differindex f945e24d367..d37597a1005 100644 --- a/Master/texmf-dist/doc/latex/datatool/samples/sample-mail-merge.pdf +++ b/Master/texmf-dist/doc/latex/datatool/samples/sample-mail-merge.pdf diff --git a/Master/texmf-dist/doc/latex/datatool/samples/sample-piechart.pdf b/Master/texmf-dist/doc/latex/datatool/samples/sample-piechart.pdf Binary files differindex e0562d58ab1..59a472f70e2 100644 --- a/Master/texmf-dist/doc/latex/datatool/samples/sample-piechart.pdf +++ b/Master/texmf-dist/doc/latex/datatool/samples/sample-piechart.pdf diff --git a/Master/texmf-dist/doc/latex/datatool/samples/sample-sort.pdf b/Master/texmf-dist/doc/latex/datatool/samples/sample-sort.pdf Binary files differnew file mode 100644 index 00000000000..4d8764d920e --- /dev/null +++ b/Master/texmf-dist/doc/latex/datatool/samples/sample-sort.pdf diff --git a/Master/texmf-dist/doc/latex/datatool/samples/sample-student-scores.pdf b/Master/texmf-dist/doc/latex/datatool/samples/sample-student-scores.pdf Binary files differindex d3c91d76512..80681527934 100644 --- a/Master/texmf-dist/doc/latex/datatool/samples/sample-student-scores.pdf +++ b/Master/texmf-dist/doc/latex/datatool/samples/sample-student-scores.pdf diff --git a/Master/texmf-dist/doc/latex/datatool/samples/sample-two-per-row.pdf b/Master/texmf-dist/doc/latex/datatool/samples/sample-two-per-row.pdf Binary files differindex 46d94b1b278..5a91c1b86b7 100644 --- a/Master/texmf-dist/doc/latex/datatool/samples/sample-two-per-row.pdf +++ b/Master/texmf-dist/doc/latex/datatool/samples/sample-two-per-row.pdf |