Re: [NTG-context] Labelling figures

2008-09-17 Thread Wolfgang Schuster
On Tue, Sep 16, 2008 at 5:44 PM, Alan BRASLAU [EMAIL PROTECTED] wrote:
 On Tuesday 16 September 2008 16:28:45 Hans Hagen wrote:
  what is the best method to add labels to a figure; I want them not only
  on the figure but their position should be relative to the figure size.

 how about just using a layer ...

 You might also try pgf/tikz, according to your taste:

 \usemodule[tikz]
 \starttikzpicture[scale=]
 \pgftext{\externalfigure[kuh][width=1cm]};
 \draw (x,y) node {label};
 \stoptikzpicture

Thanks for the tip but I won't rely on external packages, before this
will happen I write my own macros.

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] MKIV font name database

2008-09-17 Thread Alan Stone
It must be

\definetypeface [georgia] [rm] [serif] [georgia] [default]

grin:

-- 
Best,
Alan

* ConTeXt ver: 2008.09.10 14:01 MKIV fmt: 2008.9.14 int: english/english
* Windows XP Home SP3
___
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] Labelling figures

2008-09-17 Thread Wolfgang Schuster
On Tue, Sep 16, 2008 at 4:28 PM, Hans Hagen [EMAIL PROTECTED] wrote:
 Wolfgang Schuster wrote:
 Hi all,

 any new news about my question below.

 Wolfgang

 On Fri, Jun 6, 2008 at 9:51 AM, Wolfgang Schuster
 [EMAIL PROTECTED] wrote:
 Hi,

 what is the best method to add labels to a figure; I want them not only on
 the figure but their position should be relative to the figure size.

 how about just using a layer ...

And how could they help me, I want to pisition the label relative to
the figure size with fraction of the figure width and heigth.

I could write my own macros to do this but I hoped you have already
something available to do this.

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] The problem of updating context manually using cont-tmf.zip

2008-09-17 Thread Jianning Dong
Hello everyone.

I'm using TeXLive2008, and I have just updated my ConTeXt
for Chinese supporting using the file downloaded from
http://mirror.contextgarden.net/context/current/cont-tmf.zip.

I just unzipped it into texmf-local and execute the command:
   texmfstart texexec --make --all

I think everything is OK, but the problem comes. The version of ConTeXt
is still 2008.05.21 15:21:

context --version

MtxRun | main context file:
/usr/local/texlive/2008/texmf-dist/tex/context/base/context.tex
MtxRun | current version  : 2008.05.21 15:21

I don't know the exactly meaning of main context file. I think it should
be the file I just
unzipped into /usr/local/texlive/texmf-local. The version of ConTeXt should
be 2008.08.05.

Anyone can help me updating the ConTeXt?
-- 
Hello world!
Every day is a new day.
___
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] Luatex fails to load a font

2008-09-17 Thread holzminister
2008/9/16 Henning Hraban Ramm [EMAIL PROTECTED]:
 Am 2008-09-16 um 20:29 schrieb holzminister:

 OpenType can internally use TrueType outlines or PostScript outlines
 (different algorithms). OpenType with PS outlines normally use
 the .otf extension; OpenType with TrueType outlines are valid TrueType
 fonts and therefore normally use the .ttf extension. But OpenType
 fonts are never valid PostScript fonts.

 By far not every TrueType font is OpenType compatible: OT-TT fonts
 have their characters encoded in Unicode and may use OT features;
 normal TT fonts often use default/custom one-byte encodings.

Thanks for your explanation.

 The ordering in the TeX tree is probably a matter of taste, but you
 would even more confused to find .ttf fonts within the truetype as
 well as opentype folders, for you can't know (without tools) what's
 really in the font's guts. And don't you think it would be
 questionable to draw a line between Unicode encoded TrueType fonts
 with and without OpenType features?

OK, in some cases it makes sense to store them separated. But when I
download a font and don't know about its features, I first have to
analyse it to put it into the right folder.


 Greetlings from Lake Constance!
 Hraban

Cheers,
Eyke
___
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] Luatex fails to load a font

2008-09-17 Thread Wolfgang Schuster
On Wed, Sep 17, 2008 at 8:57 AM, holzminister
[EMAIL PROTECTED] wrote:
 2008/9/16 Henning Hraban Ramm [EMAIL PROTECTED]:
 Am 2008-09-16 um 20:29 schrieb holzminister:

 OpenType can internally use TrueType outlines or PostScript outlines
 (different algorithms). OpenType with PS outlines normally use
 the .otf extension; OpenType with TrueType outlines are valid TrueType
 fonts and therefore normally use the .ttf extension. But OpenType
 fonts are never valid PostScript fonts.

 By far not every TrueType font is OpenType compatible: OT-TT fonts
 have their characters encoded in Unicode and may use OT features;
 normal TT fonts often use default/custom one-byte encodings.

 Thanks for your explanation.

 The ordering in the TeX tree is probably a matter of taste, but you
 would even more confused to find .ttf fonts within the truetype as
 well as opentype folders, for you can't know (without tools) what's
 really in the font's guts. And don't you think it would be
 questionable to draw a line between Unicode encoded TrueType fonts
 with and without OpenType features?

 OK, in some cases it makes sense to store them separated. But when I
 download a font and don't know about its features, I first have to
 analyse it to put it into the right folder.

