[NTG-context] texshow-web (was: colors without \definecolor)

2010-02-05 Thread Mikael Persson
Dear list and Patrick,

from texshow-web page ( http://texshow.contextgarden.net/ ) I read

texshow-web is a web application for all user-commands that can be
used in ConTeXt.

However, I see that \colored is not inthere. This is also true for
some other commands appearing at this list occasionally (usually dug
from source by Wolfgang). Is this because

1) the texshow is not updated?
2) these commands are not meant for users?
3) any other reason?

I think the texshow-web is a very useful source of information. An
updated version would be really wonderful!

/Mikael

-- Forwarded message --
From: Wolfgang Schuster schuster.wolfg...@googlemail.com
Date: Fri, Feb 5, 2010 at 8:31 AM
Subject: Re: [NTG-context] colors without \definecolor
To: mailing list for ConTeXt users ntg-context@ntg.nl


Am 04.02.10 21:41, schrieb Philipp Gesang:

 Hi all,


 I understand that in order to use a color with \color[somecolor]{colored
 text} I first have to \definecolor[somecolor][r=.4,g=0,b=1].  Currently
 I'm trying to do automated colorizing with the help of some lua code and
 I'd like to make up rgb vectors on the spot without having to
 \definecolor them first, e.g. something like \color[r=.4,g=0,b=1]
 {colored text}.  Is there a way to achieve this in mkiv?  (Right now I'm
 assigning new rgb values to the same color name whenever the function
 is called that concatenates the next \color[]{} statement.  This seems a
 bit verbose and hacky to me.)

\colored[r=...,g=...,b=...]{...}

or

{\colored[r=...,g=...,b=...]...}

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
___
___
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] defining commands

2010-02-05 Thread Marius
Hello all,

How do I define the \setuptitlepage and \placetitlepage commands in the
environment file? These commands are used as shown in the example below.


\environment docenv

\setuptitlepage[author=weare,
  name=thisismyname,
  draft=yes]

\starttext
\placetitlepage

\chapter{First}

kasj dlkasjdfl asdf
asdfkjaslfd jalsfd

\stoptext


Thank you,
Marius
___
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] l-file.lua:110: stack overflow

2010-02-05 Thread Hans Hagen

On 4-2-2010 13:48, Peter Münster wrote:

Hello,

I get the error with the following input file:

\setupexternalfigures[directory={\currentvalue, http://pmrb.free.fr/tmp/}]
\starttext
\externalfigure[hacker-test-5.pdf]
\stoptext

There is *no* problem, when \currentvalue comes after the url:



i had to look up \currentvalue as it's sort of a hack


\setupexternalfigures[directory={http://pmrb.free.fr/tmp/, \currentvalue}]


use

\expanded{\setup...}

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


Re: [NTG-context] texshow-web (was: colors without \definecolor)

2010-02-05 Thread Hans Hagen

On 5-2-2010 9:00, Mikael Persson wrote:


3) any other reason?


it's a rather recently added command

Hans

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

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


Re: [NTG-context] help! formulas set smaller?

2010-02-05 Thread Aditya Mahajan

On Fri, 5 Feb 2010, Steffen Wolfrum wrote:



Am 05.02.2010 um 00:34 schrieb Aditya Mahajan:


On Thu, 4 Feb 2010, Steffen Wolfrum wrote:


Hi,


while I want to have my bodyfont in Times 10pt, my specs force me to set my 
formulas 1pt smaller: 9pt!

As far as I have seen setupformulas doesn't provide setting a smaller font ... 
What can I do??


\definetypescript[...][mm][...][...][...][..., rscale=...,]

Try for a rscale of 0.9 and measure the actual height and tweak accordingly.




hm ... meanwhile, in core-mat I found:

%D \startbuffer
%D \startformula[9pt] x = 1 \stopformula
%D \startformula[7pt] x = 1 \stopformula
%D \stopbuffer
%D
%D \typebuffer \getbuffer


So, setting a smaller formula can also be done by \startformula[9pt] ?!


Yes, but then you will have to do this for every \startformula 
individually.


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


Re: [NTG-context] defining commands

2010-02-05 Thread Wolfgang Schuster

Am 05.02.10 09:03, schrieb Marius:

Hello all,

How do I define the \setuptitlepage and \placetitlepage commands in the
environment file? These commands are used as shown in the example below.


Since you do not explain what do you expect from both commands it's not 
possible to give you an answer but you can find on the wiki [1] a 
example for a \setuptitle and \placetitle command which can be copied 
and used in your document.


[1] 
http://wiki.contextgarden.net/Document_Titles#In_ConTeXt:_A_more_advanced_solution


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] overlay at given position: help needed

2010-02-05 Thread Wolfgang Schuster

Am 04.02.10 23:11, schrieb Peter Münster:

Hello,

Below is a test file, to show a bit what I'm looking for: a
background-image behind a text-area at a given position relative to the
center of this area. I'm not yet satisfied with the result.
   

What is the expected output from your code with the left and top keys?

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] overlay at given position: help needed

2010-02-05 Thread Peter Münster
On Fri, Feb 05 2010, Wolfgang Schuster wrote:

 Below is a test file, to show a bit what I'm looking for: a
 background-image behind a text-area at a given position relative to the
 center of this area. I'm not yet satisfied with the result.

 What is the expected output from your code with the left and top keys?

Hello Wolfgang,

When top=0 and left=0, the image should be centred in the text area.
With top=0.5 it should be centred in the bottom half.
With top=0.5 and left=0.5 it should be centred in bottom right quarter.
And so on.
(top and left should be probably replaced by hoffset and voffset)



Another idea comes to my mind:

text text text
text text text text text text
text text text text text text text text text
text text text text text text
text \placeanchor[myanchorname][hoffset=2cm, voffset=-1cm] text text text
text text text text text
text text text text text text text text

\placeatanchor[myanchorname]{\externalfigure[...]}

That means: I would like to define a position somewhere in the text,
perhaps some distance away from the actual point (hoffset and voffset).

And afterwards, I place an image at exactly that position as background.
This way, I can probably use the \FlushStep command.

I've looked quickly into the details.pdf but it all seems to be related to
floats...

TIA for any help!
Cheers, Peter

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


Re: [NTG-context] context minimals

2010-02-05 Thread Martin 'golodhrim' Scholz
Hi list,

here is the directory for ebuilds written for funtoo to support context-
minimals and the dstroke fonts that were missing in my eyes in the 
minimals.

Take a look if interested at http://github.com/golodhrim/foo-golodhrim/
tree/master/app-text/

Greetings

Martin 'golodhrim' Scholz

___
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] context mkiv metafun

