Re: [NTG-context] beware: some patches loaded from cont-new.tex

2007-10-31 Thread Hans Hagen
Joel C. Salomon wrote:
 Testing a new installation of mswincontext, I got this message when
 texexecing the first example from the wiki:
 
 (c:/Users/chesky/Programs/context/tex/texmf-local/tex/context/base/cont-new.tex
 systems : beware: some patches loaded from cont-new.tex
 
 Is this normal?

yes

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
___


[NTG-context] upright sans math

2007-10-31 Thread Henning Hraban Ramm
Ahoi!

I need to typeset some formulae in upright Helvetica (TeX Gyre Heros,
URW Nimbus or similar).
Is this already pre-made in the ConTeXt distribution? I couldn't find it.

Greetlings, Hraban
___
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] linebreak NOT in section title BUT in content

2007-10-31 Thread Wolfgang Schuster
2007/10/30, Taco Hoekwater [EMAIL PROTECTED]:

 Steffen Wolfrum wrote:
 
  But I was sure there was also a fast, direct way.
  Well, obviously there isn't (anymore?) ...

 Here's a trick. It is ugly, but works reasonably well.

   \starttext
   \def\CR{\crlf}
   \completecontent
   \def\CR{ }

   \chapter{First line\CR second line}

   \stoptext


Nice solution but Hans wrote a mechanism to to make two different
titles for the text and the table of contents or whatever else you want.

\defineselector[title][max=2,n=2]

\starttext

\start
  \setupselector[title][n=1]
  \completecontent
\stop

\chapter{\select{title}{First line\crlf second line}{First line second
line}}

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


Re: [NTG-context] natural table splitting problems

2007-10-31 Thread Santy, Michael

Hagen, Hans wrote:
 it's always a problem to determine what's left on a page
 
 \def\blah{The quick brown fox jumped over the lazy stupid dog.}
 \dorecurse{62}{\blah} \synchronizeoutput
 
 this will force the otr but is not always fails safe (i.e. vertical 
 spacing may be messed)
 
 ... one of the reasons why we work on luatex -)
 
 Hans

Hans, 

The \synchronizeoutput seemed to fix this trivial example, but it doesn't 
seem to fix other illustrations of this behavior.  Is the \synchronizeoutput 
something that I should place at the end of every block of content (paras, 
sections, lists, figures, equations, etc.) in order to ensure that tables split 
properly.  If not, is there a general workaround for this table issue that I 
can apply in the meantime while LuaTeX is still in development?  I'm generating 
ConTeXt from XSL, so its very easy to make a system wide change of how the 
content is generated.

By the way, the LuaTeX on live.contextgarden.net seems to be broken 
(FatalError: Your format does not match the base files!)

Cheers,
Mike
___
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] natural table splitting problems

