Debian Codegraph @

texmf-dist/doc/latex/dataref/README.md

raw
1 dataref
2 =======
3
4 Writing scientific texts is a craft. It is the craft of communicating your results to
5 your colleagues and to the curious world public. Often your conclusions are based
6 upon facts and numbers that you gathered during your research for the specific
7 topic. You might have done many experiments and produced lot of data. The
8 craft of writing is to guide your reader through a narrative that is based upon
9 that data. But there may be many versions of that data. Perhaps you found a
10 problem in your experiment, while already writing, that forces you back into the
11 laboratory. After a while, the moon has done its circle many times, you return
12 from that dark place and your methodology has improved as significantly as your
13 data has. But now you have to rewrite that parts of the data, that reference the
14 old data points.
15 The dataref is here to help you with managing your data points. It provides
16 you with macro style keys, that represent symbolic names for your datapints.
17 You can reference those symbolic names with \dref, use them in calculations
18 to have always up-to-date percentage values, define projections between sets of
19 data points and document them. dataref also introduces the notion of assertions
20 (\drefassert) for your results to ensure that your prosa text references fit the
21 underlying data.
22
23 Building the documentation
24 ==========================
25 With latexmk installed:
26
27 make
28
29 or
30
31 pdflatex dataref.tex; pdflatex dataref.tex; pdflatex dataref.tex
32
33
34 Examples
35 ========
36
37 Setting symbolic data points
38
39 \drefset{/count}{42}
40 \drefset{/abc}{23}
41
42 Referencing them with \dref, \drefcalc, \drefassert
43
44 \dref{/count} => 42
45 \drefcalc{data("/abc") / data("/count")} => 0.55
46 \drefassert{data("/abc") < data("/count")}
47
48 Getting the latest version
49 ==========================
50
51 dataref is hosted at github: https://github.com/stettberger/dataref