No, you don't have to do this.

*.ttf - fonts/truetype
*.otf - fonts/opentype

You could also use them from your OS font directory (this is what I did).

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] The problem of updating context manually using cont-tmf.zip

2008-09-17 Thread Thomas A. Schmitz

On Sep 17, 2008, at 8:49 AM, Jianning Dong wrote:

 Hello everyone.

 I'm using TeXLive2008, and I have just updated my ConTeXt
 for Chinese supporting using the file downloaded from
 http://mirror.contextgarden.net/context/current/cont-tmf.zip.

 I just unzipped it into texmf-local and execute the command:
texmfstart texexec --make --all

 I think everything is OK, but the problem comes. The version of  
 ConTeXt
 is still 2008.05.21 15:21:

 context --version

 MtxRun | main context file: /usr/local/texlive/2008/texmf-dist/tex/ 
 context/base/context.tex
 MtxRun | current version  : 2008.05.21 15:21

 I don't know the exactly meaning of main context file. I think it  
 should be the file I just
 unzipped into /usr/local/texlive/texmf-local. The version of ConTeXt  
 should be 2008.08.05.

 Anyone can help me updating the ConTeXt?

The problem seems to be the order in which TeX searches and uses the  
various TEXMF trees. Can you post the output of

kpsewhich --expand-var='$TEXMF'

and of

kpsewhere context.tex

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] The problem of updating context manually using cont-tmf.zip

2008-09-17 Thread Jianning Dong
Here is the output:

kpsewhich --expand-var='$TEXMF'
{/home/ben/.texlive2008/texmf-config,/home/ben/.texlive2008/texmf-var,/home/ben/texmf,!!/usr/local/texlive/2008/texmf-config,!!/usr/local/texlive/2008/texmf-var,!!/usr/local/texlive/2008/texmf,!!/usr/local/texlive/2008/../texmf-local,!!/usr/local/texlive/2008/texmf-dist}

and

kpsewhere context.tex
/usr/local/texlive/2008/../texmf-local/tex/context/base/context.tex
/usr/local/texlive/2008/texmf-dist/tex/context/base/context.tex

but it seems that it's just OK.


 The problem seems to be the order in which TeX searches and uses the
 various TEXMF trees. Can you post the output of

 kpsewhich --expand-var='$TEXMF'

 and of

 kpsewhere context.tex

 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

 ___




-- 
Hello world!
Every day is a new day.
___
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] calling typescripts question

2008-09-17 Thread Alan Stone
In a project, environment, product, component structure, which of both
typescript calling methods is recommended and what makes it the recommended
method:

- \usettypescriptfile[sometypescriptfile] ? or
- \environment sometypescriptenvironment ?

-- 
Best,
Alan

* ConTeXt ver: 2008.09.10 14:01 MKIV fmt: 2008.9.14 int: english/english
* Windows XP Home SP3
___
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] Labelling figures

2008-09-17 Thread Hans Hagen
Wolfgang Schuster wrote:
 On Tue, Sep 16, 2008 at 4:28 PM, Hans Hagen [EMAIL PROTECTED] wrote:
 Wolfgang Schuster wrote:
 Hi all,

 any new news about my question below.

 Wolfgang

 On Fri, Jun 6, 2008 at 9:51 AM, Wolfgang Schuster
 [EMAIL PROTECTED] wrote:
 Hi,

 what is the best method to add labels to a figure; I want them not only on
 the figure but their position should be relative to the figure size.
 how about just using a layer ...
 
 And how could they help me, I want to pisition the label relative to
 the figure size with fraction of the figure width and heigth.
 
 I could write my own macros to do this but I hoped you have already
 something available to do this.

hm, i thought that you knew all those things -)

wikifyable ...

\definelayer[figure][width=\overlaywidth,height=\overlayheight]
\defineoverlay[figure][{\directsetup{figure}\tightlayer[figure]}]

\setupcolors[state=start]

\starttext

 \startsetups figure
 
\setlayerframed[figure][preset=rightbottom,x=.25\layerwidth,y=.25\layerheight]{HERE}
 \setlayerframed[figure][preset=leftbottom, 
x=.15\layerwidth,y=.35\layerheight]{THERE}
 \stopsetups

 
\externalfigure[cow][background={foreground,figure},width=4cm,height=8cm]

 \startsetups figure
 
