[NTG-context] tex-live and MkIV

2011-03-09 Thread Cecil Westerhof
I installed tex-live 2010. It gives the same version info as the one that
was installed by openSUSE:
MTXrun | kpse fallback with progname 'context' initialized in 0.09
seconds
TeXExec | version 6.2.1 - 1997-2009 - PRAGMA ADE/POD

Following http://wiki.contextgarden.net/TeX_Live_2010 I try to do luatools
--generate, but this gives:
LuaTools | fileio: variable SELFAUTOLOC set to /usr/lib/texmf/bin/i586-linux
LuaTools | fileio: variable SELFAUTODIR set to /usr/lib/texmf/bin
LuaTools | fileio: variable SELFAUTOPARENT set to /usr/lib/texmf
LuaTools | fileio: variable TEXMFCNF set to
{$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,.local,}/web2c}
LuaTools | fileio: no cnf files found (TEXMFCNF may not be set/known)
LuaTools |
LuaTools | runtime: 0.010 seconds

So I suppose that I have to set TEXMFCNF. But to what?

-- 
Cecil Westerhof
___
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] tex-live and MkIV

2011-03-09 Thread Cecil Westerhof
2011/3/9 Cecil Westerhof cldwester...@gmail.com

 I installed tex-live 2010. It gives the same version info as the one that
 was installed by openSUSE:
 MTXrun | kpse fallback with progname 'context' initialized in 0.09
 seconds
 TeXExec | version 6.2.1 - 1997-2009 - PRAGMA ADE/POD

 Following http://wiki.contextgarden.net/TeX_Live_2010 I try to do luatools
 --generate, but this gives:
 LuaTools | fileio: variable SELFAUTOLOC set to
 /usr/lib/texmf/bin/i586-linux
 LuaTools | fileio: variable SELFAUTODIR set to /usr/lib/texmf/bin
 LuaTools | fileio: variable SELFAUTOPARENT set to /usr/lib/texmf
 LuaTools | fileio: variable TEXMFCNF set to
 {$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,.local,}/web2c}
 LuaTools | fileio: no cnf files found (TEXMFCNF may not be set/known)
 LuaTools |
 LuaTools | runtime: 0.010 seconds

 So I suppose that I have to set TEXMFCNF. But to what?


It looks like that I need to do:
export TEXMFCNF=/usr/local/texlive/2010/

But when executing luatools --generate as root I get:
LuaTools | fileio: variable SELFAUTOLOC set to /usr/lib/texmf/bin/i586-linux
LuaTools | fileio: variable SELFAUTODIR set to /usr/lib/texmf/bin
LuaTools | fileio: variable SELFAUTOPARENT set to /usr/lib/texmf
LuaTools | fileio: variable TEXMFCNF set to /usr/local/texlive/2010/
LuaTools | fileio: loading /usr/local/texlive/2010/texmf.cnf
LuaTools | fileio: preparing configuration for /usr/local/texlive/2010
LuaTools | fileio: configuration saved in
/root/luatex-cache/context/bbbf913b89565c8436595715076b9dd7/trees/6f5db95b334d5e9ed5a1672187d8e65e.lua
LuaTools | fileio: configuration compiled to
/root/luatex-cache/context/bbbf913b89565c8436595715076b9dd7/trees/6f5db95b334d5e9ed5a1672187d8e65e.luc
LuaTools |
LuaTools | runtime: 0.015 seconds

When executing as a normal user I get:
LuaTools | fileio: variable 'SELFAUTOLOC' set to
'/usr/local/texlive/2010/bin/i386-linux'
LuaTools | fileio: variable 'SELFAUTODIR' set to
'/usr/local/texlive/2010/bin'
LuaTools | fileio: variable 'SELFAUTOPARENT' set to
'/usr/local/texlive/2010'
LuaTools | fileio: variable 'TEXMFCNF' set to '/usr/local/texlive/2010/'
LuaTools | fileio: loading configuration file
/usr/local/texlive/2010/texmf.cnf
LuaTools | fileio: preparing 'configuration' for '/usr/local/texlive/2010'
LuaTools | fileio: 'configuration' saved in
'/tmp/luatex-cache/context/bbbf913b89565c8436595715076b9dd7/trees/6f5db95b334d5e9ed5a1672187d8e65e.lua'
LuaTools | fileio: 'configuration' compiled to
'/tmp/luatex-cache/context/bbbf913b89565c8436595715076b9dd7/trees/6f5db95b334d5e9ed5a1672187d8e65e.luc'
LuaTools |
LuaTools | runtime: 0.013 seconds

