Re: [NTG-context] error updating beta WAS: beta

2011-02-01 Thread Hans Hagen

On 1-2-2011 1:40, Marco wrote:

Hi,

I get the following error while updating minimals:

MTXrun | run: texexec --make --all --fast --xetex cont-nl cont-enTeXExec | 
using search method 'kpsewhich'
TeXExec | using existing database
TeXExec | using tex engine xetex
TeXExec | using tex format path /nonesuch/texmf/web2c/xetex
TeXExec | generating tex format cont-nl.mkii
This is XeTeX, Version 3.1415926-2.2-0.9995.2 (Web2C 7.5.6) (INITEX)
entering extended mode
! I can't find file `cont-nl.mkii'.
*  *cont-nl.mkii

(Press Enter to retry, or Control-D to exit)
Please type another input file name:


can you run mktexlsr manually?

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

2011-02-01 Thread Hans Hagen

On 1-2-2011 6:53, Vnpenguin wrote:

On Mon, Jan 31, 2011 at 22:28, Hans Hagenpra...@wxs.nl  wrote:

On 31-1-2011 7:11, Hans van der Meer wrote:


Thanks for changing things that way between one and the other. I am
starting to get a bit choleric about all things that constantly seem broken
with the next update. Sorry for the sour note but these are costing me hours
to iron out, time I do not have at the moment.


well, no one forces you to update betas

also, as long as we're in transition to mkiv you can expect an occasional
hickup, after all, i have only a few machines to test


It's better to have someone could give you a hand.
In the long term, something like Release Team would be a must for
ConTeXt development. With this team, we can do some Unit testing for
each release in order to minimize problem.


to some extend this is what the beta is for ... because mkiv is a moving 
target it sort of replaces the current, but if i can imagine that users 
wait a few days with updating till there are no problems reported


concerning testing ... there is a slowly growing test suite, and i guess 
that at some point Luigi will run it alongside his module documentation 
runs .. you can offer him help with that (sanjoy also has made some test 
setup)


in this particular case (adaption of mtxrun) testing is somewhat 
problematic as we need a test-minimal alongside the regular one and that 
might happen when mojca has set up the new machine


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

2011-02-01 Thread luigi scarso
On Tue, Feb 1, 2011 at 9:43 AM, Hans Hagen pra...@wxs.nl wrote:
 On 1-2-2011 6:53, Vnpenguin wrote:

 On Mon, Jan 31, 2011 at 22:28, Hans Hagenpra...@wxs.nl  wrote:

 On 31-1-2011 7:11, Hans van der Meer wrote:

 Thanks for changing things that way between one and the other. I am
 starting to get a bit choleric about all things that constantly seem
 broken
 with the next update. Sorry for the sour note but these are costing me
 hours
 to iron out, time I do not have at the moment.

 well, no one forces you to update betas

 also, as long as we're in transition to mkiv you can expect an occasional
 hickup, after all, i have only a few machines to test

 It's better to have someone could give you a hand.
 In the long term, something like Release Team would be a must for
 ConTeXt development. With this team, we can do some Unit testing for
 each release in order to minimize problem.

 to some extend this is what the beta is for ... because mkiv is a moving
 target it sort of replaces the current, but if i can imagine that users wait
 a few days with updating till there are no problems reported

 concerning testing ... there is a slowly growing test suite, and i guess
 that at some point Luigi will run it alongside his module documentation runs
 .. you can offer him help with that (sanjoy also has made some test setup)
...mea culpa
I'm busy with bachotex material --- and a wrong Ubuntu LTS upgrade...
-- 
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] problem with \date in beta 2011.01.31 16:59

2011-02-01 Thread Hans Hagen

On 31-1-2011 11:29, Florian Wobbe wrote:

\date still used to work in beta 2011.01.26 11:02 now I get only v!. What is 
wrong?

\starttext
\date, \date[][year,--,mm,--,dd]
\stoptext


fixed .. side effect of cleaning up some code


Thank you! I just noticed, that all numbers in front of the pdf bookmark 
entries have gone as well. Partitioned numbers of sections, subsections etc., 
have only the dot left.

\setupinteraction[state=start]
\placebookmarks[chapter,section,subsection]

\starttext
\chapter{A Chapter}
\section{A Section}
\subsection{The Subsection}
\stoptext


line 551 in core-con.lua should be

return n -- instead of context(n)

(i.e. the converters now return converted numbers and another function 
does the printing to tex)


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] showing and hiding layers

2011-02-01 Thread Wolfgang Schuster

Am 31.01.2011 um 16:37 schrieb Skip Collins:

 I am trying to create a layer to contain letterhead graphics. I would
 like the letterhead to appear by default when a pdf is opened and
 printed. But I would also like to be able to hide the letterhead layer
 in Acrobat when printing on pre-printed paper.
 
 My simplistic, always-displayed letterhead looks like:
 
 %%% start code %%%
 \definelayer[letterhead]
[x=0in,y=0in,width=\paperwidth,height=\paperheight,state=start]
 \setlayer[letterhead]
 [hoffset=1in,voffset=0.5in]
 {LetterHeadMark}
 \setupbackgrounds[page][background={letterhead}]
 \starttext
 Hello, World!
 \stoptext
 %%% stop code %%%
 
 But there is no obvious way to turn this off when printing.
 Contextgarden suggests using \defineproperty to create a pdf layer. I
 can show and hide this layer in acrobat, but it always opens up
 hidden. I am also not sure how to place the letterhead exactly on the
 page using this method.
 
 Any suggestions?

