Re: [NTG-context] Itemize, margins and nowhite

2010-06-14 Thread Taco Hoekwater

Vyatcheslav Yatskovsky wrote:

Hello,

Strange, but if I specify margins for itemize, then nowhite losts its 
effect, and I need to specify it again in every itemize group.


\setupitemize[1,leftmargin=1cm, rightmargin=1cm, nowhite]


Don't mix keywords and key-value pairs.

  \setupitemize[1,nowhite]
  \setupitemize[leftmargin=1cm, rightmargin=1cm]

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] Removing Introduction section number

2010-06-14 Thread Taco Hoekwater

Vyatcheslav Yatskovsky wrote:

Hello,

I'm still in need of help with numberless sections.

While using front, body,and back matter sounds goos, but it makes new 
pages. \subject is perfect, but it does not appear in contents.


Most simple (if there is no other options) seems to use \subject, but 
add it to the TOC. How can I do it?


Use \writetolist, maybe:

  \subject{Whatever}
  \writelist[section]{}{Whatever}

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] Removing Introduction section number

2010-06-14 Thread Taco Hoekwater

Vyatcheslav Yatskovsky wrote:


...or preventing startbodymatter from making new page.



  \setupsectionblock[bodypart][page=no]

or

  \setupsectionblock[frontpart][page=no]

(I don't remember whether this is executed at the end
or the begin of the block).


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] bibtex failure on latest minimals

2010-06-14 Thread Taco Hoekwater

Alan BRASLAU wrote:

An update today of the minimals breaks the bibtex search path:

This is BibTeX, Version 0.99d (TeX Live 2010/pretest)
Capacity: max_strings=15, hash_size=15, hash_prime=127507
The top-level auxiliary file: Livre.aux
I couldn't open style file cont-no.bst
---line 2 of file Livre.aux
 : \bibstyle{cont-no
 :  }
I'm skipping whatever remains of this command
I found no style file---while reading file Livre.aux

whereas minimals from Friday (11 June) succeeds:

This is BibTeX, Version 0.99d (TeX Live 2010/pretest)
Capacity: max_strings=15, hash_size=15, hash_prime=127507
The top-level auxiliary file: Livre.aux
The style file: cont-no.bst


Is texmf.cnf still ok? There should be a BSTINPUTS line there.

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] pdf options

2010-06-14 Thread Taco Hoekwater

Jan Pohanka wrote:

Hello,

this code
\setuppagenumbering[location={footer,margin},alternative=doublesided]
forces a pdf viewer to show the document as doublepages.
How can I suppress it, please? 


You mean it displays side-by-side automatically? You can set the
'Page Display' in the Reader to 'Single Page' (Edit-Preferences-Page 
Layout).


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] Removing Introduction section number

2010-06-14 Thread Alan BRASLAU
On Monday 14 June 2010 08:52:16 Taco Hoekwater wrote:
 Vyatcheslav Yatskovsky wrote:
  ...or preventing startbodymatter from making new page.
 
\setupsectionblock[bodypart][page=no]
 
 or
 
\setupsectionblock[frontpart][page=no]
 
 (I don't remember whether this is executed at the end
 or the begin of the block).

This is much more elegant than
   \subject{Whatever}
   \writelist[section]{}{Whatever}
repeating Whatever twice.

I will repeat here the suggestion, seconded by others, of parsing
   \section[number=no]{Whatever}
to be used notably within \startbodypart...\stopbodypart
Note that an unnumbered \section vs. \subject do not fill exactly the same 
need.


Also, while on the subject of sectionblocks, there should be some way of 
defining
\startsectionblockenvironment[bodypart]
\setuplist[chapter][label=yes]
\stopsectionblockenvironment
Presently, this does not work, and simply setting
\setuplist[chapter][label=yes]
will, of course, put the label (Chapter) everywhere in the table of contents 
including frontmatter and backmatter, that is if one also redefines
\setuplabeltext[chapter=Chapter ] % with trailing space
as this is, curiously, blank by default.

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] Itemize, margins and nowhite

2010-06-14 Thread Alan BRASLAU
On Monday 14 June 2010 08:32:08 Taco Hoekwater wrote:
 Vyatcheslav Yatskovsky wrote:
  Hello,
  
  Strange, but if I specify margins for itemize, then nowhite losts its
  effect, and I need to specify it again in every itemize group.
  
  \setupitemize[1,leftmargin=1cm, rightmargin=1cm, nowhite]
 
 Don't mix keywords and key-value pairs.
 
