Re: [NTG-context] about error unable to identify cnf file

2008-11-11 Thread Wolfgang Schuster
On Tue, Nov 11, 2008 at 8:52 AM, Dalyoung Jeong [EMAIL PROTECTED] wrote:
 Hi,

 Recently, I tried to set for LuaTeX following the Running_Mark_IV in
 wiki.

 1. I updated ConTeXt using ctxtools --update.
  I didn't use rsync -av ... as in wiki for updating because I
 got cannot find command texexec error after updating ConTeXt.

 2. Updated LuaTeX using rsync -av /universal-darwin/

 These updating processes are fine. But I got the following error when
 I issued luatools --generate.


 LuaTools | error unable to identify cnf file
 LuaTools | error unable to identify cnf file
 LuaTools | no cnf files found (TEXMFCNF may not be set/known)
 LuaTools |
 LuaTools | runtime: 0.002 seconds

 I installed TL2008.
 The first question is that do I need to do some pre-process for the
 installation of LuaTeX like following?

 export TeXMFCNF ...
 export TEXMF ...
 ...

 So I run source .luatex where luatex is a file to setup TEXMF stuffs
 when I use TL2007.  After that luatools --generate is working well.

 But I got another error when I try context --make.
 The error message is cannot find file context.tex.

 What did I do wrong in these steps?

luatools --selfupdate
mtxrun --selfupdate

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] about error unable to identify cnf file

2008-11-11 Thread Otared Kavian
Hi,

If I remember well, you are running Mac OS X: if this is still the  
case, please have a look to the file which I have uploaded for you at:
http://www.kavian.fr/tex/install-minimal-ok.pdf

The source file is thre too:
http://www.kavian.fr/tex/install-minimal-ok.tex

I have gathered my experience installing mkiv from the Minimals and up  
to now everything works smoothly on my machine.
The old method running ctxtools --update does not work anymore, at  
least it didn't for me…

Best regards: OK

On 11 nov. 08, at 08:52, Dalyoung Jeong wrote:

 Hi,

 Recently, I tried to set for LuaTeX following the Running_Mark_IV in
 wiki.

 1. I updated ConTeXt using ctxtools --update.
 I didn't use rsync -av ... as in wiki for updating because I
 got cannot find command texexec error after updating ConTeXt.

 2. Updated LuaTeX using rsync -av /universal-darwin/

 These updating processes are fine. But I got the following error when
 I issued luatools --generate.


 LuaTools | error unable to identify cnf file
 LuaTools | error unable to identify cnf file
 LuaTools | no cnf files found (TEXMFCNF may not be set/known)
 LuaTools |
 LuaTools | runtime: 0.002 seconds

 I installed TL2008.
 The first question is that do I need to do some pre-process for the
 installation of LuaTeX like following?

 export TeXMFCNF ...
 export TEXMF ...
 ...

 So I run source .luatex where luatex is a file to setup TEXMF stuffs
 when I use TL2007.  After that luatools --generate is working well.

 But I got another error when I try context --make.
 The error message is cannot find file context.tex.


 What did I do wrong in these steps?

 Thank you.

 Best regards,

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

%%
Otared Kavian
Département de Mathématiques
Université de Versailles Saint-Quentin
Bâtiment Fermat
45 aveue des Etats Unis
78035 Versailles cedex

Téléphone: +33 1 39 25 46 42
Secrétariat: +33 1 39 25 46 44
Secrétariat: +33 1 39 25 46 46

e-mail: [EMAIL PROTECTED]



___
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] can't find file `core-swd'

2008-11-11 Thread Alan STONE
On Thu, Nov 6, 2008 at 11:37 PM, Wolfgang Schuster 
[EMAIL PROTECTED] wrote:

 core-swd.tex is removed in the last beta and the old file was saved
 under the name core-swd.mkii

 Generate the formats with texexec --make --all and it should work.


It doesn't work (on Windows XP), neither adding the mkii suffix.

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


Re: [NTG-context] \definefont problem with latest beta (mkiv)

2008-11-11 Thread Wolfgang Schuster

Am 11.11.2008 um 17:40 schrieb Peter Rolf:

 You should write new typescripts/files for MkIV because you could
 use Truetype fonts without map and tfm files.


 Yes, this works and is also faster. But now I have a different
 positioning (text baseline is too low, plus bigger interline spacing),
 caused by a too big strut height. A direct font switch like \TestFont
 doesn't change the strut height nor the interline spacing. So I  
 always add

 \TestFont\setstrut\setupinterlinespace

 after each font switch. Doesn't work anymore in mkiv. More code to  
 adapt?


This was discussed last week, if you need the same baseline distance
use the value from MkII or use a fix distance like 12pt.

http://archive.contextgarden.net/message/20081105.030003.aa31c1e4.en.html

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

2008-11-11 Thread Hans Hagen
luigi scarso wrote:
 
 
 On Tue, Nov 11, 2008 at 2:33 PM, Alan STONE 
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
 wrote:
 
 On Tue, Nov 11, 2008 at 2:03 PM, Alan STONE
 [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote: 
 
 Do you know some tool (Windows/Linux) which enables to filter
 these from the
 log file into a text file, or delete the unwanted ones from the
 log file ?
 
 
 Under Linux, grep should be able to do that. Under Windows ?
 
 maybe grep of cygwin ?

or

mtxrun --script grep ...



-
   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] can't find file `core-swd'

2008-11-11 Thread Alan STONE
On Tue, Nov 11, 2008 at 6:01 PM, Wolfgang Schuster 
[EMAIL PROTECTED] wrote:

 What is the result from kpsewhich core-swd.mkii.

 Wolfgang


c:/context/tex/texmf-context/tex/context/base/core-swd.mkii

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


Re: [NTG-context] can't find file `core-swd'