In MkIV \startproperty is obsolete and you should use \startviewerlayer:

\defineviewerlayer[letterhead]

\definelayer
  [letterhead]
  [width=\paperwidth,
   height=\paperheight]

\setlayer
  [letterhead]
  [x=1in,
   y=0.5in]
  {\startviewerlayer[letterhead]%
   LetterHeadMark
   \stopviewerlayer}

\setupbackgrounds[page][background=letterhead]

\starttext
Hello, World!
\stoptext

Wolfgang

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

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


Re: [NTG-context] error updating beta WAS: beta

2011-02-01 Thread Vedran Miletić
2011/2/1 Hans Hagen pra...@wxs.nl

 On 1-2-2011 1:40, Marco wrote:

 Hi,

 I get the following error while updating minimals:

 MTXrun | run: texexec --make --all --fast --xetex cont-nl cont-enTeXExec |
 using search method 'kpsewhich'
 TeXExec | using existing database
 TeXExec | using tex engine xetex
 TeXExec | using tex format path /nonesuch/texmf/web2c/xetex
 TeXExec | generating tex format cont-nl.mkii
 This is XeTeX, Version 3.1415926-2.2-0.9995.2 (Web2C 7.5.6) (INITEX)
 entering extended mode
 ! I can't find file `cont-nl.mkii'.
 *  *cont-nl.mkii

 (Press Enter to retry, or Control-D to exit)
 Please type another input file name:


 can you run mktexlsr manually?

 Hans


Same here.

Running mktexlsr manually works, but it doesn't help next ./first-setup run.

Regards,

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

2011-02-01 Thread Alan BRASLAU
My update proceedure systematically maintains a previous,
presumably working, copy of the minimals. For this, I run
a script:

#!/bin/sh
cd /usr/local/context
cd beta
echo *** move current to previous ***
rsync -av --delete --progress . ../previous
echo *** update beta ***
rsync -ptv --progress rsync://contextgarden.net/minimals/setup/first-setup.sh .
./first-setup.sh --extras=all | tee first-setup.log

This way I limit problems while still working with the latest, greatest
beta version of ConTeXt. When things go wrong with the update,
I simply move beta to new (or something else) and previous to beta,
my PATH being set to use beta.

Perhaps others can suggest a better working proceedure.

Of course, when pressed for time, I postpone updating to Hans' latest
so as not to be distracted from the work at hand.

Alan


On Tuesday 01 February 2011 09:43:00 Hans Hagen wrote:
 On 1-2-2011 6:53, Vnpenguin wrote:
  On Mon, Jan 31, 2011 at 22:28, Hans Hagenpra...@wxs.nl  wrote:
  On 31-1-2011 7:11, Hans van der Meer wrote:
  Thanks for changing things that way between one and the other. I am
  starting to get a bit choleric about all things that constantly seem
  broken with the next update. Sorry for the sour note but these are
  costing me hours to iron out, time I do not have at the moment.
  
  well, no one forces you to update betas
  
  also, as long as we're in transition to mkiv you can expect an
  occasional hickup, after all, i have only a few machines to test
  
  It's better to have someone could give you a hand.
  In the long term, something like Release Team would be a must for
  ConTeXt development. With this team, we can do some Unit testing for
  each release in order to minimize problem.
 
 to some extend this is what the beta is for ... because mkiv is a moving
 target it sort of replaces the current, but if i can imagine that users
 wait a few days with updating till there are no problems reported
 
 concerning testing ... there is a slowly growing test suite, and i guess
 that at some point Luigi will run it alongside his module documentation
 runs .. you can offer him help with that (sanjoy also has made some test
 setup)
 
 in this particular case (adaption of mtxrun) testing is somewhat
 problematic as we need a test-minimal alongside the regular one and that
 might happen when mojca has set up the new machine
 
 Hans
___
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] beta/problem with layers

2011-02-01 Thread Andreas Harder
Hi,

it seems there go something wrong with layers.


\definelayer[test-layer][width=\paperwidth,height=\paperheight]

\setlayer[test-layer][preset=middle]{why is this text not visible?}

\setlayerframed
  [test-layer] % [preset=topright]
  [width=5cm,height=3cm,background=color,backgroundcolor=red]
  {why is this text not visible?}

\defineoverlay[test-overlay][\framed{test-overlay}]

\setupbackgrounds[page][background={test-layer,test-overlay}]

\starttext
  \page[empty]
\stoptext


Greeting
Andreas
___
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] beta

2011-02-01 Thread Alan BRASLAU
! LuaTeX error ...xt/beta/tex/texmf-context/tex/context/base/l-dir.lua:67: 
cannot open /home/braslau/.fonts/: No such file or directory

This shouldn't happen. After mkdir $HOME/.fonts, context runs successfully.
Well, sort-of. luatex hangs on page 141, trying to place an external figure:

C! Interruption.
\startlocalframed ...g {\framedparameter \c!frame 
  }\edef \@@locallocation 
{\...
\externalfigurereplacement ...!frame =\@@efframe ]
   {\tt \tfxx \nohyphens 
nam...
\finishexternalfigure ...urefileoriginal {unknown}
  \else \the \externalfigure...
\calculateexternalfigure ...\finishexternalfigure 
  \fi \ctxlua {figures.pop()}
\dodoplaceexternalfigure ...[][#1][#2][#3][#4][#5]
  \naturalvbox attr 
\imageat...
\doexternalfigure ...value {\??ef \??ef #1}[#3]}}}
  \globallet 
\currentresourc...
...
l.292 ... [Clichés0006_300] [width=.5\textwidth]}


Alan






On Tuesday 25 January 2011 09:40:39 Hans Hagen wrote:
 Hi,
 
 I uploaded a beta. Tho most important change is that mkii and mkiv are
 now completely separated, only a couple of modules and styles are shared.
 
 Another change is that language related information is now organized
 differently. Labels and such are in lang-txt.lua and easier to maintain.
 
 For those writing pretty printers: pluggable code is now under
 -imp-* i.e. the imp subnamespace. I have considered -base, -user etc
 but that would lead to too much testing. Users can put their extensions
 (when part of third party modules) under for instance
 buff-imp-t-somename which is unique enough. Anyway, by using an
 additional -imp- we have less change of clashing with core modules. Some
 more will probably follow.
 
 Hopefully all files are in the zip.
 
 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
 ___
 

-- 
Alan Braslau
CEA DSM-IRAMIS-SPEC
CNRS URA 2464
Orme des Merisiers
91191 Gif-sur-Yvette cedex FRANCE
tel: +33 1 69 08 73 15
fax: +33 1 69 08 87 86
mailto:alan.bras...@cea.fr

 .''`.
: :'  :
`. `'`
  `-
___
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] beta/problem with layers

2011-02-01 Thread Wolfgang Schuster

Am 01.02.2011 um 11:43 schrieb Andreas Harder:

 Hi,
 
 it seems there go something wrong with layers.

With the last beta context postpones font loading till \starttext.

As there is no font loaded the layer content is not visible,
move \starttext at the begin of the file and you can see the
layer text.

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

2011-02-01 Thread Hans Hagen

On 1-2-2011 11:51, Alan BRASLAU wrote:

! LuaTeX error ...xt/beta/tex/texmf-context/tex/context/base/l-dir.lua:67:
cannot open /home/braslau/.fonts/: No such file or directory


is this new? weird as nothing was changed there .. anyway, i added a check


This shouldn't happen. After mkdir $HOME/.fonts, context runs successfully.
Well, sort-of. luatex hangs on page 141, trying to place an external figure:


hard to say what happens there .. only that image?

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] error updating beta WAS: beta

2011-02-01 Thread Hans Hagen

On 1-2-2011 11:36, Vedran Miletić wrote:


Same here.

Running mktexlsr manually works, but it doesn't help next ./first-setup run..


i'll have a look at it (i only tested a luatex only tree sofar)

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] prevent gobbling of spaces when omitting optional argument

2011-02-01 Thread Wolfgang Schuster

Am 28.01.2011 um 23:24 schrieb Florian Wobbe:

 Hi,
 
 please consider the following minimal example:
 
 \def\before{\dodoubleempty\dobefore}%
 \def\dobefore[#1][#2]{before}
 
 \starttext
 \before[] after (should be: \before[]\ after without explicit \type{\ })\par
 \before[]after\par
 \before[][] after\par % this works
 \before[][]after\par
 \stoptext
 
 How can I prevent gobbling the following space, when the second optional 
 argument is not given (i.e. first line). The macro itself should not insert 
 space if the command is followed by any other character (2nd and 4th line).

With the last beta this does no longer happen and the space after the missing 
arguments remains.

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] beta/problem with layers

2011-02-01 Thread Andreas Harder

Am 01.02.2011 um 12:11 schrieb Wolfgang Schuster:

 
 Am 01.02.2011 um 11:43 schrieb Andreas Harder:
 
 Hi,
 
 it seems there go something wrong with layers.
 
 With the last beta context postpones font loading till \starttext.
 
 As there is no font loaded the layer content is not visible,
 move \starttext at the begin of the file and you can see the
 layer text.

Thanks Wolfgang, I forgot about that.

Andreas
___
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] \date format according to ISO 8601

2011-02-01 Thread Stefan Müller

Hi,

I wouldn't like the idea of displaying \date in ISO 8601 format. I'd 
rather prefer the human-readable version. The ISO 8601 is a standard for 
exchange of date and time-related data [1], not for text documents 
made for humans to read.


How to get what you want is explained here [2], I think. HTH.

[1] http://en.wikipedia.org/wiki/ISO_8601
[2] http://wiki.contextgarden.net/Reference/en/date

Best regards,
Stefan

On 01.02.2011 00:03, Marco wrote:

Hi,

in my opinion it makes sense to display the date in ISO 8601 format.

now:  \date  results in: January 31, 2011
ISO 8601: \date  would result in: 2011–01–31

In case Hans does not like this idea, is it possible to change it to make
ISO 8601 the default. Something like

\setupdate [format={year, –, mm, –, day}]

Regards
Marco

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

2011-02-01 Thread Jörg Hagmann

On 1/31/11 6:45 PM, Thomas Schmitz wrote:

and luatools --generate
gives the same result.



This has been deprecated for quite a while now; you have to run

mtxrun --generate
Does that mean that the instructions 
(http://wiki.contextgarden.net/ConTeXt_Minimals#Remaking_formats) have 
to be updated? There, both mtxrun --generate and luatools --generate 
are listed for making the mkiv format.


In any case, I haven't been able to install (update) the minimals in the 
last 3 months (on both OS X and ubuntu). MkII works, but context 
--version gives

MTXrun | main context file: unknown, 'context.mkiv' not found

And the log of running a test file contains:
-
MTXrun | warning: no format found, forcing remake (commandline driven)
...
MTXrun | resolvers: using given filetype 'tex'
MTXrun | resolvers: resolver: method=concatinators, how=tag, tag=file
MTXrun | resolvers: resolver: method=concatinators, how=tag, tag=file
MTXrun | resolvers: using given filetype 'tex'
MTXrun | no tex source file with name: cont-en (mkiv or tex)
MTXrun | error, no format found with name: cont-en, aborting
MTXrun | total runtime: 0.347
-

From the installation log:
--
MTXrun | forcing cache reload
MTXrun | resolvers: unknown configuration file 
'/Users/bonasia/texmf-local/texmfcnf.lua'
MTXrun | resolvers: unknown configuration file 
'/Users/bonasia/texmf-local/web2c/texmfcnf.lua'
MTXrun | resolvers: unknown configuration file 
'/Users/bonasia/texmf/texmfcnf.lua'
MTXrun | resolvers: unknown configuration file 
'/Users/bonasia/texmf/web2c/texmfcnf.lua'

MTXrun | resolvers: unknown configuration file '/Users/bonasia/texmfcnf.lua'
MTXrun | resolvers
MTXrun | resolvers: warning: no lua configuration files found
MTXrun | resolvers
MTXrun | resolvers
MTXrun | the resolver databases are not present or outdated
MTXrun | state: loaded
MTXrun | update: start
---

Thanks and regards, Jörg

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

2011-02-01 Thread luigi scarso
On Tue, Feb 1, 2011 at 1:42 PM, Jörg Hagmann joerg.hagm...@unibas.ch wrote:
 On 1/31/11 6:45 PM, Thomas Schmitz wrote:

 and     luatools --generate
 gives the same result.


 This has been deprecated for quite a while now; you have to run

 mtxrun --generate

 Does that mean that the instructions
 (http://wiki.contextgarden.net/ConTeXt_Minimals#Remaking_formats) have to be
 updated? There, both mtxrun --generate and luatools --generate are
 listed for making the mkiv format.

 In any case, I haven't been able to install (update) the minimals in the
 last 3 months (on both OS X and ubuntu).
hm so much time for me.
At least on January update  was almost retgular for me (mkiv)

 MTXrun | main context file: unknown, 'context.mkiv' not found
it can be a problem of cache corrupted; try to erase it and rebuild
with mtxrun --generate


-- 
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] error updating beta WAS: beta

2011-02-01 Thread luigi scarso
On Tue, Feb 1, 2011 at 12:35 PM, Hans Hagen pra...@wxs.nl wrote:
 On 1-2-2011 11:36, Vedran Miletić wrote:

 Same here.

 Running mktexlsr manually works, but it doesn't help next ./first-setup
 run..

 i'll have a look at it (i only tested a luatex only tree sofar)
seem related only to pdftex and xetex.
luatex seems ok.
-- 
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] error updating beta WAS: beta

2011-02-01 Thread luigi scarso
On Tue, Feb 1, 2011 at 1:51 PM, luigi scarso luigi.sca...@gmail.com wrote:
 i'll have a look at it (i only tested a luatex only tree sofar)
 seem related only to pdftex and xetex.
 luatex seems ok.
 --
 luigi

after
$mktexlsr

$texexec --make
builds all the pdftex formats

$texexec --make --engine=xetex
builds all the xetex formats


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

2011-02-01 Thread Jörg Hagmann



On 2/1/11 1:47 PM, luigi scarso wrote:

On Tue, Feb 1, 2011 at 1:42 PM, Jörg Hagmannjoerg.hagm...@unibas.ch  wrote:

On 1/31/11 6:45 PM, Thomas Schmitz wrote:

and luatools --generate
gives the same result.


This has been deprecated for quite a while now; you have to run

mtxrun --generate

Does that mean that the instructions
(http://wiki.contextgarden.net/ConTeXt_Minimals#Remaking_formats) have to be
updated? There, both mtxrun --generate and luatools --generate are
listed for making the mkiv format.

In any case, I haven't been able to install (update) the minimals in the
last 3 months (on both OS X and ubuntu).

hm so much time for me.
At least on January update  was almost retgular for me (mkiv)


MTXrun | main context file: unknown, 'context.mkiv' not found

it can be a problem of cache corrupted; try to erase it and rebuild
with mtxrun --generate

Didn't help (provided I deleted the right thing).
Thanks and regards, Jörg
___
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] beta

2011-02-01 Thread luigi scarso
On Tue, Feb 1, 2011 at 2:22 PM, Jörg Hagmann joerg.hagm...@unibas.ch wrote:
 Didn't help (provided I deleted the right thing).
Did you
$. setuptex
?

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

2011-02-01 Thread Jörg Hagmann



On 2/1/11 2:26 PM, luigi scarso wrote:

On Tue, Feb 1, 2011 at 2:22 PM, Jörg Hagmannjoerg.hagm...@unibas.ch  wrote:

Didn't help (provided I deleted the right thing).

Did you
$. setuptex

Sure. mkII is working.
___
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] beta

2011-02-01 Thread luigi scarso
On Tue, Feb 1, 2011 at 2:36 PM, Jörg Hagmann joerg.hagm...@unibas.ch wrote:
 Did you
 $. setuptex

 Sure. mkII is working.
and
$ kpsewhich context.mkiv
?
-- 
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] beta

2011-02-01 Thread Jörg Hagmann



On 2/1/11 2:42 PM, luigi scarso wrote:

On Tue, Feb 1, 2011 at 2:36 PM, Jörg Hagmannjoerg.hagm...@unibas.ch  wrote:

Did you
$. setuptex

Sure. mkII is working.

and
$  kpsewhich context.mkiv
?

/Users/bonasia/.context-new/tex/texmf-context/tex/context/base/context.mkiv
___
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] beta

2011-02-01 Thread luigi scarso
On Tue, Feb 1, 2011 at 2:46 PM, Jörg Hagmann joerg.hagm...@unibas.ch wrote:


 On 2/1/11 2:42 PM, luigi scarso wrote:

 On Tue, Feb 1, 2011 at 2:36 PM, Jörg Hagmannjoerg.hagm...@unibas.ch
  wrote:

 Did you
 $. setuptex

 Sure. mkII is working.

 and
 $  kpsewhich context.mkiv
 ?

 /Users/bonasia/.context-new/tex/texmf-context/tex/context/base/context.mkiv
^^^
this dot looks suspect... can you try without it, ie
 /Users/bonasia/context-new...
and then
$. setuptex
$mtxrun --generate
?

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




-- 
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] Curly quotes was TTF fonts and MKIV

2011-02-01 Thread Mojca Miklavec
On Sun, Jan 30, 2011 at 17:29, John Culleton wrote:

 Here is ``foo''.

See Wolfgang's answer, I just wanted to add a note.

This syntax has deliberately been disabled. In MKII it was a hack
implemented in fonts. In XeLaTeX you need mapping=tex-text to get that
behaviour (which adds some non-existant features to the font), but
that way you won't be able to get breve or plain backtick in your
final document, so it had to be disabled.

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
___


Re: [NTG-context] beta

2011-02-01 Thread Jörg Hagmann



On 2/1/11 2:54 PM, luigi scarso wrote:

On Tue, Feb 1, 2011 at 2:46 PM, Jörg Hagmannjoerg.hagm...@unibas.ch  wrote:


On 2/1/11 2:42 PM, luigi scarso wrote:

On Tue, Feb 1, 2011 at 2:36 PM, Jörg Hagmannjoerg.hagm...@unibas.ch
  wrote:

Did you
$. setuptex

Sure. mkII is working.

and
$kpsewhich context.mkiv
?

/Users/bonasia/.context-new/tex/texmf-context/tex/context/base/context.mkiv

^^^
this dot looks suspect... can you try without it, ie
  /Users/bonasia/context-new...
and then
$. setuptex
$mtxrun --generate
?
Ok - Thank you! I keep (kept) my contexts in hidden dirs (my current one 
from 3 months ago is in .context and it works, but I don't remember 
whether I changed the directory to hidden after I installed the 
minimals or whether I installed them into .context).


Conclusion: Installing the actual minimals in a hidden file doesn't 
work, in a visible one it does.


Thanks a lot for the help, Jörg
___
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] beta

2011-02-01 Thread luigi scarso
On Tue, Feb 1, 2011 at 3:38 PM, Jörg Hagmann joerg.hagm...@unibas.ch wrote:
 Conclusion: Installing the actual minimals in a hidden file doesn't work, in
 a visible one it does.

Not sure if it's a bug or feature.
If I understand correctly, mkii works ok in hidden folders, but mkiv no.
I suspect then a bug in names resolver which  in this situation it's ok .
(perhaps  you can try  with
/Users/bonasia/a.context-new
)
-- 
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] beta

2011-02-01 Thread Jörg Hagmann



On 2/1/11 3:46 PM, luigi scarso wrote:

On Tue, Feb 1, 2011 at 3:38 PM, Jörg Hagmannjoerg.hagm...@unibas.ch  wrote:

Conclusion: Installing the actual minimals in a hidden file doesn't work, in
a visible one it does.


Not sure if it's a bug or feature.
If I understand correctly, mkii works ok in hidden folders, but mkiv no.
I suspect then a bug in names resolver which  in this situation it's ok .
(perhaps  you can try  with
/Users/bonasia/a.context-new
)
Doesn't work either. Well - my context directory doesn't have to be 
hidden - why hide a pretty thing?


Regards, Jörg
___
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] beta

2011-02-01 Thread Vedran Miletić
2011/2/1 Jörg Hagmann joerg.hagm...@unibas.ch



 On 2/1/11 3:46 PM, luigi scarso wrote:

 On Tue, Feb 1, 2011 at 3:38 PM, Jörg Hagmannjoerg.hagm...@unibas.ch
  wrote:

 Conclusion: Installing the actual minimals in a hidden file doesn't work,
 in
 a visible one it does.

  Not sure if it's a bug or feature.
 If I understand correctly, mkii works ok in hidden folders, but mkiv no.
 I suspect then a bug in names resolver which  in this situation it's ok .
 (perhaps  you can try  with
 /Users/bonasia/a.context-new
 )

 Doesn't work either. Well - my context directory doesn't have to be hidden
 - why hide a pretty thing?

 Regards, Jörg


Yes, there is a bug when using dots, someone recently triggered it when
using versioned names (context-2011.01.18 or something). Not sure if it can
be fixed.

Regards,

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] error updating beta WAS: beta

2011-02-01 Thread Marco
On 2011-02-01 Hans Hagen pra...@wxs.nl wrote:

 On 1-2-2011 1:40, Marco wrote:
  Hi,
 
  I get the following error while updating minimals:
 
  MTXrun | run: texexec --make --all --fast --xetex cont-nl cont-enTeXExec
  | using search method 'kpsewhich' TeXExec | using existing database
  TeXExec | using tex engine xetex
  TeXExec | using tex format path /nonesuch/texmf/web2c/xetex
  TeXExec | generating tex format cont-nl.mkii
  This is XeTeX, Version 3.1415926-2.2-0.9995.2 (Web2C 7.5.6) (INITEX)
  entering extended mode
  ! I can't find file `cont-nl.mkii'.
  *  *cont-nl.mkii
 
  (Press Enter to retry, or Control-D to exit)
  Please type another input file name:
 
 can you run mktexlsr manually?

Yes. This fixes mkii. But as Vedran and Luigi already pointed out
first-setup.sh is broken. mkiv works ok.

BTW: Is it possible to only build mkiv and the english interface? Maybe by
passing some options to first-setup.sh? I never need other interfaces and
hardly ever mkii.

Marco


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

2011-02-01 Thread Alan BRASLAU
On Tuesday 01 February 2011 16:13:25 Vedran Miletić wrote:
 
 Yes, there is a bug when using dots, someone recently triggered it when
 using versioned names (context-2011.01.18 or something). Not sure if it can
 be fixed.
 

A good guide should be the use of POSIX Fully portable filenames

Lewine, Donald, POSIX Programmer's Guide: Writing Portable UNIX Programs, 
1991, O'Reilly  Associates, Inc., Sebastopol, CA, pp. 63-64.


Of course, some perfectly acceptable filenames
(even for a NTFS filesystem, according to MicroSoft's own standard)
wreak havoc for Windows and some Windows applications, as well as for MacOS.

See, http://en.wikipedia.org/wiki/Filename

Microsoft Windows: Windows kernel forbids the use of characters in range 1-31 
(i.e., 0x01-0x1F) and characters  * :   ? \ / |. Although NTFS allows each 
path component (directory or filename) to be 255 characters long and paths up 
to about 32767 characters long, the Windows kernel only supports paths up to 
259 characters long if no UNC is used for addressing. Additionally, Windows 
forbids the use of the MS-DOS device names AUX, CLOCK$, COM1, COM2, COM3, 
COM4, COM5, COM6, COM7, COM8, COM9, CON, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, 
LPT7, LPT8, LPT9, NUL and PRN, as well as these names with any extension (for 
example, AUX.txt), except when using Long UNC paths (ex. \\.\C:\nul.txt or \\?
\D:\aux\con). (In fact, CLOCK$ may be used if an extension is provided.) These 
restrictions only apply to Windows - Linux, for example, allows use of  * :  
 ? \ | even in NTFS.


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


Re: [NTG-context] error updating beta WAS: beta

2011-02-01 Thread luigi scarso
On Tue, Feb 1, 2011 at 4:34 PM, Marco net...@lavabit.com wrote:
 BTW: Is it possible to only build mkiv and the english interface? Maybe by
 passing some options to first-setup.sh? I never need other interfaces and
 hardly ever mkii.

 Marco
In first-septup.sh , near the bottom
mtxrun --verbose --script ./bin/mtx-update.lua --update --make --force
--engine=all --context=beta --platform=$platform --texroot=$PWD/tex $@

I believe that --engine=luatex is the switch you want

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

2011-02-01 Thread Hans Hagen

On 1-2-2011 3:38, Jörg Hagmann wrote:


Conclusion: Installing the actual minimals in a hidden file doesn't
work, in a visible one it does.


concerning the mkii problem .. i know where it originates and am playing 
a bit with it ... so beta syncing can be a bit erratic for a while (i 
need to make sure that mkiv can use symbolic roots while mkii gets real 
ones)


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] error updating beta WAS: beta

2011-02-01 Thread Hans Hagen

On 1-2-2011 4:41, luigi scarso wrote:

On Tue, Feb 1, 2011 at 4:34 PM, Marconet...@lavabit.com  wrote:

BTW: Is it possible to only build mkiv and the english interface? Maybe by
passing some options to first-setup.sh? I never need other interfaces and
hardly ever mkii.

Marco

In first-septup.sh , near the bottom
mtxrun --verbose --script ./bin/mtx-update.lua --update --make --force
--engine=all --context=beta --platform=$platform --texroot=$PWD/tex $@

I believe that --engine=luatex is the switch you want


indeed, but one needs a fresh minimal because the current state is 
stored and kept


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

2011-02-01 Thread Marco
On 2011-02-01 Vedran Miletić riva...@gmail.com wrote:

   Not sure if it's a bug or feature.
  If I understand correctly, mkii works ok in hidden folders, but mkiv
  no. I suspect then a bug in names resolver which  in this situation it's
  ok . (perhaps  you can try  with
  /Users/bonasia/a.context-new
  )
 
  Doesn't work either. Well - my context directory doesn't have to be hidden
  - why hide a pretty thing?
 
  Regards, Jörg
 
 
 Yes, there is a bug when using dots, someone recently triggered it when
 using versioned names (context-2011.01.18 or something). Not sure if it can
 be fixed.

I also ran across a bug considering the case of external graphics. The case is
not taken into account. And luatex hangs, if a graphic is not found. Example:

\starttext
\externalfigure [CoW] % A file CoW does not exist, only cow.pdf
  % and cow.pdf is included, should output gray box

\externalfigure [GrApHiC] % Does not exist and causes mkiv to hang
  % Should output gray box
\stoptext


Regards
Marco


___
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] error updating beta WAS: beta

2011-02-01 Thread Marco
On 2011-02-01 Hans Hagen pra...@wxs.nl wrote:

  In first-septup.sh , near the bottom
  mtxrun --verbose --script ./bin/mtx-update.lua --update --make --force
  --engine=all --context=beta --platform=$platform --texroot=$PWD/tex $@
 
  I believe that --engine=luatex is the switch you want
 
 indeed, but one needs a fresh minimal because the current state is 
 stored and kept

Thanks

Marco


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

2011-02-01 Thread luigi scarso
On Tue, Feb 1, 2011 at 5:04 PM, Marco net...@lavabit.com wrote:
 On 2011-02-01 Vedran Miletić riva...@gmail.com wrote:

   Not sure if it's a bug or feature.
  If I understand correctly, mkii works ok in hidden folders, but mkiv
  no. I suspect then a bug in names resolver which  in this situation it's
  ok . (perhaps  you can try  with
  /Users/bonasia/a.context-new
  )
 
  Doesn't work either. Well - my context directory doesn't have to be hidden
  - why hide a pretty thing?
 
  Regards, Jörg


 Yes, there is a bug when using dots, someone recently triggered it when
 using versioned names (context-2011.01.18 or something). Not sure if it can
 be fixed.

 I also ran across a bug considering the case of external graphics. The case is
 not taken into account. And luatex hangs, if a graphic is not found. Example:

 \starttext
 \externalfigure [CoW]     % A file CoW does not exist, only cow.pdf
                          % and cow.pdf is included, should output gray box

 \externalfigure [GrApHiC] % Does not exist and causes mkiv to hang
                          % Should output gray box
 \stoptext


 Regards
 Marco
confirmed
-- 
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] beta