\setlayerframed[figure][preset=righttop,x=.25\layerwidth,y=.25\layerheight]{MORE}
 
\setlayerframed[figure][preset=middle,foregroundcolor=green]{EVEN MORE}
 \stopsetups

 
\externalfigure[cow][background={foreground,figure},width=14cm,height=2cm]

 \defineexternalfigure[whatever][background={foreground,figure}]

 \startsetups figure
 
\setlayerframed[figure][preset=righttop,x=.25\layerwidth,y=.25\layerheight]{\red
 
MORE}
 
\setlayerframed[figure][preset=middle,foregroundcolor=green]{EVEN MORE}
 \stopsetups

 \externalfigure[cow][whatever][width=14cm,height=4cm]

\stoptext



-
   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] The problem of updating context manually using cont-tmf.zip

2008-09-17 Thread Jianning Dong
Now I'm using ctxtools to update automatically on another machine,
 but the error occurs:
$context --version
Should I create the cache path /home/ben? [yes|no] [no] yes

fatal error: there is no valid (writable) cache path defined

I'm sure that /home/ben is a writable directory, so I think it's a bug.
Both ctxtools and my hand cannot handle the updating job correctly.
Perhaps the only way for me to use newer ConTeXt is installing the
ConTeXt minimal.
-- 
Hello world!
Every day is a new day.
___
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] Luatex fails to load a font

2008-09-17 Thread holzminister
That's a good idea. I will try this later on.

Best regards,
Eyke

2008/9/16 Hans Hagen [EMAIL PROTECTED]:
 here i have

 texmf-whatever/fonts/data/vendor/collection/somefont.somesuffix

 i.e. the whole lot organized by vendor/collection instead of per file type

 for that to work, you need to add texmf-whatever/fonts/data// to your
 relevant font paths in texmf.cnf




 -
   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] The problem of updating context manually using cont-tmf.zip

2008-09-17 Thread Hans Hagen
Jianning Dong wrote:
 Now I'm using ctxtools to update automatically on another machine,
  but the error occurs:
 $context --version
 Should I create the cache path /home/ben? [yes|no] [no] yes
 
 fatal error: there is no valid (writable) cache path defined
 
 I'm sure that /home/ben is a writable directory, so I think it's a bug.
 Both ctxtools and my hand cannot handle the updating job correctly.
 Perhaps the only way for me to use newer ConTeXt is installing the
 ConTeXt minimal.
 

if you're on unix, you need the latest luatex (the unix version had a 
bug with regards to interpreting the permission bits)

-
   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] The problem of updating context manually using cont-tmf.zip

2008-09-17 Thread Thomas A. Schmitz

On Sep 17, 2008, at 9:20 AM, Jianning Dong wrote:

 Here is the output:

 kpsewhich --expand-var='$TEXMF'
 {/home/ben/.texlive2008/texmf-config,/home/ben/.texlive2008/texmf- 
 var,/home/ben/texmf,!!/usr/local/texlive/2008/texmf-config,!!/usr/ 
 local/texlive/2008/texmf-var,!!/usr/local/texlive/2008/texmf,!!/usr/ 
 local/texlive/2008/../texmf-local,!!/usr/local/texlive/2008/texmf- 
 dist}

 and

 kpsewhere context.tex
 /usr/local/texlive/2008/../texmf-local/tex/context/base/context.tex
 /usr/local/texlive/2008/texmf-dist/tex/context/base/context.tex

 but it seems that it's just OK.


Excuse me, I wasn't paying attention. You're mixing two things here.  
 From your earlier mail:

 I just unzipped it into texmf-local and execute the command:
texmfstart texexec --make --all

This creates mkii formats.

 context --version

 MtxRun | main context file: /usr/local/texlive/2008/texmf-dist/tex/ 
 context/base/context.tex
 MtxRun | current version  : 2008.05.21 15:21

This uses mkiv. If you want to use mkiv, you need to update the mkiv  
database as well:

luatools --generate

and then possibly remake the mkiv format manually with luatools --ini  
--compile cont-en

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
___


[NTG-context] What do these LuaTeX errors mean ?

2008-09-17 Thread Alan Stone
! LuaTeX error ...text/tex/texmf-context/tex/context/base/font-otf.lua:1386:
table index is nil

and

! LuaTeX error ...text/tex/texmf-context/tex/context/base/font-otf.lua:1374:
attempt to index local 'glyph' (a nil value)

-- 
Best,
Alan

* ConTeXt ver: 2008.09.10 14:01 MKIV fmt: 2008.9.14 int: english/english
* Windows XP Home SP3
___
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] What do these LuaTeX errors mean ?

2008-09-17 Thread Hans Hagen
Alan Stone wrote:
 ! LuaTeX error ...text/tex/texmf-context/tex/context/base/font-otf.lua:1386:
 table index is nil
 
 and
 
 ! LuaTeX error ...text/tex/texmf-context/tex/context/base/font-otf.lua:1374:
 attempt to index local 'glyph' (a nil value)