Is that what should happen?

When I now run texexec --version, I get
TXrun | kpse fallback with progname 'context' initialized in 0 seconds
instead of:
MTXrun | kpse fallback with progname 'context' initialized in 0.09
seconds
TeXExec | version 6.2.1 - 1997-2009 - PRAGMA ADE/POD

-- 
Cecil Westerhof
___
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] tex-live and MkIV

2011-03-09 Thread Hans Hagen

On 9-3-2011 9:20, Cecil Westerhof wrote:

I installed tex-live 2010. It gives the same version info as the one that
was installed by openSUSE:
 MTXrun | kpse fallback with progname 'context' initialized in 0.09
seconds
 TeXExec | version 6.2.1 - 1997-2009 - PRAGMA ADE/POD

Following http://wiki.contextgarden.net/TeX_Live_2010 I try to do luatools
--generate, but this gives:
LuaTools | fileio: variable SELFAUTOLOC set to /usr/lib/texmf/bin/i586-linux
LuaTools | fileio: variable SELFAUTODIR set to /usr/lib/texmf/bin
LuaTools | fileio: variable SELFAUTOPARENT set to /usr/lib/texmf
LuaTools | fileio: variable TEXMFCNF set to
{$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,.local,}/web2c}
LuaTools | fileio: no cnf files found (TEXMFCNF may not be set/known)
LuaTools |
LuaTools | runtime: 0.010 seconds

So I suppose that I have to set TEXMFCNF. But to what?


just install the minimals ... luatex/mkiv is a moving target and we 
don't bother about versions that old


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] tex-live and MkIV

2011-03-09 Thread Cecil Westerhof
2011/3/9 Hans Hagen pra...@wxs.nl

 On 9-3-2011 9:20, Cecil Westerhof wrote:

 I installed tex-live 2010. It gives the same version info as the one that
 was installed by openSUSE:
 MTXrun | kpse fallback with progname 'context' initialized in 0.09
 seconds
 TeXExec | version 6.2.1 - 1997-2009 - PRAGMA ADE/POD

 Following http://wiki.contextgarden.net/TeX_Live_2010 I try to do
 luatools
 --generate, but this gives:
 LuaTools | fileio: variable SELFAUTOLOC set to
 /usr/lib/texmf/bin/i586-linux
 LuaTools | fileio: variable SELFAUTODIR set to /usr/lib/texmf/bin
 LuaTools | fileio: variable SELFAUTOPARENT set to /usr/lib/texmf
 LuaTools | fileio: variable TEXMFCNF set to
 {$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,.local,}/web2c}
 LuaTools | fileio: no cnf files found (TEXMFCNF may not be set/known)
 LuaTools |
 LuaTools | runtime: 0.010 seconds

 So I suppose that I have to set TEXMFCNF. But to what?


 just install the minimals ... luatex/mkiv is a moving target and we don't
 bother about versions that old


You mean http://wiki.contextgarden.net/ConTeXt_Minimals?

-- 
Cecil Westerhof
___
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] tex-live and MkIV

2011-03-09 Thread luigi scarso
On Wed, Mar 9, 2011 at 9:46 AM, Cecil Westerhof cldwester...@gmail.com wrote:
 2011/3/9 Hans Hagen pra...@wxs.nl

 On 9-3-2011 9:20, Cecil Westerhof wrote:

 I installed tex-live 2010. It gives the same version info as the one that
 was installed by openSUSE:
     MTXrun | kpse fallback with progname 'context' initialized in 0.09
 seconds
     TeXExec | version 6.2.1 - 1997-2009 - PRAGMA ADE/POD

 Following http://wiki.contextgarden.net/TeX_Live_2010 I try to do
 luatools
 --generate, but this gives:
 LuaTools | fileio: variable SELFAUTOLOC set to
 /usr/lib/texmf/bin/i586-linux
 LuaTools | fileio: variable SELFAUTODIR set to /usr/lib/texmf/bin
 LuaTools | fileio: variable SELFAUTOPARENT set to /usr/lib/texmf
 LuaTools | fileio: variable TEXMFCNF set to
 {$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,.local,}/web2c}
 LuaTools | fileio: no cnf files found (TEXMFCNF may not be set/known)
 LuaTools |
 LuaTools | runtime: 0.010 seconds

 So I suppose that I have to set TEXMFCNF. But to what?

 just install the minimals ... luatex/mkiv is a moving target and we don't
 bother about versions that old

 You mean http://wiki.contextgarden.net/ConTeXt_Minimals?