2008-11-11 Thread Aditya Mahajan
On Tue, 11 Nov 2008, Alan STONE wrote:

 On Tue, Nov 11, 2008 at 5:20 PM, Alan STONE
 [EMAIL PROTECTED]wrote:

 On Thu, Nov 6, 2008 at 11:37 PM, Wolfgang Schuster 
 [EMAIL PROTECTED] wrote:

 core-swd.tex is removed in the last beta and the old file was saved
 under the name core-swd.mkii

 Generate the formats with texexec --make --all and it should work.


 It doesn't work (on Windows XP), neither adding the mkii suffix.


 This did make it work...

 texmfstart mtxrun --selfupdate
 texmfstart luatools --selfupdate
 texmfstart luatools --generate
 texmfstart texexec --lua --make --all

But this is generating mkiv format and not mkii format.

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] can't find file `core-swd'

2008-11-11 Thread Alan STONE
On Tue, Nov 11, 2008 at 7:28 PM, Aditya Mahajan [EMAIL PROTECTED] wrote:

 On Tue, 11 Nov 2008, Alan STONE wrote:

  On Tue, Nov 11, 2008 at 5:20 PM, Alan STONE
  [EMAIL PROTECTED]wrote:
 
  On Thu, Nov 6, 2008 at 11:37 PM, Wolfgang Schuster 
  [EMAIL PROTECTED] wrote:
 
  core-swd.tex is removed in the last beta and the old file was saved
  under the name core-swd.mkii
 
  Generate the formats with texexec --make --all and it should work.
 
 
  It doesn't work (on Windows XP), neither adding the mkii suffix.
 
 
  This did make it work...
 
  texmfstart mtxrun --selfupdate
  texmfstart luatools --selfupdate
  texmfstart luatools --generate
  texmfstart texexec --lua --make --all

 But this is generating mkiv format and not mkii format.


You're right, I've been working too long on the computer today. Switching
off...

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


Re: [NTG-context] small problem with minimals

2008-11-11 Thread Aditya Mahajan
On Tue, 11 Nov 2008, Wolfgang Schuster wrote:

 And how could one change the font/style for the number?

Do you mean with textext, or with the macro that Hans is proposing to 
define?

textext(string) will typeset the string using context, so you can add 
\switchtobodyfont[whatever] in there.

The new label macro can use labelfont (or defaultfont, I always forget 
what metapost uses) to switch the font. In that case there should also be 
a label color, unless
draw textext(something) withcolor red ;
works (sorry, I haven't tested this)

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] \definefont problem with latest beta (mkiv)

2008-11-11 Thread Peter Rolf
Wolfgang Schuster schrieb:
 Am 11.11.2008 um 17:40 schrieb Peter Rolf:
 
 You should write new typescripts/files for MkIV because you could
 use Truetype fonts without map and tfm files.

 Yes, this works and is also faster. But now I have a different
 positioning (text baseline is too low, plus bigger interline spacing),
 caused by a too big strut height. A direct font switch like \TestFont
 doesn't change the strut height nor the interline spacing. So I  
 always add

 \TestFont\setstrut\setupinterlinespace

 after each font switch. Doesn't work anymore in mkiv. More code to  
 adapt?
 
 
 This was discussed last week, if you need the same baseline distance
 use the value from MkII or use a fix distance like 12pt.
 
 http://archive.contextgarden.net/message/20081105.030003.aa31c1e4.en.html


I followed that one. But my problem is more the *wrong strut height*,
e.g. using a \totalstrut value of 12pt with a 8pt font. The strut height
is simply not adapted to the actual font size anymore (even if I use
\setstrut).

When you place the text at a fixed position (e.g. a button), it is
shifted down due to the too big strut. The wrong looking 'interline
space' is just another result of that (although the white space comes
from the big strut).

Anyway, thanks for your help.

Best wishes, Peter


 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] can't find file `core-swd'

2008-11-11 Thread Wolfgang Schuster

Am 11.11.2008 um 17:20 schrieb Alan STONE:

 On Thu, Nov 6, 2008 at 11:37 PM, Wolfgang Schuster [EMAIL PROTECTED] 
  wrote:
 core-swd.tex is removed in the last beta and the old file was saved
 under the name core-swd.mkii

 Generate the formats with texexec --make --all and it should work.

 It doesn't work (on Windows XP), neither adding the mkii suffix.

What is the result from kpsewhich core-swd.mkii.

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] \definefont problem with latest beta (mkiv)

2008-11-11 Thread Peter Rolf
Wolfgang Schuster schrieb:
 On Tue, Nov 11, 2008 at 2:37 PM, Peter Rolf [EMAIL PROTECTED] wrote:
 Hi.

 First of all: mkii format generation still fails here because of

 [context.mkii]
   \loadmkiifile{core-swd}

 I added the mkii suffix here to make it run.
 

 Back to the subject. When using mkiv there is a problem in finding the
 map files of my fonts. Instead of the expanded value of
 \defaultencoding (here texnansi, set in cont-sys.tex) the prefix
 'default' is used here.

 [..]
 fonts  : using map file: default-microsoft-arial

 luaTeX warning (file default-microsoft-arial.map): cannot open font map file
 fonts  : using map file: default-microsoft-sansserif

 luaTeX warning (file default-microsoft-sansserif.map): cannot open font
 map file
 fonts  : using map file: default-microsoft-trebuchet

 luaTeX warning (file default-microsoft-trebuchet.map): cannot open font
 map file
 fonts  : using map file: default-microsoft-tahoma

 luaTeX warning (file default-microsoft-tahoma.map): cannot open font map
 file
 

 Mkii works fine with these fonts (TTF). I made a small test file, but
 I'm not sure if the font is choosen wisely (T1). Anyhow, it shows the
 way how I use the upper named fonts in my macros.
 
 You should write new typescripts/files for MkIV because you could
 use Truetype fonts without map and tfm files.