\setupitemize[1,nowhite]
\setupitemize[leftmargin=1cm, rightmargin=1cm]
 

This needs to be stressed in the documentation.
Is this a parsing restriction, or is this a syntax design goal?

This also means that it is an error to attempt:
\startitemize[1,nowhite,leftmargin=1cm,rightmargin=1cm]
\item ...
\stopitemize

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] Removing Introduction section number

2010-06-14 Thread Taco Hoekwater

Alan BRASLAU wrote:

On Monday 14 June 2010 08:52:16 Taco Hoekwater wrote:

Vyatcheslav Yatskovsky wrote:

...or preventing startbodymatter from making new page.

   \setupsectionblock[bodypart][page=no]

or

   \setupsectionblock[frontpart][page=no]

(I don't remember whether this is executed at the end
or the begin of the block).


This is much more elegant than
   \subject{Whatever}
   \writelist[section]{}{Whatever}
repeating Whatever twice.

I will repeat here the suggestion, seconded by others, of parsing
   \section[number=no]{Whatever}
to be used notably within \startbodypart...\stopbodypart
Note that an unnumbered \section vs. \subject do not fill exactly the same 
need.


Actually, I almost never use \writetolist myself, but then I usually
have special sectioning commands (in larger documents):

  \definehead[Usection][section]
  \setuphead[Usection][number=no]

  \Usection{...}

This could be wrapped in a macro if you want key=value parsing.



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] Itemize, margins and nowhite

2010-06-14 Thread Taco Hoekwater

Alan BRASLAU wrote:

On Monday 14 June 2010 08:32:08 Taco Hoekwater wrote:

Vyatcheslav Yatskovsky wrote:

Hello,

Strange, but if I specify margins for itemize, then nowhite losts its
effect, and I need to specify it again in every itemize group.

\setupitemize[1,leftmargin=1cm, rightmargin=1cm, nowhite]

Don't mix keywords and key-value pairs.

   \setupitemize[1,nowhite]
   \setupitemize[leftmargin=1cm, rightmargin=1cm]



This needs to be stressed in the documentation.
Is this a parsing restriction, or is this a syntax design goal?


It is a parsing restriction, but keeping the processing speed up is
important enough that it could also be classified as an unavoidable
side-effect of a design goal.

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] can Context render complex scripts?

2010-06-14 Thread Hans Hagen

On 14-6-2010 3:21, Michael Saunders wrote:

OpenType (just ignore file extension for the moment) is a rather dump
standard in the sense that it requires the engine to have some knowledge
about the writing system at hand.



So, what we have here is that ConTeXt has no special knowledge about
Indic scripts, and thus it will not apply the feature properly according
the linguistic rules.


It seems to me that, since Hans can't be expected to write special
code for dozens of Indic scripts, let alone for every script in the
world, the pragmatic solution would be a method for Context to harness
external engines (ICU, Pango, Graphite, Uniscribe, or whatever).  If
that's not possible, or if he doesn't want to do it, or until he is
able to work with scholars on each special case, programs like Notepad
will be able to do something that Context can't.   As a casual user,
it's not an urgent need for me.  I had read that Aleph functionality
had been integrated into LuaTeX (though I never found anything very
detailed about that) and thought that everything was okay.  I assume
that Luatex/Context or some future TeX  will have this functionality
someday, however it's implemented.  I'll just keep watching.


if you want to use external engines ... use xetex instead of luatex

the whole idea behind luatex is that we have a configureable and 
programmable engine ... doing some script is not so much an issue (and 
we can do it more flexible once we have the machinery in place) but 
information is needed ... also, as we want tex cum suis to be flexible 
on the one hand and stable on the other, depending on hidden or fuzzy 
features in en uniscribe engine might not be the best idea


in the oriental tex project we've spend quite some time on high quality 
arabic and i'm sure that we could not have come this far if we had wrote 
the code from scratch (all this font technology is not as open as the 
name suggest) ... also, there's more in mkiv than shown so far (esp in 
that area) for those experiments



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] bibtex failure on latest minimals