2007-10-31 Thread Peter Rolf
Santy, Michael schrieb:
 
 The same as in my first reply. Look at the first page with the text
 only. There isn't a space behind the sentence(s) and TeX can't break the
 paragraph (text expands it's lower border). This also breaks the
 splitting of the table, as it is (partly) on the same page.
 
 Peter, all of the information that you've sent me has been very
 educational, but I think you may be focusing too much on the approach

maybe, but it's the only thing i had :)

 that I've used to illustrate the errant table splitting behavior.  The
 example below also illustrates this behavior and does not extend the
 text below its lower border as did the previous example. 

confirmed

page 1 : text
page 2 : header with one row
page 3 : header with rest of table

and this time i have no explanation.

 This is of course a contrived example -- I unfortunately cannot post a
 real example.  You can slightly change the layout and the problem will
 going away (for this particular document).  The problem is that my
 ConTeXt rendering layer has to process arbitrary XML input and this very
 same behavior pops up in documents regardless of the layout.  Making
 adjustments to the layout, font size, etc will just change where the
 problem manifests itself.  It is still possible that I'm doing something
 wrong, but my gut tells me that it is a bug in the context natural table
 splitting code.
 
i have looked into your source and the only thing that was irritating to
me is that fact, that you use 'split' twice.

 \placetable[split]{Broken Split Table}{%
 \bTABLE[split=repeat]

the second one looks ok for me, but the first one is fishy. i have
looked into the definition of \placefloat and there is no option 'split'.


\placefloat[...][ref,ref,...]{...}{...}

[...]  left right here top bottom inleft inright inmargin
margin leftmargin
   rightmargin leftedge rightedge innermargin
outermargin inneredge outeredge
   inner outer line high low fit page opposite always
force tall reset line
   height depth
[ref,ref,...]
{...}  text
{...}  text


it can be seen as ref(erence), but the funny thing is, that the problems
vanished, if i delete the '[split]' after placetable or complete it to
'[here] [split]' (split as reference).

give it a try (and ask hans about the why). ;)


best wishes, peter


 \setuppapersize[letter][letter]
 
 \setuplayout[textwidth=6.5in,
  width=middle,
  height=middle,
  footer=3\bodyfontsize,
  footerdistance=\bodyfontsize,
  header=0pt,
  headerdistance=0pt,
  top=\bodyfontsize,
  topdistance=\bodyfontsize,
  topspace=0.8in,
  bottom=\bodyfontsize,
  bottomdistance=0.5\bodyfontsize,
  bottomspace=0.8in,
  location=middle]
 
 \showframe
 
 \usetypescript[times][ec]
 \setupbodyfont[times,13pt]
 
 \setupwhitespace[big]
 
 \starttext
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 \placetable[split]{Broken Split Table}{%
 \bTABLE[split=repeat]
 \bTABLEhead
 \bTR 
 \bTH Header A \eTH
 \bTH Header B \eTH
 \eTR
 \eTABLEhead
 

Re: [NTG-context] upright sans math

2007-10-31 Thread Wolfgang Schuster
2007/10/31, Henning Hraban Ramm [EMAIL PROTECTED]:

 Ahoi!

 I need to typeset some formulae in upright Helvetica (TeX Gyre Heros,
 URW Nimbus or similar).
 Is this already pre-made in the ConTeXt distribution? I couldn't find it.

 Greetlings, Hraban


Hi Hraban,

the only matching math font for Helevetica I know is hv-math.

It is avaliable from micropress.

http://home.vr-web.de/was/mathfonts
http://www.micropress-inc.com/fonts/hvmath/hvmain.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] Success Story - II

2007-10-31 Thread luigi scarso
On 10/25/07, Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote:
 Hello

 Happy to report that Luatex made my life easier once again.  :) I've made 
 another test papers for my students, with varying problems, and it was 
 possible only due to Lua emedded code.
It's an important topic for.
Do you have some other examples, so I eventually collect them in my  wiki page?

-- 
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] natural table splitting problems

2007-10-31 Thread Peter Rolf
...just some further tests. i was wrong, as there is no table breaking
without the \placetable[split] option. seems my command reference is
outdated :(

if you don't use \placetable at all, things work again. so there must be
some vspace mess with the splitting option of placetable and the one of
TABLE.
adding \blank[line,medium,force] or some other forced blank in front of
the table should help to get the correct offset to the text.

what a mess...

peter
___
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] beware: some patches loaded from cont-new.tex

2007-10-31 Thread Joel C. Salomon
On 10/31/07, Hans Hagen [EMAIL PROTECTED] wrote:
  beware: some patches loaded from cont-new.tex
 
  Is this normal?

 yes

What does the warning mean, and if it's normal why is there a warning for it?

--Joel
___
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] Success Story - II

2007-10-31 Thread Vyatcheslav Yatskovsky
Hello luigi,

Thanks for the interest. 

I have provided the most prominent pieces of code already in this list. ;)

Where are your Wiki page?

-- 
Best regards,
Vyatcheslav Yatskovsky

 On 10/25/07, Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote:
 Hello

 Happy to report that Luatex made my life easier once again.I've made 
 another test papers for my students, with varying problems, and it was 
 possible only due to Lua emedded code.
 It's an important topic for.
 Do you have some other examples, so I eventually collect them in my wiki page?

___
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] natural table splitting problems

2007-10-31 Thread Santy, Michael

Peter,

There definitely seems to be something wrong with the splitting behavior, but 
I'm able to illustrate the same problem regardless of whether its wrapped in a 
\placetable (see example below).  From my experiments, wrapping a table in 
placetable didn't seem to fix the broken tables or break the correctly split 
tables.