Yes, this works and is also faster. But now I have a different
positioning (text baseline is too low, plus bigger interline spacing),
caused by a too big strut height. A direct font switch like \TestFont
doesn't change the strut height nor the interline spacing. So I always add

\TestFont\setstrut\setupinterlinespace

after each font switch. Doesn't work anymore in mkiv. More code to adapt?


 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
___


[NTG-context] tabulate in itemize

2008-11-11 Thread Wolfgang Schuster
Hi,

do own of you know how I can have a line in the tabulate that will start
at the same position as the first column, \HR is no solution for me
because it adds extra space before the line and I try to avoid to define
my own costomized \HR command.

\starttext

\startitemize

\item text text text

\starttabulate[|cm|l|]
\NC   \NC Anfangsbestand \NC\NR
\NC + \NC Zugänge\NC\NR
\NC - \NC Abgänge\NC\NR
\HL
\NC   \NC Endbestand \NC\NR
\stoptabulate

\stopitemize

\stoptext

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

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


Re: [NTG-context] can't find file `core-swd'

2008-11-11 Thread Lars Huttar
On 11/6/2008 4:02 PM, Lars Huttar wrote:
 On 11/6/2008 3:49 PM, Lars Huttar wrote:
 Hello,
 I've just been trying to install context on Ubuntu 8.10.
 Today I went to http://minimals.contextgarden.net/setup/
 and followed the instructions:

 On unix (linux, mac, freebsd, sun, ...) run:

 mkdir context  cd context
 rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh .
 ./first-setup.sh
 The first-setup script initially failed because I did not have ruby
 installed. So I installed ruby and then ran it again.

 It cranked away for awhile, then ended up with the error:
  ! I can't find file `core-swd'.
  to be read again
 \relax
  l.228 \loadmkiifile{core-swd}

 The preceding output was:
 
 Let me add a little more preceding output:
   (/home/.../context/tex/texmf-context/tex/context/base/core-sec.mkii
   loading : Context Core Macros / Sectioning
   ...
 
  systeem : markering subsubsubsubonderwerpnummer gedefinieerd
 [subsubsubsubonderwerpnummer]
  )

 However, when I do a search, I see that there is a file core-swd.mkii.
 Its path is context/tex/texmf-context/tex/context/base
 (I kid you not -- tex and context each show up three times in the path!)

 Can anybody suggest how to fix the problem?
 
 Just for kicks, I tried the following. The prompt said
   Please type another input file name:
 so I entered core-swd.mkii (i.e. I added the .mkii suffix).
 This seemed to satisfy the processor ... until the same error happened
 again a little while later (with the same preceding output).
 This happened about 4 times total.
 
 Was that a legitimate solution? Or should it really be looking for a
 core-swd.tex file?
 
 Thanks,
 Lars
 

Wolfgang Schuster wrote:

 Can your try this:
 
 mtxrun --selfupdate
 luatools --selfupdate
 context --generate
 context --make en
 
 Wolfgang

I guess I should first delete the core-swd.tex that I got from cache?
(Did that...)

mtxrun gives command not found... So I added context/bin to the PATH.

Then I ran mtxrun again and got
/usr/bin/env: texlua: No such file or directory.

Later I found
http://wiki.contextgarden.net/ConTeXt_Minimals#First_Installation which
said to add something like source [dir...]/context/tex/setuptex
[dir...]/context/tex to the system startup script.

(It would be helpful to add a prominent link to
http://wiki.contextgarden.net/ConTeXt_Minimals#First_Installation from
the instructions at http://minimals.contextgarden.net/setup/, labeled
Please see more complete instructions here. There is currently a link
between those two pages, but it is labeled These might eventually
become a new minimal ConTeXt distribution which doesn't suggest that
you need to visit the link to supplement the installation instructions
already given.)

After adding the above source line, the four commands you asked me to
try run without obvious errors.

No base/core-swd.tex file appears.

Is there something specific I should look for to tell whether the above
commands solved my problem? Should I run first-setup.sh again?

Thanks,
Lars


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

2008-11-11 Thread Alan STONE
On Tue, Nov 11, 2008 at 12:08 PM, Taco Hoekwater [EMAIL PROTECTED] wrote:


 Alan STONE wrote:
 
  I tried \tracingmacros=1 but that's not what I'm looking for.
 \tracingassigns=1 is as close as you can get.