2010-06-14 Thread Alan BRASLAU
On Monday 14 June 2010 08:55:57 Taco Hoekwater wrote:
 Alan BRASLAU wrote:
  An update today of the minimals breaks the bibtex search path:
  
  This is BibTeX, Version 0.99d (TeX Live 2010/pretest)
  Capacity: max_strings=15, hash_size=15, hash_prime=127507
  The top-level auxiliary file: Livre.aux
  I couldn't open style file cont-no.bst
  ---line 2 of file Livre.aux
  
   : \bibstyle{cont-no
   : 
   :  }
  
  I'm skipping whatever remains of this command
  I found no style file---while reading file Livre.aux
  
  whereas minimals from Friday (11 June) succeeds:
  
  This is BibTeX, Version 0.99d (TeX Live 2010/pretest)
  Capacity: max_strings=15, hash_size=15, hash_prime=127507
  The top-level auxiliary file: Livre.aux
  The style file: cont-no.bst
 
 Is texmf.cnf still ok? There should be a BSTINPUTS line there.
 

To check this, I re-installed the minimals this morning
and now bibtex works. BSTINPUTS is defined in texmf.cnf;
I do not know what was there yesterday...

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] Removing Introduction section number

2010-06-14 Thread Alan BRASLAU
On Monday 14 June 2010 09:54:30 Taco Hoekwater wrote:
 
 Actually, I almost never use \writetolist myself, but then I usually
 have special sectioning commands (in larger documents):
 
\definehead[Usection][section]
\setuphead[Usection][number=no]
 
\Usection{...}
 
 This could be wrapped in a macro if you want key=value parsing.

I presently use this myself, as a solution to what I consider to be a missing 
feature. It is convenient, but is not generally elegant either. Again, 
\section[number=no]{...} is quite natural and intuitive.

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] Removing Introduction section number

2010-06-14 Thread Taco Hoekwater

Alan BRASLAU wrote:

On Monday 14 June 2010 09:54:30 Taco Hoekwater wrote:

Actually, I almost never use \writetolist myself, but then I usually
have special sectioning commands (in larger documents):

   \definehead[Usection][section]
   \setuphead[Usection][number=no]

   \Usection{...}

This could be wrapped in a macro if you want key=value parsing.


I presently use this myself, as a solution to what I consider to be a missing 
feature. It is convenient, but is not generally elegant either. Again, 
\section[number=no]{...} is quite natural and intuitive.


FWIW, I agree with you.

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
___


[NTG-context] color in MKIV and Metapost

2010-06-14 Thread Erik Margraf
Dear All,
the small example attached behaves in mkii (texexec) as expected.
The string CONTEXT as well as a little square are colored. Using
mkiv (context) only the little square is colored. The CONTEXT
string is black.
Tested on two different linux systems, both 64 Bit.

  -- CentOS 5, Context  2010.05.24 13:05
  -- Debian - Squeeze,  Latest Beta from Yesterday (13.06)

What am I missing?
Thanks!

Erik


cl1.tex
Description: TeX document
___
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] color in MKIV and Metapost

2010-06-14 Thread Taco Hoekwater

Erik Margraf wrote:

Dear All,
the small example attached behaves in mkii (texexec) as expected.
The string CONTEXT as well as a little square are colored. Using
mkiv (context) only the little square is colored. The CONTEXT
string is black. 
Tested on two different linux systems, both 64 Bit.


  -- CentOS 5, Context  2010.05.24 13:05
  -- Debian - Squeeze,  Latest Beta from Yesterday (13.06)

What am I missing?


Please see this page:

  http://wiki.contextgarden.net/MkIV_Differences#Metapost

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] pdf options

2010-06-14 Thread Jan Pohanka
Dne Mon, 14 Jun 2010 08:59:32 +0200 Taco Hoekwater t...@elvenkind.com  
napsal(a):



Jan Pohanka wrote:

Hello,
 this code
\setuppagenumbering[location={footer,margin},alternative=doublesided]
forces a pdf viewer to show the document as doublepages.
How can I suppress it, please?


You mean it displays side-by-side automatically? You can set the
'Page Display' in the Reader to 'Single Page' (Edit-Preferences-Page  
Layout).


Yes I mean this. But I think that pdf file can tell the Reader how to show  
it, because the same file processed by MKII is shown normally. So is there  
any way to specify this pdf behaviour in Context?


best regards
Jan



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
___



--
Tato zpráva byla vytvořena převratným poštovním klientem Opery:  
http://www.opera.com/mail/

___
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] Removing Introduction section number

2010-06-14 Thread Hans Hagen

On 14-6-2010 9:39, Alan BRASLAU wrote:


\section[number=no]{Whatever}


