Re: [NTG-context] presentation module

2009-04-29 Thread Marcin Borkowski
Dnia Thu, Apr 30, 2009 at 10:21:30AM +0800, Yue Wang napisał(a):
> On Thu, Apr 30, 2009 at 12:56 AM, Aditya Mahajan  wrote:
> > On Thu, 30 Apr 2009, Yue Wang wrote:
> >
> >> Hi,
> >>
> >> you can find that on http://modules.contextgarden.net/
> >>
> >> but anyway, you won't know how easy it is to place figure/text
> >> wherever you want in Keynote.
> >> In ConTeXt, you cannot achieve that.
> >
> > Sure you can. Use a background layer, and then you can place the text
> > whereever you want. Not as easy as in Keynote or powerpoint, but it can be
> > done.
> 
> 
> achieve the "easiness" I mean.
> positioning/adjusting graphics/text using a mouse is much easier than
> do that with keyboard,
> and one should compile/adjust xs and ys many times in order to get the
> right result.

Well, using the keyboard and not the mouse is IMHO one of the TeX (and
LateX, and ConTeXt, and METAPOST, and METAFUN, and tikz) advantages: I
may have repeatable (and uniform throughout the document) results
without having to put a (physical) ruler onto my monitor;)...

My experience shows that the best way to prepare a complicated document,
and especially one containing complicated mathematics/graphics/tables,
is to:
1. think about it
2. sketch it on a piece of paper
3. think a bit more
4. write down the important coordinates etc.
5. type into the computer what I have done in part 4.

This way you don't really have to adjust it too many times (maybe twice
or thrice).

> not to say how to create beautiful 2d/3d charts and tables,
> make simple drawings,

metafun or tikz

> get fancy templates,
> apply some advanced features to graphics/texts (like mirror, or
> believable shade)
> Well, I know in theory everything above is doable using TeX,
> but extra amount of work should be done, and the ConTeXt approach
> (using metafun?) quite unproductive.

As I said: the bulk of the work when preparing a good document is
*thinking* (and writing the *text*).  Even two or three hours of typing
don't really make a difference, especially if you get nicer results than
when using mouse (each picture etc. in slightly different position
and/or size...)

> So unless someone develop a good GUI frontend for TeX,
> using TeX for unstructured documents (like presentation slides) is
> always not a good idea.

This might be debatable, but I would risk a following statement: if you
consider your presentation slides "unstructured", maybe it's time to
devote more thinking to it...

But a GUI would be nice in fact, especially for tikz.  I agree that
in some cases it would be faster to use it than to type everything.

Regards

-- 
Marcin Borkowski (http://mbork.pl)

- Why vim users don't use the ESC key?
- It's too far on the keyboard.  It's faster to type ctrl-[.
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] FiXme module

2009-04-29 Thread Wolfgang Schuster


Am 30.04.2009 um 03:29 schrieb Yanrui Li:


2009/4/30 Wolfgang Schuster :

Hi all,

for the people who're looking for a equivalent of the FiXme package  
for

LaTeX,
there is a first version only with the basic commands. I can extend  
the

module
if there is interest but I don't want to integrate margin notes and
highlighted
as the todonotes package has.

URL: http://bitbucket.org/wolfs/fixme/



Hi Wolfgang,

Is this the usage of the module?

\usemodule[t][fixme]


You can leave out the [t], you need the first argument for \usemodule  
only
when there are more only files with the same name, e.g. Hans layout  
module

(m-layout) and Patrick's (t-layout)


\starttext
This is only a test \fixme{blah}.
\stoptext

I want to know how to use it because I think it is a good example for
my studing the "programming" of ConTeXt :)


You could also change the location of the message with \fixme[location] 
{...}.


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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] presentation module

2009-04-29 Thread Yue Wang
On Thu, Apr 30, 2009 at 12:56 AM, Aditya Mahajan  wrote:
> On Thu, 30 Apr 2009, Yue Wang wrote:
>
>> Hi,
>>
>> you can find that on http://modules.contextgarden.net/
>>
>> but anyway, you won't know how easy it is to place figure/text
>> wherever you want in Keynote.
>> In ConTeXt, you cannot achieve that.
>
> Sure you can. Use a background layer, and then you can place the text
> whereever you want. Not as easy as in Keynote or powerpoint, but it can be
> done.


achieve the "easiness" I mean.
positioning/adjusting graphics/text using a mouse is much easier than
do that with keyboard,
and one should compile/adjust xs and ys many times in order to get the
right result.

not to say how to create beautiful 2d/3d charts and tables,
make simple drawings,
get fancy templates,
apply some advanced features to graphics/texts (like mirror, or
believable shade)
Well, I know in theory everything above is doable using TeX,
but extra amount of work should be done, and the ConTeXt approach
(using metafun?) quite unproductive.

So unless someone develop a good GUI frontend for TeX,
using TeX for unstructured documents (like presentation slides) is
always not a good idea.

> ___
> 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] FiXme module

2009-04-29 Thread Yanrui Li
2009/4/30 Wolfgang Schuster :
> Hi all,
>
> for the people who're looking for a equivalent of the FiXme package for
> LaTeX,
> there is a first version only with the basic commands. I can extend the
> module
> if there is interest but I don't want to integrate margin notes and
> highlighted
> as the todonotes package has.
>
> URL: http://bitbucket.org/wolfs/fixme/
>

Hi Wolfgang,

Is this the usage of the module?

\usemodule[t][fixme]

\starttext
This is only a test \fixme{blah}.
\stoptext

I want to know how to use it because I think it is a good example for
my studing the "programming" of ConTeXt :)


-- 
Best wishes,
Li Yanrui

* Gentoo Linux (~x86)
* ConTeXt Minimals Beta (2009.04.29 20:23)
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] beta

2009-04-29 Thread Wei-Wei Guo

Yanrui Li 写道:

Hi,


The numbering of footnotes are abnormal. Simple example:

\starttext
\chapter{T}
This is a test\footnote{t}.

\chapter{E}
This is a test\footnote{e}.

\chapter{S}
This is a test\footnote{s}.

\chapter{T}
This is a test\footnote{t}.
\stoptext

The numbering of four footnotes is "1.1", "2.2", "3.3", "4.4" respectively.



I got the problem too.

$ context --version
MTXrun | current version: 2009.04.29 20:23


Best wishes,
Wei-Wei
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] FiXme module

2009-04-29 Thread Wolfgang Schuster

Hi all,

for the people who're looking for a equivalent of the FiXme package  
for LaTeX,
there is a first version only with the basic commands. I can extend  
the module
if there is interest but I don't want to integrate margin notes and  
highlighted

as the todonotes package has.

URL: http://bitbucket.org/wolfs/fixme/

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] BNF grammar for ConTeXt (was: What happened with sectionworld?)

2009-04-29 Thread Wolfgang Schuster


Am 29.04.2009 um 23:16 schrieb R. Bastian:


I think that a bnf or lpeg grammar is really useful for a sort of
standard-ConTeXt
or minimal-ConTeXt or light-ConTeXt
ie a ConTeXt to use as "reference"