Considering the enormous amount of information these \tracing* commands
blurp into the log file, I think I'll read Tolstoy's War and Peace
instead.  ;O)


 Otherwise, you will end up with extremely dangerous constructs
 like this trick that may very well interfere with what you are
 trying to debug:

   \let\normaldef\def
   \def\dumpDEF
 {\immediate\write16
   {\expandafter\string\theDEF=\expandafter\meaning\theDEF}}
   \unexpanded\normaldef\def#1% yes, this redefines \def!
 {\normaldef\theDEF{#1}\afterassignment\dumpDEF\normaldef#1}


Thanks a lot Taco. This is better already, though still too much information
in the log file to be user friendly.

Would it be possible to restricts the output to the \def'\s which begin with
specific characters, for example my as in \def\my* ?

Or...

Do you know some tool (Windows/Linux) which enables to filter these from the
log file into a text file, or delete the unwanted ones from the log file ?

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


Re: [NTG-context] small problem with minimals

2008-11-11 Thread Aditya Mahajan
On Tue, 11 Nov 2008, Wolfgang Schuster wrote:

 On Tue, Nov 11, 2008 at 3:36 PM, Aditya Mahajan [EMAIL PROTECTED] wrote:
 On Tue, 11 Nov 2008, Wolfgang Schuster wrote:

 And how could one change the font/style for the number?

 Do you mean with textext, or with the macro that Hans is proposing to
 define?

 I mean in the example from Hans with textext(decimal value).

 textext(string) will typeset the string using context, so you can add
 \switchtobodyfont[whatever] in there.

textext(\switchtobodyfont[12pt  decimal value)

 is the metapost string concat operator (from memory, haven't verified 
this)

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] Scite automatic compling

2008-11-11 Thread Mari Voipio


On Wed, 5 Nov 2008, mattia schirosa wrote:
 editor how was advised in context wiki. I can't found a command or a 
 tool to compile the tex file by Scite, is there any possibility or i 
 have to pass by prompt control everytimes?

I normally use Ctrl+1 in my SciTe; I've used it so long I've forgotten the 
original command but it seems to be same as Tools | Process tex file, 
which is probably exactly the correct command to be used, when working 
with ConTeXt. If you use generic Scite and not WinConTeXt you may have to 
put a setting somewhere for TeX=ConTeXt to get this to work - this 
assuming that you never want to use other TeX on your SciTe.

The other command I use once in a while especially if stuff has been 
updated is Ctrl+F7 that stands for Tools | Compile. I'm sure there's a 
difference between these two commands, but I haven't noticed it in the 
context (pun unintended) I use ConTeXt in pure Windows environment as my 
only TeX.


Note that if you do an imposition (when \setuparranging is in use), plain 
Process (Ctrl+1) will skip among others table of contents and references. 
In those cases you have to command Tools | Process and Arrange to get it 
right in SciTe. There's no default shortcut keys for this one, so it's two 
mouseclicks away - but still faster than typing --pdfarrange etc. etc. in 
the prompt (if you ask me - I'm a Windows/mousey type of person anyway).


Hope this helps,

Mari
(who knows just enough of SciTe to compile her files on it...)
___
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] small problem with minimals

2008-11-11 Thread Wolfgang Schuster
On Tue, Nov 11, 2008 at 3:36 PM, Aditya Mahajan [EMAIL PROTECTED] wrote:
 On Tue, 11 Nov 2008, Wolfgang Schuster wrote:

 And how could one change the font/style for the number?

 Do you mean with textext, or with the macro that Hans is proposing to
 define?

I mean in the example from Hans with textext(decimal value).

 textext(string) will typeset the string using context, so you can add
 \switchtobodyfont[whatever] in there.

 The new label macro can use labelfont (or defaultfont, I always forget
 what metapost uses) to switch the font. In that case there should also be
 a label color, unless
 draw textext(something) withcolor red ;
 works (sorry, I haven't tested this)

I prefer \doattributes with a setup command and use this in my modules.

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] tabulate in itemize

2008-11-11 Thread Wolfgang Schuster
On Tue, Nov 11, 2008 at 12:19 PM, Wolfgang Schuster
[EMAIL PROTECTED] wrote:
 Hi,

 do own of you know how I can have a line in the tabulate that will start
 at the same position as the first column, \HR is no solution for me
 because it adds extra space before the line and I try to avoid to define
 my own costomized \HR command.

I have now done what I tried to avoid but I'm still not happy with solution,
can't this be provided by default.

\appendtoks
  \def\HSR{\mytabulaterule}
\to \everytabulate

\def\mytabulaterule
  {\dotabulatenobreak
   \TABLEnoalign{\vskip-.5\lineheight}%
   \dotabulatelinerule
   \TABLEnoalign{\vskip-.5\lineheight}%
   \dotabulatenobreak}


\starttext

\startitemize

\item text text text

\starttabulate[|cm|l|]
\NC   \NC Anfangsbestand \NC\NR
\NC + \NC Zugänge\NC\NR
\NC - \NC Abgänge\NC\NR
\HSR
\NC   \NC Endbestand \NC\NR
\stoptabulate

\stopitemize

\stoptext

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

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


Re: [NTG-context] can't find file `core-swd'

2008-11-11 Thread luigi scarso
On Tue, Nov 11, 2008 at 8:32 PM, Lars Huttar [EMAIL PROTECTED] wrote:

 On 11/6/2008 4:02 PM, Lars Huttar wrote:
  On 11/6/2008 3:49 PM, Lars Huttar wrote:
  Hello,
  I've just been trying to install context on Ubuntu 8.10.
  Today I went to http://minimals.contextgarden.net/setup/
  and followed the instructions:
 
  On unix (linux, mac, freebsd, sun, ...) run:
 
  mkdir context  cd context
  rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh.
  ./first-setup.sh
  The first-setup script initially failed because I did not have ruby
  installed. So I installed ruby and then ran it again.
 
  It cranked away for awhile, then ended up with the error:
   ! I can't find file `core-swd'.
   to be read again
  \relax
   l.228 \loadmkiifile{core-swd}
 
  The preceding output was:
 
  Let me add a little more preceding output:
(/home/.../context/tex/texmf-context/tex/context/base/core-sec.mkii
loading : Context Core Macros / Sectioning
...
 
   systeem : markering subsubsubsubonderwerpnummer gedefinieerd
  [subsubsubsubonderwerpnummer]
   )
 
  However, when I do a search, I see that there is a file core-swd.mkii.
  Its path is context/tex/texmf-context/tex/context/base
  (I kid you not -- tex and context each show up three times in the path!)
 
  Can anybody suggest how to fix the problem?
 
  Just for kicks, I tried the following. The prompt said
Please type another input file name:
  so I entered core-swd.mkii (i.e. I added the .mkii suffix).
  This seemed to satisfy the processor ... until the same error happened
  again a little while later (with the same preceding output).
  This happened about 4 times total.
 
  Was that a legitimate solution? Or should it really be looking for a
  core-swd.tex file?
 
  Thanks,
  Lars
 

 Wolfgang Schuster wrote:

  Can your try this:
 
  mtxrun --selfupdate
  luatools --selfupdate
  context --generate
  context --make en
 
  Wolfgang

 I guess I should first delete the core-swd.tex that I got from cache?
 (Did that...)

 mtxrun gives command not found... So I added context/bin to the PATH.

 Then I ran mtxrun again and got
/usr/bin/env: texlua: No such file or directory.

 Later I found
 http://wiki.contextgarden.net/ConTeXt_Minimals#First_Installation which
 said to add something like source [dir...]/context/tex/setuptex
 [dir...]/context/tex to the system startup script.

 (It would be helpful to add a prominent link to
 http://wiki.contextgarden.net/ConTeXt_Minimals#First_Installation from
 the instructions at http://minimals.contextgarden.net/setup/, labeled
 Please see more complete instructions here. There is currently a link
 between those two pages, but it is labeled These might eventually
 become a new minimal ConTeXt distribution which doesn't suggest that
 you need to visit the link to supplement the installation instructions
 already given.)

 After adding the above source line, the four commands you asked me to
 try run without obvious errors.

 No base/core-swd.tex file appears.

 Is there something specific I should look for to tell whether the above
 commands solved my problem? Should I run first-setup.sh again?

 Thanks,
 Lars



 ___
 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

 ___



I write how I setup my minimals-beta on a linux box  ubuntu 8.04

1) mkdir -p /opt/luatex/minimals-beta
2) cd /opt/luatex/minimals-beta
2a) Now put here first-setup.sh (see contextgarden.net/minimals)
3)  ./first-setup.sh
4) cd tex
**IMPORTANT**
5) . setuptex
=
6) context --generate
7) context --make
8)Every time I start a mkiv session
as first step I do
cd /opt/luatex/minimals-beta/tex
. setuptext
to ensure correct initilization of env. variables.
9a)context --generate
9b)context --make
to unsure a clean session.
10) always use context to make pdf; ie compile yours files with
context basic-test.tex