2010-02-05 Thread Martin 'golodhrim' Scholz
Hi list,

another problem I encountered while installing and testing context-
minimals is that the context command is not willing in my case to 
autobuild the metafun graphics I included in the document. Would be nice 
if someone has an advice to me on to fix that, got it working under 
texexec by creating a cont-sys.tex and linking it to the directory where 
cont-sys.ori is located.

Greetings

Martin 'golodhrim' Scholz

___
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] l-file.lua:110: stack overflow again

2010-02-05 Thread Peter Münster
Hello,

Here a new example with the stack overflow:

\executesystemcommand{touch file.svg} % just to create the file
\starttext
\externalfigure[file.svg]
% \externalfigure[./file.svg] % no problem here
\stoptext

Cheers, Peter

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


Re: [NTG-context] defining commands

2010-02-05 Thread Marius
Thank you for the link, the answer to my question was as in the example you
gave, but with a single argument. The solution to my problem given below
works, but I can't find the answer to the following question. What is the
difference between \dosingleempty and \dosingleargument ?

%%%
\unprotect

\definesystemvariable {dt}

\def\setuptitle
  {\dosingleempty\dosetuptitle}

\def\dosetuptitle[#1]%
  {\def\dodosetuptitle##1%
 {\getparameters[\??dt][#1]}%
  \processcommalist[#1]\dodosetuptitle}

\def\placetitle
  {\startalignment[\v!middle]
   \blank[\v!force,2*\v!big]
   \@@dttitle
   \blank[3*\v!medium]
   \@@dtauthor
   \blank[2*\v!medium]
   \@@dtdate
   \blank[3*\v!medium]
   \stopalignment}

\setuptitle
  [\c!title=,
   \c!author=,
   \c!date=\currentdate]

\protect


On Fri, Feb 5, 2010 at 11:29 AM, Wolfgang Schuster 
schuster.wolfg...@googlemail.com wrote:

 Am 05.02.10 09:03, schrieb Marius:

  Hello all,

 How do I define the \setuptitlepage and \placetitlepage commands in the
 environment file? These commands are used as shown in the example below.


 Since you do not explain what do you expect from both commands it's not
 possible to give you an answer but you can find on the wiki [1] a example
 for a \setuptitle and \placetitle command which can be copied and used in
 your document.

 [1]
 http://wiki.contextgarden.net/Document_Titles#In_ConTeXt:_A_more_advanced_solution

 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] texshow-web (was: colors without \definecolor)

2010-02-05 Thread Mikael Persson
Thanks for you answer, Hans.

Do they appear automatically in texshow or does someone have to update
by hand? How long does it typically take? Is there something one can
do?

Mikael

On Fri, Feb 5, 2010 at 9:21 AM, Hans Hagen pra...@wxs.nl wrote:
 On 5-2-2010 9:00, Mikael Persson wrote:

 3) any other reason?

 it's a rather recently added command

 Hans

 -
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
 -

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

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


[NTG-context] Error using Minimal with TeXworks

2010-02-05 Thread Alain Delmotte

Hi!

After a long time without having time to play with ConTeXt, I 
reinstalled a new Minimals using the manual method with rsync, added 
TeXworks in the proper folder.

Under Texworks, I also pointed to the bin folder of Context.

But when compiling a document, I get:
MTXrun | fileio: no cnf files found (TEXMFCNF may not be set/known)
MTXrun | fileio: remembering file 'mtx-context.lua'
MTXrun | fileio: remembering file 'mtx-contexts.lua'
MTXrun | fileio: remembering file 'mtx-context.lua'
MTXrun | fileio: remembering file 'context.lua'
MTXrun | unknown script 'context.lua' or 'mtx-context.lua'

Any solution?

Also, is it possible to run ConTeXt from MikTeX 2.8?

Regards,

Alain Delmotte
___
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 using Minimal with TeXworks

2010-02-05 Thread Mojca Miklavec
On Fri, Feb 5, 2010 at 17:26, Alain Delmotte wrote:

 After a long time without having time to play with ConTeXt, I reinstalled a
 new Minimals using the manual method with rsync, added TeXworks in the
 proper folder.
 Under Texworks, I also pointed to the bin folder of Context.

 But when compiling a document, I get:
 MTXrun | fileio: no cnf files found (TEXMFCNF may not be set/known)
 MTXrun | fileio: remembering file 'mtx-context.lua'
 MTXrun | fileio: remembering file 'mtx-contexts.lua'
 MTXrun | fileio: remembering file 'mtx-context.lua'
 MTXrun | fileio: remembering file 'context.lua'
 MTXrun | unknown script 'context.lua' or 'mtx-context.lua'

 Any solution?

How exactly did you install it and how exactly did you run it? You can also use
--goodies=texworks
while intsalling the minimals.

 Also, is it possible to run ConTeXt from MikTeX 2.8?

Not that I would know of. I mean: it's possible to use it (with all
the font files that come with MikTeX), but you need to install it and
update it manually.

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] Error using Minimal with TeXworks

2010-02-05 Thread Alain Delmotte

Hi!

Mojca Miklavec a écrit :

On Fri, Feb 5, 2010 at 17:26, Alain Delmotte wrote:
  

After a long time without having time to play with ConTeXt, I reinstalled a
new Minimals using the manual method with rsync, added TeXworks in the
proper folder.
Under Texworks, I also pointed to the bin folder of Context.

But when compiling a document, I get:
MTXrun | fileio: no cnf files found (TEXMFCNF may not be set/known)
MTXrun | fileio: remembering file 'mtx-context.lua'
MTXrun | fileio: remembering file 'mtx-contexts.lua'
MTXrun | fileio: remembering file 'mtx-context.lua'
MTXrun | fileio: remembering file 'context.lua'
MTXrun | unknown script 'context.lua' or 'mtx-context.lua'

Any solution?



How exactly did you install it and how exactly did you run it? You can also use
--goodies=texworks
while intsalling the minimals.
  

installation:
I downloaded: context-setup-mswin.zip
unzipped it in C:\Programmes; this created c:\Programmes\Context\...
then in Context I used: first-setup.bat (as I am not going to use MkII, 
I didn't install Ruby); the installation went OK
Then I added in 
C:\Programmes\ConTeXt\tex\texmf-context\context\data\texworks a full 
TeXworks distribution (the one I use for other AllTeX works) without 
adding the file texworks-setup.ini which was installed with ConTeXt.


use:
before starting ConTeXt, I use:   C:\Programmes\ConTeXt\tex\setuptex.bat
in TeXworks, in Preferences / Typesetting I added the folder: 
C:\Programmes\ConTeXt\bin

I use ConTeXt MkIV, but I get the above error messages.

Alain

Also, is it possible to run ConTeXt from MikTeX 2.8?



Not that I would know of. I mean: it's possible to use it (with all
the font files that come with MikTeX), but you need to install it and
update it manually.

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
___

  


___
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] texshow-web (was: colors without \definecolor)