Exactly what I need : standard, minimal and light


How could a BNF grammar help to learn ConTeXt, it did not explain
what a environment do and where is the advantage to ConTeXt's own
command explanations with the information which arguments are
optional and what keys and values a command takes.

In a recent MkIV you even have the option to enable
a key-val-checkers which mention invalid keys on the terminal.

I have no problems to be corrected when I'm wrong or missing something.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] simpleslides

2009-04-29 Thread Aditya Mahajan

On Wed, 29 Apr 2009, Vyatcheslav Yatskovsky wrote:

I gave a try to Simple slides... It seems to be very nice, but a few 
questions raised immediately


1) I get warnings (in mkiv):
(c:/contextminimal/texmf-context/tex/context/third/simple-slides/simpleslides-f-default.tex
simpleslides: loading default font setup
fonts   : beware: fontclass ignored (if needed use: 
[fontclass][size][settings])
fonts   : beware: fontclass ignored (if needed use: 
[fontclass][size][settings])
fonts   : beware: fontclass ignored (if needed use: 
[fontclass][size][settings])

))


Ignore these for the time being. ConTeXt MkIV changed behaviour a few days 
before we released the module. This will be fixed in the next release.



2) How to use arbitrary fonts (e.g., specified in type-win)?


See page 25 of the manual, the subsection titled "Choosing your own font" 
:-)


Aditya
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] footnote numbers size in heads

2009-04-29 Thread Wolfgang Schuster

Hi,

please repost your question (with a working example -> \starttext ...  
\stoptext)
in a new thread and don't hijack other threads for your question, the  
messages

are hard to find.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] What happened with sectionworld?

2009-04-29 Thread R. Bastian
On Wed, 29 Apr 2009 20:00:07 +0200
luigi scarso  scribit:

> On Wed, Apr 29, 2009 at 6:46 PM, R. Bastian  wrote:
> 
> > On Wed, 29 Apr 2009 17:55:05 +0200
> > luigi scarso  scribit:
> >
> > > >
> > > >
> > > > May be that ConTeXt is not a 'context free language'  ;-)
> > > > than it will be difficult to express something in a BNF grammar
> > > > http://en.wikipedia.org/wiki/Backus-Naur_form.
> > > >
> > > hmm.
> > > Context is a macro package in TeX language which is Turing Complete.
> > >
> > >
> > > > But if (ConTeXt == formal_language), it should be possible to
> > > > develop TEXT, NUMBER, DIMENSION, REFERENCE, etc
> > > > and also to add examples for "[optional user data]".
> > > >
> > > hmm
> > > I'm not sure that ConTeXt == TeX (but it seems YES) ,
> > > I'm nor sure that TeX is a context free language too,
> > > in the sense that I never see a BNF grammar of TeX .
> > (chap.24-26 of the Texbook are embryos of a grammar, but they are not
> > usable
> > like the grammar of Pascal or Python)
> > > I suspect that TeX is not a cfl .
> > >
> > > Anyway,
> > > lpeg can make the thing easier
> > >
> > > --
> > > luigi
> >
> 
> 
> >
> > I think that something user-friendly could be do in a cooperative wiki (in
> > the between, i found
> > http://texshow.contextgarden.net/) beginning with
> >
> > CONTEXT_SOURCE ::= PREAMBLE "\starttext" TEXT "\stoptext" | CONTEXT_SOURCE
> > TEXT ::= STARTSTOPS | SETUPS | DEFINES | OTHERS [ TEXT
> >
> > and so on.
> >
> Consider that one can always make some dirty tricks in PREAMBLE to render
> useless
> "\starttext"
> or "\stoptext"
> 
> To be general, i think
> MY_CONTEXT_SOURCE ::= MACRO* END
> 
> For example , let's try
> $>context test
> where
> test.tex ::="\end"
> or
> test.tex ::="FOO\end"
> 
> Are there any errors ? No
> Is test.tex  in {CONTEXT_SOURCE } ? No
> Is test.tex in {MY_CONTEXT_SOURCE} Yes
> so MY_CONTEXT_SOURCE includes CONTEXT_SOURCE
> (of course
> test.tex ::="\end""\starttext""\stoptext" is also in {CONTEXT_SOURCE }
> )

I dont understand the sense of "\end\starttext" (I am simply seeking a
layout system which works better than Latex). 
> 
> I think that a bnf or lpeg grammar is really useful for a sort of
> standard-ConTeXt
> or minimal-ConTeXt or light-ConTeXt
> ie a ConTeXt to use as "reference"

Exactly what I need : standard, minimal and light

> but can be a bit hard to define
> 
> -- 
> luigi

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] What happened with sectionworld?

2009-04-29 Thread Wolfgang Schuster


Am 29.04.2009 um 17:11 schrieb Henning Hraban Ramm:

I try to understand here, how to redo my chapter setup that once  
worked using sectionworld commands.

At the moment I get no output for the chapter title at all.

My input reads:

\Titel{Author}{Title}{Subtitle}



You never needed the sectionworld command for your own header command,
this solution is cleaner and works with mkii and mkiv.

\setuphead
  [chapter]
  [header=high,
   incrementnumber=no,
   command=\ChapterCommand,
   page=yes,
   number=no,
   align={flushleft,nothyphenated,verytolerant},
   style=]

\setuphead
  [title]
  [command=,
   style=\tfc]

\define\ChapterAuthor
  {\doiftext{\theChapterAuthor}
{\rm\tf\theChapterAuthor\crlf\vskip0.25em}}

\define\ChapterTitle
  {{\ss\bfb\theChapterTitle}}

\define\ChapterSubTitle
  {\doiftext{\theChapterSubTitle}
{\crlf\vskip0.2em\ss\bf\theChapterSubTitle}}

\define[2]\ChapterCommand
  {\doiftextelse{\theChapterAuthor}
 {\expanded{\writetolist[chapter]{}{\theChapterAuthor:  
\theChapterTitle}}}

 {\expanded{\writetolist[chapter]{}{\theChapterTitle}}}%
   \vbox{\ChapterAuthor\ChapterTitle\ChapterSubTitle}}

\let\theChapterAuthor  \relax
\let\theChapterTitle   \relax
\let\theChapterSubTitle\relax

\define[3]\Titel
  {\def\theChapterAuthor  {#1}%
   \def\theChapterTitle   {#2}%
   \def\theChapterSubTitle{#3}%
   \chapter{}}

\starttext

\completecontent

\Titel{Author}{Title}{Subtitle}

\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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] What happened with sectionworld?

2009-04-29 Thread Wolfgang Schuster


Am 29.04.2009 um 21:13 schrieb Otared Kavian:

Thanks for your nice example, but I too get "See section 1 at page  
11.1." with ConTeXt  ver: 2009.04.21 16:11 MKIV  fmt: 2009.4.25   
int: english/english.


MTXrun | current version: 2009.04.28 08:46

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] What happened with sectionworld?

2009-04-29 Thread Otared Kavian


On 29 avr. 09, at 21:05, Wolfgang Schuster wrote:



Am 29.04.2009 um 21:01 schrieb Vyatcheslav Yatskovsky:


Wolfgang, your script in mkiv produces

"It's not as hard you think, just show him a few nice things and he  
is happy.

See section 1 at page *11.1*."

I don't understand why \at{page}[sec:happy] outputs section number.


weird because i get this: See section 11 at page 1.

Wolfgang


Hi Wolfgang,

Thanks for your nice example, but I too get "See section 1 at page  
11.1." with ConTeXt  ver: 2009.04.21 16:11 MKIV  fmt: 2009.4.25  int:  
english/english.


Can it be that like numbering footnotes, chapter, section and  
pagenumberings are also broken?


Best regards: OK
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] What happened with sectionworld?

2009-04-29 Thread Wolfgang Schuster


Am 29.04.2009 um 21:01 schrieb Vyatcheslav Yatskovsky:


Wolfgang, your script in mkiv produces

"It's not as hard you think, just show him a few nice things and he  
is happy.

See section 1 at page *11.1*."

I don't understand why \at{page}[sec:happy] outputs section number.


weird because i get this: See section 11 at page 1.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] What happened with sectionworld?

