Comprehensive TeX Archive Network

Direc­tory macros/latex/contrib/dataref


Writing scientific texts is a craft. It is the craft of communicating your results to
your colleagues and to the curious world public. Often your conclusions are based
upon facts and numbers that you gathered during your research for the specific
topic. You might have done many experiments and produced lot of data. The
craft of writing is to guide your reader through a narrative that is based upon
that data. But there may be many versions of that data. Perhaps you found a
problem in your experiment, while already writing, that forces you back into the
laboratory. After a while, the moon has done its circle many times, you return
from that dark place and your methodology has improved as significantly as your
data has. But now you have to rewrite that parts of the data, that reference the
old data points.
The dataref is here to help you with managing your data points. It provides
you with macro style keys, that represent symbolic names for your datapints.
You can reference those symbolic names with \dref, use them in calculations
to have always up-to-date percentage values, define projections between sets of
data points and document them. dataref also introduces the notion of assertions
(\drefassert) for your results to ensure that your prosa text references fit the
underlying data.

Building the documentation
With latexmk installed:


    make dataref.sty; pdflatex dataref.dtx; pdflatex dataref.dtx; pdflatex dataref.dtx

Setting symbolic data points

Referencing them with \dref, \drefcalc, \drefassert

    \dref{/count}  => 42
    \drefcalc{data("/abc") / data("/count")} => 0.55
    \drefassert{data("/abc") < data("/count")}

Getting the latest version

dataref is hosted at github: https://github.com/stettberger/dataref

Down­load the con­tents of this pack­age in one zip archive (254.7k).

dataref – Man­age ref­er­ences to ex­per­i­men­tal data

The pack­age pro­vides a mech­a­nism that main­tains a fixed sym­bolic ref­er­ence to nu­mer­i­cal re­sults; such re­sults may vary as the project pro­ceeds (and hence the project re­port de­vel­ops).

Home pagehttps://github.com/stet­tberger/dataref
Ver­sion0.5 2015-09-17
Li­censeThe LaTeX Project Public Li­cense 1.3
Copy­right2013–2015 Chris­tian Di­et­rich
Main­tainerChris­tian Di­et­rich
Con­tained inTeX Live as dataref
MiKTeX as dataref
Topics ma­nip­u­late data within TeX
la­bel and ref­er­ence sys­tems
Guest Book Sitemap Contact Contact Author