Cheers,
Mike

\setuppapersize[letter][letter]

\setuplayout[textwidth=6.5in,
 width=middle,
 height=middle,
 footer=3\bodyfontsize,
 footerdistance=\bodyfontsize,
 header=0pt,
 headerdistance=0pt,
 top=\bodyfontsize,
 topdistance=\bodyfontsize,
 topspace=0.8in,
 bottom=\bodyfontsize,
 bottomdistance=0.5\bodyfontsize,
 bottomspace=0.8in,
 location=middle]

\showframe

\usetypescript[times][ec]
\setupbodyfont[times,13pt]

\setupwhitespace[big]

\starttext

Now is the time for all good men to come to the aid of their country. 

Now is the time for all good men to come to the aid of their country. 

Now is the time for all good men to come to the aid of their country. 

Now is the time for all good men to come to the aid of their country. 

Now is the time for all good men to come to the aid of their country. 

Now is the time for all good men to come to the aid of their country. 

Now is the time for all good men to come to the aid of their country. 

Now is the time for all good men to come to the aid of their country. 

Now is the time for all good men to come to the aid of their country. 

Now is the time for all good men to come to the aid of their country. 

Now is the time for all good men to come to the aid of their country. 

Now is the time for all good men to come to the aid of their country. 

Now is the time for all good men to come to the aid of their country. 

Now is the time for all good men to come to the aid of their country. 

Now is the time for all good men to come to the aid of their country. 

Now is the time for all good men to come to the aid of their country. 

Now is the time for all good men to come to the aid of their country. 

Now is the time for all good men to come to the aid of their country. 

Now is the time for all good men to come to the aid of their country. 

Now is the time for all good men to come to the aid of their country. 

Now is the time for all good men to come to the aid of their country. 

Now is the time for all good men to come to the aid of their country. 

Now is the time for all good men to come to the aid of their country. 

Now is the time for all good men to come to the aid of their country. 

Now is the time for all good men to come to the aid of their country. 

\blank[line,medium,force]

\bTABLE[split=repeat]
\bTABLEhead
\bTR  
\bTH Header A \eTH 
\bTH Header B \eTH 
\eTR 
\eTABLEhead
\bTABLEbody
\bTR
\bTC A \eTC
\bTC B \eTC
\eTR
\bTR
\bTC A \eTC
\bTC B \eTC
\bTR
\bTC A \eTC
\bTC B \eTC
\eTR
\bTR
\bTC A \eTC
\bTC B \eTC
\eTR
\bTR
\bTC A \eTC
\bTC B \eTC
\eTR
\bTR
\bTC A \eTC
\bTC B \eTC
\eTR
\bTR
\bTC A \eTC
\bTC B \eTC
\eTR
\bTR
\bTC A \eTC
\bTC B \eTC
\eTR
\bTR
\bTC A \eTC
\bTC B \eTC
\eTR
\bTR
\bTC A \eTC
\bTC B \eTC
\eTR
\bTR
\bTC A \eTC
\bTC B \eTC
\eTR
\bTR
\bTC A \eTC
\bTC B \eTC
\eTR
\bTR
\bTC A \eTC
\bTC B \eTC
\eTR
\bTR
\bTC A \eTC
\bTC B \eTC
\eTR
\bTR
\bTC A \eTC
\bTC B \eTC
\eTR
\bTR
\bTC A \eTC
\bTC B \eTC
\eTR
\bTR
\bTC A \eTC
\bTC B \eTC
\eTR
\bTR
\bTC A \eTC
\bTC B \eTC
\eTR
\bTR
\bTC A \eTC
\bTC B \eTC
\eTR
\bTR
\bTC A \eTC
\bTC B \eTC
\eTR
\bTR
\bTC A \eTC
\bTC B \eTC
\eTR
\bTR
\bTC A \eTC
\bTC B \eTC
\eTR
\bTR
\bTC A \eTC
\bTC B \eTC
\eTR
\eTABLEbody
\eTABLE

\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] natural table splitting problems