2009-04-29 Thread Vyatcheslav Yatskovsky

Wolfgang, your script in mkiv produces

"It's not as hard you think, just show him a few nice things and he is 
happy.

See section 1 at page *11.1*."

I don't understand why \at{page}[sec:happy] outputs section number.

Vyatcheslav




___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] simpleslides

2009-04-29 Thread Vyatcheslav Yatskovsky
I gave a try to Simple slides... It seems to be very nice, but a few 
questions raised immediately


1) I get warnings (in mkiv):
(c:/contextminimal/texmf-context/tex/context/third/simple-slides/simpleslides-f-default.tex
simpleslides: loading default font setup
fonts   : beware: fontclass ignored (if needed use: 
[fontclass][size][settings])
fonts   : beware: fontclass ignored (if needed use: 
[fontclass][size][settings])
fonts   : beware: fontclass ignored (if needed use: 
[fontclass][size][settings])

))

2) How to use arbitrary fonts (e.g., specified in type-win)?

Best,
Vyatcheslav
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] What happened with sectionworld?

2009-04-29 Thread Idris Samawi Hamid ادريس سماوي ح امد
On Wed, 29 Apr 2009 12:31:27 -0600, Wolfgang Schuster  
 wrote:




Am 29.04.2009 um 20:23 schrieb Idris Samawi Hamid ادريس سماوي حامد:


ok, thnx! OTOH, I did not see any illustrative examples of the use of
[optional user data]


\setuphead[title][align=middle,command=\TitleCommand]

\define[2]\TitleCommand
   {\startframedtext[frame=off,width=\hsize,align=middle]
#2\hairline
\structureuservalue{author}\hfill\structureuservalue{date}
\stopframedtext}

\starttext

\startchapter[title={How to make Idris happy?},reference={sec:happy}] 
[author={Wolfgang Schuster},date=\currentdate]


It's not as hard you think, just show him a few nice things and he is  
happy.


See \in{section}[sec:happy] at \at{page}[sec:happy].

\stopchapter

\stoptext

Are you now happy?


Indeed I am :D

Best wishes
Idris

--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] What happened with sectionworld?

2009-04-29 Thread Wolfgang Schuster
Am 29.04.2009 um 20:23 schrieb Idris Samawi Hamid ادريس  
سماوي حامد:



ok, thnx! OTOH, I did not see any illustrative examples of the use of
[optional user data]


\setuphead[title][align=middle,command=\TitleCommand]


\setuphead[chapter][align=middle,command=\TitleCommand]


\define[2]\TitleCommand
 {\startframedtext[frame=off,width=\hsize,align=middle]
  #2\hairline
  \structureuservalue{author}\hfill\structureuservalue{date}
  \stopframedtext}

\starttext

\startchapter[title={How to make Idris happy?},reference={sec:happy}] 
[author={Wolfgang Schuster},date=\currentdate]


It's not as hard you think, just show him a few nice things and he  
is happy.


See \in{section}[sec:happy] at \at{page}[sec:happy].

\stopchapter

\stoptext

Are you now happy?


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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] What happened with sectionworld?

2009-04-29 Thread Wolfgang Schuster


Am 29.04.2009 um 20:23 schrieb Idris Samawi Hamid ادريس سماوي  
حامد:



ok, thnx! OTOH, I did not see any illustrative examples of the use of
[optional user data]


\setuphead[title][align=middle,command=\TitleCommand]

\define[2]\TitleCommand
  {\startframedtext[frame=off,width=\hsize,align=middle]
   #2\hairline
   \structureuservalue{author}\hfill\structureuservalue{date}
   \stopframedtext}

\starttext

\startchapter[title={How to make Idris happy?},reference={sec:happy}] 
[author={Wolfgang Schuster},date=\currentdate]


It's not as hard you think, just show him a few nice things and he is  
happy.


See \in{section}[sec:happy] at \at{page}[sec:happy].

\stopchapter

\stoptext

Are you now happy?

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] beta

2009-04-29 Thread Hans Hagen

Aditya Mahajan wrote:

On Thu, 30 Apr 2009, Yanrui Li wrote:


2009/4/29 Otared Kavian :

Hi Yanrui,

I tested your file and everything is correct here both with mkii and 
mkiv
(ConTeXt  ver: 2009.04.21 16:11 MKIV  fmt: 2009.4.25  int: 
english/english).




Hi Otared,

When you would update to "Minimals 2009.04.28 08:46", maybe you can
get the abnormal result with MkIV :)

BTW, I found MkII can not work with Minimals 2009.04.28 even though I
had regenerated those formats by "context --make --all".


context --make only generates mkiv formats. To generate mkii formats, 
use texexec --make --all


you can cheat: context --make --pdftex

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] What happened with sectionworld?

2009-04-29 Thread Hans Hagen

Idris Samawi Hamid ادريس سماوي حامد wrote:
On Wed, 29 Apr 2009 12:14:38 -0600, Wolfgang Schuster 
 wrote:



\startchapter[title=,reference=,bookmark=,...][optional user data]

Could you [or someone] give a couple of example of how to use

[optional user data]

Also, where in the base files does this stuff get defined? I could 
not find it.


strc-sec.tex

start/stop commands are created with \definehead automatically


ok, thnx! OTOH, I did not see any illustrative examples of the use of
[optional user data]

:-)


of course not .. its; new -)

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] What happened with sectionworld?

2009-04-29 Thread Idris Samawi Hamid ادريس سماوي ح امد
On Wed, 29 Apr 2009 12:14:38 -0600, Wolfgang Schuster  
 wrote:



\startchapter[title=,reference=,bookmark=,...][optional user data]

Could you [or someone] give a couple of example of how to use

[optional user data]

Also, where in the base files does this stuff get defined? I could not  
find it.


strc-sec.tex

start/stop commands are created with \definehead automatically


ok, thnx! OTOH, I did not see any illustrative examples of the use of
[optional user data]

:-)

Best wishes
Idris

--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] What happened with sectionworld?