2011-02-01 Thread Peter Münster
Vedran Miletić riva...@gmail.com writes:

 Yes, there is a bug when using dots,

Or a feature...?! ;)

See also:
- http://www.ntg.nl/pipermail/ntg-context/2010/052339.html
  (and such can mean a dot)
- http://pmrb.free.fr/contextref.pdf section 1.7
  ;-)

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

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


Re: [NTG-context] beta

2011-02-01 Thread Alan BRASLAU
On Tuesday 01 February 2011 12:30:40 Hans Hagen wrote:
 On 1-2-2011 11:51, Alan BRASLAU wrote:
  ! LuaTeX error
  ...xt/beta/tex/texmf-context/tex/context/base/l-dir.lua:67: cannot open
  /home/braslau/.fonts/: No such file or directory
 
 is this new? weird as nothing was changed there .. anyway, i added a check

I believe that this is new (but did not test systematically).
In any case, it should indeed be caught.

 
  This shouldn't happen. After mkdir $HOME/.fonts, context runs
  successfully.
 
  Well, sort-of. luatex hangs on page 141, trying to place an external 
figure:
 hard to say what happens there .. only that image?

OK, I hunted it down. Now, with the current beta, context (mkiv)
hangs when the external figure does not exist, or if it is a hanging
symbolic link (pointing to a file that does not exist).
Previously, this did not cause any problems, and a magnificent
grey box containing the missing file name was placed.
I found this to be a feature. Clearly, hanging as curently is a bug.