this will not happen as the first argument is optional and reserved for 
a cross reference


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] Removing Introduction section number

2010-06-14 Thread Hans Hagen


\unprotect

% already set: \setupstructurehead[chapter][appendixlabel=appendix]
%
% but was not yet hooked into:

\unexpanded\def\fullstructureheadnumber
   {\edef\currentstructureheadlabeltag{\currentstructureblock\c!label}%

\labeltexts{\structureheadparameter\currentstructureheadlabeltag}{\structurenumber}}

\protect

\starttext

\setuplabeltext[chapter=Chapter ]
\setuplabeltext[appendix=Appendix ]

\placelist[chapter][criterium=text]

\startfrontmatter
\chapter{Not numbered but in list}
\title{Not numbered and not in list}
\stopfrontmatter

\startbodymatter
\chapter{Numbered but in list}
\title{Unnumbered and not in list}
\stopbodymatter

\startappendices
\chapter{Numbered but in list}
\title{Unnumbered and not in list}
\stopappendices

\stoptext

for other tweaking using \definehead[xxx][section] ... is more suitable 
than local tweaking as one often wants to inherit features


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] Removing Introduction section number

2010-06-14 Thread Peter Münster
On Mon, Jun 14 2010, Hans Hagen wrote:

 \section[number=no]{Whatever}

 this will not happen as the first argument is optional and reserved for a 
 cross reference

In mkiv, can we consider the \section commands as obsolete, since we have
now \startsection ... \stopsection ?
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] pdf options

2010-06-14 Thread Hans Hagen

On 14-6-2010 11:51, Jan Pohanka wrote:

Dne Mon, 14 Jun 2010 08:59:32 +0200 Taco Hoekwater t...@elvenkind.com
napsal(a):


Jan Pohanka wrote:

Hello,
this code
\setuppagenumbering[location={footer,margin},alternative=doublesided]
forces a pdf viewer to show the document as doublepages.
How can I suppress it, please?


You mean it displays side-by-side automatically? You can set the
'Page Display' in the Reader to 'Single Page' (Edit-Preferences-Page
Layout).


Yes I mean this. But I think that pdf file can tell the Reader how to
show it, because the same file processed by MKII is shown normally. So
is there any way to specify this pdf behaviour in Context?


i'm pretty sure that it's in the mail archive (and/or on the wiki)

% max bookmark fit doublesided singlesided default auto none

\setuppagenumbering[alternative=doublesided]
\setupinteractionscreen[option=singlesided]

\starttext
\dorecurse{10}{test \page}
\stoptext

if not on the wiki, then up to you to add it (as well as in the ref section)

-
  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] Removing Introduction section number

2010-06-14 Thread Hans Hagen

On 14-6-2010 12:14, Peter Münster wrote:

On Mon, Jun 14 2010, Hans Hagen wrote:


 \section[number=no]{Whatever}


this will not happen as the first argument is optional and reserved for a
cross reference


In mkiv, can we consider the \section commands as obsolete, since we have
now \startsection ... \stopsection ?


well, not obsolete as it's convenient but it will definitely not be 
extended / changed


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] Removing Introduction section number

2010-06-14 Thread Alan BRASLAU
On Monday 14 June 2010 11:52:28 Hans Hagen wrote:
 On 14-6-2010 9:39, Alan BRASLAU wrote:
  \section[number=no]{Whatever}
 
 this will not happen as the first argument is optional and reserved for
 a cross reference
 
 Hans

Yes, of course!
How about \section[reference][number=no]{Whatever}?



The following is a bit verbose. It is related, but is more general than the 
subject of unnumbered sections...

I have to say that I am now a bit confused about the use of arguments in 
ConTeXt.

In LaTeX, optional arguments are contained within [] and required arguments 
are grouped within {}. However, in ConTeXt, the situation is not quite so 
clear. Take \section[reference]{Title} for example. Here, the reference is 
optional and the Title is required, so a title-less section would be 
\section{}. This is somewhat sane, even though one may well use sections 
without titles.

Contrast this with \cite (I choose this example as I just figured-out that its 
misuse was the cause of some obscure problems in a big project). We have 
\cite[key], rather then \cite{key} as in LaTeX. Is this because we may also 
have \cite[authoryear][key]? Of course, the key is not optional as one can 
hardly imagine using \cite without some sort of key, so one might expect 
usage: as remarked by \cite[authoryear]{Einstein1905}.

