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

* Re: Seeking the incompatibility of versions of ConTeXts
  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 19:59   ` Seeking the incompatibility of versions of ConTeXts Jaroslav Hajtmar
  0 siblings, 2 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2012-03-29 16:35 UTC (permalink / raw)
  To: hajtmar, mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 876 bytes --]


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

[-- Attachment #1.2: Type: text/html, Size: 1716 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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

* ConTeXt in the Cloud?
  2012-03-29 16:35 ` Wolfgang Schuster
@ 2012-03-29 17:20   ` 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
  1 sibling, 2 replies; 6+ messages in thread
From: Matthias Weber @ 2012-03-29 17:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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

* Re: ConTeXt in the Cloud?
  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
  1 sibling, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2012-03-29 17:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Matthias Weber

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
-----------------------------------------------------------------
___________________________________________________________________________________
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

* Re: ConTeXt in the Cloud?
  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
  1 sibling, 0 replies; 6+ messages in thread
From: Kip Warner @ 2012-03-29 19:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Matthias Weber


[-- Attachment #1.1: Type: text/plain, Size: 1404 bytes --]

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

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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

* Re: Seeking the incompatibility of versions of ConTeXts
  2012-03-29 16:35 ` Wolfgang Schuster
  2012-03-29 17:20   ` ConTeXt in the Cloud? Matthias Weber
@ 2012-03-29 19:59   ` Jaroslav Hajtmar
  1 sibling, 0 replies; 6+ messages in thread
From: Jaroslav Hajtmar @ 2012-03-29 19:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

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