Re: [NTG-context] Using Luatex.

2011-07-01 Thread Wolfgang Schuster

Am 30.06.2011 um 18:21 schrieb John Culleton:

 Understood. I also found a chapter on fonts which I presume will go in a 
 manual yet to be written. In that chapter I found a \definefont command which 
 should allow me to emulate my previous use of the \font commmand. 
 In my work I frequently adjust font sizes by tiny increments to help fit text 
 better on a specific page etc. And customers sometimes want a specific 
 decorative font at a specific size. And the \font command is very direct. For 
 this reason in both LaTeX and Context I tend to revert to the primitive.

This is no reason why you have to use \definefont for each font you want to 
use, write a separate typeface for for each of them and switch to it, you can 
also select the size with this method. There are also many ways to influence 
how the lines are broken, see below for a few examples.

\definenarrower
  [adjustmargin]
  [  left=0.1mm,
   middle=0.1mm,
right=0.1mm]

\definefontfeature[default][default][expansion=yes]

\setupbodyfont[palatino,10bp]

\starttext \showframe

\input zapf

\startadjustmargin[10*right]
\input zapf
\stopadjustmargin

\start \setuptolerance[verytolerant,stretch]
\input zapf
\stop

\start \kerncharacters[0.01]
\input zapf
\stop

\start \setupalign[hz]
\input zapf
\stop

\start \switchtobodyfont[9.8bp]
\input zapf
\stop

\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] Missing space between digit and unit with the new unit-command

2011-07-01 Thread Wolfgang Schuster

Am 01.07.2011 um 00:33 schrieb yoraxe:

 Ok, thanks, for this minimal example it works. But what do I have to
 type instead of
 
 \unit{10^{-3} kilogram cubic meter}
 
 (or
 \unit{10^{-3} kgm²}
 )
 
 ? This does not work for me.

It’s “10e-3”, you can find a list a valid input in the manual [1] for the 
\digits
commands which is now included in \unit.

[1] http://www.pragma-ade.com/general/magazines/mag-0003.pdf

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] Cambria: integral sign has wrong size

2011-07-01 Thread Taco Hoekwater

On 06/30/2011 10:46 AM, Julian Becker wrote:

Hello everybody!
I tried doing some math typesetting with Cambria, but somehow the
integral sign comes out somewhat smaller than it should be.
Running the following   in the latest beta produces the  attached pdf.
Does anybody have an idea about what's going wrong here, or how to fix it?


It is a regression (it was ok with older context versions) but I am not
sure what is causing it. The most likely cause is that the metrics
patch to CambriaMath is no longer applied, but I do not quite remember
how to check that.

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] Cambria: integral sign has wrong size

2011-07-01 Thread Philipp Stephani

Am 20:59, schrieb Julian Becker:

Hello everybody!
I tried doing some math typesetting with Cambria, but somehow the
integral sign comes out somewhat smaller than it should be.
Running the following   in the latest beta produces the  attached pdf.
Does anybody have an idea about what's going wrong here, or how to fix it?

Julian


\usetypescript[cambria]
\setupbodyfont[cambria,10pt]

\startTEXpage
\startformula
\prod_a^b \sum_{n=0}^\infty \int_0^\infty e^{-{\bi\beta}^2}\, {\rm
d}^3{\bi \beta}
\stopformula
\stopTEXpage



This is a known bug in the Cambria font, the size of the big operators 
is not set correctly, but AFAIK ConTeXt already accounts for this by 
applying a custom font patch.

___
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] Cambria: integral sign has wrong size

2011-07-01 Thread Julian Becker
In this case, is there a quick workaround? I tried something like redefining
\int
using
\def\int{\getglyph{CambriaMath}{\charF05C2}\intlimits}

This gives the desired result in displaystyle, but is incompatible with
scriptstyle math. Is there a way to adapt this workaround to account for
this in some way?

Best regards,
Julian