Also, I had one case of a 5.8 Mb tiff figure that caused problems.
Converting it to a 600 kb png now goes through. Was it the filesize
or the tiff format that was a problem? Note that this figure
did not cause problems before.

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


Re: [NTG-context] \date format according to ISO 8601

2011-02-01 Thread Marco
On 2011-02-01 Stefan Müller warrence@gmx.de wrote:

 Hi,
 
 I wouldn't like the idea of displaying \date in ISO 8601 format. I'd 
 rather prefer the human-readable version. The ISO 8601 is a standard for 
 exchange of date and time-related data [1], not for text documents 
 made for humans to read.
 
 How to get what you want is explained here [2], I think. HTH.

No, not really. \currentdate [year, –, mm, –, dd] gives me the date in
ISO 8601 format. To force consistency it makes sense to specify the date
format in a *global* setup like

 \setupdate [format={year, –, mm, –, dd}]

to avoid ugly constructions like

\def\Today{\currentdate [year, –, mm, –, dd]}


Regards
Marco


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

2011-02-01 Thread Marco
On 2011-02-01 pmli...@free.fr (Peter Münster) wrote:

 Vedran Miletić riva...@gmail.com writes:
 
  Yes, there is a bug when using dots,
 
 Or a feature...?! ;)
 
 See also:
 - http://www.ntg.nl/pipermail/ntg-context/2010/052339.html
   (and such can mean a dot)
 - http://pmrb.free.fr/contextref.pdf section 1.7
   ;-)