2007-10-31 Thread Peter Rolf
Santy, Michael schrieb:
 
 Peter,
 
 There definitely seems to be something wrong with the splitting
 behavior, but I'm able to illustrate the same problem regardless of
 whether its wrapped in a \placetable (see example below).  From my
 experiments, wrapping a table in placetable didn't seem to fix the
 broken tables or break the correctly split tables.

hi mike,

indeed not a nice break, but the table is at least split correctly here.

what is missing is the right space ajustment in front of the table and
the caption. try it without the 'forced' in blank (i used it, as the
blank was eaten up otherwise). i know that this is still no satisfying
solution.

have you tried this with your 'real world' documents?

cheers, peter

 Cheers,
 Mike
 
 \setuppapersize[letter][letter]
 
 \setuplayout[textwidth=6.5in,
  width=middle,
  height=middle,
  footer=3\bodyfontsize,
  footerdistance=\bodyfontsize,
  header=0pt,
  headerdistance=0pt,
  top=\bodyfontsize,
  topdistance=\bodyfontsize,
  topspace=0.8in,
  bottom=\bodyfontsize,
  bottomdistance=0.5\bodyfontsize,
  bottomspace=0.8in,
  location=middle]
 
 \showframe
 
 \usetypescript[times][ec]
 \setupbodyfont[times,13pt]
 
 \setupwhitespace[big]
 
 \starttext
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 Now is the time for all good men to come to the aid of their country.
 
 \blank[line,medium,force]
 
 \bTABLE[split=repeat]
 \bTABLEhead
 \bTR 
 \bTH Header A \eTH
 \bTH Header B \eTH
 \eTR
 \eTABLEhead
 \bTABLEbody
 \bTR
 \bTC A \eTC
 \bTC B \eTC
 \eTR
 \bTR
 \bTC A \eTC
 \bTC B \eTC
 \bTR
 \bTC A \eTC
 \bTC B \eTC
 \eTR
 \bTR
 \bTC A \eTC
 \bTC B \eTC
 \eTR
 \bTR
 \bTC A \eTC
 \bTC B \eTC
 \eTR
 \bTR
 \bTC A \eTC
 \bTC B \eTC
 \eTR
 \bTR
 \bTC A \eTC
 \bTC B \eTC
 \eTR
 \bTR
 \bTC A \eTC
 \bTC B \eTC
 \eTR
 \bTR
 \bTC A \eTC
 \bTC B \eTC
 \eTR
 \bTR
 \bTC A \eTC
 \bTC B \eTC
 \eTR
 \bTR
 \bTC A \eTC
 \bTC B \eTC
 \eTR
 \bTR
 \bTC A \eTC
 \bTC B \eTC
 \eTR
 \bTR
 \bTC A \eTC
 \bTC B \eTC
 \eTR
 \bTR
 \bTC A \eTC
 \bTC B \eTC
 \eTR
 \bTR
 \bTC A \eTC
 \bTC B \eTC
 \eTR
 \bTR
 \bTC A \eTC
 \bTC B \eTC
 \eTR
 \bTR
 \bTC A \eTC
 \bTC B \eTC
 \eTR
 \bTR
 \bTC A \eTC
 \bTC B \eTC
 \eTR
 \bTR
 \bTC A \eTC
 \bTC B \eTC
 \eTR
 \bTR
 \bTC A \eTC
 \bTC B \eTC
 \eTR
 \bTR
 \bTC A \eTC
 \bTC B \eTC
 \eTR
 \bTR
 \bTC A \eTC
 \bTC B \eTC
 \eTR
 \bTR
 \bTC A \eTC
 \bTC B \eTC
 \eTR
 \eTABLEbody
 \eTABLE
 
 \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
 ___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!


Re: [NTG-context] natural table splitting problems