If you open first-setup.sh and change this line near the end
mtxrun --verbose --script ./bin/mtx-update.lua --update --make --force
--engine=all --context=beta --tree=$PWD/tex $@
in
mtxrun --verbose --script ./bin/mtx-update.lua --update --make --force
--engine=all  --tree=$PWD/tex $@
and then
1) mkdir -p /opt/luatex/minimals
2)...
and so on
you can then end with a minimals installation (actually minimalsBIRTHDAY)

Actually I have
minimals-beta, minimals and  tl2008 completly unrelated
so each installations has is own fonts etc etc.
It's ok, because minimals and minimals-beta are not so huge and I 

Re: [NTG-context] debugging

2008-11-11 Thread Taco Hoekwater


Alan STONE wrote:
 
 I tried \tracingmacros=1 but that's not what I'm looking for.

\tracingassigns=1 is as close as you can get.

Otherwise, you will end up with extremely dangerous constructs
like this trick that may very well interfere with what you are
trying to debug:

   \let\normaldef\def
   \def\dumpDEF
 {\immediate\write16
   {\expandafter\string\theDEF=\expandafter\meaning\theDEF}}
   \unexpanded\normaldef\def#1% yes, this redefines \def!
 {\normaldef\theDEF{#1}\afterassignment\dumpDEF\normaldef#1}


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

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


Re: [NTG-context] \definefont problem with latest beta (mkiv)

2008-11-11 Thread Peter Rolf
Wolfgang Schuster schrieb:
 On Tue, Nov 11, 2008 at 2:37 PM, Peter Rolf [EMAIL PROTECTED] wrote:
 Hi.

 First of all: mkii format generation still fails here because of

 [context.mkii]
   \loadmkiifile{core-swd}

 I added the mkii suffix here to make it run.
 

 Back to the subject. When using mkiv there is a problem in finding the
 map files of my fonts. Instead of the expanded value of
 \defaultencoding (here texnansi, set in cont-sys.tex) the prefix
 'default' is used here.

 [..]
 fonts  : using map file: default-microsoft-arial

 luaTeX warning (file default-microsoft-arial.map): cannot open font map file
 fonts  : using map file: default-microsoft-sansserif

 luaTeX warning (file default-microsoft-sansserif.map): cannot open font
 map file
 fonts  : using map file: default-microsoft-trebuchet

 luaTeX warning (file default-microsoft-trebuchet.map): cannot open font
 map file
 fonts  : using map file: default-microsoft-tahoma

 luaTeX warning (file default-microsoft-tahoma.map): cannot open font map
 file
 

 Mkii works fine with these fonts (TTF). I made a small test file, but
 I'm not sure if the font is choosen wisely (T1). Anyhow, it shows the
 way how I use the upper named fonts in my macros.
 
 You should write new typescripts/files for MkIV because you could
 use Truetype fonts without map and tfm files.

Thanks Wolfgang. I'll try... :)


 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] small problem with minimals

2008-11-11 Thread Wolfgang Schuster
On Mon, Nov 10, 2008 at 6:12 PM, Hans Hagen [EMAIL PROTECTED] wrote:
 Thomas A. Schmitz wrote:
 On Nov 10, 2008, at 5:16 PM, Hans Hagen wrote:

 it's probably the fallback font ... how is it used?

 Hans

 In a metafun label (which I can't replace with \sometxt):

 label.top(decimal value,origin) ;

 forget about sometxt ... that's mojca's personal hack

 \starttext

 \startMPpage
 numeric value ; value = 123 ;
 label.top(textext(decimal value),origin) ;
 \stopMPpage

 \stoptext

 maybe i should patch the label macro

And how could one change the font/style for the number?

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

2008-11-11 Thread luigi scarso
On Tue, Nov 11, 2008 at 2:33 PM, Alan STONE
[EMAIL PROTECTED]wrote:

 On Tue, Nov 11, 2008 at 2:03 PM, Alan STONE [EMAIL PROTECTED]
  wrote:

 Do you know some tool (Windows/Linux) which enables to filter these from
 the
 log file into a text file, or delete the unwanted ones from the log file ?


 Under Linux, grep should be able to do that. Under Windows ?

maybe grep of cygwin ?

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


Re: [NTG-context] can't find file `core-swd'

2008-11-11 Thread Alan STONE
On Tue, Nov 11, 2008 at 5:20 PM, Alan STONE
[EMAIL PROTECTED]wrote:

 On Thu, Nov 6, 2008 at 11:37 PM, Wolfgang Schuster 
 [EMAIL PROTECTED] wrote:

 core-swd.tex is removed in the last beta and the old file was saved
 under the name core-swd.mkii

 Generate the formats with texexec --make --all and it should work.


 It doesn't work (on Windows XP), neither adding the mkii suffix.


This did make it work...

texmfstart mtxrun --selfupdate
texmfstart luatools --selfupdate
texmfstart luatools --generate
texmfstart texexec --lua --make --all

-- 
Best,
Alan

* TeX engine = LuaTeX
* ConTeXt  minimals ver: 2008.56.06 19:11 MKIV  fmt: 2008.11.10  int:
english/english
* Ubuntu 8.04 Hardy Heron
___
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] \definefont problem with latest beta (mkiv)

2008-11-11 Thread Peter Rolf
Hi.

First of all: mkii format generation still fails here because of

[context.mkii]
   \loadmkiifile{core-swd}

I added the mkii suffix here to make it run.


Back to the subject. When using mkiv there is a problem in finding the
map files of my fonts. Instead of the expanded value of
\defaultencoding (here texnansi, set in cont-sys.tex) the prefix
'default' is used here.

[..]
fonts  : using map file: default-microsoft-arial

luaTeX warning (file default-microsoft-arial.map): cannot open font map file
fonts  : using map file: default-microsoft-sansserif

luaTeX warning (file default-microsoft-sansserif.map): cannot open font
map file
fonts  : using map file: default-microsoft-trebuchet

luaTeX warning (file default-microsoft-trebuchet.map): cannot open font
map file
fonts  : using map file: default-microsoft-tahoma

luaTeX warning (file default-microsoft-tahoma.map): cannot open font map
file


Mkii works fine with these fonts (TTF). I made a small test file, but
I'm not sure if the font is choosen wisely (T1). Anyhow, it shows the
way how I use the upper named fonts in my macros.


Regards, Peter



\usetypescriptfile[type-cow]
\usetypescript[all][cow][default]
\usetypescript[cow][default]

\definefont [TestFont] [Cows at 40pt]

\starttext

{\TestFont Just a test.}

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

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


[NTG-context] debugging

2008-11-11 Thread Alan STONE
Hi,

What's the way to get a list of all definition assigned values in a compile
job ?

Ex: \def\myFirstParameter{one}
\def\mySecondParameter{two}
...

- in log file (or other file), something like:

myFirstParameter=one
myFirstParameter=two
...

I tried \tracingmacros=1 but that's not what I'm looking for.

-- 
Best,
Alan

* TeX engine = LuaTeX
* ConTeXt  minimals ver: 2008.56.06 19:11 MKIV  fmt: 2008.11.10  int:
english/english
* Ubuntu 8.04 Hardy Heron
___
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] \definefont problem with latest beta (mkiv)