2011/7/1 Taco Hoekwater t...@elvenkind.com

 On 06/30/2011 10:46 AM, Julian Becker wrote:

 Hello everybody!
 I tried doing some math typesetting with Cambria, but somehow the
 integral sign comes out somewhat smaller than it should be.
 Running the following   in the latest beta produces the  attached pdf.
 Does anybody have an idea about what's going wrong here, or how to fix it?


 It is a regression (it was ok with older context versions) but I am not
 sure what is causing it. The most likely cause is that the metrics
 patch to CambriaMath is no longer applied, but I do not quite remember
 how to check that.

 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

 ___

___
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] footnotes, blank

2011-07-01 Thread Thomas Schmitz

Hi all,

two questions here:

1. Is it possible to define a blank so that the paragraph 
after it will not be indented (in a document which 
otherwise does have indents)? I looked at \defineblank and 
the new \definevspacing, but couldn't find anything 
appropriate.


2. I want footnotes placed at the bottom of the page so 
that the vertical place is filled (so with a flexible 
vertical space between text and notes), but on the last 
page of every chapter, the publisher prefers the footnotes 
right below the text, not at the bottom of the page. Is 
this feasible?


Thanks and all best

Thomas
___
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] Cambria: integral sign has wrong size

2011-07-01 Thread Khaled Hosny
Try setting \Umathoperatorsize\displaystyle=2em or so until you find a
suitable value.

On Fri, Jul 01, 2011 at 09:25:27AM +0200, Julian Becker wrote:
 In this case, is there a quick workaround? I tried something like redefining \
 int
 using 
 \def\int{\getglyph{CambriaMath}{\charF05C2}\intlimits}
 
 This gives the desired result in displaystyle, but is incompatible with
 scriptstyle math. Is there a way to adapt this workaround to account for this
 in some way?
 
 Best regards,
 Julian
 
 
 2011/7/1 Taco Hoekwater t...@elvenkind.com
 
 On 06/30/2011 10:46 AM, Julian Becker wrote:
 
 Hello everybody!
 I tried doing some math typesetting with Cambria, but somehow the
 integral sign comes out somewhat smaller than it should be.
 Running the following   in the latest beta produces the  attached pdf.
 Does anybody have an idea about what's going wrong here, or how to fix
 it?
 
 
 It is a regression (it was ok with older context versions) but I am not
 sure what is causing it. The most likely cause is that the metrics
 patch to CambriaMath is no longer applied, but I do not quite remember
 how to check that.
 
 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
 
 ___
 
 

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


-- 
 Khaled Hosny
 Egyptian
 Arab
___
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] footnotes, blank

2011-07-01 Thread Thomas Schmitz

On Fri, 1 Jul 2011 10:04:22 +0200
 Wolfgang Schuster schuster.wolfg...@googlemail.com 
wrote:


Am 01.07.2011 um 09:46 schrieb Thomas Schmitz:


Hi all,

two questions here:

1. Is it possible to define a blank so that the 
paragraph after it will not be indented (in a document 
which otherwise does have indents)? I looked at 
\defineblank and the new \definevspacing, but couldn't 
find anything appropriate.


You can use the fancybreak module for this.


Ah yes, I see! Thanks Wolfgang, I will use that.

2. I want footnotes placed at the bottom of the page so 
that the vertical place is filled (so with a flexible 
vertical space between text and notes), but on the last 
page of every chapter, the publisher prefers the 
footnotes right below the text, not at the bottom of the 
page. Is this feasible?



Endnotes at the end of each chapter are easy when you 
use start/stopchapter because you can flush them with the 
“aftersection” key.


No, that's not what I was asking. I want footnotes on 
every page, just the ones on the last page should be moved 
up to the end of the text, not down to the bottom of the 
page. I tried \setupfootnotes[location=high], but when I 
enable it for the entire document, it wreaks havoc 
(footnotes running off the page instead of breaking, very 
inconsistent spacing). So also tried to enable 
location=high manually just for the last paragraph of 
every chapter (and putting this paragraph into a group), 
but that doesn't seem to change anything.


Thomas
___
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] Cambria: integral sign has wrong size