2007-10-31 Thread Hans Hagen
Peter Rolf wrote:
 just some further tests. i was wrong, as there is no table breaking
 without the \placetable[split] option. seems my command reference is
 outdated :(
 
 if you don't use \placetable at all, things work again. so there must be
 some vspace mess with the splitting option of placetable and the one of
 TABLE.
 adding \blank[line,medium,force] or some other forced blank in front of
 the table should help to get the correct offset to the text.
 
 what a mess...

as said ... the problem is that we need to know what place is available 
and there is no robust way to determine this ... esp when we're around a 
potential pagebreak

i can look into it when i have enough examples (a bit busy now so i 
cannot give it priority)

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
___


Re: [NTG-context] linebreak NOT in section title BUT in content

2007-10-31 Thread Steffen Wolfrum

Phhh! Hot stuff Wolfgang.

This one should definitely go into the wiki (maybe plus a little  
documentation?)

Very convenient option, amazing what goodies ConTeXt provides – thank  
you very, very much Hans!
And thank you Wolfgang for remembering this ... even the master  
himself forgot it ;o)

Steffen


Am 31.10.2007 um 12:50 schrieb Wolfgang Schuster:


 2007/10/30, Taco Hoekwater [EMAIL PROTECTED]: Steffen Wolfrum  
 wrote:
 
  But I was sure there was also a fast, direct way.
  Well, obviously there isn't (anymore?) ...

 Here's a trick. It is ugly, but works reasonably well.

   \starttext
   \def\CR{\crlf}
   \completecontent
   \def\CR{ }

   \chapter{First line\CR second line}

   \stoptext

 Nice solution but Hans wrote a mechanism to to make two different
 titles for the text and the table of contents or whatever else you  
 want.

 \defineselector[title][max=2,n=2]
 \starttext

 \start
   \setupselector[title][n=1]
   \completecontent
 \stop

 \chapter{\select{title}{First line\crlf second line}{First line  
 second line}}

 \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  : 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] beware: some patches loaded from cont-new.tex

2007-10-31 Thread Hans Hagen
Joel C. Salomon wrote:
 On 10/31/07, Hans Hagen [EMAIL PROTECTED] wrote:
 beware: some patches loaded from cont-new.tex

 Is this normal?
 yes
 
 What does the warning mean, and if it's normal why is there a warning for it?

you can put local fixes there but currently the file also have some 
pending fixzes / extensions

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
___


Re: [NTG-context] natural table splitting problems

2007-10-31 Thread Hans Hagen
Santy, Michael wrote:
 have you tried this with your 'real world' documents?
 
 Peter,
 
 Although adding the \blank didn't fix the table splitting on this contrived 
 document, it actually seems to fix the problem on the few real world 
 documents that have shown this behavior.  Although some of the breaks are 
 still not ideal, they are not blatantly wrong.  It bothers me that I don't 
 understand why this fix works, but it works in the meantime.

what happens if you add add \testpage[4] before a bTABLE?

 I really appreciate all of your assistance.  Hopefully this issue will be 
 revisited in MKIV.
 
 Cheers,
 Mike
 
 
 
 
 
 ___
 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
 ___


-- 

-
   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] natural table splitting problems

2007-10-31 Thread Peter Rolf
Hans Hagen schrieb:
 Santy, Michael wrote:
 have you tried this with your 'real world' documents?
 Peter,

 Although adding the \blank didn't fix the table splitting on this contrived 
 document, it actually seems to fix the problem on the few real world 
 documents that have shown this behavior.  Although some of the breaks are 
 still not ideal, they are not blatantly wrong.  It bothers me that I don't 
 understand why this fix works, but it works in the meantime.
 
 what happens if you add add \testpage[4] before a bTABLE?

i already tried that (also with 4) :)

sadly it has no influence.

 I really appreciate all of your assistance.  Hopefully this issue will be 
 revisited in MKIV.

 Cheers,
 Mike



 

 ___
 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] natural table splitting problems

2007-10-31 Thread Santy, Michael

 have you tried this with your 'real world' documents?

Peter,

Although adding the \blank didn't fix the table splitting on this contrived 
document, it actually seems to fix the problem on the few real world 
documents that have shown this behavior.  Although some of the breaks are still 
not ideal, they are not blatantly wrong.  It bothers me that I don't understand 
why this fix works, but it works in the meantime.

I really appreciate all of your assistance.  Hopefully this issue will be 
revisited in MKIV.

Cheers,
Mike
___
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] JUstificarion of \inleft

