ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Seeking the incompatibility of versions of ConTeXts
@ 2012-03-29 15:59 Jaroslav Hajtmar
  2012-03-29 16:35 ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Jaroslav Hajtmar @ 2012-03-29 15:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello all,

I am seeking the incompatibility of ConTeXt minimals standalone and 
ConTeXt MKIV, which is part of TeXLive the 2011. While TeXLive 2011 
ConTEXt MKIV translates example bottom easily then standalone MKIV gives 
an error. An example is taken from wiki.contextgarden.
Just for the record: I am using with success this solution with few 
luascrips for a simple bibliography (sorting etc.), but only in ConTEXt 
MKIV TeXLive 2011. I want use it in mimimals standalone too.

Thanx.
Jaroslav Hajtmar

Here is my example:



\definereferenceformat[cite][left={[},right={]}]

\defineitemgroup [bibliography] [levels=1]
\setupitemgroup  [bibliography][each][s,packed]
\setupitemgroup  [bibliography]
                  [symbol=n,
                   left={[},
                   right={]},
                   width=3em,
                   stopper=,
                   itemalign=flushleft]

\appendtoks\let\bibitem\itemgroupitem\to\itemgroupcommands

\def\Cite[#1]{\cite[bibl:#1]}


\starttext

\section{Links to the bibiopgraphy}

Sample calls citations in the text. The numbers in square brackets are 
references to
bibliography. Here is the first link \Cite[3] and here next cite 
\Cite[4], \Cite[1], \Cite[5].



\section{Bibliography}


\startbibliography
\bibitem[bibl:1]
First publication


\bibitem[bibl:2]
Second publication

\bibitem[bibl:3]
Third publ.

\bibitem[bibl:4]
Fourth publ.


\bibitem[bibl:5]
Fifth publ.

\stopbibliography


\stoptext


___________________________________________________________________________________
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] 6+ messages in thread

end of thread, other threads:[~2012-03-29 19:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-29 15:59 Seeking the incompatibility of versions of ConTeXts Jaroslav Hajtmar
2012-03-29 16:35 ` Wolfgang Schuster
2012-03-29 17:20   ` ConTeXt in the Cloud? Matthias Weber
2012-03-29 17:28     ` Hans Hagen
2012-03-29 19:11     ` Kip Warner
2012-03-29 19:59   ` Seeking the incompatibility of versions of ConTeXts Jaroslav Hajtmar

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).