2011-07-01 Thread Julian Becker
Thanks Khaled,
this works like a charm!

Best wishes,
Julian

2011/7/1 Khaled Hosny khaledho...@eglug.org

 Try setting \Umathoperatorsize\displaystyle=2em or so until you find a
 suitable value.

 On Fri, Jul 01, 2011 at 09:25:27AM +0200, Julian Becker wrote:
  In this case, is there a quick workaround? I tried something like
 redefining \
  int
  using
  \def\int{\getglyph{CambriaMath}{\charF05C2}\intlimits}
 
  This gives the desired result in displaystyle, but is incompatible with
  scriptstyle math. Is there a way to adapt this workaround to account for
 this
  in some way?
 
  Best regards,
  Julian
 
 
  2011/7/1 Taco Hoekwater t...@elvenkind.com
 
  On 06/30/2011 10:46 AM, Julian Becker wrote:
 
  Hello everybody!
  I tried doing some math typesetting with Cambria, but somehow the
  integral sign comes out somewhat smaller than it should be.
  Running the following   in the latest beta produces the  attached
 pdf.
  Does anybody have an idea about what's going wrong here, or how
 to fix
  it?
 
 
  It is a regression (it was ok with older context versions) but I am
 not
  sure what is causing it. The most likely cause is that the metrics
  patch to CambriaMath is no longer applied, but I do not quite
 remember
  how to check that.
 
  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
 
 ___
 
 

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


 --
  Khaled Hosny
  Egyptian
  Arab

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

 maillist : ntg-context@ntg.nl /
 http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] footnotes, blank

2011-07-01 Thread Wolfgang Schuster

Am 01.07.2011 um 10:15 schrieb Thomas Schmitz:

 2. I want footnotes placed at the bottom of the page so that the vertical 
 place is filled (so with a flexible vertical space between text and notes), 
 but on the last page of every chapter, the publisher prefers the footnotes 
 right below the text, not at the bottom of the page. Is this feasible?
 Endnotes at the end of each chapter are easy when you use start/stopchapter 
 because you can flush them with the “aftersection” key.
 No, that's not what I was asking. I want footnotes on every page, just the 
 ones on the last page should be moved up to the end of the text, not down to 
 the bottom of the page. I tried \setupfootnotes[location=high], but when I 
 enable it for the entire document, it wreaks havoc (footnotes running off the 
 page instead of breaking, very inconsistent spacing). So also tried to enable 
 location=high manually just for the last paragraph of every chapter (and 
 putting this paragraph into a group), but that doesn't seem to change 
 anything.


You have to set “location=page” at the begin of each new chapter.

\setuphead
  [chapter]
  [beforesection={\page % Necessary!
  \setupnote[footnote][location=page]},
aftersection={\setupnote[footnote][location=high]}]

\starttext

\startchapter[title={Zapf}]