2007-10-31 Thread John Culleton
The Context command \inleft is almost comparable to a similar facility in 
Framemaker with this exception: Framemaker left justifies multiple lines in 
this situation (called a sidehead)  whereas \inleft right justifies them.  I 
know I can force indiviual lines into place by enclosing them in \leftline or 
whatever but I am hoping there is a more general solution.
-- 
John Culleton
Want to know what I really think?
http://apps.wexfordpress.net/blog/
And my must-read (free) short list:
http://wexfordpress.com/tex/shortlist.pdf
___
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] rsync problems

2007-10-31 Thread Vyatcheslav Yatskovsky
Hello,

I use 

rsync -rvzctl rsync://contextgarden.net/minimals/minimals/windows  tex

but get the error message. Previously, the same command worked successfully for 
me. Is something broken on the server?


G:\rsyncrsync -rvzctl rsync://contextgarden.net/minimals/minimals/windows  tex
receiving file list ... rsync: link_stat /minimals/windows (in minimals) faile
d: No such file or directory (2)
done

sent 4 bytes  received 9 bytes  8.67 bytes/sec
total size is 0  speedup is 0.00
rsync error: some files could not be transferred (code 23) at main.c(1385) [rece
iver=2.6.9]


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


[NTG-context] Happy prime.next.square :)

2007-10-31 Thread Mojca Miklavec
Mojca

PS: explanation comes with a delay :)
___
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] Kate ConTeXt highlighting

2007-10-31 Thread Matija Šuklje
Sweet, I didn't exactly find a full editor with an environment, but at least a 
syntax highliting in Kate (a nice advanced text editor for KDE (so far still 
Linux-only)).

Also a Kate dev (he also pointed me to the file) asked if someone could test 
this syntax highliting and send a short evaluation to [EMAIL PROTECTED] 
for the devs to decide if it sounds good enough to be included in the Kate 
package itself to be available to all without searching the net.

I would/will do it myself, but I'm affraid it will take me too much time to 
even learn enough ConTeXt to evaluate it properly and will thus miss the next 
release. If anyone happens to use Kate or KDE it would be great if (s)he 
could review this.

links:
http://kde-files.org/content/show.php/ConTeXt+-+Syntax+Highlighting?content=54006
http://www.mvkrauss.de/tex.html


cheers,
Matija

-- 
gsm: +386 41 849 552
e-mail: [EMAIL PROTECTED]
www: http://matija.suklje.name

aim: hookofsilver
icq: 110183360
jabber/g-talk: [EMAIL PROTECTED]
msn: [EMAIL PROTECTED]
yahoo: matija_suklje


signature.asc
Description: This is a digitally signed message part.
___
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] New build problems

2007-10-31 Thread Vyatcheslav Yatskovsky
Hello

New context build is not friendly at all: The application failed to initialize 
properly (0xc0022) windows fatal error is displayed twice.

Here is the log:
G:\rsync\win\texmf-wintexexec --make --luatex
TeXExec | using search method 'kpsewhich'
TeXExec | updating file database
TeXExec | using tex engine luatex
TeXExec | using tex format path ./luatex
TeXExec | unable to make format due to lack of permissions
TeXExec | using mp engine mpost
TeXExec | using mps format path .
TeXExec | generating mps format metafun
TeXExec |
TeXExec | mps engine path: .
TeXExec |
TeXExec |
TeXExec | runtime: 70.969

Sure, I still have to play with env variables (nearly all of them require 
updating when migrating to new build).

Where the LUAINPUT var should point to? And why it is not found in 
setuptex.bat? Is it needed at all?

Best,
Vaytcheslav

___
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] New build problems

2007-10-31 Thread Hans Hagen
Vyatcheslav Yatskovsky wrote:
 Hello
 
 New context build is not friendly at all: The application failed to 
 initialize properly (0xc0022) windows fatal error is displayed twice.

i've never seen that one before ... where does it come from?

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
___


[NTG-context] xml misc

2007-10-31 Thread Andrea Valle

Hi to all,

I' ve started playing with xml -- context.
I've read the docs but even if I am able to do some very basic  
operation I'm in troubles doing my first real experiment.


I've  already generated a book from the collection of html help files  
of the SuperCollider language using a cumbersome python script.
But I was guessing that probably using xml mapping would make my life  
easier.