2008-11-11 Thread Wolfgang Schuster
On Tue, Nov 11, 2008 at 2:37 PM, Peter Rolf [EMAIL PROTECTED] wrote:
 Hi.

 First of all: mkii format generation still fails here because of

 [context.mkii]
   \loadmkiifile{core-swd}

 I added the mkii suffix here to make it run.
 

 Back to the subject. When using mkiv there is a problem in finding the
 map files of my fonts. Instead of the expanded value of
 \defaultencoding (here texnansi, set in cont-sys.tex) the prefix
 'default' is used here.

 [..]
 fonts  : using map file: default-microsoft-arial

 luaTeX warning (file default-microsoft-arial.map): cannot open font map file
 fonts  : using map file: default-microsoft-sansserif

 luaTeX warning (file default-microsoft-sansserif.map): cannot open font
 map file
 fonts  : using map file: default-microsoft-trebuchet

 luaTeX warning (file default-microsoft-trebuchet.map): cannot open font
 map file
 fonts  : using map file: default-microsoft-tahoma

 luaTeX warning (file default-microsoft-tahoma.map): cannot open font map
 file
 

 Mkii works fine with these fonts (TTF). I made a small test file, but
 I'm not sure if the font is choosen wisely (T1). Anyhow, it shows the
 way how I use the upper named fonts in my macros.

You should write new typescripts/files for MkIV because you could
use Truetype fonts without map and tfm files.

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

2008-11-11 Thread Alan STONE
On Tue, Nov 11, 2008 at 3:43 PM, Hans Hagen [EMAIL PROTECTED] wrote:

 luigi scarso wrote:
 
 
  On Tue, Nov 11, 2008 at 2:33 PM, Alan STONE
  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  wrote:
 
  On Tue, Nov 11, 2008 at 2:03 PM, Alan STONE
  [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] wrote:
 
  Do you know some tool (Windows/Linux) which enables to filter
  these from the
  log file into a text file, or delete the unwanted ones from the
  log file ?
 
 
  Under Linux, grep should be able to do that. Under Windows ?
 
  maybe grep of cygwin ?

 or

 mtxrun --script grep ...



This is a cool one...

http://www.wingrep.com

-- 
Best,
Alan

* TeX engine = LuaTeX
* ConTeXt  minimals ver: 2008.56.06 19:11 MKIV  fmt: 2008.11.10  int:
english/english
* Ubuntu 8.04 Hardy Heron
___
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] can't find file `core-swd'

2008-11-11 Thread Lars Huttar
Wolfgang Schuster wrote:
 core-swd.tex is removed in the last beta and the old file was saved
 under the name core-swd.mkii
 
 Generate the formats with texexec --make --all and it should work.
 
 Wolfgang
 