2010-02-05 Thread Hans Hagen

On 5-2-2010 16:20, Mikael Persson wrote:

Thanks for you answer, Hans.

Do they appear automatically in texshow or does someone have to update
by hand? How long does it typically take? Is there something one can
do?


if something is missing one can create the xml blob that has to go into 
the cont-en.xml file and send it to the list (for verification) and when 
ok it will be added to the main cont-en.xml


Hans


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

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


Re: [NTG-context] defining commands

2010-02-05 Thread Hans Hagen

On 5-2-2010 14:57, Marius wrote:

Thank you for the link, the answer to my question was as in the example you
gave, but with a single argument. The solution to my problem given below
works, but I can't find the answer to the following question. What is the
difference between \dosingleempty and \dosingleargument ?


the first one does not complain when no argument is given

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


Re: [NTG-context] Error using Minimal with TeXworks

2010-02-05 Thread Hans Hagen

On 5-2-2010 17:26, Alain Delmotte wrote:

Hi!

After a long time without having time to play with ConTeXt, I
reinstalled a new Minimals using the manual method with rsync, added
TeXworks in the proper folder.
Under Texworks, I also pointed to the bin folder of Context.

But when compiling a document, I get:
MTXrun | fileio: no cnf files found (TEXMFCNF may not be set/known)
MTXrun | fileio: remembering file 'mtx-context.lua'
MTXrun | fileio: remembering file 'mtx-contexts.lua'
MTXrun | fileio: remembering file 'mtx-context.lua'
MTXrun | fileio: remembering file 'context.lua'
MTXrun | unknown script 'context.lua' or 'mtx-context.lua'