I don't want to start an argue, sice this bug/feature doesn't affect my work.
But just my 2 cents:

1) The operating system / file system basically decides which names are
   permitted. And in times of luatex and unicode it's a pity that file names
   with international characters aren't supported. All other programs can cope
   with that.

2) I often use automatically generated graphics like
   graph.1.pdf
   graph.2.pdf
   graph.3.pdf ...
   According to the documentation and Hans these file names aren't permitted,
   since dots and numbers aren't allowed. However when I include the complete
   names with extention it works.


Regards
Marco


___
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] \date format according to ISO 8601

2011-02-01 Thread Mojca Miklavec
On Tue, Feb 1, 2011 at 00:03, Marco wrote:

 In case Hans does not like this idea, is it possible to change it to make
 ISO 8601 the default. Something like

 \setupdate [format={year, –, mm, –, day}]

Your question wasn't clear at first. Is this what you want?

\setuplanguage[en][date={year,–,mm,–,dd}]

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
___


Re: [NTG-context] \date format according to ISO 8601

2011-02-01 Thread Marco
On 2011-02-01 Mojca Miklavec mojca.miklavec.li...@gmail.com wrote:

 On Tue, Feb 1, 2011 at 00:03, Marco wrote:
 
  In case Hans does not like this idea, is it possible to change it to make
  ISO 8601 the default. Something like
 
  \setupdate [format={year, –, mm, –, day}]
 
 Your question wasn't clear at first. Is this what you want?
 
 \setuplanguage[en][date={year,–,mm,–,dd}]