\dorecurse{6}{\input zapf \footnote{Footnote #1}\par}

\stopchapter

\startchapter[title={Ward}]

\dorecurse{12}{\input ward \footnote{Footnote #1}\par}

\stopchapter

\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] footnotes, blank

2011-07-01 Thread Thomas Schmitz

On Fri, 1 Jul 2011 10:44:35 +0200
 Wolfgang Schuster schuster.wolfg...@googlemail.com 
wrote:






You have to set “location=page” at the begin of each new 
chapter.


\setuphead
 [chapter]
 [beforesection={\page % Necessary!
 \setupnote[footnote][location=page]},
   aftersection={\setupnote[footnote][location=high]}]

As always, you never cease to wow me - excellent, this 
looks very good! Thanks a bunch, and all best!


Thomas
___
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] Continuous chapter numbering without prefixes in documents with parts

2011-07-01 Thread Julian Becker
Does anybody know how to implement a continuous numbering of chapters in
documents with several parts?

More specifically: how can I achieve the following numbering scheme (with
unprefixed chapter numbers):
I First part
1 Chapter one
2 Chapter two
II Second part
3 Chapter three


I tried (unsuccessfully) the following:

\setuphead[part][placehead=yes]
\starttext
\part{First part}
\chapter{Chapter one}
\chapter{Chapter two}
\part{Second part}
\chapter{Chapter three}
\stoptext

The here result is something like:
First part
1.1 Chapter one
1.2 Chapter two
Second part
2.1 Chapter three


I tried to get rid of the chapter prefixes by putting
\setuphead[chapter][prefix=no]
but that had no effect whatsoever.

Any ideas?

Julian
___
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] Continuous chapter numbering without prefixes in documents with parts

2011-07-01 Thread Thomas Schmitz

On Fri, 1 Jul 2011 15:02:22 +0200
 Julian Becker becker.jul...@gmail.com wrote:
Does anybody know how to implement a continuous 
numbering of chapters in

documents with several parts?

More specifically: how can I achieve the following 
numbering scheme (with

unprefixed chapter numbers):
I First part
1 Chapter one
2 Chapter two
II Second part
3 Chapter three


I tried (unsuccessfully) the following:

\setuphead[part][placehead=yes]
\starttext
\part{First part}
\chapter{Chapter one}
\chapter{Chapter two}
\part{Second part}
\chapter{Chapter three}
\stoptext

The here result is something like:
First part
1.1 Chapter one
1.2 Chapter two
Second part
2.1 Chapter three


I tried to get rid of the chapter prefixes by putting
\setuphead[chapter][prefix=no]
but that had no effect whatsoever.

Any ideas?


Yes: search the list; the same question was asked three 
weeks ago, together with a solution: 
http://archive.contextgarden.net/message/20110619.234245.2e8ee926.en.html


Thomas
___
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] changing numbers of columns

2011-07-01 Thread Bernd Kosubek
Hi,

is it possible to change the number of columns on the same page?

small example:

a) text text text text

\startcolumnset[n=2]
  bla bla bla
\column
  bla bla bla
\stopcolumn

b) text text text text

The mixing of a) and columnset is o.k.

The mixing of columnset and b) wil produce a new page with b) on the
second page, where b) can be normal text or another columnset.

Bernd


signature.asc
Description: PGP signature
___
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] Continuous chapter numbering without prefixes in documents with parts

2011-07-01 Thread Julian Becker
Thank you Thomas, and sorry for not having performed a proper search
priorly.
Still, the thread you refered me to only provides half of what I need (if I
didn't miss anything):

I added the line:
\setuphead[chapter][chaptersegments=chapter]
which indeed got rid of the chapter number prefix.
Still,  the chapter numbering gets reset in each new part. How can I avoid
that?

Julian


2011/7/1 Thomas Schmitz tschm...@uni-bonn.de

 On Fri, 1 Jul 2011 15:02:22 +0200
  Julian Becker becker.jul...@gmail.com wrote:

 Does anybody know how to implement a continuous numbering of chapters in
 documents with several parts?

 More specifically: how can I achieve the following numbering scheme (with
 unprefixed chapter numbers):
 I First part
 1 Chapter one
 2 Chapter two
 II Second part
 3 Chapter three


 I tried (unsuccessfully) the following:

 \setuphead[part][placehead=yes]
 \starttext
 \part{First part}
 \chapter{Chapter one}
 \chapter{Chapter two}
 \part{Second part}
 \chapter{Chapter three}
 \stoptext

 The here result is something like:
 First part
 1.1 Chapter one
 1.2 Chapter two
 Second part
 2.1 Chapter three


 I tried to get rid of the chapter prefixes by putting
 \setuphead[chapter][prefix=no]
 but that had no effect whatsoever.

 Any ideas?


 Yes: search the list; the same question was asked three weeks ago, together
 with a solution:
 http://archive.contextgarden.net/message/20110619.234245.2e8ee926.en.html

 Thomas

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

 maillist : ntg-context@ntg.nl /
 http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] changing numbers of columns (correction at the end of the columnset)

2011-07-01 Thread Bernd Kosubek
Hi,

is it possible to change the number of columns on the same page?

small example:

a) text text text text

\startcolumnset[n=2]
  bla bla bla
