Re: [NTG-context] Page-breakable \subsubsubject?

2010-10-12 Thread Peter Münster
On Tue, Oct 12 2010, Procházka Lukáš Ing. - Pontex s. r. o. wrote:

 The problem is that typesetting n-th \subsubject doesn't go to the next
 page, but is typeset on the same page, so that the last ones disappear.

This works, but I can't explain why:

\starttext
\dorecurse{30}{\startsection[title=\recurselevel]\null\par\stopsection}
\stoptext

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


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


Re: [NTG-context] Page-breakable \subsubsubject?

2010-10-12 Thread Wolfgang Schuster

Am 12.10.2010 um 09:13 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:

 Hello,
 
 I'd have one more question.
 
 I need to have many \subsubject behind each other (again: actually processing 
 an external file, but a small example is attached):

\setuphead[subsection][before={\blank[preference,2*big]}]

If you name really your files in the same way as your example you should change 
it because:

• ”t-” is a prefix for a module and
• the ctx file extension has a special meaning for context (file for 
proprocessing in xml format).

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
___


Re: [NTG-context] Page-breakable \subsubsubject?

2010-10-12 Thread Wolfgang Schuster

Am 12.10.2010 um 09:13 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:

 Hello,
 
 I'd have one more question.
 
 I need to have many \subsubject behind each other (again: actually processing 
 an external file, but a small example is attached):

\setuphead[subsection][before={\blank[preference,2*big]}]

If you name really your files in the same way as your example you should change 
it because:

• ”t-” is a prefix for a module and
• the ctx file extension has a special meaning for context (file for 
proprocessing in xml format).

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
___


Re: [NTG-context] Page-breakable \subsubsubject?

2010-10-12 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Thanks, it works perfectly.

On Tue, 12 Oct 2010 10:18:54 +0200, Wolfgang Schuster 
schuster.wolfg...@googlemail.com wrote:



Am 12.10.2010 um 09:13 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:


Hello,

I'd have one more question.

I need to have many \subsubject behind each other (again: actually processing 
an external file, but a small example is attached):


\setuphead[subsection][before={\blank[preference,2*big]}]



BTW:


If you name really your files in the same way as your example you should change 
it because:

• ”t-” is a prefix for a module and


- I'll think about it, but maybe I won't change it until a problem with Ctx appears as 
I'm used to prefix all test files by t-; this concerns also my Cpp, AutoLisp 
and Lua files and other test files in general.


• the ctx file extension has a special meaning for context (file for 
proprocessing in xml format).


- OK, I'm planning to use .tex for Ctx files in the future. Now I'm using LaTeX and ConTeXt 
both, so I use .ctx extension for Ctx sources. Moreover, till I'm trying to achieve the 
same things in Ctx as I'm used to do in LaTeX, I may have a-file.tex (for LaTeX) 
and a-file.ctx (for ConTeXt) in the same directory. I initially don't know whether 
I'll succeed with Ctx version (I'm still Ctx beginner and, although many things may be made 
more easily in Ctx, they work for me in LTX in the moment but still not in Ctx).

Lukas



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
___


Re: [NTG-context] Page-breakable \subsubsubject?

2010-10-12 Thread luigi scarso
2010/10/12 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz:
 Thanks, it works perfectly.

 On Tue, 12 Oct 2010 10:18:54 +0200, Wolfgang Schuster
 schuster.wolfg...@googlemail.com wrote:


 • the ctx file extension has a special meaning for context (file for
 proprocessing in xml format).

 - OK, I'm planning to use .tex for Ctx files in the future. Now I'm using
 LaTeX and ConTeXt both, so I use .ctx extension for Ctx sources. Moreover,
 till I'm trying to achieve the same things in Ctx as I'm used to do in
 LaTeX, I may have a-file.tex (for LaTeX) and a-file.ctx (for ConTeXt) in
 the same directory. I initially don't know whether I'll succeed with Ctx
 version (I'm still Ctx beginner and, although many things may be made more
 easily in Ctx, they work for me in LTX in the moment but still not in Ctx).