My error was to have reflexively used \cite{key}, and this sort-of worked so I 
did not pay it any attention. However, here and there in my document, 
references, for example \chapter[ImportantStuff]{Important stuff} were broken, 
with no obvious reason. After correcting my use of \cite[key], other 
references were suddenly fixed.

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] Removing Introduction section number

2010-06-14 Thread Vyatcheslav Yatskovsky

Yes, yes, yes!
Thank you, friends )

\setupsectionblock[bodypart][page=no]
\setupsectionblock[frontpart][page=no]


--
Best Regards,
Vyatcheslav Yatskovsky
___
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
___


[NTG-context] Filtering contents

2010-06-14 Thread Vyatcheslav Yatskovsky

Hi

Sorry for (possibly) stupid question, but what should I use to remove 
subsubsections from TOC?


I'm convinced that I should use

\placecontent[level=subsection]

but it does not work.

--
Best Regards,
Vyatcheslav Yatskovsky
___
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
___


[NTG-context] Weird \Word behaviour

2010-06-14 Thread Vyatcheslav Yatskovsky

)))
Can please someone explain me why it happens?


\def \sps {special-purpose digital computers}

\starttext
\Word{\sps}%Special-purpose digital computers

\Word{\sps} %special-purpose Digital computers
\stoptext


--
Best Regards,
Vyatcheslav Yatskovsky
___
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] Removing Introduction section number

2010-06-14 Thread Taco Hoekwater


Hi Alan,

Alan BRASLAU wrote:
I have to say that I am now a bit confused about the use of arguments in 
ConTeXt.


The general rule is quite straightforward:

* arguments in {} pairs are typeset material
* arguments in [] are setup instructions and metadata

Whether or not an argument is optional has nothing to
do with the used delimiters.

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] Removing Introduction section number

2010-06-14 Thread Vyatcheslav Yatskovsky



How about \section[reference][number=no]{Whatever}?



Or \section[reference]{Whatever}[number=no]?

:o)

--
Best Regards,
Vyatcheslav Yatskovsky
___
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
___


[NTG-context] Drawing a diagram

2010-06-14 Thread Vyatcheslav Yatskovsky
Sorry for flooding the list, but what package I can use draw a picture 
like this (attached).


Thanks,
Vyatcheslav
attachment: 2010-06-14_142133.png___
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] Drawing a diagram

2010-06-14 Thread luigi scarso
On Mon, Jun 14, 2010 at 1:22 PM, Vyatcheslav Yatskovsky
yatskov...@gmail.com wrote:
 Sorry for flooding the list, but what package I can use draw a picture like
 this (attached).

1) metafun  (context mkii or mkiv, texlive  minimals)
2) tikz (latex, context mkii, texlive)
3) asymptote (latex, texlive )

-- 
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] Drawing a diagram

2010-06-14 Thread Taco Hoekwater

luigi scarso wrote:

On Mon, Jun 14, 2010 at 1:22 PM, Vyatcheslav Yatskovsky
yatskov...@gmail.com wrote:

Sorry for flooding the list, but what package I can use draw a picture like
this (attached).


That actual picture was drawn with the flowchart module.

 http://wiki.contextgarden.net/Flow_Charts

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] Drawing a diagram

2010-06-14 Thread luigi scarso
On Mon, Jun 14, 2010 at 1:27 PM, luigi scarso luigi.sca...@gmail.com wrote:
0)  Flow_Charts (cfr. http://wiki.contextgarden.net/Flow_Charts)
 1) metafun  (context mkii or mkiv, texlive  minimals)
 2) tikz (latex, context mkii, texlive)
 3) asymptote (latex, texlive )


-- 
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] Removing Introduction section number

2010-06-14 Thread Wolfgang Schuster

Am 13.06.10 22:03, schrieb Vyatcheslav Yatskovsky:

Hello,

I'm still in need of help with numberless sections.

While using front, body,and back matter sounds goos, but it makes new 
pages. \subject is perfect, but it does not appear in contents.


Most simple (if there is no other options) seems to use \subject, but 
add it to the TOC. How can I do it?


\setuphead[subject][incrementnumber=list]

and

\placelist[chapter,section,subject,...]

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] Removing Introduction section number

2010-06-14 Thread Vyatcheslav Yatskovsky

Thank you all for help.

Actually, I most like front/body matter without page breaks, because it 
further structures the text (the thing I adore in TeX).


--
Best Regards,
Vyatcheslav Yatskovsky
___
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] Drawing a diagram

