Re: [NTG-context] Problem with MyItemCommand

2009-04-21 Thread E. Witbreuk
Bedankt

Bernard

On Thursday 16 April 2009, Hans Hagen wrote:
 bbvo...@home.nl wrote:
  Dear all,
 
 
  Is the following example still valid for MKIV or is it a bug?
 
  %from:
  %tex/context/base/strc-itm.tex
  %
 
  \def\MyItemCommand#1{{\bf#1}\quad}

 \unexpanded\def...

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



___
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] Font table

2009-04-21 Thread Eythan Weg

Ulrike Fischer ne...@nililand.de
Mon, 20 Apr 2009 10:19:54 +0200

   Am Sun, 19 Apr 2009 13:37:26 -0400 schrieb Eythan Weg:
   
   luatools --show-path tex
   
   luatools --show-path lua

This is only for the lua path (with line breaks introduced)
   
   Why don't you trust Hans? He had probably a reason why he asked for
   the output of the path for tex. 

This is an oversight, I was too busy with bizarre
behavior of the lua extension.

   (In my case font-syn.lua was searched along the *tex*-path, and I
   found the error in my texmf.cnf by inspecting the output of
   kpsewhich --show-path=tex. I used kpsewhich because I'm more used to
   it and because it is independant from context, so problems there
   can't be the fault of the lua code).

True, but lua is quite unique to context at the
moment.  So search with other tools is not
particularly helpful for the fine details.
   
   -- 
   Ulrike Fischer 
   
Eytrhan

___
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] ppchtex experience

2009-04-21 Thread Helge Kruse

Hello,

I need to write some chemical strucutures in LaTeX and dont know, what is
the best tools to do it. The structures are crown ether and cryptands. Yes,
and I am unexperienced.

1) What would be the way to write a [18]crown-6 
(http://en.wikipedia.org/wiki/Crown_ether) structure formula with PPCHTEX?

2) Is there any kind of repository, where I can take common structures
and/or adapt these to the required structures?

Regards,
Helge
___
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] beta

2009-04-21 Thread Hans Hagen

Hi

i uploaded a beta with a few structure fixes; upcoming mkiv betas will 
also have an experimental new vertical spacing mechanism (which also 
demands some adaptions to structure related code)


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] beta

2009-04-21 Thread Lutz Haseloff
Hi Hans Hi all,

with the most recent beta (ConTeXt  ver: 2009.04.21 09:00 MKIV) and LuaTeX
(Version snapshot-0.39.0-2009042023)
i can't use LucidaBright fonts anymore.
My file is:

\usetypescriptfile[type-buy]
\usetypescript[lucida][texnansi]
\setupbodyfont[lucida]
\starttext
\input knuth
\stoptext

I get following output:

(C:/contextminimal/texmf-context/tex/context/base/type-buy.tex)
define font | font with name texnansi-lbr is not found
define font | unknown font texnansi-lbr, loading aborted
define font | unable to define texnansi-lbr as \*lucida12ptrmtfrm*
define font | font with name texnansi-lbr is not found
define font | unknown font texnansi-lbr, loading aborted
define font | unable to define texnansi-lbr as \*lucida7ptmmmrrm*
define font | font with name texnansi-lbr is not found
define font | unknown font texnansi-lbr, loading aborted
define font | unable to define texnansi-lbr as \*lucida9ptmmmrrm*
define font | font with name texnansi-lbr is not found
define font | unknown font texnansi-lbr, loading aborted
define font | unable to define texnansi-lbr as \*lucida12ptmmmrrm*
systems : begin file lucida at line 4
(C:/contextminimal/texmf-context/tex/context/sample/knuth.tex)
fonts   : resetting map file list
{C:/contextminimal/texmf-context/fonts/map/pdftex/context/original-empty.map}
fonts   : using map file: original-base
{C:/contextminimal/texmf-context/fonts/map/pdftex/context/original-base.map}
fonts   : using map file: original-ams-base
{C:/contextminimal/texmf-context/fonts/map/pdftex/context/original-ams-base.map}
fonts   : using map file: original-ams-euler
{C:/contextminimal/texmf-context/fonts/map/pdftex/context/original-ams-euler.map}
fonts   : using map file: original-public-lm
{C:/contextminimal/texmf-context/fonts/map/pdftex/context/original-public-lm.map}
fonts   : using map file: lm-math
{C:/contextminimal/texmf/fonts/map/dvips/lm/lm-math.map}
fonts   : using map file: lm-rm
{C:/contextminimal/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts   : using map file: texnansi-bh-lucida

LuaTeX warning (file texnansi-bh-lucida.map): cannot open font map file
[1.1]

Isn't texnansi-bh-lucida.map part of context minimal anymore?
Miss I something else?

Greetings Lutz


2009/4/21 Hans Hagen pra...@wxs.nl

 Hi

 i uploaded a beta with a few structure fixes; upcoming mkiv betas will also
 have an experimental new vertical spacing mechanism (which also demands some
 adaptions to structure related code)

 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

 ___

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

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


Re: [NTG-context] beta

2009-04-21 Thread Hans Hagen

Lutz Haseloff wrote:

Hi Hans Hi all,

with the most recent beta (ConTeXt  ver: 2009.04.21 09:00 MKIV) and LuaTeX
(Version snapshot-0.39.0-2009042023)
i can't use LucidaBright fonts anymore.
My file is:

\usetypescriptfile[type-buy]
\usetypescript[lucida][texnansi]
\setupbodyfont[lucida]
\starttext
\input knuth
\stoptext

I get following output:

(C:/contextminimal/texmf-context/tex/context/base/type-buy.tex)
define font | font with name texnansi-lbr is not found
define font | unknown font texnansi-lbr, loading aborted
define font | unable to define texnansi-lbr as \*lucida12ptrmtfrm*
define font | font with name texnansi-lbr is not found
define font | unknown font texnansi-lbr, loading aborted
define font | unable to define texnansi-lbr as \*lucida7ptmmmrrm*
define font | font with name texnansi-lbr is not found
define font | unknown font texnansi-lbr, loading aborted
define font | unable to define texnansi-lbr as \*lucida9ptmmmrrm*
define font | font with name texnansi-lbr is not found
define font | unknown font texnansi-lbr, loading aborted
define font | unable to define texnansi-lbr as \*lucida12ptmmmrrm*
systems : begin file lucida at line 4
(C:/contextminimal/texmf-context/tex/context/sample/knuth.tex)
fonts   : resetting map file list
{C:/contextminimal/texmf-context/fonts/map/pdftex/context/original-empty.map}
fonts   : using map file: original-base
{C:/contextminimal/texmf-context/fonts/map/pdftex/context/original-base.map}
fonts   : using map file: original-ams-base
{C:/contextminimal/texmf-context/fonts/map/pdftex/context/original-ams-base.map}
fonts   : using map file: original-ams-euler
{C:/contextminimal/texmf-context/fonts/map/pdftex/context/original-ams-euler.map}
fonts   : using map file: original-public-lm
{C:/contextminimal/texmf-context/fonts/map/pdftex/context/original-public-lm.map}
fonts   : using map file: lm-math
{C:/contextminimal/texmf/fonts/map/dvips/lm/lm-math.map}
fonts   : using map file: lm-rm
{C:/contextminimal/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts   : using map file: texnansi-bh-lucida

LuaTeX warning (file texnansi-bh-lucida.map): cannot open font map file
[1.1]

Isn't texnansi-bh-lucida.map part of context minimal anymore?
Miss I something else?


what happens if you delete the names database? (in the cache under 
fonts/data)


-
  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] ppchtex experience

2009-04-21 Thread Henning Hraban Ramm
2009/4/20 Helge Kruse helge.kruse-nos...@gmx.net:
 I need to write some chemical strucutures in LaTeX and dont know, what is
 the best tools to do it. The structures are crown ether and cryptands. Yes,
 and I am unexperienced.

 1) What would be the way to write a [18]crown-6
 (http://en.wikipedia.org/wiki/Crown_ether) structure formula with PPCHTEX?
 2) Is there any kind of repository, where I can take common structures
 and/or adapt these to the required structures?

see http://wiki.contextgarden.net/Chemistry
and http://mitglied.lycos.de/ppchtex/00index.html

Sorry, can't help you further.


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
___


[NTG-context] framed text question

2009-04-21 Thread Jos van Gisbergen
Hi,