You can also use .mkiv for ConTeXt  MKIV
and .tex for  LaTeX and ConTeXt MKII
-- 
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Page-breakable \subsubsubject?

2010-10-12 Thread Procházka Lukáš Ing . - Pontex s . r . o .

On Tue, 12 Oct 2010 10:40:19 +0200, luigi scarso luigi.sca...@gmail.com wrote:


• the ctx file extension has a special meaning for context (file for
proprocessing in xml format).


- OK, I'm planning to use .tex for Ctx files in the future. Now I'm using
LaTeX and ConTeXt both, so I use .ctx extension for Ctx sources. Moreover,
till I'm trying to achieve the same things in Ctx as I'm used to do in
LaTeX, I may have a-file.tex (for LaTeX) and a-file.ctx (for ConTeXt) in
the same directory. I initially don't know whether I'll succeed with Ctx
version (I'm still Ctx beginner and, although many things may be made more
easily in Ctx, they work for me in LTX in the moment but still not in Ctx).

You can also use .mkiv for ConTeXt  MKIV


Yes, it sounds better. I noticed .mkiv files in Ctx installation tree but I thought this 
extension is reserved for a kind of files rather than .ctx.


and .tex for  LaTeX and ConTeXt MKII


(It allows .mkii for old style Ctx as well.)

Lukas

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


Re: [NTG-context] Page-breakable \subsubsubject?

2010-10-12 Thread luigi scarso
2010/10/12 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz:
 On Tue, 12 Oct 2010 10:40:19 +0200, luigi scarso luigi.sca...@gmail.com
 You can also use .mkiv for ConTeXt  MKIV

 Yes, it sounds better. I noticed .mkiv files in Ctx installation tree but I
 thought this extension is reserved for a kind of files rather than .ctx.

 and .tex for  LaTeX and ConTeXt MKII

 (It allows .mkii for old style Ctx as well.)
Yes; a good point for three letters for suffix is compatibility with
old OS and perhaps MIME questions.

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


Re: [NTG-context] Page-breakable \subsubsubject?

2010-10-12 Thread Khaled Hosny
On Tue, Oct 12, 2010 at 10:35:01AM +0200, Procházka Lukáš Ing. - Pontex s. r. 
o. wrote:
 - OK, I'm planning to use .tex for Ctx files in the future. Now I'm using 
 LaTeX and ConTeXt both, so I use .ctx extension for Ctx sources. Moreover, 
 till I'm trying to achieve the same things in Ctx as I'm used to do in LaTeX, 
 I may have a-file.tex (for LaTeX) and a-file.ctx (for ConTeXt) in the 
 same directory. I initially don't know whether I'll succeed with Ctx version 
 (I'm still Ctx beginner and, although many things may be made more easily in 
 Ctx, they work for me in LTX in the moment but still not in Ctx).

I usually do the reverse; use .tex for context (or plain) and .ltx for
latex, the later is also identified by vim so I get proper syntax
highlighting for LaTeX.

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer
___
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
___


Re: [NTG-context] Page-breakable \subsubsubject?

2010-10-12 Thread Alan BRASLAU
On Tuesday 12 October 2010 10:49:18 luigi scarso wrote:
 
 Yes; a good point for three letters for suffix is compatibility with
 old OS and perhaps MIME questions.

What? You mean DOS? And FAT?
Maybe we should restrict our coding as well to ascii...

Alan

P.S. I am still using some real-time applications
running on computers under DOS, but I would not dream
of trying to put ConTeXt on such a system!
___
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
___


Re: [NTG-context] Page-breakable \subsubsubject?

2010-10-12 Thread Hans Hagen

On 12-10-2010 11:30, Alan BRASLAU wrote:

On Tuesday 12 October 2010 10:49:18 luigi scarso wrote:


Yes; a good point for three letters for suffix is compatibility with
old OS and perhaps MIME questions.


