[OS X TeX] References across files

Alan Munn amunn at msu.edu
Wed Jan 14 20:53:32 EST 2009


At 6:29 PM -0500 1/14/09, Alain Schremmer wrote:
>On Jan 12, 2009, at 3:13 PM, Michael Sharpe wrote:
>
>>
>>On Jan 12, 2009, at 10:46 AM, Alain Schremmer wrote:
>
>>>1) The name of the new command cannot include digits. Since my 
>>>"characters" are "checkable items" for multiple choice exams, the 
>>>name of the new commands really have to include numbers.
>>>
>>
>>You might find the arrayjob package of use, but you would have to 
>>rework your data.
>
>I tried arrayjob  a bit and it will work but it too will not accept 
>numbers in names of commands. For instance,
>
>	\newarray\Chapter13
>	\readarray{Chapter13}{A&B&C&D}
>
>does not work. Fortunately,
>
>	\newarray\ChapterXIII
>	\readarray{ChapterXIII}{A&B&C&D}
>
>does.
>
>Companion 2ed doesn't say anything about this so I assume that this 
>is just something Lamport set and everybody (except me of course) 
>just knows about it. Is this in his book?

This was set by Knuth, and I guess many people know it, but new 
command writers often encounter it, so it's clearly not advertised 
enough!

I've been following this thread a little, and although I understood 
your genealogical analogy better than your actual requirement, I've 
been thinking that you might want to do this with the datatool 
package, which would allow you to keep your question in an Excel file 
and access the questions that way.

Alan

-- 
Alan Munn						amunn at msu.edu
Department of Linguistics
and Germanic, Slavic, Asian and African Languages		Tel. 
	517-355-7491
Michigan State University, East Lansing MI 48824 USA	Fax	517-432-2736



More information about the MacOSX-TeX mailing list