Re: [NTG-context] Can I use mkii and mkiv side by side?

2015-01-21 Thread Otared Kavian
Hi Keith,

I got it! With the proper setting of paths it works without sourcing setuptex.
Thus I have for my installation of mkii:
--
#!/bin/bash

export PATH=/Volumes/OK/context-minimal/tex/texmf-osx-64/bin:$PATH
texexec --autogenerate --synctex=1 "$1" 
--

Many thanks again!
Best regards: OK

> On 21 Jan 2015, at 14:31, Keith J. Schultz  wrote:
> 
> Hi Otared,
> 
> actually, just setting the PATH variable will work, but you have to set it
> with the proper command!
> 
> The Standard TexShop engines use the tcsh shell and not bash !!
> 
> either change the first line to 
> #!/bin/tcsh
> 
> or set the path bash style
> export PATH=/Volumes/OK/context-minimal/tex/texmf-osx-64/bin:$PATH
> 
> I put the standard PATH behind the minimals path so that it is searched first!
> 
> regards
>   Keith
> 
>> Am 21.01.2015 um 13:48 schrieb Otared Kavian > >:
>> 
>> Hi Keith,
>> 
>> Thanks for your attention. 
>> Indeed I use the latest TeXShop (version 3.49) but regarding the content my 
>> mkii.engine file if I remove the line 
>> 
>> source /Volumes/OK/context-minimal/tex/setuptex
>> 
>> then I cannot typeset with my standalone installation of Context: I tried to 
>> use a set path such as
>> 
>> set path = ($path /Volumes/OK/context-minimal/tex/texmf-osx-64/bin)
>> 
>> but I get an error message telling me:
>> 
>> /Users/kavian/Library/TeXShop/Engines/mkii.engine: line 3: syntax error near 
>> unexpected token `('
>> /Users/kavian/Library/TeXShop/Engines/mkii.engine: line 3: `set path = 
>> ($path /Volumes/OK/context-minimal/tex/texmf-osx-64/bin)’
>> 
>> So at this point I have to keep the instruction to source the setuptex file 
>> in order to typeset either with mkii or mkiv, using the standalone Context. 
>> 
>> Best regards: OK
>> 
> 
> ___
> 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] My book, typeset in ConTeXt, has gone into production

2015-01-21 Thread Gerben Wierda
The book is called “Chess and the Art of Enterprise Architecture” and it has 
gone into production yesterday. Amazon US already lists it (though without 
image) and shows it as available.

http://wp.me/P4ST0f-n

Thanks all for your help when I ran into problems over the last half year.

G
___
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] Positioning an arrow between two values (Metapost)

2015-01-21 Thread Fabrice

Hi Troy,
Thank you, this macro is very nice ; it matches what I want to do even 
if I would like a smaller space between the arrow and labels.

Best regards,
Fabrice
___
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] Luatex 0.79.3 announcement

2015-01-21 Thread luigi scarso
==
Luatex beta-0.79.3 was released 20150121 (5130)
==


* It's now possible with the MinGW compilers to build luatex and luajittex
as DLL
  for Windows 32bit/64bit.  The files are:
  libkpathsea-6.dll  luajittex.exe  luatex.exe  texlua52.dll  texluajit.dll
  In the next release the build.sh script be updated; for the moment just
add
  "--enable-shared -disable-native-texlive-build " after --disable-all-pkgs
  in TL_MAKE.
  Building as DLL was tested only for Windows.

* When possibile  symbols in the exe are now hidden:
  this should avoid conflicts with the loading of dynamic shared object.

* several bugfixes and improvements. The patches for MetaPost
  fix seg. faults occourred with wrong inputs.
  The functions:
   mp_get_numeric_value, mp_get_string_value, mp_get_boolean_value
  works if the value is a variable (i.e. not an internal variable,
  a loop variable and a macro argument);
  only mp_get_numeric_value now has support for loop variable
  and internal variable (but still  not for macro arguments).



We plan 0.80 for TL, with
integration of the tokenlib branch,
cleanup and  bugs fix.
We will also test lua 5.3, but we are not sure that it will part
of the next TL .


The archives can be downloaded from supelec as usual:

https://foundry.supelec.fr/projects/luatex/

You could also check out the sources via anonymous svn:

  svn co --username anonsvn --password anonsvn  \
  https://foundry.supelec.fr/svn/luatex/tags/beta-0.79.3