I have a question regarding framed text.
To obtain framed verbatim text that breaks over pages, I use the macro
\definetextbackground. I have encountered a slight problem, however:
sometimes the upper part of the frame appears on the bottom of the
page with no text in it (because there's not enough room). The strange
thing is that if I comment out the setupcolors macro the problem
disappears (in the example that is).
I have included an example of this below. Run with texexec --pdf test.tex

The version of texexec I'm using is:

 TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005

   texexec : TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005
   texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
   tex : pdfeTeX, 3.141592-1.21a-2.2 (Web2C 7.5.4)
   context : ver: 2005.01.31
   cont-en : ver: 2005.01.31  fmt: 2009.1.26  mes: english


Thanks in advance

Trychius


--  test.tex  --
\installlanguage[en]
\setuppapersize[A4]

\definelayout[myCustomLayout][
 header=10mm,% height of header
 footer=10mm,% height of footer
 topspace=8mm,   % space above header
 bottomspace=\topspace,  % space below footer
 backspace=25mm,
 cutspace=20mm,
 width=middle,
 height=middle,
 marking=on, % enable the marking of text
 grid=yes,
]

\setuplayout[myCustomLayout]

\setuptyping[margin=10mm,
 space=off,   % Do not show space characters explicitely
 color=black, % Color of verbatim text
]

\setupcolors[state=start]

\definetextbackground[FramedText][
location=paragraph,
rulethickness=0.5pt,
framecolor=red,
background=color,backgroundcolor=yellow,
leftoffset=1.0\bodyfontsize,rightoffset=1.0\bodyfontsize,
topoffset=1.0\bodyfontsize,bottomoffset=1.0\bodyfontsize,
frame=on]



\starttext
in this story took place, some of the most
important mines of the Scottish coal beds
had been exhausted by too rapid working. In
the region which extends between Edinburgh
and Glasgow, for a distance of ten or twelve
miles, lay the Aberfoyle colliery, of which
Now, at the time when the events related
in this story took place, some of the most
important mines of the Scottish coal beds
had been exhausted by too rapid working. In
the region which extends between Edinburgh
and Glasgow, for a distance of ten or twelve
miles, lay the Aberfoyle colliery, of which
Now, at the time when the events related
in this story took place, some of the most
important mines of the Scottish coal beds
had been exhausted by too rapid working. In
the region which extends between Edinburgh
and Glasgow, for a distance of ten or twelve
miles, lay the Aberfoyle colliery, of which
Now, at the time when the events related
in this story took place, some of the most
important mines of the Scottish coal beds
had been exhausted by too rapid working. In
the region which extends between Edinburgh
and Glasgow, for a distance of ten or twelve
miles, lay the Aberfoyle colliery, of which
had been exhausted by too rapid working. In
the region which extends between Edinburgh
and Glasgow, for a distance of ten or twelve
miles, lay the Aberfoyle colliery, of which
had been exhausted by too rapid working. In
the region which extends between Edinburgh
and Glasgow, for a distance of ten or twelve
miles, lay the Aberfoyle colliery, of which
had been exhausted by too rapid working. In
the region which extends between Edinburgh
and Glasgow, for a distance of ten or twelve
miles, lay the Aberfoyle colliery, of which
had been exhausted by too rapid working. In
the region which extends between Edinburgh
and Glasgow, for a distance of ten or twelve
miles, lay the Aberfoyle colliery, of which
had been exhausted by too rapid working. In
the region which extends between Edinburgh
and Glasgow, for a distance of ten or twelve
miles, lay the Aberfoyle colliery, of which
had been exhausted by too rapid working. In
the region which extends between Edinburgh
and Glasgow, for a distance of ten or twelve
miles, lay the Aberfoyle colliery, of which
had been exhausted by too rapid working. In
had been exhausted by too rapid working. In
had been exhausted 

Re: [NTG-context] beta

2009-04-21 Thread Lutz Haseloff
Exactly the same errors and the directory ...\fonts\data remains empty.


2009/4/21 Hans Hagen pra...@wxs.nl

 Lutz Haseloff wrote:

 Hi Hans Hi all,

 with the most recent beta (ConTeXt  ver: 2009.04.21 09:00 MKIV) and LuaTeX
 (Version snapshot-0.39.0-2009042023)
 i can't use LucidaBright fonts anymore.
 My file is:

 \usetypescriptfile[type-buy]
 \usetypescript[lucida][texnansi]
 \setupbodyfont[lucida]
 \starttext
 \input knuth
 \stoptext

 I get following output:

 (C:/contextminimal/texmf-context/tex/context/base/type-buy.tex)
 define font | font with name texnansi-lbr is not found
 define font | unknown font texnansi-lbr, loading aborted
 define font | unable to define texnansi-lbr as \*lucida12ptrmtfrm*
 define font | font with name texnansi-lbr is not found
 define font | unknown font texnansi-lbr, loading aborted
 define font | unable to define texnansi-lbr as \*lucida7ptmmmrrm*
 define font | font with name texnansi-lbr is not found
 define font | unknown font texnansi-lbr, loading aborted
 define font | unable to define texnansi-lbr as \*lucida9ptmmmrrm*
 define font | font with name texnansi-lbr is not found
 define font | unknown font texnansi-lbr, loading aborted
 define font | unable to define texnansi-lbr as \*lucida12ptmmmrrm*
 systems : begin file lucida at line 4
 (C:/contextminimal/texmf-context/tex/context/sample/knuth.tex)
 fonts   : resetting map file list

 {C:/contextminimal/texmf-context/fonts/map/pdftex/context/original-empty.map}
 fonts   : using map file: original-base

 {C:/contextminimal/texmf-context/fonts/map/pdftex/context/original-base.map}
 fonts   : using map file: original-ams-base

 {C:/contextminimal/texmf-context/fonts/map/pdftex/context/original-ams-base.map}
 fonts   : using map file: original-ams-euler

 {C:/contextminimal/texmf-context/fonts/map/pdftex/context/original-ams-euler.map}
 fonts   : using map file: original-public-lm

 {C:/contextminimal/texmf-context/fonts/map/pdftex/context/original-public-lm.map}
 fonts   : using map file: lm-math
 {C:/contextminimal/texmf/fonts/map/dvips/lm/lm-math.map}
 fonts   : using map file: lm-rm
 {C:/contextminimal/texmf/fonts/map/dvips/lm/lm-rm.map}
 fonts   : using map file: texnansi-bh-lucida

 LuaTeX warning (file texnansi-bh-lucida.map): cannot open font map file
 [1.1]

 Isn't texnansi-bh-lucida.map part of context minimal anymore?
 Miss I something else?


 what happens if you delete the names database? (in the cache under
 fonts/data)


 -
  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

 ___

___
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] setuplayout - chapter, toc, ... special treatment

2009-04-21 Thread Thomas Prochaska
hi!

I've a problem with the setuplayout command. is use the following command for 
the global text:

\setuplayout[backspace=3cm,cutspace=2cm,width=16cm,topspace=2cm,header=0cm,

textheight=fit,bottomspace=0cm,footerdistance=1cm,footer=0.5cm,footerspace=0cm,
bottomdistance=0cm,bottom=0cm]

but now the chapters, toc, lists, ... also start 2cm from the top edge of the 
paper. how can i alter it and such manner that these pages start with, let's 
say, 5cm from the top edge.