Thanks for taking the time to look into this...

I tried the command you suggested and got the same error: I can't find
file `core-swd'.

(Apologies that this reply is not linked to the email it really replies
to. For some reason the above email didn't make it to my inbox; I only
found it via gmane.)

Lars

___
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] can't find file `core-swd'

2008-11-11 Thread Lars Huttar
On 11/11/2008 1:32 PM, Lars Huttar wrote:
 On 11/6/2008 4:02 PM, Lars Huttar wrote:
 On 11/6/2008 3:49 PM, Lars Huttar wrote:
 Hello,
 I've just been trying to install context on Ubuntu 8.10.
 Today I went to http://minimals.contextgarden.net/setup/
 and followed the instructions:

 On unix (linux, mac, freebsd, sun, ...) run:

mkdir context  cd context
rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh .
./first-setup.sh
 The first-setup script initially failed because I did not have ruby
 installed. So I installed ruby and then ran it again.

 It cranked away for awhile, then ended up with the error:
 ! I can't find file `core-swd'.
 to be read again
\relax
 l.228 \loadmkiifile{core-swd}

 The preceding output was:
 Let me add a little more preceding output:
  (/home/.../context/tex/texmf-context/tex/context/base/core-sec.mkii
  loading : Context Core Macros / Sectioning
  ...

 systeem : markering subsubsubsubonderwerpnummer gedefinieerd
 [subsubsubsubonderwerpnummer]
 )

 However, when I do a search, I see that there is a file core-swd.mkii.
 Its path is context/tex/texmf-context/tex/context/base
 (I kid you not -- tex and context each show up three times in the path!)

 Can anybody suggest how to fix the problem?
 Just for kicks, I tried the following. The prompt said
  Please type another input file name:
 so I entered core-swd.mkii (i.e. I added the .mkii suffix).
 This seemed to satisfy the processor ... until the same error happened
 again a little while later (with the same preceding output).
 This happened about 4 times total.

 Was that a legitimate solution? Or should it really be looking for a
 core-swd.tex file?

 Thanks,
 Lars

 
 Wolfgang Schuster wrote:
 
 Can your try this:

 mtxrun --selfupdate
 luatools --selfupdate
 context --generate
 context --make en

 Wolfgang
 
 I guess I should first delete the core-swd.tex that I got from cache?
 (Did that...)
 
 mtxrun gives command not found... So I added context/bin to the PATH.
 
 Then I ran mtxrun again and got
   /usr/bin/env: texlua: No such file or directory.
 
 Later I found
 http://wiki.contextgarden.net/ConTeXt_Minimals#First_Installation which
 said to add something like source [dir...]/context/tex/setuptex
 [dir...]/context/tex to the system startup script.
 
 (It would be helpful to add a prominent link to
 http://wiki.contextgarden.net/ConTeXt_Minimals#First_Installation from
 the instructions at http://minimals.contextgarden.net/setup/, labeled
 Please see more complete instructions here. There is currently a link
 between those two pages, but it is labeled These might eventually
 become a new minimal ConTeXt distribution which doesn't suggest that
 you need to visit the link to supplement the installation instructions
 already given.)
 
 After adding the above source line, the four commands you asked me to
 try run without obvious errors.
 
 No base/core-swd.tex file appears.
 
 Is there something specific I should look for to tell whether the above
 commands solved my problem? Should I run first-setup.sh again?

I ran first-setup.sh again, because that was where I first encountered
the error I can't find file `core-swd'.
It gave the same error again, even after running the four commands you
suggested, Wolfgang.

I don't know the setup well enough to know whether this means that the
problem was not solved, or whether it means that the problem was solved
by the four commands but was unsolved by first-setup.sh.

Lars

___
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] can't find file `core-swd'

2008-11-11 Thread Lars Huttar
On 11/11/2008 11:01 AM, Wolfgang Schuster wrote:
 Am 11.11.2008 um 17:20 schrieb Alan STONE:
 
 On Thu, Nov 6, 2008 at 11:37 PM, Wolfgang Schuster [EMAIL PROTECTED] 
 wrote:
 core-swd.tex is removed in the last beta and the old file was saved
 under the name core-swd.mkii

 Generate the formats with texexec --make --all and it should work.

 It doesn't work (on Windows XP), neither adding the mkii suffix.
 
 What is the result from kpsewhich core-swd.mkii.
 
 Wolfgang

I got basically the same as Alan Stone:

/home/ethnologue/context/tex/texmf-context/tex/context/base/core-swd.mkii


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

2008-11-11 Thread Thomas A. Schmitz
Hi all,

is the command \definecharacter deprecated in mkiv? Some of my  
environments stopped working. Minimal example:


%\definecharacter mytest \char00F8
\define\mytest{\getglyph{name:lmroman10book}{\char00F8}}

\starttext

Hello w\mytest rld!

\stoptext

I expected lines 1 and 2 to work, but line 1 gives an error  
(Undefined control sequence). So: is this command no longer  
available in mkiv?

All best

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

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


Re: [NTG-context] \definecharacter

2008-11-11 Thread Wolfgang Schuster

Am 11.11.2008 um 23:51 schrieb Thomas A. Schmitz:

 Hi all,

 is the command \definecharacter deprecated in mkiv? Some of my
 environments stopped working. Minimal example:


 %\definecharacter mytest \char00F8
 \define\mytest{\getglyph{name:lmroman10book}{\char00F8}}

 \starttext

 Hello w\mytest rld!

 \stoptext

 I expected lines 1 and 2 to work, but line 1 gives an error
 (Undefined control sequence). So: is this command no longer
 available in mkiv?

from enco-ini.mkiv

\def\definecharacter#1 #2 %
   {}

You could use \definecommand.

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] can't find file `core-swd'