Any solution?


in texmf-context/context/data/texworks

you will find a complete setup for texworks

you can start texworks (on windows) with

mtxrun --script texworks --start

and it will be in context only mode then

it defaults to running luatex (mkiv) but will listen to the

% engine=pdftex

directive (such directives are handled by the texexec and context 
scripts so one can sort of tag the document as mkii/mkiv although this 
feature dates from the mkzero times)



Also, is it possible to run ConTeXt from MikTeX 2.8?


no clue .. there was a time that mojca showed me a working miktex

Hans


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

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


Re: [NTG-context] context mkiv metafun

2010-02-05 Thread Hans Hagen

On 5-2-2010 10:33, Martin 'golodhrim' Scholz wrote:

Hi list,

another problem I encountered while installing and testing context-
minimals is that the context command is not willing in my case to
autobuild the metafun graphics I included in the document. Would be nice
if someone has an advice to me on to fix that, got it working under
texexec by creating a cont-sys.tex and linking it to the directory where
cont-sys.ori is located.


mkii or mkiv?

in mkii one can set the mp related directives in the cont-sys file, but 
depending on the distribution one might also need to enable write 18 in 
the config file (the used one can be found with)


texmfstart --edit kpse:texmf.cnf
mtxrun --edit kpse:texmf.cnf

in mkiv things are done automatically as no external mp is used


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


Re: [NTG-context] defining commands

2010-02-05 Thread Hans Hagen

On 5-2-2010 10:29, Wolfgang Schuster wrote:

Am 05.02.10 09:03, schrieb Marius:

Hello all,

How do I define the \setuptitlepage and \placetitlepage commands in the
environment file? These commands are used as shown in the example below.


Since you do not explain what do you expect from both commands it's not
possible to give you an answer but you can find on the wiki [1] a
example for a \setuptitle and \placetitle command which can be copied
and used in your document.

[1]
http://wiki.contextgarden.net/Document_Titles#In_ConTeXt:_A_more_advanced_solution


using no macros ... wikifyable ...

\startsetups titlepage
\startstandardmakeup
\definedfont[SerifBold at 40pt]
\setupinterlinespace
\getvariable{document}{title}
\vfill
\definedfont[SerifBold at 20pt]
\setupinterlinespace
\getvariable{document}{author}
\stopstandardmakeup
\stopsetups

\setvariables
[document]
[title=Whatever,
 author=Not Me]

\setvariables
[whatever]
[set={\setup[whateverpage]}]

\startsetups whateverpage
\startstandardmakeup
\definedfont[SerifBold at 40pt]
\setupinterlinespace
\getvariable{whatever}{title}
\vfill
\stopstandardmakeup
\stopsetups

\starttext
\setups[titlepage]
\setvariables[whatever][title=One]
\setvariables[whatever][title=Two]
\stoptext

in the whatever case each setvariables will trigger a setup, so one has 
a sort of macro with key/value support



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


Re: [NTG-context] context minimals

2010-02-05 Thread Hans Hagen

On 5-2-2010 3:37, Martin 'golodhrim' Scholz wrote:

Hi together

unfortunately there are the doublestroke fonts missing in the context-
minimals. Will bring up an ebuild by today if everything works right. so
if somebody likes some help by doing so, I might explain what I did or
will make the ebuild available in github.


ok, that way aditya can have a look at it

Hans


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

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


Re: [NTG-context] l-file.lua:110: stack overflow again