2009-04-29 Thread Wolfgang Schuster


Am 29.04.2009 um 17:07 schrieb Idris Samawi Hamid ادريس سماوي  
حامد:



Hi Wolfgang,

On Wed, 29 Apr 2009 06:54:50 -0600, Wolfgang Schuster > wrote:



Anyway: which is the best method to get the list of all params
one can give to \startSOMETHING  (in this case \startchapter and
the meanings of this params (some are obvious : title= ..., but  
not all).


http://pragma-ade.nl/show-man-10.htm


I did not see the ne sectioning there... Anyway


You're welcome to add missing command to cont-en.xml


\startchapter[title=,reference=,bookmark=,...][optional user data]

Could you [or someone] give a couple of example of how to use

[optional user data]

Also, where in the base files does this stuff get defined? I could  
not find it.


strc-sec.tex

start/stop commands are created with \definehead automatically

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] presentation module

2009-04-29 Thread Aditya Mahajan

On Wed, 29 Apr 2009, Vyatcheslav Yatskovsky wrote:


Let me start with a quote:
"After using ConTeXt for a while, many users begin to think about producing 
their presentations with it, too. ConTeXt is ideally suited for this task. "


In fact, I hate transitions :) And I don't need any animations. I just want 
professionally-looking pdf pages with rich image stuff to assist the speaker, 
and I believe  that Context is well suitable for this.


Where I can get simpleslides? I want to give them a try, and see what can be 
improved.


http://modules.contextgarden.net/simpleslides.

See 
http://dl.contextgarden.net/modules/t-simpleslides/doc/context/third/simple-slides/ 
for documentation and examples.


Any feedback is welcome.

Thomas, can you add a link to the manual on the modules page?

Aditya

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] presentation module

2009-04-29 Thread luigi scarso
On Wed, Apr 29, 2009 at 6:44 PM, Yue Wang  wrote:

> Hi,
>
> you can find that on http://modules.contextgarden.net/
>
> but anyway, you won't know how easy it is to place figure/text
> wherever you want in Keynote.
> In ConTeXt, you cannot achieve that.
>

I don't understand your sentence
"In ConTeXt, you cannot achieve that."

>From wiki
http://wiki.contextgarden.net/Layers

*Layers* are ConTeXt's mechanism for absolute positioning of elements and
other advanced techniques like switching elements on and off.

Maybe  have I missed the point ?
-- 
luigi
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] What happened with sectionworld?

2009-04-29 Thread luigi scarso
On Wed, Apr 29, 2009 at 6:46 PM, R. Bastian  wrote:

> On Wed, 29 Apr 2009 17:55:05 +0200
> luigi scarso  scribit:
>
> > >
> > >
> > > May be that ConTeXt is not a 'context free language'  ;-)
> > > than it will be difficult to express something in a BNF grammar
> > > http://en.wikipedia.org/wiki/Backus-Naur_form.
> > >
> > hmm.
> > Context is a macro package in TeX language which is Turing Complete.
> >
> >
> > > But if (ConTeXt == formal_language), it should be possible to
> > > develop TEXT, NUMBER, DIMENSION, REFERENCE, etc
> > > and also to add examples for "[optional user data]".
> > >
> > hmm
> > I'm not sure that ConTeXt == TeX (but it seems YES) ,
> > I'm nor sure that TeX is a context free language too,
> > in the sense that I never see a BNF grammar of TeX .
> (chap.24-26 of the Texbook are embryos of a grammar, but they are not
> usable
> like the grammar of Pascal or Python)
> > I suspect that TeX is not a cfl .
> >
> > Anyway,
> > lpeg can make the thing easier
> >
> > --
> > luigi
>


>
> I think that something user-friendly could be do in a cooperative wiki (in
> the between, i found
> http://texshow.contextgarden.net/) beginning with
>
> CONTEXT_SOURCE ::= PREAMBLE "\starttext" TEXT "\stoptext" | CONTEXT_SOURCE
> TEXT ::= STARTSTOPS | SETUPS | DEFINES | OTHERS [ TEXT
>
> and so on.
>
Consider that one can always make some dirty tricks in PREAMBLE to render
useless
"\starttext"
or "\stoptext"

To be general, i think
MY_CONTEXT_SOURCE ::= MACRO* END

For example , let's try
$>context test
where
test.tex ::="\end"
or
test.tex ::="FOO\end"

Are there any errors ? No
Is test.tex  in {CONTEXT_SOURCE } ? No
Is test.tex in {MY_CONTEXT_SOURCE} Yes
so MY_CONTEXT_SOURCE includes CONTEXT_SOURCE
(of course
test.tex ::="\end""\starttext""\stoptext" is also in {CONTEXT_SOURCE }
)

I think that a bnf or lpeg grammar is really useful for a sort of
standard-ConTeXt
or minimal-ConTeXt or light-ConTeXt
ie a ConTeXt to use as "reference"
but can be a bit hard to define

-- 
luigi
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] beta

2009-04-29 Thread Yanrui Li
2009/4/30 Aditya Mahajan :
> On Thu, 30 Apr 2009, Yanrui Li wrote:
>
>> 2009/4/29 Otared Kavian :
>>>
>>> Hi Yanrui,
>>>
>>> I tested your file and everything is correct here both with mkii and mkiv
>>> (ConTeXt  ver: 2009.04.21 16:11 MKIV  fmt: 2009.4.25  int:
>>> english/english).
>>>
>>
>> Hi Otared,
>>
>> When you would update to "Minimals 2009.04.28 08:46", maybe you can
>> get the abnormal result with MkIV :)
>>
>> BTW, I found MkII can not work with Minimals 2009.04.28 even though I
>> had regenerated those formats by "context --make --all".
>
> context --make only generates mkiv formats. To generate mkii formats, use
> texexec --make --all
>

The problem still exist after "texexec --make --all".

Today, I deleted the old version and installed a entire new beta.
Maybe there is no problem if you updated  from the old one.

-- 
Best wishes,
Li Yanrui

* Gentoo Linux (~x86)
* ConTeXt Minimals Beta (2009.04.28 08:46)
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] presentation module

2009-04-29 Thread Aditya Mahajan

On Thu, 30 Apr 2009, Yue Wang wrote:


Hi,

you can find that on http://modules.contextgarden.net/

but anyway, you won't know how easy it is to place figure/text
wherever you want in Keynote.
In ConTeXt, you cannot achieve that.


Sure you can. Use a background layer, and then you can place the text 
whereever you want. Not as easy as in Keynote or powerpoint, but it can be 
done.

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] beta

2009-04-29 Thread Aditya Mahajan

On Thu, 30 Apr 2009, Yanrui Li wrote:


2009/4/29 Otared Kavian :

Hi Yanrui,

I tested your file and everything is correct here both with mkii and mkiv
(ConTeXt  ver: 2009.04.21 16:11 MKIV  fmt: 2009.4.25  int: english/english).



Hi Otared,

When you would update to "Minimals 2009.04.28 08:46", maybe you can
get the abnormal result with MkIV :)