Brilliant, that's exactly what I want. I didn't expect the date »hidden« in the
language settings, I looked for \setupdate.

Thanks Mojca

Marco


___
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] \date format according to ISO 8601

2011-02-01 Thread Mojca Miklavec
On Tue, Feb 1, 2011 at 18:38, Marco wrote:
 On 2011-02-01 Mojca Miklavec wrote:
 On Tue, Feb 1, 2011 at 00:03, Marco wrote:
 
  In case Hans does not like this idea, is it possible to change it to make
  ISO 8601 the default. Something like
 
  \setupdate [format={year, –, mm, –, day}]

 Your question wasn't clear at first. Is this what you want?

 \setuplanguage[en][date={year,–,mm,–,dd}]

 Brilliant, that's exactly what I want. I didn't expect the date »hidden« in 
 the
 language settings, I looked for \setupdate.

It's because each language requires a different output, but I share
your thoughts.

Please leave a note at http://wiki.contextgarden.net/Reference/en/date.

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] Conversion sets broken with newest beta

2011-02-01 Thread Andreas Harder
Hi,

\starttext
\startitemize[set 2]
  \item test
  \item test
  \item test
\stopitemize
\stoptext

stops with

! Undefined control sequence.
\@@cvset 2 -\docheckedconversion …

Can someone confirm?