\column
  bla bla bla
\stopcolumnset

b) text text text text

The mixing of a) and columnset is o.k.

The mixing of columnset and b) wil produce a new page with b) on the
second page, where b) can be normal text or another columnset.

Bernd


signature.asc
Description: PGP signature
___
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] Continuous chapter numbering without prefixes in documents with parts

2011-07-01 Thread Thomas Schmitz

On Fri, 1 Jul 2011 15:33:07 +0200
 Julian Becker becker.jul...@gmail.com wrote:
Thank you Thomas, and sorry for not having performed a 
proper search

priorly.
Still, the thread you refered me to only provides half 
of what I need (if I

didn't miss anything):

I added the line:
\setuphead[chapter][chaptersegments=chapter]
which indeed got rid of the chapter number prefix.
Still,  the chapter numbering gets reset in each new 
part. How can I avoid

that?


Excuse me for sounding a bit grumpy, but please make
complete minimal examples. Which means they should be
compilable, see
http://www.minimalbeispiel.de/mini-en.html. Here is one
such example which does what you want (and this solution 
could also be found in the list archive):


\definestructureresetset[default][0,0][1]

\setuphead[part][sectionresetset=default]

\setuphead[part][placehead=yes]

\setuphead[chapter][sectionsegments=chapter,ownnumber=yes]

\starttext

\startpart[title=First part]
\startchapter[title=Chapter one]
\input tufte
\stopchapter
\startchapter[title=Chapter two]
\input tufte
\stopchapter
\stoppart
\startpart[title=Second part]
\startchapter[title=Chapter three]
\input tufte
\stopchapter
\startchapter[title=Chapter four]
\input tufte
\stopchapter
\stoppart
\stoptext

Thomas
___
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] changing numbers of columns

2011-07-01 Thread Henning Hraban Ramm

Am 2011-07-01 um 15:31 schrieb Bernd Kosubek:


Hi,

is it possible to change the number of columns on the same page?

small example:

a) text text text text

\startcolumnset[n=2]


Please read http://wiki.contextgarden.net/Columns

It’s either \startcolumns[n=2] or \startcolumnset[your_name_of_setup]


 bla bla bla
\column


\column works only within columnsets


 bla bla bla
\stopcolumn


\startcolumns ... \stopcolumns
XOR
\startcolumnset ... \stopcolumnset



b) text text text text

The mixing of a) and columnset is o.k.

The mixing of columnset and b) wil produce a new page with b) on the
second page, where b) can be normal text or another columnset.



That doesn’t answer your question, though... I don’t know it from  
heart and have just no time to test it myself.



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

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Cambria: integral sign has wrong size

2011-07-01 Thread Hans Hagen

On 30-6-2011 10:46, Julian Becker wrote:

Hello everybody!
I tried doing some math typesetting with Cambria, but somehow the integral
sign comes out somewhat smaller than it should be.
Running the following   in the latest beta produces the  attached pdf. Does
anybody have an idea about what's going wrong here, or how to fix it?


It will be fixed in the next beta, in the meantime you can replace 
cambria-math.lfg by this:


local function FixDisplayOperatorMinHeight(value,target,original)
local o = original.mathparameters.DisplayOperatorMinHeight
if o  2800 then
return 2800 * target.parameters.factor
else
return value -- already scaled
end
end

return {
name = cambria-math,
version = 1.00,
comment = Goodies that complement cambria.,
author = Hans Hagen,
copyright = ConTeXt development team,
mathematics = {
parameters = {
DisplayOperatorMinHeight = FixDisplayOperatorMinHeight,
}
}
}


-
  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] Columns and figures in MKIV

2011-07-01 Thread Jason Earl

On Thu, Jun 30 2011, Willi Egger wrote:

 Columnsets provide you the possibility to place column spanning pictures:

Thank you for the advice.  I was hoping to avoid having to learn about
columnsets, but I suppose learning is good.  Any hints on getting
columnsets and footnotes to play nicely?  Here's an example of how I
would normally use footnotes, but the footnote is obscured by the text.