Bugs and feature requests can be added to the issue tracker at

   http://tracker.luatex.org



Have fun,
Hans, Taco, 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] Can I use mkii and mkiv side by side?

2015-01-21 Thread Keith J. Schultz
Hi Otared,

actually, just setting the PATH variable will work, but you have to set it
with the proper command!

The Standard TexShop engines use the tcsh shell and not bash !!

either change the first line to 
#!/bin/tcsh

or set the path bash style
export PATH=/Volumes/OK/context-minimal/tex/texmf-osx-64/bin:$PATH

I put the standard PATH behind the minimals path so that it is searched first!

regards
Keith

> Am 21.01.2015 um 13:48 schrieb Otared Kavian :
> 
> Hi Keith,
> 
> Thanks for your attention. 
> Indeed I use the latest TeXShop (version 3.49) but regarding the content my 
> mkii.engine file if I remove the line 
> 
> source /Volumes/OK/context-minimal/tex/setuptex
> 
> then I cannot typeset with my standalone installation of Context: I tried to 
> use a set path such as
> 
> set path = ($path /Volumes/OK/context-minimal/tex/texmf-osx-64/bin)
> 
> but I get an error message telling me:
> 
> /Users/kavian/Library/TeXShop/Engines/mkii.engine: line 3: syntax error near 
> unexpected token `('
> /Users/kavian/Library/TeXShop/Engines/mkii.engine: line 3: `set path = ($path 
> /Volumes/OK/context-minimal/tex/texmf-osx-64/bin)’
> 
> So at this point I have to keep the instruction to source the setuptex file 
> in order to typeset either with mkii or mkiv, using the standalone Context. 
> 
> Best regards: OK
> 

___
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] Can I use mkii and mkiv side by side?

2015-01-21 Thread Otared Kavian
Hi Keith,

Thanks for your attention. 
Indeed I use the latest TeXShop (version 3.49) but regarding the content my 
mkii.engine file if I remove the line 

source /Volumes/OK/context-minimal/tex/setuptex

then I cannot typeset with my standalone installation of Context: I tried to 
use a set path such as

set path = ($path /Volumes/OK/context-minimal/tex/texmf-osx-64/bin)

but I get an error message telling me:

/Users/kavian/Library/TeXShop/Engines/mkii.engine: line 3: syntax error near 
unexpected token `('
/Users/kavian/Library/TeXShop/Engines/mkii.engine: line 3: `set path = ($path 
/Volumes/OK/context-minimal/tex/texmf-osx-64/bin)’

So at this point I have to keep the instruction to source the setuptex file in 
order to typeset either with mkii or mkiv, using the standalone Context. 

Best regards: OK

> On 21 Jan 2015, at 12:55, Keith Schultz  wrote:
> 
> Hi Otared and Gerben,
> 
> I do not know which version of TeXShop you are using but the more recent ones
> have Engines for ConTeXt, already.
> 
> If they are not already installed you can find them in:
> ~/Libraries/TeXShop/Engines/Inactive
> 
> just more the Contex( LuaTeX).engine into Engines and restart
> TeXShop.
> 
> Here is the engine definition for MacTeX 2014 (TeXLive)
> #!/bin/tcsh
> 
> # Before using this engine, you must run the following command once in 
> Terminal: luatools --generate
> 
> set path= ($path /usr/texbin /usr/local/bin)
> mtxrun --script context --autogenerate --synctex=1 "$1"
> 
> 
>> Am 21.01.2015 um 12:08 schrieb Otared Kavian :
>> 
>> Hi Gerben,
> [snip, snip]
>> For instance my file mkii.engine contains the following lines:
>> 
>> #!/bin/bash
>> source /Volumes/OK/context-minimal/tex/setuptex 
>> texexec --autogenerate --synctex=1 "$1" 
> No need to Source setuptex.
> Just set the Path to your ConTeXt Standalone directory
> The setuptex script is a multi-platform script to setup the paths!
> 
> 
>> where  
>>  /Volumes/OK/context-minimal/tex/setuptex 
>> is the path to the file setuptex in my Context standalone directory.
>> 
>> Best regards: OK
>> 
> 
> regards
>   Keith.
> ___
> 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
___

Re: [NTG-context] Can I use mkii and mkiv side by side?

2015-01-21 Thread Keith Schultz
Hi Otared and Gerben,