BTW, I found MkII can not work with Minimals 2009.04.28 even though I
had regenerated those formats by "context --make --all".


context --make only generates mkiv formats. To generate mkii formats, use 
texexec --make --all


Aditya___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] beta

2009-04-29 Thread Otared Kavian


On 29 avr. 09, at 18:37, Yanrui Li wrote:


2009/4/29 Otared Kavian :

Hi Yanrui,

I tested your file and everything is correct here both with mkii  
and mkiv
(ConTeXt  ver: 2009.04.21 16:11 MKIV  fmt: 2009.4.25  int: english/ 
english).




Hi Otared,

When you would update to "Minimals 2009.04.28 08:46", maybe you can
get the abnormal result with MkIV :)


Hi Yanrui,

Maybe I was lucky enough and didn't succeed to update yesterday… :-)

Best regards: OK
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] What happened with sectionworld?

2009-04-29 Thread R. Bastian
On Wed, 29 Apr 2009 17:55:05 +0200
luigi scarso  scribit:

> >
> >
> > May be that ConTeXt is not a 'context free language'  ;-)
> > than it will be difficult to express something in a BNF grammar
> > http://en.wikipedia.org/wiki/Backus-Naur_form.
> >
> hmm.
> Context is a macro package in TeX language which is Turing Complete.
> 
> 
> > But if (ConTeXt == formal_language), it should be possible to
> > develop TEXT, NUMBER, DIMENSION, REFERENCE, etc
> > and also to add examples for "[optional user data]".
> >
> hmm
> I'm not sure that ConTeXt == TeX (but it seems YES) ,
> I'm nor sure that TeX is a context free language too,
> in the sense that I never see a BNF grammar of TeX .
(chap.24-26 of the Texbook are embryos of a grammar, but they are not usable
like the grammar of Pascal or Python)
> I suspect that TeX is not a cfl .
> 
> Anyway,
> lpeg can make the thing easier
> 
> -- 
> luigi

I think that something user-friendly could be do in a cooperative wiki (in the 
between, i found
http://texshow.contextgarden.net/) beginning with

CONTEXT_SOURCE ::= PREAMBLE "\starttext" TEXT "\stoptext" | CONTEXT_SOURCE
TEXT ::= STARTSTOPS | SETUPS | DEFINES | OTHERS [ TEXT

and so on.



___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] presentation module

2009-04-29 Thread Yue Wang
Hi,

you can find that on http://modules.contextgarden.net/

but anyway, you won't know how easy it is to place figure/text
wherever you want in Keynote.
In ConTeXt, you cannot achieve that.

Yue Wang

On Thu, Apr 30, 2009 at 12:08 AM, Vyatcheslav Yatskovsky
 wrote:
> Let me start with a quote:
> "After using ConTeXt for a while, many users begin to think about producing
> their presentations with it, too. ConTeXt is ideally suited for this task. "
>
> In fact, I hate transitions :) And I don't need any animations. I just want
> professionally-looking pdf pages with rich image stuff to assist the
> speaker, and I believe  that Context is well suitable for this.
>
> Where I can get simpleslides? I want to give them a try, and see what can be
> improved.
>
> I did not find simpleslides on the wiki, but instead found
> http://wiki.contextgarden.net/Presentations . Is it up-to date?
>
> http://wiki.contextgarden.net/Sample_documents contains good example of
> presentation by Brooks. IMHO, it beats any static PowerPoint presentation.
>
> Vyatcheslav
> ___
> 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] beta

2009-04-29 Thread Yanrui Li
2009/4/29 Otared Kavian :
> Hi Yanrui,
>
> I tested your file and everything is correct here both with mkii and mkiv
> (ConTeXt  ver: 2009.04.21 16:11 MKIV  fmt: 2009.4.25  int: english/english).
>

Hi Otared,

When you would update to "Minimals 2009.04.28 08:46", maybe you can
get the abnormal result with MkIV :)

BTW, I found MkII can not work with Minimals 2009.04.28 even though I
had regenerated those formats by "context --make --all".

$ > texexec --pdf test
..
This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 7.5.7)
 \write18 enabled.
 (/opt/context-new/tex/texmf-context/web2c/natural.tcx)
I can't find the format file `cont-en.fmt'!
TeXExec | runtime: 0.086213


-- 
Best wishes,
Li Yanrui

* Gentoo Linux (~x86)
* ConTeXt Minimals Beta (2009.04.28 08:46)
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] presentation module

2009-04-29 Thread Vyatcheslav Yatskovsky

Let me start with a quote:
"After using ConTeXt for a while, many users begin to think about 
producing their presentations with it, too. ConTeXt is ideally suited 
for this task. "


In fact, I hate transitions :) And I don't need any animations. I just 
want professionally-looking pdf pages with rich image stuff to assist 
the speaker, and I believe  that Context is well suitable for this.


Where I can get simpleslides? I want to give them a try, and see what 
can be improved.


I did not find simpleslides on the wiki, but instead found 
http://wiki.contextgarden.net/Presentations . Is it up-to date?


http://wiki.contextgarden.net/Sample_documents contains good example of 
presentation by Brooks. IMHO, it beats any static PowerPoint presentation.


Vyatcheslav
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] footnote numbers size in heads

2009-04-29 Thread Horacio Suarez

Hello all:

using defaults setings, footnote numbers size in heads are too big.

I usually use

\chapter{Capitulo 1\switchtobodyfont[9]\footnote{texto del 
footnote}\switchtobodyfont[11]}

and works fine.

But if I have a chapter head with a footnote in the middle:

\chapter{Capitulo 1\switchtobodyfont[9]\footnote{texto del 
footnote}\switchtobodyfont[11] continua el titulo}

the result is not correct.

How can I fix this?

tahnkyou in adavance.



Horacio Suarez

_
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] What happened with sectionworld?

2009-04-29 Thread luigi scarso
>
>
> May be that ConTeXt is not a 'context free language'  ;-)
> than it will be difficult to express something in a BNF grammar
> http://en.wikipedia.org/wiki/Backus-Naur_form.
>
hmm.
Context is a macro package in TeX language which is Turing Complete.


> But if (ConTeXt == formal_language), it should be possible to
> develop TEXT, NUMBER, DIMENSION, REFERENCE, etc
> and also to add examples for "[optional user data]".
>
hmm
I'm not sure that ConTeXt == TeX (but it seems YES) ,
I'm nor sure that TeX is a context free language too,
in the sense that I never see a BNF grammar of TeX .
I suspect that TeX is not a cfl .

Anyway,
lpeg can make the thing easier

-- 
luigi
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] What happened with sectionworld?

2009-04-29 Thread R. Bastian
On Wed, 29 Apr 2009 09:07:53 -0600
Idris Samawi Hamid ادريس سماوي حامد  scribit:

> Hi Wolfgang,
> 
> On Wed, 29 Apr 2009 06:54:50 -0600, Wolfgang Schuster  
>  wrote:
> 
> >> Anyway: which is the best method to get the list of all params
> >> one can give to \startSOMETHING  (in this case \startchapter and
> >> the meanings of this params (some are obvious : title= ..., but not  
> >> all).
> >
> > http://pragma-ade.nl/show-man-10.htm
> 
> I did not see the ne sectioning there... Anyway
> 
> \startchapter[title=,reference=,bookmark=,...][optional user data]
> 
> Could you [or someone] give a couple of example of how to use
> 
> [optional user data]
> 
> Also, where in the base files does this stuff get defined? I could not  
> find it.
> 
> Best wishes
> Idris
> 
> -- 
> Professor Idris Samawi Hamid, Editor-in-Chief
> International Journal of Shi`i Studies
> Department of Philosophy
> Colorado State University
> Fort Collins, CO 80523

May be that ConTeXt is not a 'context free language'  ;-)
than it will be difficult to express something in a BNF grammar
http://en.wikipedia.org/wiki/Backus-Naur_form.

But if (ConTeXt == formal_language), it should be possible to
develop TEXT, NUMBER, DIMENSION, REFERENCE, etc
and also to add examples for "[optional user data]".

rb

> ___
> 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] beta

2009-04-29 Thread Otared Kavian

Hi Yanrui,

I tested your file and everything is correct here both with mkii and  
mkiv (ConTeXt  ver: 2009.04.21 16:11 MKIV  fmt: 2009.4.25  int:  
english/english).


Best regards: OK

On 29 avr. 09, at 16:00, Yanrui Li wrote:


2009/4/28 Hans Hagen :
As I'm redoing the backend as well as cross referencing some  
interaction
features might be broken but normally they are easy to fix (once i  
know what
fails). So, best collect all bugs while i'm away so that i can deal  
with

then at once.



The numbering of footnotes are abnormal. Simple example:

\starttext
\chapter{T}
This is a test\footnote{t}.

\chapter{E}
This is a test\footnote{e}.

\chapter{S}
This is a test\footnote{s}.

\chapter{T}
This is a test\footnote{t}.
\stoptext

The numbering of four footnotes is "1.1", "2.2", "3.3", "4.4"  
respectively.


In addition, I am looking forward to having the numbering mechanism of
"bychapter" again, which I have descriped in
http://www.ntg.nl/pipermail/ntg-context/2009/040203.html


--
Best wishes,
Li Yanrui

* Gentoo Linux (~x86)
* ConTeXt Minimals Beta (2009.04.28 08:46)
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


%%
Otared Kavian
Département de Mathématiques
Université de Versailles Saint-Quentin
Bâtiment Fermat
45 aveue des Etats Unis
78035 Versailles cedex

Téléphone: +33 1 39 25 46 42
Secrétariat: +33 1 39 25 46 44
Secrétariat: +33 1 39 25 46 46

e-mail: otared.kav...@math.uvsq.fr



___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] What happened with sectionworld?

2009-04-29 Thread Henning Hraban Ramm

Am 2009-04-29 um 15:53 schrieb Mohamed Bana:


Would it be possible to go through a deprecation phase?  E.g., allow

 \section hello world

to compile, but prompt the user to acknowledge that it's going to be  
replaced with \section{hello world} in future versions.


Please don't mix your concern about structurals without braces into  
this thread, would you please? Or is it the same topic?

I agree that it would be nice to know if commands disappear.


I try to understand here, how to redo my chapter setup that once  
worked using sectionworld commands.

At the moment I get no output for the chapter title at all.

My input reads:

\Titel{Author}{Title}{Subtitle}

The output as chapter title should become like:

\vbox{
{\rm\tf Author\crlf}
{\ss\bfb Title\crlf}
{\ss\bf Subtitle}
}

In the table of contents I need:

Author: Title \hfill pagenumber


So, using \startchapter, I define \Titel like this:

  \def\Titel#1#2#3{\startchapter[title={#2},bookmark={#2}] 
[author={#1},subtitle={#3}]}


I guess, even \startchapter should obey to \setuphead[chapter]:

\setuphead[chapter][
   header=high,
   incrementnumber=no,
   command=\ChapterCommand,
   page=yes, number=no,
   align={flushleft,nothyphenated,verytolerant},
   style=,]

Therefore I define (i.e. Wolfgang defined) \ChapterCommand like:

  \def\ChapterCommand#1#2{\vbox{\ChapterAuthor\ChapterTitle 
\ChapterSubTitle}}


While \ChapterAuthor cum suis is defined in a setup.
Now, what's the replacement for:

  \setupsectionworld[chapter][setups={chapter:list},author=]

I tried to adapt Wolfgang's code to Hans' sparse hints:

\unprotect
\resetvalue{\??sw\v!chapter}

\startsetups chapter:list

  \doiftextelse{\structureuservalue{author}}
{\expanded{\writetolist[\v!chapter]
  {\structureuservalue{author}:\space
   \structurevalue{title}}{}}}
{\expanded{\writetolist[\v!chapter]
  {\structurevalue{title}}{}}}

  \def\ChapterAuthor{%
\doiftextelse%
{\structureuservalue{author}}%
{\rm\tf\structureuservalue{author}\crlf\vskip0.25em}
{}%
  }
  \def\ChapterTitle{{\ss\bfb\structurevalue{title}}}
  \def\ChapterSubTitle{%
\doiftextelse%
{\structureuservalue{subtitle}}%
{\crlf\vskip0.2em\ss\bf\structureuservalue{subtitle}}%
{}%
  }

\stopsetups

\def\ChapterCommand#1#2{\vbox{\ChapterAuthor\ChapterTitle 
\ChapterSubTitle}}


% why is/was this needed?
\let\ChapterAuthor\relax
\let\ChapterTitle\relax
\let\ChapterSubTitle\relax

\protect


(The original code is still in http://wiki.contextgarden.net/Proceedings_style)


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] What happened with sectionworld?

2009-04-29 Thread Idris Samawi Hamid ادريس سماوي ح امد

Hi Wolfgang,

On Wed, 29 Apr 2009 06:54:50 -0600, Wolfgang Schuster  
 wrote:



Anyway: which is the best method to get the list of all params
one can give to \startSOMETHING  (in this case \startchapter and
the meanings of this params (some are obvious : title= ..., but not  
all).


http://pragma-ade.nl/show-man-10.htm


I did not see the ne sectioning there... Anyway

\startchapter[title=,reference=,bookmark=,...][optional user data]

Could you [or someone] give a couple of example of how to use

[optional user data]

Also, where in the base files does this stuff get defined? I could not  
find it.


Best wishes
Idris

--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] beta

2009-04-29 Thread Yanrui Li
2009/4/28 Hans Hagen :
> As I'm redoing the backend as well as cross referencing some interaction
> features might be broken but normally they are easy to fix (once i know what
> fails). So, best collect all bugs while i'm away so that i can deal with
> then at once.
>

The numbering of footnotes are abnormal. Simple example:

\starttext
\chapter{T}
This is a test\footnote{t}.

\chapter{E}
This is a test\footnote{e}.

\chapter{S}
This is a test\footnote{s}.

\chapter{T}
This is a test\footnote{t}.
\stoptext

The numbering of four footnotes is "1.1", "2.2", "3.3", "4.4" respectively.

In addition, I am looking forward to having the numbering mechanism of
"bychapter" again, which I have descriped in
http://www.ntg.nl/pipermail/ntg-context/2009/040203.html


-- 
Best wishes,
Li Yanrui

* Gentoo Linux (~x86)
* ConTeXt Minimals Beta (2009.04.28 08:46)
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] What happened with sectionworld?

2009-04-29 Thread Mohamed Bana

Would it be possible to go through a deprecation phase?  E.g., allow

  \section hello world

to compile, but prompt the user to acknowledge that it's going to be 
replaced with \section{hello world} in future versions.


On 28/04/2009 19:53, Wolfgang Schuster wrote:


Am 28.04.2009 um 19:42 schrieb Henning Hraban Ramm:

\setupsectionworld is unknown in latest beta (at least since some 
betas before).


removed from mkiv a *long* time ago, there is now \startchapter etc.

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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] installing minimals

2009-04-29 Thread Jörg Hagmann
No -- sorry I forgot to mention that I tried all that, on both 
computers, for mk II and IV.


Mojca Miklavec wrote:

On Wed, Apr 29, 2009 at 14:58, Jörg Hagmann wrote:
  

Hi,

I don't know whether the following is related to what is being discussed at
the moment, but when trying to install a new version of minimals (in a
separate, fresh directory), compiling a test file fails with the following
message:

I can't find the format file `cont-en.fmt'!



I think that we forget to run mktexlsr at the end of format generation.

Does running mktexlr manually help? If not, does running an additional
"texexec --make --all" help?

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___
  


--
Prof. Jörg Hagmann-Zanolari MD
University of Basel
Department of Biomedicine
Institute of Biochemistry and Genetics
Mattenstrasse 28
CH-4058 Basel
Switzerland
Phone +41 (0)61 267 3565

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] What happened with sectionworld?