2010-06-14 Thread Vyatcheslav Yatskovsky

On 14.06.2010 15:27, ntg-context-requ...@ntg.nl wrote:

That actual picture was drawn with the flowchart module.

http://wiki.contextgarden.net/Flow_Charts

Thank you, Taco.

I cannot find one thing about charts: is it possible to offset and 
enlarge just one chart symbol?


Specifically, I need My main discipline to occupy four cells in the 
center, or just be shifted...


\usemodule[chart]
\starttext
\setupFLOWcharts
[option=test,
nx=5,
ny=4,
dx=1\bodyfontsize,
dy=1\bodyfontsize,
width=12\bodyfontsize,
height=7\bodyfontsize,
maxwidth=\textwidth]

\startFLOWchart [grid]
\startFLOWcell
\shape {5}
\location {2,1}
\text {Higher mathematics}
\stopFLOWcell   
\startFLOWcell
\shape {5}
\location {2,2}
\text {My main discipline}
\stopFLOWcell   
\stopFLOWchart

\FLOWchart[grid]
\stoptext

--
Best Regards,
Vyatcheslav Yatskovsky
___
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] Filtering contents

2010-06-14 Thread Wolfgang Schuster

Am 14.06.10 13:03, schrieb Vyatcheslav Yatskovsky:

Hi

Sorry for (possibly) stupid question, but what should I use to remove 
subsubsections from TOC?


I'm convinced that I should use

\placecontent[level=subsection]

but it does not work.


This option (although set in strc-def.mkiv) is gone in mkiv, use the 
normal \placelist command.


\placelist[chapter,section,subsection]

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] Filtering contents

2010-06-14 Thread Hans Hagen

On 14-6-2010 2:37, Wolfgang Schuster wrote:

Am 14.06.10 13:03, schrieb Vyatcheslav Yatskovsky:

Hi

Sorry for (possibly) stupid question, but what should I use to remove
subsubsections from TOC?

I'm convinced that I should use

\placecontent[level=subsection]

but it does not work.


This option (although set in strc-def.mkiv) is gone in mkiv, use the
normal \placelist command.

\placelist[chapter,section,subsection]


you can try things like criterum=current|previous|local etc

-
  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] bibtex failure on latest minimals

2010-06-14 Thread Andreas Schneider
Michael Murphy wrote:

 On Mon, 2010-06-14 at 08:55 +0200, Taco Hoekwater wrote:
 Alan BRASLAU wrote:
  An update today of the minimals breaks the bibtex search path:
  
  This is BibTeX, Version 0.99d (TeX Live 2010/pretest)
  Capacity: max_strings=15, hash_size=15, hash_prime=127507
  The top-level auxiliary file: Livre.aux
  I couldn't open style file cont-no.bst
  ---line 2 of file Livre.aux
   : \bibstyle{cont-no
   :  }
  I'm skipping whatever remains of this command
  I found no style file---while reading file Livre.aux
  
  whereas minimals from Friday (11 June) succeeds:
  
  This is BibTeX, Version 0.99d (TeX Live 2010/pretest)
  Capacity: max_strings=15, hash_size=15, hash_prime=127507
  The top-level auxiliary file: Livre.aux
  The style file: cont-no.bst
 
 Is texmf.cnf still ok? There should be a BSTINPUTS line there.
 
 
 Looks ok, but I have the same problem. This is the line from texmf.cnf:
 
 BSTINPUTS = .;{$TXRESOURCES}//;{$CTXDEVTXPATH};$TEXMF/bibtex/bst//


I also got that error when my texlsr was corrupted/outdated. Running 
mktexlsr fixed bibtex for me. (Additionally I had to run setuptex{.bat} 
first, before bibtex worked correctly.)

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


[NTG-context] minimals

2010-06-14 Thread Hans Hagen

Hi,

i'm experimenting with the minimals so best not update now

(i need to do tests that i cannot do locally)

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
___


[NTG-context] Table head

2010-06-14 Thread Vyatcheslav Yatskovsky

Hi again,

I'm prolific today ) Please, advise how to add Table head. Now I 
simulate it with


\startalignment[left] Table 1 \stopalignment
\bTABLE...

Vyatheslav
___
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] Table head

2010-06-14 Thread Wolfgang Schuster

Am 14.06.10 15:18, schrieb Vyatcheslav Yatskovsky:

Hi again,