what font, and what test file ...


-
   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] What do these LuaTeX errors mean ?

2008-09-17 Thread Alan Stone
palatino linotype
! LuaTeX error ...text/tex/texmf-context/tex/context/base/font-otf.lua:1386:
table index is nil.

dejavu serif
! LuaTeX error ...text/tex/texmf-context/tex/context/base/font-otf.lua:1374:
attempt to index local 'glyph' (a nil value).

Test files in attachment.

texmfstart texexec --lua testfile

-- 
Best,
Alan

* ConTeXt ver: 2008.09.10 14:01 MKIV fmt: 2008.9.14 int: english/english
* Windows XP Home SP3

On Wed, Sep 17, 2008 at 12:05 PM, Hans Hagen [EMAIL PROTECTED] wrote:

 Alan Stone wrote:
  ! LuaTeX error
 ...text/tex/texmf-context/tex/context/base/font-otf.lua:1386:
  table index is nil
 
  and
 
  ! LuaTeX error
 ...text/tex/texmf-context/tex/context/base/font-otf.lua:1374:
  attempt to index local 'glyph' (a nil value)

 what font, and what test file ...



test_plt.tex
Description: TeX document


test_djvsr.tex
Description: TeX document
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] What do these LuaTeX errors mean ?

2008-09-17 Thread Hans Hagen
Alan Stone wrote:
 palatino linotype
 ! LuaTeX error ...text/tex/texmf-context/tex/context/base/font-otf.lua:1386:
 table index is nil.

what fonts ... i normally use palatino nova which seesm to be ok; the 
old palatinos also run ok

\starttext

\def\TestMe #1 {{\definedfont[file:#1*default]palatino linotype 
\detokenize{#1}\par}}

\TestMe lte50001.ttf
\TestMe lte50002.ttf
\TestMe lte50003.ttf
\TestMe lte50004.ttf
\TestMe lte52168.ttf
\TestMe lte52169.ttf
\TestMe lte52170.ttf
\TestMe lte52171.ttf
\TestMe lte52172.ttf
\TestMe lte52173.ttf
\TestMe pobio___.ttf
\TestMe pobos___.ttf
\TestMe poios___.ttf
\TestMe posc.ttf

\stoptext

 dejavu serif
 ! LuaTeX error ...text/tex/texmf-context/tex/context/base/font-otf.lua:1374:
 attempt to index local 'glyph' (a nil value).

i remember that there was something fishy with those fonts

-
   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] What do these LuaTeX errors mean ?

2008-09-17 Thread Alan Stone
On Wed, Sep 17, 2008 at 12:55 PM, Hans Hagen [EMAIL PROTECTED] wrote:

 Alan Stone wrote:
  palatino linotype
  ! LuaTeX error
 ...text/tex/texmf-context/tex/context/base/font-otf.lua:1386:
  table index is nil.

 what fonts ... i normally use palatino nova which seesm to be ok;


