Seeking the incompatibility of versions of ConTeXts
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
Am 29.03.2012 um 17:59 schrieb Jaroslav Hajtmar:
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.
The problem in your example is this line: \appendtoks\let\bibitem\itemgroupitem\to\itemgroupcommands You assume that context has a \itemgroupitem command but this isn’t the case for a current beta where the internal command for \item has changed. A save method for the english interface is \def\bibitem{\item}. Wolfgang
Dear All, as the proud owner of one of these tablet thingies I am trying to make it as TeX-friendly as possible. Because the chances of running TeX on it are slim, I've been looking at alternatives. The major goal would be to be able to create a presentation in ConTeXt on a tablet. For LaTeX, there is a cloud based services called ScribTeX, which allows you to store (in the free version) up to three projects with up to 50MB space in the cloud, and have it LaTeXed. As their cloud can be accessed via an App, you can edit the files on your tablet, send them to the cloud, have them TeXed, and download the pdf. I am tempted to contact the ScribTeX people and ask them to suport ConTeXt as well, but as I am just a little user and wouldn't have a clue about legalities, technicalities, etc, I thought I might ask here first. Thanks! Matthias
On 29-3-2012 19:20, Matthias Weber wrote:
Dear All,
as the proud owner of one of these tablet thingies I am trying to make it as TeX-friendly as possible. Because the chances of running TeX on it are slim, I've been looking at alternatives. The major goal would be to be able to create a presentation in ConTeXt on a tablet. For LaTeX, there is a cloud based services called ScribTeX, which allows you to store (in the free version) up to three projects with up to 50MB space in the cloud, and have it LaTeXed. As their cloud can be accessed via an App, you can edit the files on your tablet, send them to the cloud, have them TeXed, and download the pdf.
I am tempted to contact the ScribTeX people and ask them to suport ConTeXt as well, but as I am just a little user and wouldn't have a clue about legalities, technicalities, etc, I thought I might ask here first.
Legalities .. anyone can do it I guess and no one can claim that it's a unique (copyrighted process). With respect to technicalities ... most robust is xml input, a for texing one needs to take some precautions as one can create enormous jobs. Also it needs to be sanboxed. And there are resources to manage. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Thu, 2012-03-29 at 13:20 -0400, Matthias Weber wrote:
Dear All,
as the proud owner of one of these tablet thingies I am trying to make it as TeX-friendly as possible. Because the chances of running TeX on it are slim, I've been looking at alternatives. The major goal would be to be able to create a presentation in ConTeXt on a tablet. For LaTeX, there is a cloud based services called ScribTeX, which allows you to store (in the free version) up to three projects with up to 50MB space in the cloud, and have it LaTeXed. As their cloud can be accessed via an App, you can edit the files on your tablet, send them to the cloud, have them TeXed, and download the pdf.
I am tempted to contact the ScribTeX people and ask them to suport ConTeXt as well, but as I am just a little user and wouldn't have a clue about legalities, technicalities, etc, I thought I might ask here first.
Thanks!
Matthias
Hey Matthias, It sounds like all you are trying to do is host a file on a server, but the consumer lexicon may be confusing you. I recommend these two links: https://www.gnu.org/philosophy/words-to-avoid.html#CloudComputing https://www.gnu.org/philosophy/who-does-that-server-really-serve.html Best of luck and take care, -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com
Thanx Wolfgang. Originally I wanted the whole deal at Lua, but I finally found one example of wiki.contextgarden.net and decided to use it. I did not know that it will not work in the minimals standalone version ... Is it possible solve it at ConTeXt Standalone level commands or is it better that the whole program in Lua? Thanx Jaroslav Hajtmar Dne 29.3.2012 18:35, Wolfgang Schuster napsal(a):
Am 29.03.2012 um 17:59 schrieb Jaroslav Hajtmar:
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.
The problem in your example is this line:
\appendtoks\let\bibitem\itemgroupitem\to\itemgroupcommands
You assume that context has a \itemgroupitem command but this isn’t the case for a current beta where the internal command for \item has changed.
A save method for the english interface is \def\bibitem{\item}.
Wolfgang
participants (5)
-
Hans Hagen
-
Jaroslav Hajtmar
-
Kip Warner
-
Matthias Weber
-
Wolfgang Schuster