2008/10/25 Marcin Borkowski [EMAIL PROTECTED]:
Dnia Sat, Oct 25, 2008 at 02:58:24AM +0200, Diego Depaoli napisa#322;(a):
2008/10/23 Wolfgang Schuster [EMAIL PROTECTED]:
\def\ItemNumber#1%
{\expandafter\doItemNumber#1..\relax}
\def\doItemNumber#1.#2.#3\relax
{\doifelsenothing{#2}
2008/10/25 Marcin Borkowski [EMAIL PROTECTED]:
Dnia Sat, Oct 25, 2008 at 02:58:24AM +0200, Diego Depaoli napisa#322;(a):
This code seems to work (approximately) like this: it expands the full
reference, which is:
number dot number dot something, probably space
and selects everything from the
Another curiosity...
why have such kind of reference since we get more flexibility with
\in[item]\in[subitem]?
--
Diego Depaoli
___
If your question is of interest to others as well, please add an entry to the
Wiki!
Dnia Mon, Oct 27, 2008 at 10:56:32AM +0100, Wolfgang Schuster napisa#322;(a):
2008/10/25 Marcin Borkowski [EMAIL PROTECTED]:
Dnia Sat, Oct 25, 2008 at 02:58:24AM +0200, Diego Depaoli napisa#322;(a):
2008/10/23 Wolfgang Schuster [EMAIL PROTECTED]:
\def\ItemNumber#1%
Dnia Mon, Oct 27, 2008 at 05:24:56PM +0100, Diego Depaoli napisa#322;(a):
2008/10/25 Marcin Borkowski [EMAIL PROTECTED]:
Dnia Sat, Oct 25, 2008 at 02:58:24AM +0200, Diego Depaoli napisa#322;(a):
This code seems to work (approximately) like this: it expands the full
reference, which is:
Dnia Sat, Oct 25, 2008 at 02:58:24AM +0200, Diego Depaoli napisa#322;(a):
2008/10/23 Wolfgang Schuster [EMAIL PROTECTED]:
\def\ItemNumber#1%
{\expandafter\doItemNumber#1..\relax}
\def\doItemNumber#1.#2.#3\relax
{\doifelsenothing{#2}
{#1}
{#2}}
Diego Depaoli wrote:
2008/10/23 Wolfgang Schuster [EMAIL PROTECTED]:
\def\ItemNumber#1%
{\expandafter\doItemNumber#1..\relax}
\def\doItemNumber#1.#2.#3\relax
{\doifelsenothing{#2}
{#1}
{#2}}
\definereferenceformat[initem][left=\ItemNumber]
Since I don't speak that language,
2008/10/23 Wolfgang Schuster [EMAIL PROTECTED]:
\def\ItemNumber#1%
{\expandafter\doItemNumber#1..\relax}
\def\doItemNumber#1.#2.#3\relax
{\doifelsenothing{#2}
{#1}
{#2}}
\definereferenceformat[initem][left=\ItemNumber]
Since I don't speak that language, someone could explain why
On Thu, Oct 23, 2008 at 12:55 AM, Diego Depaoli [EMAIL PROTECTED] wrote:
Hi all,
referencing a subitem I get also the item (1.a, 2.c and so on).
Can I split them or get only the subitem?
\starttext
\startitemize [n]
\item [number] one
\startitemize [a]
\item [letter] letter
\stopitemize
2008/10/23 Wolfgang Schuster [EMAIL PROTECTED]:
Wanted result
Look at number 1 letter a
\def\ItemNumber#1%
{\expandafter\doItemNumber#1..\relax}
As usual, Wolfgang solved!
Mojca, can I have a Context t-shirt customized 'Wolfgang's fan club'?
--
Diego Depaoli
Hi all,
referencing a subitem I get also the item (1.a, 2.c and so on).
Can I split them or get only the subitem?
\starttext
\startitemize [n]
\item [number] one
\startitemize [a]
\item [letter] letter
\stopitemize
\stopitemize
Look at number \in[number] letter \in[letter]
\stoptext
Normal
11 matches
Mail list logo