2008-11-11 Thread luigi scarso
 I ran first-setup.sh again, because that was where I first encountered
 the error I can't find file `core-swd'.
 It gave the same error again, even after running the four commands you
 suggested, Wolfgang.

 I don't know the setup well enough to know whether this means that the
 problem was not solved, or whether it means that the problem was solved
 by the four commands but was unsolved by first-setup.sh.

 Lars


Did you try my steps ?

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


Re: [NTG-context] can't find file `core-swd'

2008-11-11 Thread Wolfgang Schuster

Am 11.11.2008 um 23:39 schrieb Lars Huttar:

 On 11/11/2008 11:01 AM, Wolfgang Schuster wrote:
 Am 11.11.2008 um 17:20 schrieb Alan STONE:

 On Thu, Nov 6, 2008 at 11:37 PM, Wolfgang Schuster [EMAIL PROTECTED]
 wrote:
 core-swd.tex is removed in the last beta and the old file was saved
 under the name core-swd.mkii

 Generate the formats with texexec --make --all and it should work.

 It doesn't work (on Windows XP), neither adding the mkii suffix.

 What is the result from kpsewhich core-swd.mkii.

 Wolfgang

 I got basically the same as Alan Stone:

 /home/ethnologue/context/tex/texmf-context/tex/context/base/core- 
 swd.mkii

It's Hans fault, he loads core-swd in context.mkii with the command
\loadmkiifile but the command expects .tex as file extension, you
could either rename core-swd.mkii to core-swd.tex or you change
the line \loadmkiifile{core-swd} to \loadmarkfile{core-swd} or
\loadmkiifile{core-swd.mkii}.

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] can't find file `core-swd'

2008-11-11 Thread luigi scarso
On Wed, Nov 12, 2008 at 12:06 AM, Wolfgang Schuster 
[EMAIL PROTECTED] wrote:


 Am 11.11.2008 um 23:39 schrieb Lars Huttar:

  On 11/11/2008 11:01 AM, Wolfgang Schuster wrote:
  Am 11.11.2008 um 17:20 schrieb Alan STONE:
 
  On Thu, Nov 6, 2008 at 11:37 PM, Wolfgang Schuster 
 [EMAIL PROTECTED]
  wrote:
  core-swd.tex is removed in the last beta and the old file was saved
  under the name core-swd.mkii
 
  Generate the formats with texexec --make --all and it should work.
 
  It doesn't work (on Windows XP), neither adding the mkii suffix.
 
  What is the result from kpsewhich core-swd.mkii.
 
  Wolfgang
 
  I got basically the same as Alan Stone:
 
  /home/ethnologue/context/tex/texmf-context/tex/context/base/core-
  swd.mkii

 It's Hans fault, he loads core-swd in context.mkii with the command
 \loadmkiifile but the command expects .tex as file extension, you
 could either rename core-swd.mkii to core-swd.tex or you change
 the line \loadmkiifile{core-swd} to \loadmarkfile{core-swd} or
 \loadmkiifile{core-swd.mkii}.

 Wolfgang


Sorry , but here
texexec --make --all
and
context --make
work ok
for minimals-beta and minimals

in minimals-beta
#  find . -name *swd*
./tex/texmf-context/tex/context/base/core-swd.mkii
./tex/texmf-context/tex/context/base/core-swd.tex
(they are equals)

in minimals
# find . -name *swd*
./tex/texmf-context/tex/context/base/core-swd.tex


minimals-beta
Linux luigicasa-laptop 2.6.24-21-generic #1 SMP Tue Oct 21 23:43:45 UTC 2008
i686 GNU/Linux
This is LuaTeX, Version snapshot-0.30.2-2008102016, build unknown
ConTeXt MtxRun | current version: 2008.11.10 21:40


minimalsBIRTHDAY
Linux luigicasa-laptop 2.6.24-21-generic #1 SMP Tue Oct 21 23:43:45 UTC 2008
i686 GNU/Linux
This is LuaTeX, Version snapshot-0.30.2-2008102016, build unknown
ConTeXt MtxRun | current version: 2008.10.31 13:58


Maybe I don't understand the point .

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


Re: [NTG-context] Maybe there is a bug in cross references with latest beta

2008-11-11 Thread Chen Shen
I encountered the same problem. Hans has fixed it in the latest beta.

shenchen

Chen Shen wrote:
 Hi all,

 the following code used to work, but broke in the latest beta. \at
 works well, but \in appears as a math member of set symbol ( ∈ ).

 
 \starttext
 \placefigure[here][abc]{xyz}{123}

 abc \at[abc].
 abc \in[abc].

 \stoptext
 

fixed in current beta
___
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] can't find file `core-swd'

2008-11-11 Thread Peter Münster
On Wed, Nov 12 2008, luigi scarso wrote:

  It's Hans fault, he loads core-swd in context.mkii with the command
  \loadmkiifile but the command expects .tex as file extension, you
  could either rename core-swd.mkii to core-swd.tex or you change
  the line \loadmkiifile{core-swd} to \loadmarkfile{core-swd} or
  \loadmkiifile{core-swd.mkii}.
 
 Sorry , but here
 texexec --make --all
 and
 context --make
 work ok
 for minimals-beta and minimals
 
 in minimals-beta
 #  find . -name *swd*
 ./tex/texmf-context/tex/context/base/core-swd.mkii
 ./tex/texmf-context/tex/context/base/core-swd.tex
 (they are equals)
 
 in minimals
 # find . -name *swd*
 ./tex/texmf-context/tex/context/base/core-swd.tex

One error cancels the other:
- first error: there is no more core-swd.tex but it's needed by the
  \loadmkiifile command
- second error: the installer for the minimals only adds new files but
  never removes obsolete ones (no --del switch for rsync).

So you're lucky, because there is still an old core-swd.tex in your tree
that will never be removed automatically.

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
___