An example file  to be processed is here:
http://supercollider.svn.sourceforge.net/viewvc/supercollider/trunk/ 
build/Help/Style%20Guide/Documentation%20Style%20Guide.html?view=log


The html is w3c compliant and being automatically generated seems to  
be consistent.


I'm able to do easily stuff like this, which is a promising start:

\startenvironment scEnv
\enableregime[utf]
\defineXMLenvironment [body] \starttext \stoptext
%\defineXMLenvironment [style] \starthiding \stophiding
\defineXMLcommand [p] \par
\defineXMLgrouped [b] \bf
\stopenvironment


But:
1. how do I simply skip undesired tags? The \start-\stophiding trick  
(which in any case does not work: why?) was a hack in order to not  
typeset the stile tags
2. how can i map class attributes in order to specify for each of  
them e.g fontname, points, color, indenting?


Thanks as usual

Best

-a-


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
-- http://www.cirma.unito.it/andrea/
-- [EMAIL PROTECTED]
--


I did this interview where I just mentioned that I read Foucault. Who  
doesn't in university, right? I was in this strip club giving this  
guy a lap dance and all he wanted to do was to discuss Foucault with  
me. Well, I can stand naked and do my little dance, or I can discuss  
Foucault, but not at the same time; too much information.

(Annabel Chong)



--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
-- http://www.cirma.unito.it/andrea/
-- [EMAIL PROTECTED]
--


I did this interview where I just mentioned that I read Foucault. Who  
doesn't in university, right? I was in this strip club giving this  
guy a lap dance and all he wanted to do was to discuss Foucault with  
me. Well, I can stand naked and do my little dance, or I can discuss  
Foucault, but not at the same time; too much information.

(Annabel Chong)




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

2007-10-31 Thread Joel C. Salomon
What is the best way of keeping a mswincontext installation
up-to-date?  Do I need to download beta releases of the luatex binary
and newer versions of the ConTeXt distribution from
http://www.pragma-ade.com/download-1.htm, or is there an automatic
updater?

On a related note, where should I unzip the cont-xxx.zip packages I'd
like to use on my system?  In texmf-local, or texmf-extra, or where?

--Joel
___
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] Success Story - II

2007-10-31 Thread luigi scarso
On 10/31/07, Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote:
 Hello luigi,

 Thanks.

 I see that my 'examples' are not included yet, right?
hmm, if you are registered as user you can modify my page too, I believe.
I will put a new subject Luatex  examples , you can put your content under it.


 And, what do you mean by I was not able to follow them?
Too much busy at home and at work to keep track of your mail about this subject
in this mailing list :( .

At guit meeting this year
http://www.guit.sssup.it/GuITmeeting/2007/2007.en.php/
there was also a talk about TeX/LaTeX at school, see
12:00 - LaTeX nella Scuola Media Superiore: applicazioni didattiche con PSTricks
  Luciano Battaia, Liceo Scientifico Grigoletti, Pordenone
I eventually email Luciano about your luatex examples at school/university



-- 
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] xml misc

2007-10-31 Thread luigi scarso
On 11/1/07, Andrea Valle [EMAIL PROTECTED] wrote:
 Hi to all,

 I' ve started playing with xml -- context.
 I've read the docs but even if I am able to do some very basic operation I'm
 in troubles doing my first real experiment.

 I've  already generated a book from the collection of html help files of the
 SuperCollider language using a cumbersome python script.
 But I was guessing that probably using xml mapping would make my life
 easier.

Indeed, lxml under python is a cool module.
See
http://codespeak.net/lxml/
lxml_in_python  implements also full xpath/xslt

 An example file  to be processed is here:

Please ,if you can, consider luatex+context mkiv; in base folder see
l-xml-edu.lua  lxml-ini.lua  lxml-ini.tex  l-xml.lua
(warning : lxml here has nothing to do with lxml in python, only the same names)
I believe that actually lxml_in_luatex does not implements a full xpath/xslt,
because  not always these are useful in this context.

(If I need a full xpath/xslthere here, then I have a too much complex
xml document, and I preprocessing it with lxml_in_python)

With lxml_in_python_ and lxml_in_luatex_
you can solve all ** reasonable ** problems.
Sometimes only lxml_in_python is need, sometimes only lxm_in_luatex, it depends.

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