ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jaroslav Hajtmar <hajtmar@gyza.cz>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Seeking the incompatibility of versions of ConTeXts
Date: Thu, 29 Mar 2012 17:59:55 +0200	[thread overview]
Message-ID: <4F7486FB.8010003@gyza.cz> (raw)

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
___________________________________________________________________________________


             reply	other threads:[~2012-03-29 15:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-29 15:59 Jaroslav Hajtmar [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F7486FB.8010003@gyza.cz \
    --to=hajtmar@gyza.cz \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).