yes

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

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


Re: [NTG-context] tex-live and MkIV

2011-03-09 Thread Martin Schröder
2011/3/9 Hans Hagen pra...@wxs.nl:
 just install the minimals ... luatex/mkiv is a moving target and we don't
 bother about versions that old

And there's tlcontrib...

Best
   Martin
___
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] tex-live and MkIV

2011-03-09 Thread Mojca Miklavec
On Wed, Mar 9, 2011 at 09:20, Cecil Westerhof  wrote:
 I installed tex-live 2010. It gives the same version info as the one that
 was installed by openSUSE:
     MTXrun | kpse fallback with progname 'context' initialized in 0.09
 seconds
     TeXExec | version 6.2.1 - 1997-2009 - PRAGMA ADE/POD

 Following http://wiki.contextgarden.net/TeX_Live_2010 I try to do luatools
 --generate, but this gives:
 LuaTools | fileio: variable SELFAUTOLOC set to /usr/lib/texmf/bin/i586-linux
 LuaTools | fileio: variable SELFAUTODIR set to /usr/lib/texmf/bin
 LuaTools | fileio: variable SELFAUTOPARENT set to /usr/lib/texmf
 LuaTools | fileio: variable TEXMFCNF set to
 {$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,.local,}/web2c}
 LuaTools | fileio: no cnf files found (TEXMFCNF may not be set/known)
 LuaTools |
 LuaTools | runtime: 0.010 seconds

 So I suppose that I have to set TEXMFCNF. But to what?

1. Try to figure out where texmfcnf.lua is located.
2. Set TEXMFCNF to that folder.
3. You need to edit TEXMFCNF to match settings in texmf.cnf (you need
to locate it first).
4. Send a bug report to suse.

I can try to help you (for the sake of fixing distribution in suse),
but you need to send the contents of texmf.cnf (at least the part that
defines paths to files, like TEXMFHOME, TEXMFwhatever etc.) and
location of configuration files.

However if you want support (bugfixes etc.), I would suggest you to
install minimals in parallel to systemwide distribution.

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


[NTG-context] Libertine fonts

2011-03-09 Thread Willi Egger
Hi all,

I just installed the libertine fonts. They work but what should I do with this 
error?

! Math error: parameter \Umathquad\displaystyle is not set.


Kind regards

Willi
___
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] Libertine fonts

2011-03-09 Thread Hans Hagen

On 9-3-2011 2:05, Willi Egger wrote:

Hi all,

I just installed the libertine fonts. They work but what should I do with this 
error?

! Math error: parameter \Umathquad\displaystyle is not set.


how old is your context? recent version sshould check for math being 
undefined and load lm as fallback


-
  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] cals tables

2011-03-09 Thread Hans Hagen

On 8-3-2011 9:00, R. Ermers wrote:

Dear ConTeXers,

I still have not been able to find out how to proceed with my docbook xml 
document, which contains a number of cals tables.
The cals module is loaded by means of \usemodule[cals].

How to proceed from here?

Any clue is appreciated!


x-cals-test.*

in the test suite

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] table assignment in the context lua code

2011-03-09 Thread Ulrike Fischer

font-dum.lua contains the following code snippet:

   local reencodings = { } 
   fonts.enc.reencodings = reencodings

   local function specialreencode(tfmdata,value)
  local encoding = value and reencodings[value]
  
   end



1. Why is the assignment 
fonts.enc.reencodings = reencodings
and not the other way round?

