[OS X TeX] References across files

Alain Schremmer schremmer.alain at gmail.com
Tue Jan 20 20:04:20 EST 2009

At 17:11 +0000 12/1/09, Alain Schremmer wrote:

> Suppose you are writing a novel about a family but you have not yet
> decided what the names of the various characters are.
> […]

 From the responses to the above, I solved half of my problem as  

1) I have a style sheet, CheckableItems.sty with, for example:


\newarray\ChapV%In lieu of Chap5
Which is table of function?
Which is I-O Rule of function?
Which is graph of function?

2)Then I can have files including, say,



which typesets exactly what I need:

1. Which is table of function?
2. Which is I-O Rule of function?
3. Which is graph of function?

For the other half of the problem, though, I have no idea:

A) For each checkable item, the questions are all in one single file.  
For example, the files corresponding to the above three checkable  
items are:


B) In, say, an Exam file, the checkable items are then considered by  
the probsoln package as follows:


—most of the items are commented, like the third item above,
—the number of uncommented items is entered as the first argument of  

Thus, by commenting and uncommenting, one can choose which checkable  
items to have on the exam.

C) However, in order to know what the checkable items are, they  
really ought to be included as comments:

%1 - Which is table of function?
%2 - Which is I-O Rle of function?
%%2 - Which is Graph of function?

and the question Is whether anyone can think of a way to insert these  
comments other than by copy-pasting each one by hand or of a  
different system altogether. (I have now wasted quite a bit of time  
without even coming near a workable idea.)

Forlorn regards

More information about the MacOSX-TeX mailing list