# [OS X TeX] References across files

Alain Schremmer schremmer.alain at gmail.com
Wed Jan 14 18:29:34 EST 2009

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.
>>
>> For instance, in CheckableItemsList.tex I have:
>>
>> %371
>> 	…
>> 	\item%7
>> 	Which is \emph{largest-in-Sze}?
>> 	…
>>
>> which I would like to replace by something like
>>
>> \Checkable371-7
>>
>> to be defined in the style sheet as
>>
>> \newcommand{\Checkable371-7}{Which is \emph{largest-in-Sze}?}
>
> 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

does not work. Fortunately,

\newarray\ChapterXIII

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?

Grateful regards
--schremmer

P.S. The "more advanced" examples are truly awesome!