As per the MWE below, I am using the glossaries package to handle the automation of values being inserted into text.
- This is useful when trends and discussions/conclusions don't change but values are a pain to replace upon updating
- This also is highly customizable to preform comparisons (max search) and simple math.
- values exported from analysis programs can easily be scripted into the observed
\newglossaryentry{}entries and imported making for easy dynamic updates
As can be observed below, the creation of the glossary entries require a description, which is a bit of a waste of memory because what this example (being minimal) can't show, is that for thousands of entries, glossaries returns memory size limit problems.
Is there a more direct way to import externally saved values into my document, other than glossaries.
Note: at this time, Lua scripted options are not solution I could maintain but if it is the only option, I would welcome this as a starting point for my foray into LuaTex.
\documentclass{article}
\usepackage[nogroupskip,toc,acronym,indexonlyfirst]{glossaries} % must come after href
\usepackage{scrwfile}%http://www.dickimaw-books.com/cgi-bin/faq.cgi?action=view&categorylabel=glossaries#glsnewwriteexceeded
\newglossary[datag]{data}{datat}{datan}{Data}
\makeindex % activate index-making
\makeglossaries
\newglossaryentry{d.ControlRatio_Pooled_Classification_Control-Control}{ type={data}, name={1}, description={1} }
\newglossaryentry{d.ControlRatio_Pooled_Classification_Stimulant-Condition1}{ type={data}, name={0.86}, description={0.86} }
\newglossaryentry{d.ControlRatio_Pooled_Classification_Stimulant-Condition2}{ type={data}, name={0.83}, description={0.83} }
\begin{document}
Testing glossary for values \gls{d.ControlRatio_Pooled_Classification_Control-Control}, \gls{d.ControlRatio_Pooled_Classification_Stimulant-Condition2}, \gls{d.ControlRatio_Pooled_Classification_Stimulant-Condition2}
No need to run a builder of makeindex because I have no intention of creating a summary list.
\end{document}
datatool(never used it so far) designed for this? By the way, theglossariesanddatatoolpackage were both written by Nicola Talbot – Jun 04 '15 at 23:09datatoolright away! – EngBIRD Jun 04 '15 at 23:26