regards
thomas prochaska
___
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] setuplayout - chapter, toc, ... special treatment

2009-04-21 Thread Wolfgang Schuster


Am 21.04.2009 um 13:30 schrieb Thomas Prochaska:


hi!

I've a problem with the setuplayout command. is use the following  
command for

the global text:

\setuplayout 
[backspace=3cm,cutspace=2cm,width=16cm,topspace=2cm,header=0cm,

textheight 
=fit,bottomspace=0cm,footerdistance=1cm,footer=0.5cm,footerspace=0cm,

   bottomdistance=0cm,bottom=0cm]

but now the chapters, toc, lists, ... also start 2cm from the top  
edge of the
paper. how can i alter it and such manner that these pages start  
with, let's

say, 5cm from the top edge.


\setuphead
  [chapter]
  [...,
   before={\blank[force,3cm]},
   ...]

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] setuplayout - chapter, toc, ... special treatment

2009-04-21 Thread Thomas Prochaska
Am Dienstag, 21. April 2009 13:49:28 schrieb Wolfgang Schuster:
 before={\blank[force,3cm]},

wow, thanks! now it's looking fine.

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

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


Re: [NTG-context] beta

2009-04-21 Thread Thomas A. Schmitz


On Apr 21, 2009, at 9:22 AM, Hans Hagen wrote:


Hi

i uploaded a beta with a few structure fixes; upcoming mkiv betas  
will also have an experimental new vertical spacing mechanism (which  
also demands some adaptions to structure related code)


Hans


Hi Hans,

just a few very short tests (I have to teach in an hour, so can't do  
much today in terms of testing):


1. The problem with the bib module persists. I don't get any errors  
anymore about undefined control sequences, the bbl file is loaded, but  
no output is produced. I hope I can produce a minimal test file  
tomorrow, unless you already have a test.


2. The problem with font tables persists as well. mtxrun version 1.21  
does not produce names.tma and names.tmc, mtxrun --script fonts -- 
reload does not produce any output and fails silently. A workaround is  
copying the names.tm* files over from another cache instance.


3. Page numbering is still a bit flaky. test file (don't know if this  
is quite minimal):


\setuphead
   [section]
   [page=yes,
style=normal]

\setupuserpagenumber[state=start,way=bysection]

\setupfootertexts[{\getmarking[sectionnumber]} – \userpagenumber]

\starttext

\section{One}

\input tufte

\page

\input linden

\section{Two}

\input bryson

\page

\input davis

\stoptext

More to follow (some weird things with xml setups).

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


Re: [NTG-context] framed text question

2009-04-21 Thread Aditya Mahajan

On Tue, 21 Apr 2009, Jos van Gisbergen wrote:


Hi,