2009-04-29 Thread Hans Hagen

Wolfgang Schuster wrote:


Am 29.04.2009 um 10:24 schrieb Hans Hagen:

I don't understand how to use \startchapter[]{} ... \stopchapter for 
my needs.


\startchapter[title=,reference=,bookmark=,...][optional user data]


is optional data in keyval form or normal text and who to use
own values for author, date etc. in titles (which was possible
in sectionworld)


key = value

with \structureuservalue{key}, unless it's broken -)

the info travels with the list data as well so eventually it will be 
accessible everywhere



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] presentation module

2009-04-29 Thread Yue Wang
Hi,

On Wed, Apr 29, 2009 at 7:32 PM, luigi scarso  wrote:
>
> well, at this point why not beamer of latex ?


Umm... You are good at telling jokes:)

why not try slideshow of PLT Scheme?

#lang slideshow

(slide
 #:title "How to Say Hello"
 (t "Hello World!"))


>
> --
> luigi
>
>
> ___
> 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___
>
>

Yue Wang
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] installing minimals

2009-04-29 Thread Mojca Miklavec
On Wed, Apr 29, 2009 at 14:58, Jörg Hagmann wrote:
> Hi,
>
> I don't know whether the following is related to what is being discussed at
> the moment, but when trying to install a new version of minimals (in a
> separate, fresh directory), compiling a test file fails with the following
> message:
>
> I can't find the format file `cont-en.fmt'!

I think that we forget to run mktexlsr at the end of format generation.

Does running mktexlr manually help? If not, does running an additional
"texexec --make --all" help?

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] installing minimals

2009-04-29 Thread Jörg Hagmann

Hi,

I don't know whether the following is related to what is being discussed 
at the moment, but when trying to install a new version of minimals (in 
a separate, fresh directory), compiling a test file fails with the 
following message:


On the Mac (Leopard):

Setting "/Users/bonasia/contextexp/tex" as TEXROOT.
bonasa:contextexp bonasia$ cd 
~/Documents/alectoris/archives/talks/medges/longlife/

bonasa:longlife bonasia$ texmfstart texexec handout_longlife
TeXExec | processing document 'handout_longlife'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file handout_longlife.top
TeXExec | using randomseed 553
TeXExec | tex engine: pdftex
TeXExec | tex format: cont-en
This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 7.5.7)
\write18 enabled.
(/Users/bonasia/contextexp/tex/texmf-context/web2c/natural.tcx)
I can't find the format file `cont-en.fmt'!
TeXExec | runtime: 0.073803

On ubuntu (9.04):

Setting "/home/tetrao/newtex/tex" as TEXROOT.
tet...@tetrao:~/Desktop/test$ texmfstart texexec test
TeXExec | processing document 'test'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file test.top
TeXExec | using randomseed 1368
TeXExec | tex engine: pdftex
TeXExec | tex format: cont-en
pdftex: error while loading shared libraries: libstdc++.so.5: cannot 
open shared object file: No such file or directory

TeXExec | runtime: 0.035289

The old Minimals, which I kept, are still working on both computers.

Thanks for suggestions, Jörg
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] presentation module

2009-04-29 Thread Wolfgang Schuster


Am 29.04.2009 um 13:32 schrieb luigi scarso:


On Wed, Apr 29, 2009 at 1:19 PM, Yue Wang  wrote:


Hi,

you'd better switch to powerpoint or keynote, as they're more  
powerful

(easy to build fancy slides, and better transitions).

Yue Wang


well, at this point why not beamer of latex ?


Jehova :)

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] What happened with sectionworld?

2009-04-29 Thread Wolfgang Schuster


Am 29.04.2009 um 14:35 schrieb R. Bastian:


The \startchapter does not exist in my MinimalContex installation, but
I hope one can include it.


I dream from a world where people can whether they use MkII or MkIV
and what's the date of their ConTeXt version.


Anyway: which is the best method to get the list of all params
one can give to \startSOMETHING  (in this case \startchapter and
the meanings of this params (some are obvious : title= ..., but not  
all).


http://pragma-ade.nl/show-man-10.htm

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] What happened with sectionworld?

2009-04-29 Thread R. Bastian
On Wed, 29 Apr 2009 12:24:01 +0200
Wolfgang Schuster  scribit:

> 
> Am 29.04.2009 um 10:24 schrieb Hans Hagen:
> 
> >> I don't understand how to use \startchapter[]{} ... \stopchapter  
> >> for my needs.
> >
> > \startchapter[title=,reference=,bookmark=,...][optional user data]
> 
> is optional data in keyval form or normal text and who to use
> own values for author, date etc. in titles (which was possible
> in sectionworld)
> 
> Wolfgang
> 

The \startchapter does not exist in my MinimalContex installation, but
I hope one can include it.

Anyway: which is the best method to get the list of all params
one can give to \startSOMETHING  (in this case \startchapter and 
the meanings of this params (some are obvious : title= ..., but not all).


___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] presentation module

2009-04-29 Thread luigi scarso
On Wed, Apr 29, 2009 at 1:19 PM, Yue Wang  wrote:

> Hi,
>
> you'd better switch to powerpoint or keynote, as they're more powerful
> (easy to build fancy slides, and better transitions).
>
> Yue Wang
>
well, at this point why not beamer of latex ?