Similar definitions in the same file use more logical looking
assignments like e.g. local setups  = fonts.protrusions.setups


2. How does it work? Why is the local table variable reencodings
in the function specialreencode able to retrieve values stored later
in fonts.enc.reencodings?

-- 
Ulrike Fischer 

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

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


Re: [NTG-context] table assignment in the context lua code

2011-03-09 Thread Hans Hagen

On 9-3-2011 3:41, Ulrike Fischer wrote:


font-dum.lua contains the following code snippet:

local reencodings = { }
fonts.enc.reencodings = reencodings

local function specialreencode(tfmdata,value)
   local encoding = value and reencodings[value]
   
end



1. Why is the assignment
 fonts.enc.reencodings = reencodings
and not the other way round?


because it saves a lookup but the reverse works equally well, so 
consider it a matter of taste



Similar definitions in the same file use more logical looking
assignments like e.g. local setups  = fonts.protrusions.setups


2. How does it work? Why is the local table variable reencodings
in the function specialreencode able to retrieve values stored later
in fonts.enc.reencodings?


because we're talking pointers so in

t = { }
a = t

an assignment to a is also an assignment to t

-
  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] Libertine fonts

2011-03-09 Thread Willi Egger
Thanks Hans for your reply. My version up to 15 minutes ago was: 2011.02.14 
19:48. Now it is : 2011.02.25.

In the meantime I updated the minimals and it does indeed use the fallback. 
Only then I realized, that in the type-otf.mkiv the typefacedefinition for math 
of libertine is commented out...

Willi
On 9 Mar 2011, at 14:24, Hans Hagen wrote:

 On 9-3-2011 2:05, Willi Egger wrote:
 Hi all,
 
 I just installed the libertine fonts. They work but what should I do with 
 this error?
 
 ! Math error: parameter \Umathquad\displaystyle is not set.
 
 how old is your context? recent version sshould check for math being 
 undefined and load lm as fallback
 
 -
  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
 ___

___
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] fonts.enc.reencodings works with latex but not with context

2011-03-09 Thread Ulrike Fischer
I have now reencoded my first chess font. 

I'm now trying to find out how to setup things so that context users
could also benefit from the reencoding. But the equivalent code of
the code working with latex doesn't work in context

\startluacode
   fonts.enc.reencodings[cfss-lsf-std] = {
 --%bishop
 [66] = 8226,
 --%king
 [75] = 162,
 --% Knight
 [78] = 167,
 --%Queen
 [81] = 163,
 --%Rook
 [82] = 182,
 --%Pawn
 [112]= 223,
   }
\stopluacode

\font\alfonsouc=name:ChessAlfonso-X:mode=base:reencode=cfss-lsf-std

\starttext
\alfonsouc \char75\char81\char82\char66\char78\char112
\stoptext

I get the error ! LuaTeX error main ctx instance:15: attempt to
index field 'reencodings' (a nil value)

It only works if I copy the code from font-dum.lua to the document.
Isn't the code already loaded?

Btw: There is a small typo in luat-dum.lua. Line 77 is missing an
s

found = kpse.find_file(name,other text files)
^^^ missing.


-- 
Ulrike Fischer 

___
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] Full example of font setup

2011-03-09 Thread mathew
Hi. I recently returned to TeX after a 20 year absence, and decided ConTeXt
was the best choice of package for a modern TeX environment.

I've been reading through the wiki pages, manuals, and drafts of new manual
chapters, trying to put together a full example of setting up a complete set
of fonts for a document.

My heavily commented example is at http://pastebin.tlhiv.org/DQcygbld

I'd appreciate any comments and corrections, as I'd like to try and make
sure my understanding is correct before I publish the example anywhere.

Thanks,


mathew
___
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] Acrobat JavaScript in ConTeXt

2011-03-09 Thread Vedran Miletić
Dana 8. ožujka 2011. 00:29 Hans Hagen pra...@wxs.nl je napisao/la:

 On 7-3-2011 5:11, Vedran Miletić wrote:

 Hi,

 how can one make a button that does app.alert() in ConTeXt? I tried
 something like this without much luck:

 \setupinteraction[state=start]

 \starttext
 \goto{Button}[JS(app.alert{Hello World})]
 \stoptext

 Can anyone help?


 \startJSpreamble MyStuff used later

 function MyAlert(str) {
  app.alert(str)
 }

 \stopJSpreamble

 \goto{Button}[JS(MyAlert{Hello World})]

 so, we have a separation between definitions and usage.