Where to get this ?


 the
 old palatinos also run ok

 \starttext

 \def\TestMe #1 {{\definedfont[file:#1*default]palatino linotype
 \detokenize{#1}\par}}

 \TestMe lte50001.ttf
 \TestMe lte50002.ttf
 \TestMe lte50003.ttf
 \TestMe lte50004.ttf
 \TestMe lte52168.ttf
 \TestMe lte52169.ttf
 \TestMe lte52170.ttf
 \TestMe lte52171.ttf
 \TestMe lte52172.ttf
 \TestMe lte52173.ttf
 \TestMe pobio___.ttf
 \TestMe pobos___.ttf
 \TestMe poios___.ttf
 \TestMe posc.ttf

 \stoptext


None of these *.ttf are present.

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

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


[NTG-context] Interesting Bug with LuaTex, \setfontfeature{oldstyle}, colors and tikz

2008-09-17 Thread holzminister
Hi!

I wanted to use colors in my tikz-graphics. The following example
gives a nice red line with texexec:


\enableregime[utf-8]
\mainlanguage [de]
\setupcolors[state=start]

\usemodule[tikz]

\definecolor[zeug][r=1, g=0, b=0]

\starttext

\starttikzpicture
 \draw [zeug, line width=1ex, cap=round] (-7.65cm,-1mm) -- 
(7.65cm,-1mm);
\stoptikzpicture

\stoptext


When I compile my document with texexec --lua I get a black line.

Adding \setfontfeature{oldstyle} to the preamble causes texexec
--lua to break with a failure.


Package pgfbase: Error! Unsupported color model `'. Sorry.
error: ...text/tex/texmf-context/tex/context/base/font-otf.lua:1998:
attempt to index local 'tfmdata' (a nil value)
.
\endpgfpicture ... [EMAIL PROTECTED] }\endgroup \hss \egroup
  [EMAIL PROTECTED] \endgrou...


Does anyone know how this comes?

Regards,
Eyke
___
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] Luatex fails to load a font

2008-09-17 Thread holzminister
How do you do that? Added the relevant font pathes to texmf.cnf?

Cheers,
Eyke


2008/9/17 Wolfgang Schuster [EMAIL PROTECTED]:
 On Wed, Sep 17, 2008 at 8:57 AM, holzminister
 [EMAIL PROTECTED] wrote:


 No, you don't have to do this.

 *.ttf - fonts/truetype
 *.otf - fonts/opentype

 You could also use them from your OS font directory (this is what I did).

 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] Luatex fails to load a font

2008-09-17 Thread Wolfgang Schuster
On Wed, Sep 17, 2008 at 2:29 PM, holzminister
[EMAIL PROTECTED] wrote:

 No, you don't have to do this.

 *.ttf - fonts/truetype
 *.otf - fonts/opentype

 You could also use them from your OS font directory (this is what I did).

 How do you do that? Added the relevant font pathes to texmf.cnf?

This depends on your system, on windows you could place them in
c:\windows\fonts and context finds them, on a Mac you could put them
in your local font directory and the y are also found. On linux you could
set the OSFONTDIR variable with the path to your font directory.

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] What do these LuaTeX errors mean ?

2008-09-17 Thread Hans Hagen
Alan Stone wrote:
 On Wed, Sep 17, 2008 at 12:55 PM, Hans Hagen [EMAIL PROTECTED] wrote:
 
 Alan Stone wrote:
 palatino linotype
 ! LuaTeX error
 ...text/tex/texmf-context/tex/context/base/font-otf.lua:1386:
 table index is nil.
 what fonts ... i normally use palatino nova which seesm to be ok;
 
 
 Where to get this ?

http://www.linotype.com/searchresult?q=palatino

 
 the
 old palatinos also run ok

 \starttext

 \def\TestMe #1 {{\definedfont[file:#1*default]palatino linotype
 \detokenize{#1}\par}}

 \TestMe lte50001.ttf
 \TestMe lte50002.ttf
 \TestMe lte50003.ttf
 \TestMe lte50004.ttf
 \TestMe lte52168.ttf
 \TestMe lte52169.ttf
 \TestMe lte52170.ttf
 \TestMe lte52171.ttf
 \TestMe lte52172.ttf
 \TestMe lte52173.ttf
 \TestMe pobio___.ttf
 \TestMe pobos___.ttf
 \TestMe poios___.ttf
 \TestMe posc.ttf

 \stoptext
 
 
 None of these *.ttf are present.

so what files are used then in your case?

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] The problem of updating context manually using cont-tmf.zip

2008-09-17 Thread Jianning Dong
Thank you all.
As Hans said, it's a bug of luatex. I should update it first.
-- 
Hello world!
Every day is a new day.
___
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] What do these LuaTeX errors mean ?

2008-09-17 Thread Alan Stone
On Wed, Sep 17, 2008 at 2:49 PM, Hans Hagen [EMAIL PROTECTED] wrote:

 Alan Stone wrote:
  On Wed, Sep 17, 2008 at 12:55 PM, Hans Hagen [EMAIL PROTECTED] wrote:
 
  Alan Stone wrote:
  palatino linotype
  ! LuaTeX error
  ...text/tex/texmf-context/tex/context/base/font-otf.lua:1386:
  table index is nil.
  what fonts ... i normally use palatino nova which seesm to be ok;
 
 
  Where to get this ?

 http://www.linotype.com/searchresult?q=palatino


Thanks Hans.


 
  the
  old palatinos also run ok
 
  \starttext
 
  \def\TestMe #1 {{\definedfont[file:#1*default]palatino linotype
  \detokenize{#1}\par}}
 
  \TestMe lte50001.ttf
  \TestMe lte50002.ttf
  \TestMe lte50003.ttf
  \TestMe lte50004.ttf
  \TestMe lte52168.ttf
  \TestMe lte52169.ttf
  \TestMe lte52170.ttf
  \TestMe lte52171.ttf
  \TestMe lte52172.ttf
  \TestMe lte52173.ttf
  \TestMe pobio___.ttf
  \TestMe pobos___.ttf
  \TestMe poios___.ttf
  \TestMe posc.ttf
 
  \stoptext
 
 
  None of these *.ttf are present.

 so what files are used then in your case?


It doesn't compile. See attachment.


 --
 Best,
 Alan

 * ConTeXt ver: 2008.09.10 14:01 MKIV fmt: 2008.9.14 int: english/english
 * Windows XP Home SP3



test_plt-old.log
Description: Binary data
___
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] calling typescripts question

2008-09-17 Thread Aditya Mahajan
On Wed, 17 Sep 2008, Alan Stone wrote:

 In a project, environment, product, component structure, which of both
 typescript calling methods is recommended and what makes it the recommended
 method:

 - \usettypescriptfile[sometypescriptfile] ? or
 - \environment sometypescriptenvironment ?

I would suggest \usetypescriptfile inside your environment file.

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] The problem of updating context manually using cont-tmf.zip

2008-09-17 Thread Aditya Mahajan
On Wed, 17 Sep 2008, Thomas A. Schmitz wrote:


 On Sep 17, 2008, at 9:20 AM, Jianning Dong wrote:

 Here is the output:

 kpsewhich --expand-var='$TEXMF'
 {/home/ben/.texlive2008/texmf-config,/home/ben/.texlive2008/texmf-
 var,/home/ben/texmf,!!/usr/local/texlive/2008/texmf-config,!!/usr/
 local/texlive/2008/texmf-var,!!/usr/local/texlive/2008/texmf,!!/usr/
 local/texlive/2008/../texmf-local,!!/usr/local/texlive/2008/texmf-
 dist}

 and

 kpsewhere context.tex
 /usr/local/texlive/2008/../texmf-local/tex/context/base/context.tex
 /usr/local/texlive/2008/texmf-dist/tex/context/base/context.tex

 but it seems that it's just OK.


 Excuse me, I wasn't paying attention. You're mixing two things here.
 From your earlier mail:

 I just unzipped it into texmf-local and execute the command:
texmfstart texexec --make --all

 This creates mkii formats.

You also need to run sudo texhash (sudo mktexlsr) before creating mkii 
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
___


[NTG-context] Keeping section head with index

2008-09-17 Thread richard . stephens

I want to put an index in its own section using

\section{Index}
\placeindex

I cannot use \completeindex because that starts a new chapter, not section.
Unfortunately, the header often gets separated from the index, being left
as the last line on the page.
I searched the mail archive and found a suggestion to use:

\setuphead[section][before={\testpage[4]}]

but  this affects the vertical spacing of all section heads.  Can anyone
either:
1) suggest an alternative way of keeping the section head with the index,
or
2) show me how to maintain the vertical spacing of headers when using the
above construct.

Thanks very much.

Richard

___
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] What do these LuaTeX errors mean ?

2008-09-17 Thread Hans Hagen
Alan Stone wrote:

 
 It doesn't compile. See attachment.

so you don't have those fonts; and i have no clue what palatino fonts 
you have then (i have both the traditional palatino and the nova 
collection)

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] What do these LuaTeX errors mean ?

2008-09-17 Thread Alan Stone
On Wed, Sep 17, 2008 at 3:57 PM, Hans Hagen [EMAIL PROTECTED] wrote:

 Alan Stone wrote:

 
  It doesn't compile. See attachment.

 so you don't have those fonts; and i have no clue what palatino fonts
 you have then (i have both the traditional palatino and the nova
 collection)

 Hans


Is the traditional palatino supposed to be present in the context minimal
installation?


  --
 Best,
 Alan

 * ConTeXt ver: 2008.09.10 14:01 MKIV fmt: 2008.9.14 int: english/english
 * Windows XP Home SP3

___
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] The problem of updating context manually using cont-tmf.zip

2008-09-17 Thread Jianning Dong
Thank you, Aditya.
I have updated successfully after the update of luatex.
Now I have generated mkiv successfully. I think mkiv is better.

On Wed, Sep 17, 2008 at 9:53 PM, Aditya Mahajan [EMAIL PROTECTED] wrote:

 On Wed, 17 Sep 2008, Thomas A. Schmitz wrote:

 
  On Sep 17, 2008, at 9:20 AM, Jianning Dong wrote:
 
  Here is the output:
 
  kpsewhich --expand-var='$TEXMF'
  {/home/ben/.texlive2008/texmf-config,/home/ben/.texlive2008/texmf-
  var,/home/ben/texmf,!!/usr/local/texlive/2008/texmf-config,!!/usr/
  local/texlive/2008/texmf-var,!!/usr/local/texlive/2008/texmf,!!/usr/
  local/texlive/2008/../texmf-local,!!/usr/local/texlive/2008/texmf-
  dist}
 
  and
 
  kpsewhere context.tex
  /usr/local/texlive/2008/../texmf-local/tex/context/base/context.tex
  /usr/local/texlive/2008/texmf-dist/tex/context/base/context.tex
 
  but it seems that it's just OK.
 
 
  Excuse me, I wasn't paying attention. You're mixing two things here.
  From your earlier mail:
 
  I just unzipped it into texmf-local and execute the command:
 texmfstart texexec --make --all
 
  This creates mkii formats.

 You also need to run sudo texhash (sudo mktexlsr) before creating mkii
 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

 ___




-- 
Hello world!
Every day is a new day.
___
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] What do these LuaTeX errors mean ?

2008-09-17 Thread Hans Hagen
Alan Stone wrote:
 On Wed, Sep 17, 2008 at 3:57 PM, Hans Hagen [EMAIL PROTECTED] wrote:
 
 Alan Stone wrote:

 It doesn't compile. See attachment.
 so you don't have those fonts; and i have no clue what palatino fonts
 you have then (i have both the traditional palatino and the nova
 collection)

 Hans

 
 Is the traditional palatino supposed to be present in the context minimal
 installation?

no, it's commercial, there is only the palladio in tex distributions

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] Type-setting filenames

2008-09-17 Thread richard . stephens

I am using \filename to type-set filenames.  Some of these are very  long
(greater than 30 characters) and overhang
the right hand margin, sometimes even disappearing off the edge of the
page.  The first line break is just before the
full stop.  There are usually plenty of spaces in the names.  Can I get
ConTeXt to put a line-break into filenames?

Thanks,

Richard

___
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] What do these LuaTeX errors mean ?

2008-09-17 Thread Aditya Mahajan
On Wed, 17 Sep 2008, Hans Hagen wrote:

 Alan Stone wrote:
 On Wed, Sep 17, 2008 at 3:57 PM, Hans Hagen [EMAIL PROTECTED] wrote:

 Alan Stone wrote:

 It doesn't compile. See attachment.
 so you don't have those fonts; and i have no clue what palatino fonts
 you have then (i have both the traditional palatino and the nova
 collection)

 Hans


 Is the traditional palatino supposed to be present in the context minimal
 installation?

 no, it's commercial, there is only the palladio in tex distributions

Slightly off topic, but what math fonts do you use with Palatino. I am 
using TeX Gyre Pagella and pxfonts, but the pxfonts have started to look 
ugly. The other free option, mathpazo, only contains greek, and all the 
symbols are borrowed from CM. So, I am thinking of using a commericial 
math font, and PA Math from micropress seems to be the only option. But it 
is expensive at $155. Are there other math fonts that I could use with 
Palatino (Euler is not an option since it looks too informal).

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] Type-setting filenames

2008-09-17 Thread Thomas A. Schmitz

On Sep 17, 2008, at 4:20 PM, [EMAIL PROTECTED] wrote:

 I am using \filename to type-set filenames.  Some of these are very   
 long
 (greater than 30 characters) and overhang
 the right hand margin, sometimes even disappearing off the edge of the
 page.  The first line break is just before the
 full stop.  There are usually plenty of spaces in the names.  Can I  
 get
 ConTeXt to put a line-break into filenames?

Did you try \hyphenatedfilename ?

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] What do these LuaTeX errors mean ?

2008-09-17 Thread Hans Hagen
Aditya Mahajan wrote:
 On Wed, 17 Sep 2008, Hans Hagen wrote:
 
 Alan Stone wrote:
 On Wed, Sep 17, 2008 at 3:57 PM, Hans Hagen [EMAIL PROTECTED] wrote:

 Alan Stone wrote:

 It doesn't compile. See attachment.
 so you don't have those fonts; and i have no clue what palatino fonts
 you have then (i have both the traditional palatino and the nova
 collection)

 Hans

 Is the traditional palatino supposed to be present in the context minimal
 installation?
 no, it's commercial, there is only the palladio in tex distributions
 
 Slightly off topic, but what math fonts do you use with Palatino. I am 
 using TeX Gyre Pagella and pxfonts, but the pxfonts have started to look 
 ugly. The other free option, mathpazo, only contains greek, and all the 
 symbols are borrowed from CM. So, I am thinking of using a commericial 
 math font, and PA Math from micropress seems to be the only option. But it 
 is expensive at $155. Are there other math fonts that I could use with 
 Palatino (Euler is not an option since it looks too informal).

wait till tex gyre math shows up .. i wouldn't invest in a type1 font 
any more

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] modes questions

2008-09-17 Thread Alan Stone
On Thu, Sep 11, 2008 at 12:46 PM, Hans Hagen [EMAIL PROTECTED] wrote:

 Alan Stone wrote:
  Hi,
 
  (1) --mode=modelist
 
  (1.1) Is there a limit to the number of modes in modelist ?

 no, just what the console and memory permit

  (1.2) Is there a way to call the modelist and submit it to conditional
  testing within ConTeXt ? For example, to lookup (true/false) the
  presence of modes containing/starting with (an) alphannumeric
  string(s) ?

 \doifmodeelse{somemode} { } { } etc etc etc

  (2) --modefile=file
 
  (2.1) What's the syntax of a modefile ?

 this concerns examodes stuff that we use for process control at pragma

  (2.2) How does ConTeXt handle a modefile ? Are the modes parsed into a
  modelist ( re: question 1.2 ) ?

 best use ctx files instead, like in

 == somefile.ctx ===

 ?xml version='1.0' standalone='yes'?

 ctx:job
 ctx:preprocess/
 ctx:flags
 ctx:flagtexengine=luatex/ctx:flag
 ctx:flaginterface=en/ctx:flag
 /ctx:flags
 ctx:process
 ctx:resources
 ctx:modeproofing/ctx:mode
 ctx:environmentsomestyle.tex/ctx:environment
 /ctx:resources
 /ctx:process
 ctx:postprocess/
 /ctx:job

 texexec  --ctx=somefile


As I'm not familiar with XML, neither using ConTeXt with XML...

What if I want to pass a list of modes: mode1, mode2, mode3,  ?


-- 
Best,
Alan

* ConTeXt ver: 2008.09.10 14:01 MKIV fmt: 2008.9.14 int: english/english
* Windows XP Home SP3
___
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] Hyphenating hyperlinks

2008-09-17 Thread Mohamed Bana
Steffen Wolfrum context at st.estfiles.de writes:

 
 And there is also \hyphenatedurl{...}
 
 Steffen
 

Ok that works great, I take it that this is the canonical way to use hyphenated
urls and that it's not possible to hyphenate using \from[key]?

Mohamed

___
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] mkii colour problem

2008-09-17 Thread Mohamed Bana
Jano Kula jano.kula at tiscali.cz writes:

 
 Not sure what you mean. I see nothing strange: mkii and mkiv give the 
 same results. Upgrade should help.
 
 Jano

Hi can you upload the pdf resulting from http://pastebin.com/m4dd31559 ,
http://pastebin.com/m70fa91b6 seems to work fine as the links are in red.  You
should be able to upload it on http://www.filebin.ca/.

Mohamed


___
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] modes questions

2008-09-17 Thread Hans Hagen
Alan Stone wrote:
 On Thu, Sep 11, 2008 at 12:46 PM, Hans Hagen [EMAIL PROTECTED] wrote:
 
 Alan Stone wrote:
 Hi,

 (1) --mode=modelist

 (1.1) Is there a limit to the number of modes in modelist ?
 no, just what the console and memory permit

 (1.2) Is there a way to call the modelist and submit it to conditional
 testing within ConTeXt ? For example, to lookup (true/false) the
 presence of modes containing/starting with (an) alphannumeric
 string(s) ?
 \doifmodeelse{somemode} { } { } etc etc etc

 (2) --modefile=file

 (2.1) What's the syntax of a modefile ?
 this concerns examodes stuff that we use for process control at pragma

 (2.2) How does ConTeXt handle a modefile ? Are the modes parsed into a
 modelist ( re: question 1.2 ) ?
 best use ctx files instead, like in

 == somefile.ctx ===

 ?xml version='1.0' standalone='yes'?

 ctx:job
 ctx:preprocess/
 ctx:flags
 ctx:flagtexengine=luatex/ctx:flag
 ctx:flaginterface=en/ctx:flag
 /ctx:flags
 ctx:process
 ctx:resources
 ctx:modeproofing/ctx:mode
 ctx:environmentsomestyle.tex/ctx:environment
 /ctx:resources
 /ctx:process
 ctx:postprocess/
 /ctx:job

 texexec  --ctx=somefile
 
 
 As I'm not familiar with XML, neither using ConTeXt with XML...
 
 What if I want to pass a list of modes: mode1, mode2, mode3,  ?

just add more

ctx:modeanothermode/ctx:mode
ctx:modeandanotherone/ctx:mode


-
   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] The most Tex friendly distribution?

2008-09-17 Thread Peter Münster
On Mon, Sep 15 2008, Armando Martins wrote:
 
 Any idea about the most Tex-friendly Linux distribution, please?
 Thomas Schmitz told me OpenSuse (which I 've been using for a year...) is  
 not that Tex-friendly...

Hello,
What's the issue with suse? I'm using it since 1995 without problems.
Now I'm just adding the minimals to /opt/context to have up to date luatex
and context versions. When I need latex, I use the suse texlive
distribution.
Cheers, Peter

-- 
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] The most Tex friendly distribution?

2008-09-17 Thread Arthur Reutenauer
 http://archive.contextgarden.net/message/20080320.203129.aec3fb49.en.html

  Argh :-)

  Setting TEXINPUTS is not at all friendly, that's for sure.

Arthur
___
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] The most Tex friendly distribution?

2008-09-17 Thread Peter Münster
On Wed, Sep 17 2008, Thomas A. Schmitz wrote:
 
 http://archive.contextgarden.net/message/20080320.203129.aec3fb49.en.html

You're right, but I've to protect suse a bit: this was only an issue with a
very new MKIV (new logic how to use TEXINPUTS), and suse could really not
know about that. TEXINPUTS was quite useful, because every user could put
his own personal directory in it, and there did not need to be an ls-R
file.

Cheers, Peter

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