I'm prolific today ) Please, advise how to add Table head. Now I 
simulate it with


\startalignment[left] Table 1 \stopalignment
\bTABLE...


\setupcaption[table][align=left] % align=flushleft?

\placetable
  {Caption}
  {\bTABLE...\eTABLE}

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] Table head

2010-06-14 Thread Vyatcheslav Yatskovsky

On 14.06.2010 16:28, Wolfgang Schuster wrote:

\setupcaption[table][align=left] % align=flushleft?

\placetable
   {Caption}
   {\bTABLE...\eTABLE}


 Thank you, but then table is not splitted across pages.

--
Best Regards,
Vyatcheslav Yatskovsky
___
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] Filtering contents

2010-06-14 Thread Vyatcheslav Yatskovsky

Thanks a lot.

Interesting, but \setupcombinedlist[content][...] still works )



\placecontent[level=subsection]

but it does not work.


This option (although set in strc-def.mkiv) is gone in mkiv, use the
normal \placelist command.

\placelist[chapter,section,subsection]



--
Best Regards,
Vyatcheslav Yatskovsky
___
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] Table head

2010-06-14 Thread Wolfgang Schuster

Am 14.06.10 15:32, schrieb Vyatcheslav Yatskovsky:

On 14.06.2010 16:28, Wolfgang Schuster wrote:

\setupcaption[table][align=left] % align=flushleft?

\placetable
   {Caption}
   {\bTABLE...\eTABLE}


 Thank you, but then table is not splitted across pages.


\placetable
  [split]
  {Caption}
  {\bTABLE...\eTABLE}

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] Table head

2010-06-14 Thread Vyatcheslav Yatskovsky

On 14.06.2010 16:36, Wolfgang Schuster wrote:

Am 14.06.10 15:32, schrieb Vyatcheslav Yatskovsky:

On 14.06.2010 16:28, Wolfgang Schuster wrote:

\setupcaption[table][align=left] % align=flushleft?

\placetable
{Caption}
{\bTABLE...\eTABLE}


Thank you, but then table is not splitted across pages.


\placetable
[split]
{Caption}
{\bTABLE...\eTABLE}

Wolfgang



Thank you again, but is there a way for the caption to appear ABOVE the 
table?


--
Best Regards,
Vyatcheslav Yatskovsky
___
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] Removing Introduction section number

2010-06-14 Thread Alan BRASLAU
On Monday 14 June 2010 13:17:54 Taco Hoekwater wrote:
 Hi Alan,
 
 Alan BRASLAU wrote:
  I have to say that I am now a bit confused about the use of arguments in
  ConTeXt.
 
 The general rule is quite straightforward:
 
 * arguments in {} pairs are typeset material
 * arguments in [] are setup instructions and metadata
 
 Whether or not an argument is optional has nothing to
 do with the used delimiters.

Quite logical and straightforward.

It is useful to read the manual (section 1.3):
A command is often followed by setups or by text. Setups
are placed between brackets ([]). The scope or range of
the command, the text acted upon, is placed between
curly brackets ({}).

...

I see that my reflexes have been spoiled by years of practice with LaTeX - old 
habits die hard.
Lamport (section 2.5):
Command arguments are enclosed in curly braces { and },
except for optional arguments, which are enclosed in square
brackets [ and ].

So I added a paragraph to
http://wiki.contextgarden.net/From_LaTeX_to_ConTeXt#Command_syntax

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
___


[NTG-context] ntRe: Table head

2010-06-14 Thread Vyatcheslav Yatskovsky

Wolfgang, thank you very much!

But after all the struggle I see ugly bug. Table number is increased 
after every page split! %)


Minimal example attached (0.tex)



Thank you again, but is there a way for the caption to appear ABOVE
the table?


\setupcaption[table][location=top]

Wolfgang



--
Best Regards,
Vyatcheslav Yatskovsky



0.tex
Description: TeX document
___
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] bibtex failure on latest minimals

2010-06-14 Thread Alan BRASLAU
On Monday 14 June 2010 14:09:18 Michael Murphy wrote:

  Is texmf.cnf still ok? There should be a BSTINPUTS line there.
 
 Looks ok, but I have the same problem. This is the line from texmf.cnf:
 
 BSTINPUTS = .;{$TXRESOURCES}//;{$CTXDEVTXPATH};$TEXMF/bibtex/bst//