Thanks, it works!

I have two further questions:
1) how to deal with commas in strings? MyAlert{Hello, World} displays only
Hello.
2) is it possible to get international charcters (such as čćžšđ) in strings?

Regars,

Vedran Miletić
___
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] Full example of font setup

2011-03-09 Thread Willi Egger
Hi Mathew,

I looked at your example. I made some comments on \setuplayout and setup of 
fonts \switchtobodyfont vs. \setupbodyfont.

Willi
On 9 Mar 2011, at 18:04, mathew wrote:

 Hi. I recently returned to TeX after a 20 year absence, and decided ConTeXt 
 was the best choice of package for a modern TeX environment.
 
 I've been reading through the wiki pages, manuals, and drafts of new manual 
 chapters, trying to put together a full example of setting up a complete set 
 of fonts for a document.
 
 My heavily commented example is at http://pastebin.tlhiv.org/DQcygbld
 
 I'd appreciate any comments and corrections, as I'd like to try and make sure 
 my understanding is correct before I publish the example anywhere.
 
 Thanks,
 
 
 mathew
 ___
 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] Style of header text

2011-03-09 Thread Milton Galo Patricio Inostroza Aguilera
Hi,

I'm trying to setup the style of the header text in this way:

\setupcolors[state=start,system=rgb]
\definecolor[Darkred][r=0.5,g=0.0,b=0.0]

\definehead[MyChapter][chapter]

\setuphead[MyChapter][
 after=\blank,
 number=no,
 continue=no,
 textcolor=Darkred,
 style=\ss\tfc
]

\starttext

\MyChapter{Introduccion}

\MyChapter{Final}

\stoptext

It work's fine.  I want that when exist a pagebreak, the system shows
the name of the chapter in the new page.  For that, I define a custom
pagebreak like this:

\definepagebreak
  [mychapterpagebreak]
  [yes,header]

and set in MyChapter's header the attribute page=mychapterpagebreak.
The system shows the name of the chapter, but I want to setup its
style (color, fontstyle, size, etc)...is it possible?.

Regards,



-- 
Milton
___
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] Style of header text

2011-03-09 Thread Wolfgang Schuster

Am 09.03.2011 um 21:24 schrieb Milton Galo Patricio Inostroza Aguilera:

 Hi,
 
 I'm trying to setup the style of the header text in this way:
 
 \setupcolors[state=start,system=rgb]
 \definecolor[Darkred][r=0.5,g=0.0,b=0.0]
 
 \definehead[MyChapter][chapter]
 
 \setuphead[MyChapter][
 after=\blank,
 number=no,
 continue=no,
 textcolor=Darkred,
 style=\ss\tfc
 ]
 
 \starttext
 
 \MyChapter{Introduccion}
 
 \MyChapter{Final}
 
 \stoptext
 
 It work's fine.  I want that when exist a pagebreak, the system shows
 the name of the chapter in the new page.  For that, I define a custom
 pagebreak like this:
 
 \definepagebreak
  [mychapterpagebreak]
  [yes,header]
 
 and set in MyChapter's header the attribute page=mychapterpagebreak.
 The system shows the name of the chapter, but I want to setup its
 style (color, fontstyle, size, etc)...is it possible?.

\setupheader[style=...,color=...]

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] Style of header text

2011-03-09 Thread Milton Galo Patricio Inostroza Aguilera
2011/3/9 Wolfgang Schuster schuster.wolfg...@googlemail.com:

 \setupheader[style=...,color=...]

it works like a charm =D


 Wolfgang

-- 
Milton
___
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] Itemize not breaking across pages?

2011-03-09 Thread Alasdair McAndrew
I am setting up notes and exercises for my students.  Each set of exercises
is in an itemize environment, and each \item consists of a table of
problems.  The trouble is, the itemize doesn't break across pages - I have
to put manual page breaks in.

How can I encourage automatic page-breaks?

Thanks,
Alasdair
___
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
___