summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/dataref/doc/dataref-doc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/dataref/doc/dataref-doc.tex')
-rw-r--r--macros/latex/contrib/dataref/doc/dataref-doc.tex12
1 files changed, 7 insertions, 5 deletions
diff --git a/macros/latex/contrib/dataref/doc/dataref-doc.tex b/macros/latex/contrib/dataref/doc/dataref-doc.tex
index d50200f57a..8041e40e3a 100644
--- a/macros/latex/contrib/dataref/doc/dataref-doc.tex
+++ b/macros/latex/contrib/dataref/doc/dataref-doc.tex
@@ -15,7 +15,7 @@
% This work consists of the files dataref.tex and dataref.sty
\documentclass{ltxdoc}
-\usepackage[usagereport]{dataref}[2017/01/06]
+\usepackage[usagereport]{dataref}[2019/02/01]
\EnableCrossrefs
\CodelineIndex
@@ -83,6 +83,7 @@ include all dead mice before.}
Right brace \} Tilde \~}
+ \changes{v0.7}{2019/02/15}{Fix math backends, \cmd{\drefinput}}
\changes{v0.6}{2016/11/15}{Units, Unit Scaling, general overhaul}
\changes{v0.4}{2015/04/21}{Remove Spurious Whitespaces}
\changes{v0.1}{2013/12/06}{Initial version}
@@ -296,10 +297,11 @@ It is a value-typed PGF key, so operations like
\Macro{\drefinput[\meta{prefix}]\{\meta{filename}\}}
-Uses \cmd{\input} to read the file. During the processing of this file
-\option{prefix} is set to the given value. This is useful to include
-several files that resulted from different experiments but include
-equal datapoint keys.
+Reads in the given \TeX/dataref file with the given key prefix. Therefore, all included \cmd{\drefset} commands are define their keys with the given prefix.
+This is useful to include several files that resulted from different experiments but include equal datapoint keys.
+
+This command uses \cmd{\subimport} from the \texttt{import} package to read the file.
+Hence, if there is an \cmd{\drefinput} in an included file, it search its filename relative to its own directory.\footnote{In former versions, \cmd{\drefinput} relied directly on \cmd{\input} and, therefore, the filename was interpreted relative to the root file.}.
\subsection{Referencing Datapoints}