--8---cut here---start-8---
\definecolumnset[Doublecoltext][n=2,balance=no]
\setupcolumnset[Doublecoltext][2][distance=5mm]
\starttext
\chapter[chap:testing]{Testing}

\startcolumnset[Doublecoltext]

  This is a short paragraph.  I think it should have a
  footnote.\footnote{And so it shall!  Unfortunately you won't be able
to see it because it is covered up with the text in the
columnsets.}

\input knuth

%\startpostponing
 \placefigure
   [btlr][fig:foo]
   {none}
   {\externalfigure[mill][width=1.5\textwidth,height=5cm]}
%\stoppostponing

\input tufte

\input knuth

\input tufte

\input knuth

\input tufte

\stopcolumnset
\stoptext
--8---cut here---end---8---

Once again, I am sorry if my question is naive.  I am working through
the examples in the Columnset manual to try and wrap my head around
them, but it is becoming pretty clear to me that it is a tool for layout
designers far more accomplished than I am.

Jason
___
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] ntg-context Digest, Vol 85, Issue 4

2011-07-01 Thread Bernd Kosubek
Am Fri, 01 Jul 2011 16:20:19 +0200
schrieb ntg-context-requ...@ntg.nl:


 Message: 7
 Date: Fri, 1 Jul 2011 16:20:13 +0200
 From: Henning Hraban Ramm hra...@fiee.net
 To: kosu...@sksatz.com, mailing list for ConTeXt users
   ntg-context@ntg.nl
 Subject: Re: [NTG-context] changing numbers of columns
 Message-ID: e2a85f0f-717b-4eac-87e3-5b35b7dc5...@fiee.net
 Content-Type: text/plain; charset=WINDOWS-1252; format=flowed;
   delsp=yes
 
 Am 2011-07-01 um 15:31 schrieb Bernd Kosubek:
 
  Hi,
 
  is it possible to change the number of columns on the same page?
 
  small example:
 
  a) text text text text
 
  \startcolumnset[n=2]
 
 Please read http://wiki.contextgarden.net/Columns

Thanks for your quickly answer.

I have read it, but there is no answer of my question.
I know, that I can use columns instead of columnset.
It is not in my interest to find other solutions for this Problem,
rather I wish to know: is it possible to use different numbers of
columns on the same page if I use columnset!

 It?s either \startcolumns[n=2] or \startcolumnset[your_name_of_setup]
 
   bla bla bla
  \column
 
 \column works only within columnsets
 
   bla bla bla
  \stopcolumn
 
 \startcolumns ... \stopcolumns
 XOR
 \startcolumnset ... \stopcolumnset
 
 
  b) text text text text
 
  The mixing of a) and columnset is o.k.
 
  The mixing of columnset and b) wil produce a new page with b) on the
  second page, where b) can be normal text or another columnset.
 
 
 That doesn?t answer your question, though... I don?t know it from  
 heart and have just no time to test it myself.
 
 
 Greetlings from Lake Constance!
 Hraban


signature.asc
Description: PGP signature
___
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] Missing space between digit and unit with the new unit-command

2011-07-01 Thread Hans Hagen

On 30-6-2011 10:43, Wolfgang Schuster wrote:


Am 30.06.2011 um 14:52 schrieb yoraxe:


Hey,

I was happy to have a new (and easier) unit-command, but now I miss the
space that was between the digits and the unit in the unit-module.


Put the number in the argument of the command.

\starttext
\unit{35 kilogram cubic meter}
\stoptext

@Hans: Can you add a option to replace \cdot with \thinspace, e.g. 
unitseparator=small|medium|...|cdot


ok, we will have (normal=cdot):

\starttext

\unit{35 kilogram cubic meter}

\setupunits[unit][separator=small]

\unit{35 kilogram cubic meter}

\setupunits[unit][separator=none]

\unit{35 kilogram cubic meter}

\stoptext

(plus a low level installer)


-
  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] changing number of columns

2011-07-01 Thread Henning Hraban Ramm