-- 
luigi
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] presentation module

2009-04-29 Thread Yue Wang
Hi,

you'd better switch to powerpoint or keynote, as they're more powerful
(easy to build fancy slides, and better transitions).

Yue Wang

On Wed, Apr 29, 2009 at 5:59 PM, Vyatcheslav Yatskovsky
 wrote:
> Hello everybody,
>
> What module can you suggest to create promo presentation?
>
> Best,
> Vyatcheslav
> ___
> 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] presentation module

2009-04-29 Thread Wolfgang Schuster


Am 29.04.2009 um 11:59 schrieb Vyatcheslav Yatskovsky:


Hello everybody,

What module can you suggest to create promo presentation?


There is only one module for presentation, simpleslides (was  
taspresent),

Hans use styles for his presentation which are not modules :)

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] What happened with sectionworld?

2009-04-29 Thread Wolfgang Schuster


Am 29.04.2009 um 10:24 schrieb Hans Hagen:

I don't understand how to use \startchapter[]{} ... \stopchapter  
for my needs.


\startchapter[title=,reference=,bookmark=,...][optional user data]


is optional data in keyval form or normal text and who to use
own values for author, date etc. in titles (which was possible
in sectionworld)

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Updating bug

2009-04-29 Thread Hans Hagen

Mojca Miklavec wrote:


To beta? (Therefore I manually fixed the problem, but the change will
be overwritten the next time you upload something, so let's hope that
the next upload will be OK.)


i'll fix the beta later today

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Updating the minimals: is something broken?

2009-04-29 Thread Mojca Miklavec
On Wed, Apr 29, 2009 at 11:10, Otared Kavian wrote:
> Hi all, in particular Mojca,
>
> Since yesterday updating, or installing anew, the minimals via the CLI does
> not work anymore.
> The question is: is something broken or has the procedure changed?

See the other mail "[NTG-context] Updating bug".

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Updating bug

2009-04-29 Thread luigi scarso
On Wed, Apr 29, 2009 at 11:55 AM, Mojca Miklavec <
mojca.miklavec.li...@gmail.com> wrote:

> On Wed, Apr 29, 2009 at 10:08, Hans Hagen wrote:
> > Yanrui Li wrote:
> >>
> >> Maybe it is related to the table of 'individual' in mtx-update.lua not
> >> being created.
> >>
> >> mtx-update.lua, line 266:
> >>
> >>individual[#individual+1] = { archive, destination }
> >
> > right, there should be a
> >
> >local individual = { }
> >
> > around line 165 or so ... i wonder what happened with it ... maybe mojca
> > remembers ...
>
> Line has been removed at the same time when you moved/added
> texmf-cache/local creation, so it must have been an accidental
> removal.
>
> > ok, i added it
>
> To beta? (Therefore I manually fixed the problem, but the change will
> be overwritten the next time you upload something, so let's hope that
> the next upload will be OK.)
>
> 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
>
> ___
>

updating minimals-beta at
mer apr 29 11:59:54 CEST 2009
was ok
for me
-- 
luigi
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] presentation module

2009-04-29 Thread Vyatcheslav Yatskovsky

Hello everybody,

What module can you suggest to create promo presentation?

Best,
Vyatcheslav
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Updating bug

2009-04-29 Thread Mojca Miklavec
On Wed, Apr 29, 2009 at 10:08, Hans Hagen wrote:
> Yanrui Li wrote:
>>
>> Maybe it is related to the table of 'individual' in mtx-update.lua not
>> being created.
>>
>> mtx-update.lua, line 266:
>>
>>    individual[#individual+1] = { archive, destination }
>
> right, there should be a
>
>    local individual = { }
>
> around line 165 or so ... i wonder what happened with it ... maybe mojca
> remembers ...

Line has been removed at the same time when you moved/added
texmf-cache/local creation, so it must have been an accidental
removal.

> ok, i added it

To beta? (Therefore I manually fixed the problem, but the change will
be overwritten the next time you upload something, so let's hope that
the next upload will be OK.)

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Updating the minimals: is something broken?

2009-04-29 Thread Otared Kavian

Hi all, in particular Mojca,

Since yesterday updating, or installing anew, the minimals via the CLI  
does not work anymore. Here is the output I get:


% begining of the transcript

MacKavian:context-minimal kavian$ sh first-setup.sh
receiving file list ... done

sent 37 bytes  received 132 bytes  48.29 bytes/sec
total size is 5787294  speedup is 34244.34
MTXrun | fileio: variable SELFAUTOLOC set to /Volumes/OK-10.4/context- 
minimal/bin
MTXrun | fileio: variable SELFAUTODIR set to /Volumes/OK-10.4/context- 
minimal

MTXrun | fileio: variable SELFAUTOPARENT set to /Volumes/OK-10.4
MTXrun | fileio: variable TEXMFCNF set to {$SELFAUTODIR, 
$SELFAUTOPARENT}{,{/share,}/texmf{-local,.local,}/web2c}

MTXrun | fileio: no cnf files found (TEXMFCNF may not be set/known)
MTXrun | using script: ./bin/mtx-update.lua

MTXrun | state: loaded
MTXrun | update: start
./bin/mtx-update.lua:266: attempt to get length of global  
'individual' (a nil value)


% end of the transcript

(My own installation and update works fine but when I wanted to  
install the minimals on a friend's machine, I noticed the above  
strange behaviour).

The question is: is something broken or has the procedure changed?

Thanks in advance: OK
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] What happened with sectionworld?

2009-04-29 Thread Hans Hagen

Henning Hraban Ramm wrote:

Am 2009-04-28 um 20:53 schrieb Wolfgang Schuster:

\setupsectionworld is unknown in latest beta (at least since some 
betas before).


removed from mkiv a *long* time ago, there is now \startchapter etc.



Long time in ConTeXt means less than a year...
In 2008-08 Hans still wrote he wouldn't know if he would extend the 
sectionworld in MkIV.


The discussion about \startsection ... \stopsection was in 2007!

I don't understand how to use \startchapter[]{} ... \stopchapter for my 
needs.


\startchapter[title=,reference=,bookmark=,...][optional user data]

\stopchapter


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Updating bug

2009-04-29 Thread Hans Hagen

Yanrui Li wrote:


 if ok or not force then
+local fetched, individual, osplatform = { }, { }, os.currentplatform()


ok, i added it

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Updating bug

2009-04-29 Thread Hans Hagen

Yanrui Li wrote:

2009/4/28 Yanrui Li :

Linux x86:

sent 221 bytes  received 975 bytes  265.78 bytes/sec
... ...
MTXrun | using script: ./bin/mtx-update.lua

MTXrun | state: loaded
MTXrun | update: start
./bin/mtx-update.lua:266: attempt to get length of global 'individual'
(a nil value)



Maybe it is related to the table of 'individual' in mtx-update.lua not
being created.

mtx-update.lua, line 266:

individual[#individual+1] = { archive, destination }


right, there should be a

local individual = { }

around line 165 or so ... i wonder what happened with it ... maybe mojca 
remembers ...


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___