I do not know which version of TeXShop you are using but the more recent ones
have Engines for ConTeXt, already.

If they are not already installed you can find them in:
~/Libraries/TeXShop/Engines/Inactive

just more the Contex( LuaTeX).engine into Engines and restart
TeXShop.

Here is the engine definition for MacTeX 2014 (TeXLive)
#!/bin/tcsh

# Before using this engine, you must run the following command once in 
Terminal: luatools --generate

set path= ($path /usr/texbin /usr/local/bin)
mtxrun --script context --autogenerate --synctex=1 "$1"


> Am 21.01.2015 um 12:08 schrieb Otared Kavian :
> 
> Hi Gerben,
[snip, snip]
> For instance my file mkii.engine contains the following lines:
> 
> #!/bin/bash
> source /Volumes/OK/context-minimal/tex/setuptex 
> texexec --autogenerate --synctex=1 "$1" 
No need to Source setuptex.
Just set the Path to your ConTeXt Standalone directory
 The setuptex script is a multi-platform script to setup the paths!


> where  
>   /Volumes/OK/context-minimal/tex/setuptex 
> is the path to the file setuptex in my Context standalone directory.
> 
> Best regards: OK
> 

regards
Keith.
___
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] Can I use mkii and mkiv side by side?

2015-01-21 Thread Keith J. Schultz
Hi Gerben,

Mkii and Mkiv are to different animals and live side by side.

You do not need to change your TeX setup at all!

All you need to do is change the call to start the processing.

Mkiv can be called with the context …
or 
mtxrun -script context …


What I do not know is in what kind of „environment you are working in.
MacOS or Terminal, or Xquartz( aka X11), because you could even install
ConTeXt Standalone! and us it all of them side by side!

If you use the Standalone you need to setup the Paths properly though.
There is a shell script that helps with this if you are working directly in the 
„Unix“-
environment.

If you use TeXShop, it is easy enough, just switch the Engine in the editor.
and typeset!! For TexWorks it should be similiar.

I do not believe there are step by step instructions for going from mkii to 
mkiv.

To my knowledge most mkii code should run under mkiv!

Yet, you can do many things easier in mkiv than in mkii!

But, I think you know one step: make a copy of your project and work on that!! 
;))

Hope this helps
Keith


> Am 21.01.2015 um 00:36 schrieb Gerben Wierda :
> 
> I have a finished mkii project and I’d like to be able to export it to a 
> format that can be a start for other distributions (such as epub or the 
> like). For this, I get the impression I need mkiv.
> 
> Now, before I go on trying to move my project to mkiv I have a question. Can 
> I run mkii and mkiv side by side? That is, if I configure my TeX setup for 
> mkiv (I am using MacTeX 2014), can I still fall back to the old setup when I 
> fail?
> 
> Second, is there some step-by-step instruction to move a project from mkii to 
> mkiv?
> 
> G
> ___
> 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
___

Re: [NTG-context] Can I use mkii and mkiv side by side?

2015-01-21 Thread Otared Kavian
Hi Gerben,

Indeed this is possible to use mkii and mkiv side by side.
In particular if you use TeXShop, it is enough to say at the beginning of your 
TeX file

%!TEX TS-program = mkii

or 

%!TEX TS-program = mkiv

where it is assumed that you have created two files named

mkii.engine

and

mkiv.engine

located in the directory

~/Library/TeXShop/Engines

For instance my file mkii.engine contains the following lines:

#!/bin/bash
source /Volumes/OK/context-minimal/tex/setuptex 
texexec --autogenerate --synctex=1 "$1" 

where  
/Volumes/OK/context-minimal/tex/setuptex 
is the path to the file setuptex in my Context standalone directory.

Best regards: OK

> On 21 Jan 2015, at 00:36, Gerben Wierda  wrote:
> 
> I have a finished mkii project and I’d like to be able to export it to a 
> format that can be a start for other distributions (such as epub or the 
> like). For this, I get the impression I need mkiv.
> 
> Now, before I go on trying to move my project to mkiv I have a question. Can 
> I run mkii and mkiv side by side? That is, if I configure my TeX setup for 
> mkiv (I am using MacTeX 2014), can I still fall back to the old setup when I 
> fail?
> 
> Second, is there some step-by-step instruction to move a project from mkii to 
> mkiv?
> 
> G
> ___
> 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
___