ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Two questions about sort lists
       [not found] <mailman.0.1324724402.8474.ntg-context@ntg.nl>
@ 2011-12-24 14:38 ` Vyatcheslav Yatskovsky
  0 siblings, 0 replies; only message in thread
From: Vyatcheslav Yatskovsky @ 2011-12-24 14:38 UTC (permalink / raw)
  To: ntg-context

Hi!

I have two questions about sort lists.


1) Is there a way to reset (empty) the sorting list, to reuse it several 
times?


\definesorting[song][songs]

\unexpanded\def\SongEntry#1#2#3%
   {#2 \crlf}

\starttext
\startlinenumbering
\startlines
\setupinterlinespace[big]

\song{Sway}
\song{Hit The Road Jack}
\song{Fly Me To The Moon}

\placelistofsongs[criterium=all,command=\SongEntry]

% (Here I want to reset the list)

\song{Girl From Ipanema}

\placelistofsongs[criterium=all,command=\SongEntry]

\stoplines
\stoplinenumbering

\stoptext


2) Why any formatting tags like

\song{\it Fly Me To The Moon}

cause the error?


Regards,
Vyatcheslav Yatskovsky
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-12-24 14:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.0.1324724402.8474.ntg-context@ntg.nl>
2011-12-24 14:38 ` Two questions about sort lists Vyatcheslav Yatskovsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).