2010-02-05 Thread Hans Hagen

On 5-2-2010 13:44, Peter Münster wrote:

\executesystemcommand{touch file.svg} % just to create the file
\starttext
\externalfigure[file.svg]
% \externalfigure[./file.svg] % no problem here
\stoptext


hm, interesting

--

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


Re: [NTG-context] defining commands

2010-02-05 Thread Wolfgang Schuster

Am 05.02.10 18:53, schrieb Hans Hagen:

\setvariables
[whatever]
[set={\setup[whateverpage]}]

nice feature for setvariables lovers :)

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] defining commands

2010-02-05 Thread Hans Hagen

On 5-2-2010 19:08, Wolfgang Schuster wrote:

Am 05.02.10 18:53, schrieb Hans Hagen:

\setvariables
[whatever]
[set={\setup[whateverpage]}]

nice feature for setvariables lovers :)


yes, for those getting the creeps of #1 an dso

btw, i'm sure that you've seen

\starttexdefinition blabla #1 #2

which like setups ignores spaces so one can have readable macros

Hans


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

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


Re: [NTG-context] defining commands

2010-02-05 Thread Wolfgang Schuster

Am 05.02.10 19:19, schrieb Hans Hagen:

btw, i'm sure that you've seen

\starttexdefinition blabla #1 #2

which like setups ignores spaces so one can have readable macros

i was the one who requested the parameterless version

\starttexdefinition commandonly

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] defining commands

2010-02-05 Thread Hans Hagen

On 5-2-2010 19:21, Wolfgang Schuster wrote:

Am 05.02.10 19:19, schrieb Hans Hagen:

btw, i'm sure that you've seen

\starttexdefinition blabla #1 #2

which like setups ignores spaces so one can have readable macros

i was the one who requested the parameterless version

\starttexdefinition commandonly


ah, seems i need a memory upgrade

Hans

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

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


Re: [NTG-context] Error using Minimal with TeXworks

2010-02-05 Thread Mojca Miklavec
On Fri, Feb 5, 2010 at 18:40, Hans Hagen wrote:
 On 5-2-2010 17:26, Alain Delmotte wrote:

 Also, is it possible to run ConTeXt from MikTeX 2.8?

 no clue .. there was a time that mojca showed me a working miktex

It used to work until Hans started using texmfstart.exe. As opposed to
standalone version of ConTeXt some paths had not been resolved
properly on MikTeX (a bug in ConTeXt), but nobody had ever debug the
behaviour, so CS removed ConTeXt from MikTeX packages.

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] context mkiv metafun

2010-02-05 Thread Martin 'golodhrim' Scholz
On Fri, 05 Feb 2010 18:43:35 +0100, Hans Hagen wrote:

 On 5-2-2010 10:33, Martin 'golodhrim' Scholz wrote:
 Hi list,

 another problem I encountered while installing and testing context-
 minimals is that the context command is not willing in my case to
 autobuild the metafun graphics I included in the document. Would be
 nice if someone has an advice to me on to fix that, got it working
 under texexec by creating a cont-sys.tex and linking it to the
 directory where cont-sys.ori is located.
 
 mkii or mkiv?
 
 in mkii one can set the mp related directives in the cont-sys file, but
 depending on the distribution one might also need to enable write 18 in
 the config file (the used one can be found with)
 
 texmfstart --edit kpse:texmf.cnf
 mtxrun --edit kpse:texmf.cnf
 
 in mkiv things are done automatically as no external mp is used

the problem is that mkiv is not build the included metapost graphics, or 
has mkiv problems concering overlays or the project structure?

___
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] context minimals

2010-02-05 Thread Martin 'golodhrim' Scholz
On Fri, 05 Feb 2010 19:01:24 +0100, Hans Hagen wrote:

 On 5-2-2010 3:37, Martin 'golodhrim' Scholz wrote:
 Hi together

 unfortunately there are the doublestroke fonts missing in the context-
 minimals. Will bring up an ebuild by today if everything works right.
 so if somebody likes some help by doing so, I might explain what I did
 or will make the ebuild available in github.
 
 ok, that way aditya can have a look at it

And later that afternoon I wrote a short HowTo on howto setup and use the 
overlay for his own purpose in an funtoo environment.

___
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] context minimals

2010-02-05 Thread Martin 'golodhrim' Scholz
On Fri, 05 Feb 2010 19:01:24 +0100, Hans Hagen wrote:

 On 5-2-2010 3:37, Martin 'golodhrim' Scholz wrote:
 Hi together

 unfortunately there are the doublestroke fonts missing in the context-
 minimals. Will bring up an ebuild by today if everything works right.
 so if somebody likes some help by doing so, I might explain what I did
 or will make the ebuild available in github.
 
 ok, that way aditya can have a look at it