Am 2011-07-01 um 18:00 schrieb Bernd Kosubek:


is it possible to change the number of columns on the same page?


Please read http://wiki.contextgarden.net/Columns


Thanks for your quickly answer.

I have read it, but there is no answer of my question.
I know, that I can use columns instead of columnset.
It is not in my interest to find other solutions for this Problem,
rather I wish to know: is it possible to use different numbers of
columns on the same page if I use columnset!



It's not that easy.
Please carefully read the columns manual, linked from the above page.

If you want to change between e.g. 2 and 3 columns, you can either  
define a columnset with 6 layout columns and put your text in spans of  
3 or 2 of those layout columns or define two different columnsets like  
in the examples in chapter Spanning and More.


Principally you should be able to use the old columns mechanism and  
change the number of columns in-page, but I don't know if you can make  
it work reliably.


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

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Missing space between digit and unit with the new unit-command

2011-07-01 Thread yoraxe
Am 01.07.2011 08:15, schrieb Wolfgang Schuster:
 
 Am 01.07.2011 um 00:33 schrieb yoraxe:
 
 Ok, thanks, for this minimal example it works. But what do I have to
 type instead of

 \unit{10^{-3} kilogram cubic meter}

 (or
 \unit{10^{-3} kgm²}
 )

 ? This does not work for me.
 
 It’s “10e-3”, you can find a list a valid input in the manual [1] for
 the \digits
 commands which is now included in \unit.
 
 [1] http://www.pragma-ade.com/general/magazines/mag-0003.pdf

Thanks a lot. Most programms (also the old digit-module) interpret
“35e-3” as “35\cdot 10^{-3}” but the new unit-command only sets the
“^{-3}“ after the number without “10·“. That's why I was confused. =D

Yoraxe
___
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] changing number of columns

2011-07-01 Thread Bernd Kosubek
Am Fri, 1 Jul 2011 18:32:52 +0200
schrieb Henning Hraban Ramm hra...@fiee.net:

 Am 2011-07-01 um 18:00 schrieb Bernd Kosubek:
 
  is it possible to change the number of columns on the same page?
 
  Please read http://wiki.contextgarden.net/Columns
 
  Thanks for your quickly answer.
 
  I have read it, but there is no answer of my question.
  I know, that I can use columns instead of columnset.
  It is not in my interest to find other solutions for this Problem,
  rather I wish to know: is it possible to use different numbers of
  columns on the same page if I use columnset!
 
 
 It's not that easy.
 Please carefully read the columns manual, linked from the above page.
 
 If you want to change between e.g. 2 and 3 columns, you can either  
 define a columnset with 6 layout columns and put your text in spans
 of 3 or 2 of those layout columns or define two different columnsets
 like in the examples in chapter Spanning and More.
 
 Principally you should be able to use the old columns mechanism and  
 change the number of columns in-page, but I don't know if you can
 make it work reliably.
 
 Greetlings from Lake Constance!
 Hraban

Tis is a possibility, but if the following text [in my example b)] is a
huge paragraph, it is not realizeable.

I give a sample for the problem on my neglected page
http://www.bk-tex.de/csetquest.html; [= (c)olum(set)-(quest)ion]

The text on the second page (see the pdf-file) should be placed in a
short distance to the table.

I know that this is not the best method to handle this job but it
shows good what I mean.

Greetlings from Leipzig (Lipsia)
Bernd


signature.asc
Description: PGP signature
___
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] changing number of columns

2011-07-01 Thread Henning Hraban Ramm

Am 2011-07-01 um 19:46 schrieb Bernd Kosubek:


Tis is a possibility, but if the following text [in my example b)]  
is a

huge paragraph, it is not realizeable.


Did you even try?


I give a sample for the problem on my neglected page
http://www.bk-tex.de/csetquest.html; [= (c)olum(set)-(quest)ion]


You never told us that you just want to typeset two tables side by side.
In this case you might be better off with combinations: 
http://wiki.contextgarden.net/Combinations
(It talks about images, but tables work the same.)

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

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___