The problem must be elsewhere. After updating the minimals this morning,
bibtex now works. The definition of BSTINPUTS is indeed as above.
As I had removed the broken version that I had installed this weekend,
I can no longer reproduce the error.

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] Filtering contents

2010-06-14 Thread Wolfgang Schuster

Am 14.06.10 15:49, schrieb Vyatcheslav Yatskovsky:

I use \setupcombinedlist just to set alternative:

\setupcombinedlist
[content]
[alternative=c,
width=2.5em]


I just wrote the 'level' key has no funtion in mkiv, combinedlist works 
as expected and what you can do is to replace the default list with a 
shorter version, e.g.


\definecombinedlist[content][chapter,section,subsection]

to limit the the shown section entries.

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] Filtering contents

2010-06-14 Thread Wolfgang Schuster

Am 14.06.10 15:34, schrieb Vyatcheslav Yatskovsky:

Thanks a lot.

Interesting, but \setupcombinedlist[content][...] still works )


Can you make a example, this doesn't work for me:

\setupcombinedlist[content][level=subsection]

\starttext

\completecontent

\chapter{One}
\section{Two}
\subsection{Three}
\subsubsection{Four}

\stoptext

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] Filtering contents

2010-06-14 Thread Wolfgang Schuster

Am 14.06.10 15:57, schrieb Vyatcheslav Yatskovsky:
I was wondering why \setupcombinedlist[content] affects \placelist 
without mentioning content )))


\setupcombinedlist[content] is a setup command for a list which are set 
with \definecombinedlist, e.g.


\definedcomvinedlist[mylist][section,subsection,subsubsubsection]

and

\setupcombinedlist[mylist][alternative=d]

is a short form for

\setuplist[section,subsection,subsubsubsection][alternative=d]

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] ntRe: Table head

2010-06-14 Thread Wolfgang Schuster

Am 14.06.10 15:46, schrieb Vyatcheslav Yatskovsky:

Wolfgang, thank you very much!

But after all the struggle I see ugly bug. Table number is increased 
after every page split! %)


Minimal example attached (0.tex)


Dunno but you can replace the texts (\sps etc.) with the \setvariable(s) 
commands, e.g.


\setvariable{text}{sps} {special-purpose digital computers}
\setvariable{text}{mfst}{Module №1 “Main principles of organization of 
\getvariable{text}{sps}”}
\setvariable{text}{msec}{Module №2 “Principles of construction of 
airborne computers”}


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] Filtering contents

2010-06-14 Thread Wolfgang Schuster

Am 14.06.10 16:04, schrieb Vyatcheslav Yatskovsky:

Isn't there should be list name, mylist?


\setuplist[section,subsection,subsubsubsection][alternative=d]



\setupcombinedlist[mylist] = 
\setuplist[section,subsection,subsubsubsection]


mylist == section + subsection + subsubsubsection

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] bibtex failure on latest minimals

2010-06-14 Thread Michael Murphy
On Mon, 2010-06-14 at 15:15 +0200, Andreas Schneider wrote:
 Michael Murphy wrote:
 
 I also got that error when my texlsr was corrupted/outdated. Running 
 mktexlsr fixed bibtex for me. (Additionally I had to run setuptex{.bat} 
 first, before bibtex worked correctly.)

Yup, things seem fine again after running mktexlsr.

--
Michael Murphy.

___
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] color in MKIV and Metapost

2010-06-14 Thread Hans Hagen

On 14-6-2010 10:35, Erik Margraf wrote:

Dear All,
the small example attached behaves in mkii (texexec) as expected.
The string CONTEXT as well as a little square are colored. Using
mkiv (context) only the little square is colored. The CONTEXT
string is black.
Tested on two different linux systems, both 64 Bit.

   -- CentOS 5, Context  2010.05.24 13:05
   -- Debian - Squeeze,  Latest Beta from Yesterday (13.06)

What am I missing?


thelabel(\color[red]{CONTEXT}, origin) ;

no recoloring of text pictures

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


[NTG-context] Two \framed texts, one below the other

2010-06-14 Thread Marcin Borkowski
Hi all!

When I say

\framed{a}
\framed{b}

there is some space between frames.  How can I turn it off?

I want to say something like

\framed[bottomframe=off]{top left \hss top right}
\framed[topframe=off]{center}

to get

+--+
|top left top right|
|  |
|center|
|  |
|  |
+--+

Is there a better way to do something like this?

Regards

-- 
Marcin Borkowski (http://mbork.pl)
___
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
___