so think forgot to post the link to it in the last mail. so will do it 
here.

Here is the link to the HowTo for the funtoo build scripts for context-
minimals in funtoo: http://wiki.contextgarden.net/ConTeXt_Minimals_Funtoo 

___
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] context mkiv metafun

2010-02-05 Thread Martin 'golodhrim' Scholz
On Fri, 05 Feb 2010 18:43:35 +0100, Hans Hagen wrote:

 On 5-2-2010 10:33, Martin 'golodhrim' Scholz wrote:
 Hi list,

 another problem I encountered while installing and testing context-
 minimals is that the context command is not willing in my case to
 autobuild the metafun graphics I included in the document. Would be
 nice if someone has an advice to me on to fix that, got it working
 under texexec by creating a cont-sys.tex and linking it to the
 directory where cont-sys.ori is located.
 
 mkii or mkiv?
 
 in mkii one can set the mp related directives in the cont-sys file, but
 depending on the distribution one might also need to enable write 18 in
 the config file (the used one can be found with)
 
 texmfstart --edit kpse:texmf.cnf
 mtxrun --edit kpse:texmf.cnf
 
 in mkiv things are done automatically as no external mp is used

The problematic output is:
mplib   : initializing instance 'metafun' using format 'metafun'
mplib   : making 'metafun.mp' into '/opt/context-minimals/tex/
texmf-cache/luatex-cache/context/ccfefc91ec3ed68af1aeed1f470fef4d/formats/
cont-en-metafun.mem'
mplib   : problems with 'metafun.mp' from '/opt/context-minimals/
tex/texmf-cache/luatex-cache/context/ccfefc91ec3ed68af1aeed1f470fef4d/
formats/cont-en-metafun.mem'
!pages  : flushing realpage 8, userpage 8

so what needs to be changed to get context mkiv running and creating the 
metapost output?

___
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] context mkiv metafun

2010-02-05 Thread Martin 'golodhrim' Scholz
On Fri, 05 Feb 2010 20:23:24 +, Martin 'golodhrim' Scholz wrote:

 On Fri, 05 Feb 2010 18:43:35 +0100, Hans Hagen wrote:
 
 On 5-2-2010 10:33, Martin 'golodhrim' Scholz wrote:
 Hi list,

 another problem I encountered while installing and testing context-
 minimals is that the context command is not willing in my case to
 autobuild the metafun graphics I included in the document. Would be
 nice if someone has an advice to me on to fix that, got it working
 under texexec by creating a cont-sys.tex and linking it to the
 directory where cont-sys.ori is located.
 
 mkii or mkiv?
 
 in mkii one can set the mp related directives in the cont-sys file, but
 depending on the distribution one might also need to enable write 18 in
 the config file (the used one can be found with)
 
 texmfstart --edit kpse:texmf.cnf
 mtxrun --edit kpse:texmf.cnf
 
 in mkiv things are done automatically as no external mp is used
 
 The problematic output is:
 mplib   : initializing instance 'metafun' using format 'metafun'
 mplib   : making 'metafun.mp' into '/opt/context-minimals/tex/
 texmf-cache/luatex-cache/context/ccfefc91ec3ed68af1aeed1f470fef4d/
formats/
 cont-en-metafun.mem'
 mplib   : problems with 'metafun.mp' from
 '/opt/context-minimals/
 tex/texmf-cache/luatex-cache/context/ccfefc91ec3ed68af1aeed1f470fef4d/
 formats/cont-en-metafun.mem'
 !pages  : flushing realpage 8, userpage 8
 
 so what needs to be changed to get context mkiv running and creating the
 metapost output?

Ok problem solved... missing rights to write to /opt/context-minimals/tex/
texmf-cache/, just chmoded it 777 so it will be usable for graphic 
generation. Would be nice to include the possibilty to add in a standard 
way a personal texmf-cache, or is there a way to do so and I don't know 
about 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Error using Minimal with TeXworks

2010-02-05 Thread Hans Hagen

On 5-2-2010 20:34, Mojca Miklavec wrote:

On Fri, Feb 5, 2010 at 18:40, Hans Hagen wrote:

On 5-2-2010 17:26, Alain Delmotte wrote:


Also, is it possible to run ConTeXt from MikTeX 2.8?


no clue .. there was a time that mojca showed me a working miktex


It used to work until Hans started using texmfstart.exe. As opposed to
standalone version of ConTeXt some paths had not been resolved
properly on MikTeX (a bug in ConTeXt), but nobody had ever debug the


I'm not sure if it's a bug or not. The main issue is that miktex has a 
completely different way of configurating the tree. Also, last time i 
looked into it there were also some hard codes assumptions with regards 
to multiple trees.


