[OS X TeX] References across files

Alain Schremmer schremmer.alain at gmail.com
Mon Jan 12 13:46:29 EST 2009


I have two problems with newcommand:

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}?}


2) The second one, I am afraid, might be insuperable: I am also using  
the names of the checkable items in _comments_, e.g. in the control  
file that creates the multiple choice exam from the checkable item  
files (one checkable item per file) in the QuestionBase folder so as  
to know what checkable item is in the file:

	…
	%7 - Which is \emph{largest-in-Sze}?
	../QuestionBase/371/7
	,
	…

as well as, say, in the checkable item file 371/7 itself:

	…
	%============================================================
	%CHECKABLE ITEM: Which is \emph{largest-in-size}?
	%============================================================
	…

Sort of hopeful regards
--schremmer






More information about the MacOSX-TeX mailing list