I have a question regarding framed text.
To obtain framed verbatim text that breaks over pages, I use the macro
\definetextbackground. I have encountered a slight problem, however:
sometimes the upper part of the frame appears on the bottom of the
page with no text in it (because there's not enough room). The strange
thing is that if I comment out the setupcolors macro the problem
disappears (in the example that is).


I sometimes use

\definetextbackground[][before={\testpage[3], .. other options .. ]

The \testpage[3] checks if there is enough space to put three lines, if 
not it issues a page break. In most cases this gets rid of the hanging 
empty text backgrounds at the bottom of a page.


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

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


Re: [NTG-context] Some symbols of mathematical calculus missing?

2009-04-21 Thread Aditya Mahajan

On Tue, 21 Apr 2009, Tomas Kisela wrote:


Hi all,

I need to typeset some equations and I found out that these commands are 
undefined or don't work correctly (ver: 2009.04.17 19:32 MKIV):

\iint, \iiint, etc.
\oint, \oiint, etc.


I don't know why \iint and \iint are failing. \oiint is not defined in 
mkii, so there is no definition in mkiv. \oint is working here.



\nabla


Change the following in math-vfu

diff --git a/math-vfu.lua b/math-vfu.lua
index 386175d..7c30c37 100644
--- a/math-vfu.lua
+++ b/math-vfu.lua
@@ -929,7 +929,7 @@ fonts.enc.math[traditional-sy] = {
 [0x02240] = 0x6F, -- wr
 [0x0221A] = 0x70, -- sqrt. AM: Check surd??
 [0x02A3F] = 0x71, -- amalg
-[0x02207] = 0x72, -- nabla
+[0x1D6FB] = 0x72, -- nabla
 --  [0x0222B] = 0x73, -- smallint (TODO: what about intop?)
 [0x02294] = 0x74, -- sqcup
 [0x02293] = 0x75, -- sqcap


What is the prefered way of typesetting those symbols? (e.g. \mathop{\int 
\!\!\! \int} or something like that?)


It is more complicated, since you need to adjust for limits. These are 
defined in math-ini.mkiv, but for some reason the definitions are not 
kicking in.


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

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


Re: [NTG-context] math symbol \doteq cause error in mk||

2009-04-21 Thread Wolfgang Schuster


Am 21.04.2009 um 15:35 schrieb Andy Wong:


Hello,
I use the context minimal with updating to lastest beta. when using $ 
\doteq$ in my equation, texexec catch an error:


! Illegal unit of measure (pt inserted).
to be read again
   =
\buildrel ...mathrel {\mathop {\kern \zerocount #2
  }\limits ^{#1}}
l.3 Test $\doteq
$
?

I check the definition in math-pln.mkii, the \doteq is defined as:

\def\buildrel#1\over#2%
 {\mathrel{\mathop{\kern\zerocount#2}\limits^{#1}}}


   {\mathrel{\mathop{\kern\zerocount\relax#2}\limits^{#1}}}

Did a \relax help?

Wolfgang

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

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


[NTG-context] Macro question - uppercase

2009-04-21 Thread Wolfgang Schuster

Hi,

I have a macros which I use in a environment with uppercase letters
but I want to define them in my module as lowercase with namespace
and look for the best method to convert all of them from lowercase
to uppercase, below is what I have for the moment, is there a better
how I can do this (without \ascii)?

\unprotect

\def\saved!one{one}
\def\saved!two{two}

\def\savedcommands#1%
  {\edef\ascii{\csname saved!#1\endcsname}%
   \uppercase{\expandafter\let\csname#1\endcsname\ascii}}

\processcommalist[one,two]\savedcommands

\protect

\starttext

\ONE\ -- \TWO

\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] math symbol \doteq cause error in mk||

2009-04-21 Thread Andy Wong
No, after adding the \relax, same problem here.

Regards,

Andy

On Tue, Apr 21, 2009 at 8:40 AM, Wolfgang Schuster 
schuster.wolfg...@googlemail.com wrote:


 Am 21.04.2009 um 15:35 schrieb Andy Wong:

 Hello,
 I use the context minimal with updating to lastest beta. when using
 $\doteq$ in my equation, texexec catch an error:

 ! Illegal unit of measure (pt inserted).
 to be read again
   =
 \buildrel ...mathrel {\mathop {\kern \zerocount #2
  }\limits ^{#1}}
 l.3 Test $\doteq
$
 ?

 I check the definition in math-pln.mkii, the \doteq is defined as:

 \def\buildrel#1\over#2%
 {\mathrel{\mathop{\kern\zerocount#2}\limits^{#1}}}


   {\mathrel{\mathop{\kern\zerocount\relax#2}\limits^{#1}}}

 Did a \relax help?

 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] beta

2009-04-21 Thread Hans Hagen

Thomas A. Schmitz wrote:

1. The problem with the bib module persists. I don't get any errors 
anymore about undefined control sequences, the bbl file is loaded, but 
no output is produced. I hope I can produce a minimal test file 
tomorrow, unless you already have a test.


a test file would be handy indeed as i have no clue how to invoke the bug


-
  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] mkiv beta

2009-04-21 Thread Hans Hagen

new mkiv beta with some structure fixes
--

-
  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] Macro question - uppercase

2009-04-21 Thread Hans Hagen

Wolfgang Schuster wrote:

Hi,

I have a macros which I use in a environment with uppercase letters
but I want to define them in my module as lowercase with namespace
and look for the best method to convert all of them from lowercase
to uppercase, below is what I have for the moment, is there a better
how I can do this (without \ascii)?

\unprotect

\def\saved!one{one}
\def\saved!two{two}

\def\savedcommands#1%
  {\edef\ascii{\csname saved!#1\endcsname}%
   \uppercase{\expandafter\let\csname#1\endcsname\ascii}}


dirty eh?

\def\savedcommands#1%
  {\uppercase{\expandafter\let\csname#1\expandafter\endcsname}\csname 
saved!#1\endcsname}



\processcommalist[one,two]\savedcommands

\protect

\starttext

\ONE\ -- \TWO

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




--

-
  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] framed text question (Aditya Mahajan)

2009-04-21 Thread Jos van Gisbergen
Okay, the before={\testpage[] ...}  seems to solve my problems with the 
hanging empty text backgrounds.
Thanks Aditya







Message: 3
Date: Tue, 21 Apr 2009 09:10:16 -0400 (EDT)
From: Aditya Mahajan adit...@umich.edu
Subject: Re: [NTG-context] framed text question
To: mailing list for ConTeXt users ntg-context@ntg.nl
Message-ID: alpine.lnx.2.00.0904210908150.8...@ybpnyubfg.ybpnyqbznva
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

On Tue, 21 Apr 2009, Jos van Gisbergen wrote:

 Hi,

 I have a question regarding framed text.
 To obtain framed verbatim text that breaks over pages, I use the macro
 \definetextbackground. I have encountered a slight problem, however:
 sometimes the upper part of the frame appears on the bottom of the
 page with no text in it (because there's not enough room). The strange
 thing is that if I comment out the setupcolors macro the problem
 disappears (in the example that is).

I sometimes use

\definetextbackground[][before={\testpage[3], .. other options .. ]

The \testpage[3] checks if there is enough space to put three lines, if 
not it issues a page break. In most cases this gets rid of the hanging 
empty text backgrounds at the bottom of a page.

Aditya


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

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


Re: [NTG-context] Macro question - uppercase

2009-04-21 Thread Wolfgang Schuster


Am 21.04.2009 um 16:22 schrieb Hans Hagen:


\def\savedcommands#1%
 {\edef\ascii{\csname saved!#1\endcsname}%
  \uppercase{\expandafter\let\csname#1\endcsname\ascii}}


dirty eh?

\def\savedcommands#1%
 {\uppercase{\expandafter\let\csname#1\expandafter\endcsname}\csname  
saved!#1\endcsname}


very nice and very simple, thank you Hans

Wolfgang

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

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


[NTG-context] \placeheadtext not known

2009-04-21 Thread Peter Münster
Hello,

I've something like this in one of my setups:

\startsetups[header]
\doiftextelse{\placeheadtext[chapter]}
 {\placeheadtext[chapter]}{\placeheadtext[title]}
\stopsetups
\setupheadertexts[\setups{header}]
\starttext
\chapter{bla}
\stoptext

With the latest version, I get:

ERROR: Undefined control sequence.

--- TeX said ---
argument \placeheadtext


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


[NTG-context] downgrading

2009-04-21 Thread Peter Münster
Hello,

I would like to downgrade my context to version 2009.01.18 (the latest
version, where my file compiles fine). How could I do this?

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


Re: [NTG-context] last ContextMinimals - bad itemize

2009-04-21 Thread batela

Dear Sirs

I found this bug in ContextMinimals last version
\starttext

\startitemize[n]
\item first
\item second
\startitemize[m,repeat]
\item second.1, = should be 2.1, but only appears 1.
\item second.2
\stopitemize
\stopitemize

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


[NTG-context] \useURL not working with '#' and '_' in URL in newest beta

2009-04-21 Thread Drazen Baic
Hello,

URLs with '#' or '_' in the URL worked fine with LuaTeX, Version
snapshot-0.37.0-2009033116  and ConTeXt 2009.04.06 21:42
and still work with the newest beta LuaTeX, Version
snapshot-0.39.0-2009041623 and ConTeXt 2009.04.21 16:11 when
compiled with '--xtx'. When compiled with '--lua' I got this error:

! Illegal parameter number in definition of \dodogetargument.
to be read again
   s
argument ...ce.contextgarden.net/core-pos.tex##s
  etpositions
\dodogetargument ...{\douseurl [{setposition}][{#1
  }][{##1}]}\dogetargument [...
l.13 ...textgarden.net/core-pos.tex#setpositions}]


here is a minimal example. It doesn't work no matter if
\setupinteraction is active or not

\setupcolors
  [state=start]
\setupinteraction
  [state=start,color=blue]
\useURL
  [minimals]
  [{http://wiki.contextgarden.net/ConTeXt_Minimals}]
  []
  [\ConTeXt\ Minimals]

\useURL
  [setposition]
  [{http://source.contextgarden.net/core-pos.tex#setpositions}]
  []
  [\tex{setposition}]

\useURL
  [setuppositioning]
  [http://texshow.contextgarden.net]
  [{cmd/en/setuppositioning}]
  [\tex{setuppositioning}]

\starttext
Lookup the source code of \from[setposition]! Or read about the syntax
of \from[setuppositioning].
More Information about \CONTEXT\ Minimals at: \from[minimals]
\stoptext

Regards,
Drazen
___
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] last ContextMinimals - bad itemize

2009-04-21 Thread Wolfgang Schuster


Am 21.04.2009 um 18:31 schrieb batela:


Dear Sirs

I found this bug in ContextMinimals last version
\starttext

\startitemize[n]
\item first
\item second
\startitemize[m,repeat]
\item second.1, = should be 2.1, but only  
appears 1.

\item second.2
\stopitemize
\stopitemize

\stoptext


I found a bug in nested items too.

\starttext
\startitemize
\startitemize[fit]
\item subitem
\stopitemize
\stopitemize
\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] downgrading

2009-04-21 Thread Wolfgang Schuster


Am 21.04.2009 um 18:24 schrieb Peter Münster:


Hello,

I would like to downgrade my context to version 2009.01.18 (the latest
version, where my file compiles fine). How could I do this?


first-setup.sh --context=2009.01.18

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] Some symbols of mathematical calculus missing?

2009-04-21 Thread Tomas Kisela
Thanks for nabla.
I can handle the commands for multiple integrals by myself in the way I 
sketched before. 

Contour integral \oint is working but not correctly in my case. This code:

\starttext
\startformula
\oint\limits_{\partial S} \vec{F}\cdot{\rm 
d}\vec{l}=\mathop{\int\!\!\!\int}\limits_{\bs S\phantom{M}} \vec{\nabla} \times 
\vec{F}\cdot{\rm d}\vec{S}
\stopformula
\stoptext

gives the result in the attachment (I know I can typeset it by a combination of 
\circle and \int or something similar, my point is just to show the problem 
with \oint).

Thanks for help,
Best regards,
Tomas

__
 Od: adit...@umich.edu
 Komu: mailing list for ConTeXt users ntg-context@ntg.nl
 Datum: 21.04.2009 15:35
 Předmět: Re: [NTG-context] Some symbols of mathematical calculus missing?

On Tue, 21 Apr 2009, Tomas Kisela wrote:

 Hi all,

 I need to typeset some equations and I found out that these commands are 
 undefined or don't work correctly (ver: 2009.04.17 19:32 MKIV):

 iint, iiint, etc.
 oint, oiint, etc.

I don't know why iint and iint are failing. oiint is not defined in mkii, so 
there is no definition in mkiv. oint is working here.

 nabla

Change the following in math-vfu

diff --git a/math-vfu.lua b/math-vfu.lua
index 386175d..7c30c37 100644
--- a/math-vfu.lua
+++ b/math-vfu.lua
@@ -929,7 +929,7 @@ fonts.enc.math[traditional-sy] = {
  [0x02240] = 0x6F, -- wr
  [0x0221A] = 0x70, -- sqrt. AM: Check surd??
  [0x02A3F] = 0x71, -- amalg
-[0x02207] = 0x72, -- nabla
+[0x1D6FB] = 0x72, -- nabla
  --  [0x0222B] = 0x73, -- smallint (TODO: what about intop?)
  [0x02294] = 0x74, -- sqcup
  [0x02293] = 0x75, -- sqcap

 What is the prefered way of typesetting those symbols? (e.g. mathop{int !!! 
 int} or something like that?)

It is more complicated, since you need to adjust for limits. These are defined 
in math-ini.mkiv, but for some reason the definitions are not kicking in.

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

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




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


Re: [NTG-context] downgrading

2009-04-21 Thread Peter Münster
On Tue, 21 Apr 2009, Wolfgang Schuster wrote:

  I would like to downgrade my context to version 2009.01.18 (the latest
  version, where my file compiles fine). How could I do this?
 
 first-setup.sh --context=2009.01.18

Did not work. After that, the version is still 2009.04.18

Any other suggestions?

Isn't there a svn repository somewhere, where I can fetch the desired
version?

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


[NTG-context] Which Table Layout Mode

2009-04-21 Thread Design Department
I'm having great difficulty finding a table mode that accomplishes
everything I need:

Multi-page: no problem
Repeating headers: no problem
Repeating footers: don't actually need columns in footers, just a
table-wide block containing diagrams and abbreviation footnotes. Must
appear on every page, though. 'tables' or 'tabulate' mode works OK.
lintetables?
Horizontal lines: no problem (except linetables?)
Alternate row shading: natural tables work fine, don't see how to do
this with 'tables'  or 'tabulate' mode. linetables?
Forced page break at arbitrary rows: [after=\page] doesn't seem to
work in natural tables, don't see how to do this with 'tables' or
'tabulate' mode. linetables?

I've tried all the table modes, including linetables and can't find a
mode that gives me all required features.
Is this combination of tabular features not possible?

-- 
david
___
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] downgrading

2009-04-21 Thread Aditya Mahajan

On Tue, 21 Apr 2009, Peter Münster wrote:


On Tue, 21 Apr 2009, Wolfgang Schuster wrote:


I would like to downgrade my context to version 2009.01.18 (the latest
version, where my file compiles fine). How could I do this?


first-setup.sh --context=2009.01.18


Did not work. After that, the version is still 2009.04.18


I think that the minimals only have the stable versions:
http://minimals.contextgarden.net/current/context/


Any other suggestions?


If nothing else works out, I have a 2009.01.18 version lying around, which 
I could upload somewhere.


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

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


Re: [NTG-context] downgrading

2009-04-21 Thread Wolfgang Schuster


Am 21.04.2009 um 20:24 schrieb Peter Münster:


On Tue, 21 Apr 2009, Wolfgang Schuster wrote:

I would like to downgrade my context to version 2009.01.18 (the  
latest

version, where my file compiles fine). How could I do this?


first-setup.sh --context=2009.01.18


Did not work. After that, the version is still 2009.04.18

Any other suggestions?


I can send you the zip from 13. January or 9. February

Isn't there a svn repository somewhere, where I can fetch the  
desired version?


Only with stable versions: http://foundry.supelec.fr/projects/contextrev

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] Some symbols of mathematical calculus missing?

2009-04-21 Thread Aditya Mahajan

On Tue, 21 Apr 2009, Tomas Kisela wrote:


Thanks for nabla.
I can handle the commands for multiple integrals by myself in the way I 
sketched before.

Contour integral \oint is working but not correctly in my case. This code:


Apply the patch to math-vfu

diff --git a/math-vfu.lua b/math-vfu.lua
index 386175d..ca099f0 100644
--- a/math-vfu.lua
+++ b/math-vfu.lua
@@ -545,6 +545,7 @@ fonts.enc.math[large-to-small] = {
 [0x021D3] = 0x7F, -- Downarrow
 [0x0220F] = 0x59, -- prod
 [0x0222B] = 0x5A, -- intop
+[0x0222E] = 0x49, -- ointop
 [0x02210] = 0x61, -- coprod
 [0x02211] = 0x58, -- sum
 [0xFE302] = 0x62, -- widehat

and regenerate formats.

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

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


Re: [NTG-context] startregister produces strange page range (1-2-3)

2009-04-21 Thread Patrick Gundlach
Hi Sanjoy,

 I'm using ConTeXt 2008.10.31 (Mk II) from the Debian unstable packages.
 The live context (2009.03.06) produces a blank index with the pdftex
 engine, so I'm CC'ing Patrick in case that problem is separate.

The context did not receive an update for quite some time. I will take a
look into that on sunday.


Patrick
-- 
ConTeXt wiki and more: 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
___


[NTG-context] Column break in start\stop columns

2009-04-21 Thread Vyatcheslav Yatskovsky

Hello all,

How to force column break in start\stop columns?

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

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


Re: [NTG-context] Some symbols of mathematical calculus missing?

2009-04-21 Thread Tomas Kisela
Thank you, Aditya.

Best regards,
Tomas

__
 Od: adit...@umich.edu
 Komu: mailing list for ConTeXt users ntg-context@ntg.nl
 Datum: 21.04.2009 21:02
 Předmět: Re: [NTG-context] Some symbols of mathematical calculus missing?

On Tue, 21 Apr 2009, Tomas Kisela wrote:

 Thanks for nabla.
 I can handle the commands for multiple integrals by myself in the way I 
 sketched before.

 Contour integral oint is working but not correctly in my case. This code:

Apply the patch to math-vfu

diff --git a/math-vfu.lua b/math-vfu.lua
index 386175d..ca099f0 100644
--- a/math-vfu.lua
+++ b/math-vfu.lua
@@ -545,6 +545,7 @@ fonts.enc.math[large-to-small] = {
  [0x021D3] = 0x7F, -- Downarrow
  [0x0220F] = 0x59, -- prod
  [0x0222B] = 0x5A, -- intop
+[0x0222E] = 0x49, -- ointop
  [0x02210] = 0x61, -- coprod
  [0x02211] = 0x58, -- sum
  [0xFE302] = 0x62, -- widehat

and regenerate formats.

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

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


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

2009-04-21 Thread Peter Münster
On Tue, 21 Apr 2009, Aditya Mahajan wrote:

 If nothing else works out, I have a 2009.01.18 version lying around, which I
 could upload somewhere.

Hello Aditya,

Thanks, this would be very nice! Could you do that before tomorrow noontime
please? In fact, I think any version between January and March should work,
but with 2009.01.18 I'm really sure, since an old good pdf-file shows this
version.
(Just a temporary problem with a dead-line approaching too fast...)

Thanks also to Wolfgang for offering zip-files!

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


Re: [NTG-context] Column break in start\stop columns

2009-04-21 Thread Henning Hraban Ramm

Am 2009-04-21 um 21:46 schrieb Vyatcheslav Yatskovsky:


How to force column break in start\stop columns?


seems not possible. did you try \testpage[] ?

see http://wiki.contextgarden.net/Columns
and use columnsets




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

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

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


Re: [NTG-context] TOCS: part number, custom alternative and margins

2009-04-21 Thread Jeff Smith
On Mon, Apr 20, 2009 at 15:44, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:


 headnumber=no

 Wolfgang


Oh gosh, HEADnumber. *slaps forehead*

Thank you for your patience with us idiot users,
Jeff
___
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] Column break in start\stop columns

2009-04-21 Thread Aditya Mahajan

On Tue, 21 Apr 2009, Vyatcheslav Yatskovsky wrote:


Hello all,

How to force column break in start\stop columns?


\column

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

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


Re: [NTG-context] Column break in start\stop columns

2009-04-21 Thread Wolfgang Schuster


Am 21.04.2009 um 23:50 schrieb Aditya Mahajan:


On Tue, 21 Apr 2009, Vyatcheslav Yatskovsky wrote:


Hello all,

How to force column break in start\stop columns?


\column


with a 50% chance to break the column :)


Aditya


Wolfgang

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

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


[NTG-context] Hangaround

2009-04-21 Thread Diego Depaoli
Can hangaround handles in such way  multiple paragraphs?
This small example fails.

\starttext
\starthangaround{\externalfigure[cow]}
\input tufte

\input knuth
\stophangaround
\stoptext

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

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


Re: [NTG-context] beta

2009-04-21 Thread Mojca Miklavec
On Tue, Apr 21, 2009 at 10:38, Lutz Haseloff wrote:

 Isn't texnansi-bh-lucida.map part of context minimal anymore?
 Miss I something else?

I have created the new distribution from scratch. There might be quite
some font files missing.

Which files are still needed? One option would be to pack support
files for commercial fonts into a package under ConTeXt modules and
then fetch from there (or any other idea welcome).

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

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


Re: [NTG-context] \useURL not working with '#' and '_' in URL in newest beta

2009-04-21 Thread Mojca Miklavec
On Tue, Apr 21, 2009 at 18:45, Drazen Baic wrote:
 Hello,

 URLs with '#' or '_' in the URL worked fine with LuaTeX, Version
 snapshot-0.37.0-2009033116  and ConTeXt 2009.04.06 21:42
 and still work with the newest beta LuaTeX, Version
 snapshot-0.39.0-2009041623 and ConTeXt 2009.04.21 16:11 when
 compiled with '--xtx'. When compiled with '--lua' I got this error:

I don't know if this is related, but when I tried to recompile some
mkiv document today, lots of characters have been missing from output.
Example:

\starttext
\startMPcode
u := 1cm;
draw \sometxt{a\{b\}} shifted(1u,0u); % no braces
\stopMPcode
\stoptext

I remember having problems with at least {, }, #,  and with the usage
of the following macro inside metapost:

% outside:
\def\combine#1{\hbox to .5em{}\hbox to
0pt{\hss\color[red]{\mframed[frame=off]{#1}}\hss}\hbox to
0pt{\hss\color[darkgray]{o}\hss}}

% usage inside \sometxt in metapost:
\combine{\textcaron}

But I had no time to debug.

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

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