Greeting
Andreas
___
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] error updating beta WAS: beta

2011-02-01 Thread Andreas Harder

Am 01.02.2011 um 16:47 schrieb Hans Hagen:

 On 1-2-2011 4:41, luigi scarso wrote:
 On Tue, Feb 1, 2011 at 4:34 PM, Marconet...@lavabit.com  wrote:
 BTW: Is it possible to only build mkiv and the english interface? Maybe by
 passing some options to first-setup.sh? I never need other interfaces and
 hardly ever mkii.
 
 Marco
 In first-septup.sh , near the bottom
 mtxrun --verbose --script ./bin/mtx-update.lua --update --make --force
 --engine=all --context=beta --platform=$platform --texroot=$PWD/tex $@
 
 I believe that --engine=luatex is the switch you want
 
 indeed, but one needs a fresh minimal because the current state is stored and 
 kept

But one need the other formats to use TeX Gyre fonts with math?

If I try the –engine=luatex switch this
\setupbodyfont[palatino]
\starttext
$a+b$
\stoptext
returns:
!LuaTeX error: cannot open Type 1 font file for reading (qplri.pfb)

Greeting
Andreas
___
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] error updating beta WAS: beta

2011-02-01 Thread Hans Hagen

On 1-2-2011 9:54, Andreas Harder wrote:


But one need the other formats to use TeX Gyre fonts with math?


no, but it can be that some font is missing, in which case you should 
identify it and ask Mojca to add it to the luatex subset


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
___


[NTG-context] Image libraries / figure libraries / resource libraries

2011-02-01 Thread Willi Egger
Hello!

Under MKII we had already the opportunity to create figure libraries. In the 
meantime Hans has added this functionality to MKIV. There are slight changes in 
the setup of the xml-databases and the command to create such a library is 
changed.

I have added the new aspects to the Wiki under the existing page 
http://wiki.contextgarden.net/Image_Database.

These libraries are great, you get a good overview over images present in a 
project, you can find images in the library with the index, you can find info 
over the contained images. Further you can load an image from the library with  
the label given into your tex-source. I created just for testing a library 
containing 250 images, scans and drawings in mixed format as png, jpg and pdf. 
Works like a charm.


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] \date format according to ISO 8601

2011-02-01 Thread Marco
On 2011-02-01 Mojca Miklavec mojca.miklavec.li...@gmail.com wrote:

  Your question wasn't clear at first. Is this what you want?
 
  \setuplanguage[en][date={year,–,mm,–,dd}]
 
  Brilliant, that's exactly what I want. I didn't expect the date »hidden«
  in the language settings, I looked for \setupdate.
 
 It's because each language requires a different output, but I share
 your thoughts.
 
 Please leave a note at http://wiki.contextgarden.net/Reference/en/date.

Done

Marco


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

2011-02-01 Thread views63
Hi Hans,

my new ConTeXt misses cldf-int.mkiv

loading : ConTeXt Multilingual Macros / Helpers
+ /opt/context/tex/texmf-context/tex/context/base/mult-aux.lua)
! I can't find file `cldf-int.mkiv'.
to be read again
   \relax
l.108 \loadmarkfile{cldf-int}
  % interface
Please type another input file name:

--
Best regards,

Huang Ze

2011/2/1 Hans Hagen pra...@wxs.nl

 Hi,

 I uploaded a new beta.

 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

 ___

___
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] Letters in a square frame

2011-02-01 Thread Vyatcheslav Yatskovsky

Hi,

How can put this A in a square frame?

\starttext

\inmargin{A}

\stoptext

This kind of marking (A, B, C...) can be seen in sheet music, e.g.
http://fc06.deviantart.net/fs38/f/2008/336/3/2/Dr__Who_Sheet_Music_1_by_DOOMGUY1001.jpg

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


Re: [NTG-context] Letters in a square frame

2011-02-01 Thread Keith McKay

On 02/02/2011 06:39, Vyatcheslav Yatskovsky wrote:

\starttext

\inmargin{A}

\stoptext


How about

\starttext

\inmargin{\framed{A}}

\stoptext


See http://wiki.contextgarden.net/Reference/en/framed for more info.


Hope this helps
Keith McKay
___
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
___