Anyhow ... the minimals are probaby a better way to go.

Hans

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

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


Re: [NTG-context] Error using Minimal with TeXworks

2010-02-05 Thread Hans Hagen

On 5-2-2010 20:34, Mojca Miklavec wrote:

On Fri, Feb 5, 2010 at 18:40, Hans Hagen wrote:

On 5-2-2010 17:26, Alain Delmotte wrote:


Also, is it possible to run ConTeXt from MikTeX 2.8?


no clue .. there was a time that mojca showed me a working miktex


It used to work until Hans started using texmfstart.exe. As opposed to


btw, texmfstart.exe is just the ruby script with ruby packages in a zip 
and at some point that wrapper system changed (out of our control) but 
the latest texmfstart is just mtxrun (using lua) ... the only snippet of 
ruby in use is texexec/texutil and even that can go away (i simply have 
no time to finish the texutil bit although i have a prototype).


Hans


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

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


Re: [NTG-context] context mkiv metafun

2010-02-05 Thread Hans Hagen

On 5-2-2010 21:23, Martin 'golodhrim' Scholz wrote:


mplib   : problems with 'metafun.mp' from '/opt/context-minimals/
tex/texmf-cache/luatex-cache/context/ccfefc91ec3ed68af1aeed1f470fef4d/
formats/cont-en-metafun.mem'
!pages  : flushing realpage 8, userpage 8

so what needs to be changed to get context mkiv running and creating the
metapost output?


i'm clueless ... can others confirm such a problem?

Hans


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

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


Re: [NTG-context] context mkiv metafun

2010-02-05 Thread Hans Hagen

On 5-2-2010 21:40, Martin 'golodhrim' Scholz wrote:


Ok problem solved... missing rights to write to /opt/context-minimals/tex/
texmf-cache/, just chmoded it 777 so it will be usable for graphic
generation. Would be nice to include the possibilty to add in a standard
way a personal texmf-cache, or is there a way to do so and I don't know
about it?


grep for texmfcnf.lua

this is a prelude to a replacement for texmf.cnf in mkiv

Hans

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

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


Re: [NTG-context] Error using Minimal with TeXworks

2010-02-05 Thread Andreas Schneider
Alain Delmotte wrote:

 Hi!
 installation:
 I downloaded: context-setup-mswin.zip
 unzipped it in C:\Programmes; this created c:\Programmes\Context\...
 then in Context I used: first-setup.bat (as I am not going to use MkII,
 I didn't install Ruby); the installation went OK
 Then I added in
 C:\Programmes\ConTeXt\tex\texmf-context\context\data\texworks a full
 TeXworks distribution (the one I use for other AllTeX works) without
 adding the file texworks-setup.ini which was installed with ConTeXt.
 
 use:
 before starting ConTeXt, I use:   C:\Programmes\ConTeXt\tex\setuptex.bat
 in TeXworks, in Preferences / Typesetting I added the folder:
 C:\Programmes\ConTeXt\bin
 I use ConTeXt MkIV, but I get the above error messages.
 
 Alain

The correct directory should be
C:\Programmes\ConTeXt\tex\texmf-mswin\bin

Best Regards,
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] context mkiv metafun

2010-02-05 Thread Martin 'golodhrim' Scholz
On Sat, 06 Feb 2010 00:50:43 +0100, Hans Hagen wrote:

 On 5-2-2010 21:40, Martin 'golodhrim' Scholz wrote:
 
 Ok problem solved... missing rights to write to
 /opt/context-minimals/tex/ texmf-cache/, just chmoded it 777 so it will
 be usable for graphic generation. Would be nice to include the
 possibilty to add in a standard way a personal texmf-cache, or is there
 a way to do so and I don't know about it?
 
 grep for texmfcnf.lua
 
 this is a prelude to a replacement for texmf.cnf in mkiv
 
Ok got this file Hans, and what would be a good replacement in there?

would it be ok to something like

return {
TEXMFCACHE = '~/.context-minimals/texmf-cache',
}
ok or is it possible to use multiple paths in that syntax like:

return {
TEXMFCACHE = 'Path1', 'Path2'
}
unfortunately on this point there is no documention I can find.
Thanks for your fast help 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
___


Re: [NTG-context] context mkiv metafun

2010-02-05 Thread Hans Hagen

On 6-2-2010 1:04, Martin 'golodhrim' Scholz wrote:

On Sat, 06 Feb 2010 00:50:43 +0100, Hans Hagen wrote:


On 5-2-2010 21:40, Martin 'golodhrim' Scholz wrote:


Ok problem solved... missing rights to write to
/opt/context-minimals/tex/ texmf-cache/, just chmoded it 777 so it will
be usable for graphic generation. Would be nice to include the
possibilty to add in a standard way a personal texmf-cache, or is there
a way to do so and I don't know about it?


grep for texmfcnf.lua

this is a prelude to a replacement for texmf.cnf in mkiv


Ok got this file Hans, and what would be a good replacement in there?

would it be ok to something like

return {
TEXMFCACHE = '~/.context-minimals/texmf-cache',
}
ok or is it possible to use multiple paths in that syntax like:


sure. you probably need to run luatools --generate after a change


return {
TEXMFCACHE = 'Path1', 'Path2'
}
unfortunately on this point there is no documention I can find.
Thanks for your fast help Hans


no, for the moment just one cache path (maybe in the future more but it 
is sort of tricky as quite some version testing has to be done then so 
it's not a good idea to implement that while mkiv is in flux


Hans


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

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


Re: [NTG-context] context mkiv metafun

2010-02-05 Thread Martin 'golodhrim' Scholz
On Sat, 06 Feb 2010 01:11:49 +0100, Hans Hagen wrote:

 On 6-2-2010 1:04, Martin 'golodhrim' Scholz wrote:
 On Sat, 06 Feb 2010 00:50:43 +0100, Hans Hagen wrote:

 On 5-2-2010 21:40, Martin 'golodhrim' Scholz wrote:

 Ok problem solved... missing rights to write to
 /opt/context-minimals/tex/ texmf-cache/, just chmoded it 777 so it
 will be usable for graphic generation. Would be nice to include the
 possibilty to add in a standard way a personal texmf-cache, or is
 there a way to do so and I don't know about it?

 grep for texmfcnf.lua

 this is a prelude to a replacement for texmf.cnf in mkiv

 Ok got this file Hans, and what would be a good replacement in there?

 would it be ok to something like

 return {
  TEXMFCACHE = '~/.context-minimals/texmf-cache',
 }
 ok or is it possible to use multiple paths in that syntax like:
 
 sure. you probably need to run luatools --generate after a change
 
 return {
  TEXMFCACHE = 'Path1', 'Path2'
 }
 unfortunately on this point there is no documention I can find. Thanks
 for your fast help Hans
 
 no, for the moment just one cache path (maybe in the future more but it
 is sort of tricky as quite some version testing has to be done then so
 it's not a good idea to implement that while mkiv is in flux
 
Million Thanks Hans
fixed it with the userspecific pathset and works like expected. WOW cool 
to get so fast and late so qualified help...

___
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] colors without \definecolor

2010-02-05 Thread Philipp Gesang
Wolfgang, all,
On 2010-02-05 08:31:35, Wolfgang Schuster wrote:
 \colored[r=...,g=...,b=...]{...}
 or
 {\colored[r=...,g=...,b=...]...}
Thank you very much, I wikified it.  Is there a difference (other than
syntax) between \colored[rgb] and the according \definecolor[name][rgb]
-- \color[name] commands?

Philipp


pgpeYNdmcwSZk.pgp
Description: PGP signature
___
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] context minimals

2010-02-05 Thread Aditya Mahajan

On Fri, 5 Feb 2010, Martin 'golodhrim' Scholz wrote:


On Fri, 05 Feb 2010 19:01:24 +0100, Hans Hagen wrote:


On 5-2-2010 3:37, Martin 'golodhrim' Scholz wrote:

Hi together

unfortunately there are the doublestroke fonts missing in the context-
minimals. Will bring up an ebuild by today if everything works right.
so if somebody likes some help by doing so, I might explain what I did
or will make the ebuild available in github.


ok, that way aditya can have a look at it

so think forgot to post the link to it in the last mail. so will do it
here.

Here is the link to the HowTo for the funtoo build scripts for context-
minimals in funtoo: http://wiki.contextgarden.net/ConTeXt_Minimals_Funtoo


If I understand correctly, the context-dstroke ebuild is just downloading 
the doublestroke font http://www.ctan.org/tex-archive/fonts/doublestroke/ 
and installing it in a proper TDS structure.


This is a small font, so I think that it is OK to just add this to the 
minimals. Mojca, what do you think?


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


Re: [NTG-context] colors without \definecolor

2010-02-05 Thread Wolfgang Schuster

Am 05.02.10 15:49, schrieb Philipp Gesang:


Is there a difference (other than
syntax) between \colored[rgb] and the according \definecolor[name][rgb]
-- \color[name] commands?


No, \colored is \definecolor + \color except you can use it in the form

\colored[rgb]{...}

and

{\colored[rgb]...}

while \color can only be used as

\color[rgb]{...}.

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
___