ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Finalizing a module
@ 2011-01-12 20:11 Willi Egger
  2011-01-12 22:23 ` Wolfgang Schuster
  2011-01-12 23:19 ` Mojca Miklavec
  0 siblings, 2 replies; 5+ messages in thread
From: Willi Egger @ 2011-01-12 20:11 UTC (permalink / raw)
  To: NTG-Context ConTeXt users

Hi,

I would like to finalize my module...
I still got a couple of questions:

1. How is the module documentation compiled? 
2. How is a module packaged for uploading?
3. Where is it in the meantime to be uploaded? Contextgarden or TLcontrib?

Kind regards

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

* Re: Finalizing a module
  2011-01-12 20:11 Finalizing a module Willi Egger
@ 2011-01-12 22:23 ` Wolfgang Schuster
  2011-01-13 19:55   ` Willi Egger
  2011-01-12 23:19 ` Mojca Miklavec
  1 sibling, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2011-01-12 22:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 12.01.2011 um 21:11 schrieb Willi Egger:

> Hi,
> 
> I would like to finalize my module...
> I still got a couple of questions:
> 
> 1. How is the module documentation compiled? 

context --ctx=s-mod <mymodule>

with “--mode=nocode” you can hide the source and output only the documentation

> 2. How is a module packaged for uploading?

zip file with tds structure

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

* Re: Finalizing a module
  2011-01-12 20:11 Finalizing a module Willi Egger
  2011-01-12 22:23 ` Wolfgang Schuster
@ 2011-01-12 23:19 ` Mojca Miklavec
  1 sibling, 0 replies; 5+ messages in thread
From: Mojca Miklavec @ 2011-01-12 23:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, Jan 12, 2011 at 21:11, Willi Egger <w.egger@boede.nl> wrote:
> Hi,
>
> I would like to finalize my module...
> I still got a couple of questions:
>
> 1. How is the module documentation compiled?
> 2. How is a module packaged for uploading?
> 3. Where is it in the meantime to be uploaded? Contextgarden or TLcontrib?

contextgarden.net please, at least until Taco sets up something
special (in coordination with me).

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

* Re: Finalizing a module
  2011-01-12 22:23 ` Wolfgang Schuster
@ 2011-01-13 19:55   ` Willi Egger
  2011-01-13 21:23     ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Willi Egger @ 2011-01-13 19:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hallo Wolfgang,

thank you for your reply. It looks already promising, however I get the following error and I do not know how to fix:

Running context --ctx=s-mod t-pocketdiary.tex

! String contains an invalid utf-8 sequence.
l.113 
      ?
\dodotypeblockverbatim ..., nature = "display", }}
                                                  \dostoptagged \endofverbat...
l.152 \stopdefinition


When looking at s-mod-00.mkiv it appears that the \startdefinition macro is only available in mode [nocode] 
Commenting the \startmode[nocode] and \stopmode does not solve the problem:

Runaway argument?
\setvari[PocketDiaryColo\ETC.
! File ended while scanning use of \dododowithbuffer.
<inserted text> 
                \par 
\inputgivenfile #1->\normalinput {#1}
                                     
\doreadfileyes ...x \inputgivenfile \readfilename 
                                                  \relax \the \everyafterrea...
l.2 \readfile{t-pocketdiary.tex.prep}{}{}

Looking at the *.tex.prep file it does not appear that there is something wrong with it. I am also a bit surprised about the error message in the line after the Runaway argument?. The command is crippled: it should be \setvariables


Puzzled, kind regards

Willi
On 12 Jan 2011, at 23:23, Wolfgang Schuster wrote:

> 
> Am 12.01.2011 um 21:11 schrieb Willi Egger:
> 
>> Hi,
>> 
>> I would like to finalize my module...
>> I still got a couple of questions:
>> 
>> 1. How is the module documentation compiled? 
> 
> context --ctx=s-mod <mymodule>
> 
> with “--mode=nocode” you can hide the source and output only the documentation
> 
>> 2. How is a module packaged for uploading?
> 
> zip file with tds structure
> 
> 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
> ___________________________________________________________________________________

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

* Re: Finalizing a module
  2011-01-13 19:55   ` Willi Egger
@ 2011-01-13 21:23     ` Wolfgang Schuster
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2011-01-13 21:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 13.01.2011 um 20:55 schrieb Willi Egger:

> Hallo Wolfgang,
> 
> thank you for your reply. It looks already promising, however I get the following error and I do not know how to fix:
> 
> Running context --ctx=s-mod t-pocketdiary.tex
> 
> ! String contains an invalid utf-8 sequence.
> l.113 
>      ?
> \dodotypeblockverbatim ..., nature = "display", }}
>                                                  \dostoptagged \endofverbat...
> l.152 \stopdefinition
> 
> 
> When looking at s-mod-00.mkiv it appears that the \startdefinition macro is only available in mode [nocode] 
> Commenting the \startmode[nocode] and \stopmode does not solve the problem:

No, \startdefintion is also available when the “nocode” mode is disabled
because it’s created with \definetyping[definition] otherwise.

Can you provide the file or check line 113 of your file, as the message tells
there is a character with a wrong encoding in your file.

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

end of thread, other threads:[~2011-01-13 21:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-12 20:11 Finalizing a module Willi Egger
2011-01-12 22:23 ` Wolfgang Schuster
2011-01-13 19:55   ` Willi Egger
2011-01-13 21:23     ` Wolfgang Schuster
2011-01-12 23:19 ` Mojca Miklavec

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