What? You mean DOS? And FAT?
Maybe we should restrict our coding as well to ascii...


it's not so much dos but the old iso cd standards but nowadays everyone 
uses the extensions that permit long names


so, indeed 8.3 is no longer an issue (one reason why I stick to the 8 
for context core files is that it works out quite well in lists and such)


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
___


Re: [NTG-context] Page-breakable \subsubsubject?

2010-10-12 Thread Taco Hoekwater

On 10/12/2010 11:30 AM, Alan BRASLAU wrote:

On Tuesday 12 October 2010 10:49:18 luigi scarso wrote:


Yes; a good point for three letters for suffix is compatibility with
old OS and perhaps MIME questions.


What? You mean DOS? And FAT?
Maybe we should restrict our coding as well to ascii...


Since the almost total disappearance of 3.5 floppies and bare iso9660
CDs, I do not care about DOS/FAT any more.

But as far as I know, windows still bases its file type detection
on extension, so that is something to keep in mind.

Best wishes,
Taco
___
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
___


Re: [NTG-context] Page-breakable \subsubsubject?

2010-10-12 Thread luigi scarso
On Tue, Oct 12, 2010 at 11:30 AM, Alan BRASLAU alan.bras...@cea.fr wrote:
 On Tuesday 12 October 2010 10:49:18 luigi scarso wrote:

 Yes; a good point for three letters for suffix is compatibility with
 old OS and perhaps MIME questions.

 What? You mean DOS? And FAT?
yes; more generally  I think to customer OS for embedded devices
 Maybe we should restrict our coding as well to ascii...
As long as you impose the filename to follow the ascii 8.3 convention
the OS should be ok.
ConTeXt mkii is already able to manage utf-8 bytestreams (it's not a
OS issue, becuse  it's a binary file for these OSs)

 Alan

 P.S. I am still using some real-time applications
 running on computers under DOS, but I would not dream
 of trying to put ConTeXt on such a system!
Maybe not the full context, but metatex .
It's a memory+CPU issue so not too serious nowadays.
Also you lua is designed to be small and it's easy to compile luatex
for different targets.


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


Re: [NTG-context] Page-breakable \subsubsubject?

2010-10-12 Thread Alan BRASLAU
On Tuesday 12 October 2010 11:36:26 Taco Hoekwater wrote:
 
 But as far as I know, windows still bases its file type detection
 on extension, so that is something to keep in mind.
 

Oh, Windows... (written with disdain)
___
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
___


Re: [NTG-context] Page-breakable \subsubsubject?

2010-10-12 Thread Alan BRASLAU
On Tuesday 12 October 2010 11:45:28 luigi scarso wrote:
 On Tue, Oct 12, 2010 at 11:30 AM, Alan BRASLAU alan.bras...@cea.fr wrote:
  
  P.S. I am still using some real-time applications
  running on computers under DOS, but I would not dream
  of trying to put ConTeXt on such a system!
 
 Maybe not the full context, but metatex .
 It's a memory+CPU issue so not too serious nowadays.
 Also you lua is designed to be small and it's easy to compile luatex
 for different targets.

The point of these systems generally is to limit the use to a single
(real-time) task, on the factory floor, for example.

I guess now there is an explosion of embedded systems in handhelds,
phones, etc. and one might like to have luatex available.
We did see the beginnings of putting ConTeXt on an ipad, after all.

Alan
___
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
___


Re: [NTG-context] Page-breakable \subsubsubject?

2010-10-12 Thread Hans Hagen

On 12-10-2010 12:12, Alan BRASLAU wrote:

On Tuesday 12 October 2010 11:36:26 Taco Hoekwater wrote:


But as far as I know, windows still bases its file type detection
on extension, so that is something to keep in mind.



Oh, Windows... (written with disdain)


actually I like the filetype / suffix thing even if it's imperfect (and 
I dislike suffixless filenames as it gives me no clue what I deal with)


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
___