Re: [NTG-context] Module taspresent

2009-03-18 Thread Curious Learn
I figured out how and where to install the taspresent module. Now when I try to
compile the file it loads the module. However, I do not get any of the colors or
the frames. For example, the following code does not give me any color. It does
though take out the page numbers and sets the correct papersize. Other than that
everything is as if it is a plain text file.

The presentation I am trying is

\usemodule[taspresent][style=bluegray]

\starttext

A presentation

\stoptext

Does anyone have an idea why this is happening?

Thanks very much.



___
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] beta: \abortinputifdefined (mkiv)

2009-03-18 Thread Wolfgang Schuster
On Wed, Mar 18, 2009 at 11:59 PM, Hans Hagen  wrote:
> Wolfgang Schuster wrote:
> i removed that one as grepoing didn't have matches; it was meant for some
> old generic files but i gave up on generic
>
>>> oops, is syst-gen.tex no longer part of the mkiv core? i installed the
>>> beta two times (cleaned up texmf-context) and also tried the luatex binary
>>> from yesterday. no success so far.
>>
>> mkiv use syst-ext.tex
>
> no, syst-aux

Dawn, it's hard to keep everything in mind with all your moves and changes.

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] beta: \abortinputifdefined (mkiv)

2009-03-18 Thread Hans Hagen

Peter Rolf wrote:

Hi,

my testing yesterday was only limited to a very small test file 
(overprinting test). i had no problems with that, but any approach with 
one of my graphics directly ends with


! Undefined control sequence.
l.1 \abortinputifdefined

oops, is syst-gen.tex no longer part of the mkiv core? i installed the 
beta two times (cleaned up texmf-context) and also tried the luatex 
binary from yesterday. no success so far.

also no fun with mkii. looks like shading specials are broken.


hmm ... need example ...


-
  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] beta: \abortinputifdefined (mkiv)

2009-03-18 Thread Hans Hagen

Wolfgang Schuster wrote:

On Wed, Mar 18, 2009 at 10:24 PM, Peter Rolf  wrote:

Hi,

my testing yesterday was only limited to a very small test file
(overprinting test). i had no problems with that, but any approach with one
of my graphics directly ends with

! Undefined control sequence.
l.1 \abortinputifdefined


i removed that one as grepoing didn't have matches; it was meant for 
some old generic files but i gave up on generic



oops, is syst-gen.tex no longer part of the mkiv core? i installed the beta
two times (cleaned up texmf-context) and also tried the luatex binary from
yesterday. no success so far.


mkiv use syst-ext.tex


no, syst-aux


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


[NTG-context] Module taspresent

2009-03-18 Thread Curious Learn
As mentioned on the wiki, I tried to install taspresent module by running

./first-setup.sh --extras="t-taspresent" in the terminal. 

A lot of things happened and then I ran 

luatools --generate

and then

context --make. 

Then I tried to compile the file 

\usemodule[taspresent][style=blackblue] 

\starttext
 
This is a presentation

\stoptext 

This gives me just a plain page with the line "This is a presentation".  

The log window says that "module taspresent not found". 

Before I did all the above, I also installed taspresent manually in the
~/Library/texmf/tex/context/taspresent folder. I downloaded the .zip file from
ctan and unzipped it inside the taspresent folder mentioned above. Still no
success. How do I use taspresent?

Thanks very much. 

___
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] Is there anything like developer's manual for ConTeXt?

2009-03-18 Thread David Wooten


On Mar 17, 2009, at 9:20 AM, Rory Molinari wrote:


Taco Hoekwater wrote:

Corin Royal Drummond wrote:
Many have voiced the same complaint.  I understand that Hans and  
every
one are occupied with building MKIV (aka LuaTeX), and that  
documentation
is not their highest priority.  There's the wiki, the wonderfully  
active
mailing list, and what used to be decent docs from 2001/2002  
timeframe. But yes, it's a steep hill to climb, made worth it only  
by the relative

awesomeness of ConTeXt.

You missed the reference manual rewrite effort (which is now in
remission mostly because of an extremely depressing lack of user
feedback).
 http://wiki.contextgarden.net/Main_Page#Documentation


Hi Taco,

I'm sorry that I haven't given much feedback on the documentation  
project.  I got through the Typography chapter, but then was so  
confounded by the Fonts chapter that I didn't feel able to give  
comments.  I will make another attempt.


Cheers,
Rory


Hi, I'd like to second what Rory said. I was delighted by my first  
reading of the typography chapter, and had not seen the font chapter  
until you posted the link above, Taco. I'm also sorry not to have  
chimed in before.


Dave

___
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] beta: \abortinputifdefined (mkiv)

2009-03-18 Thread Wolfgang Schuster
On Wed, Mar 18, 2009 at 10:24 PM, Peter Rolf  wrote:
> Hi,
>
> my testing yesterday was only limited to a very small test file
> (overprinting test). i had no problems with that, but any approach with one
> of my graphics directly ends with
>
> ! Undefined control sequence.
> l.1 \abortinputifdefined
>
> oops, is syst-gen.tex no longer part of the mkiv core? i installed the beta
> two times (cleaned up texmf-context) and also tried the luatex binary from
> yesterday. no success so far.

mkiv use syst-ext.tex

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

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


[NTG-context] beta: \abortinputifdefined (mkiv)

2009-03-18 Thread Peter Rolf

Hi,

my testing yesterday was only limited to a very small test file 
(overprinting test). i had no problems with that, but any approach with 
one of my graphics directly ends with


! Undefined control sequence.
l.1 \abortinputifdefined

oops, is syst-gen.tex no longer part of the mkiv core? i installed the 
beta two times (cleaned up texmf-context) and also tried the luatex 
binary from yesterday. no success so far.

also no fun with mkii. looks like shading specials are broken.


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

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


Re: [NTG-context] math problems

2009-03-18 Thread Hans Hagen

Aditya Mahajan wrote:

On Sun, 15 Mar 2009, Mohamed Bana wrote:


hi guys,

i generally use this file to test if math is "working", with the recent
update i get a lot of errors such as;


Add

\let\blackboard\mathblackboard
\let\fraktur\mathfraktur
\let\gothic\mathfraktur


ok, i added it to math-ini.mkiv

-
  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] switching layouts for a float

2009-03-18 Thread Hans Hagen

Corin Royal Drummond wrote:
I suspect that this doesn't work because of the nature of floats, but 
then how to slap the float into a new layout setup with appropriate 
margins?


details.pdf shows some floats trickery


-
  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] TeXshop instructions on Context Minimals (Mac installation)

2009-03-18 Thread Curious Learn
Bowen Alan C.  Princeton.edu> writes:


> In Terminal try:
> 
> cd Users/Name/Library/TeXShop/Engines/
> 
> and then
> 
> chmod +x ConTeXt-MKIV.engine
> 
> which will allow you to execute the file.

Thanks Alan. That worked great. I have added that to the instructions
on the Wiki.

___
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] \setupcombinations[distance=none]

2009-03-18 Thread Alan BRASLAU
What about:
\setuptables[distance=none]
?

On Wednesday 18 March 2009 17:30:54 Wolfgang Schuster wrote:
> Am 18.03.2009 um 17:23 schrieb Alan BRASLAU:
> > Minor bug (both mkiv and mkii):
> >
> > \setupcombinations[distance=none]
> > is broken, whereas
> > \setupcombinations[distance=0pt]
> > is OK.
>
> Only dimensions are allowed for the distance key and this
> is also what you can get from the error message.
>
> 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] \setupcombinations[distance=none]

2009-03-18 Thread Wolfgang Schuster


Am 18.03.2009 um 17:23 schrieb Alan BRASLAU:


Minor bug (both mkiv and mkii):

\setupcombinations[distance=none]
is broken, whereas
\setupcombinations[distance=0pt]
is OK.


Only dimensions are allowed for the distance key and this
is also what you can get from the error message.

Wolfgang

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

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


[NTG-context] \setupcombinations[distance=none]

2009-03-18 Thread Alan BRASLAU
Minor bug (both mkiv and mkii):

\setupcombinations[distance=none]
is broken, whereas
\setupcombinations[distance=0pt]
is OK.

Minimal example:

\starttext
\setupcombinations[distance=none]
\startcombination[2]
{M}{a}
{M}{b}
\stopcombination
\stoptext

! Missing number, treated as zero.

   n
\@@codistance ->n
 one
\next ...\hskip \combinationparameter \c!distance
  &\docombination
l.4 {M}{a}

?

___
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] font switching questions

2009-03-18 Thread Wolfgang Schuster


Am 18.03.2009 um 16:26 schrieb Alan Stone:


On Wed, Mar 18, 2009 at 9:23 AM, Hans Hagen  wrote:
(there's also Normal, Bold etc that is even more generic in the  
sense that it can be sans or serif depending of the situation)

Re. code in attachment

Why is the font output not correct when using  
\usetypescriptfile[tps_arial_normal] ?


Learn how to use \definetypeface, it's explained in the fonts manual
and in the new ConTeXt manual.

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] Tikz updated in minimals but file does not compile

2009-03-18 Thread Hans Hagen

Mojca Miklavec wrote:


I have later noticed that there are indeed general problems even in
mkii. Either Hans or Till need to fix the code, but I like Aditya's
suggestion.


i added them now to syst-ini but i don't know if i catched them all

anyhow, for module writers: use the readable ones and not the obscure

-
  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] font switching questions

2009-03-18 Thread Alan Stone
On Wed, Mar 18, 2009 at 9:23 AM, Hans Hagen  wrote:

>  (there's also Normal, Bold etc that is even more generic in the sense
> that it can be sans or serif depending of the situation)
>
Re. code in attachment

Why is the font output not correct when using
\usetypescriptfile[tps_arial_normal] ?

Alan


arialtest.tex
Description: TeX document


arialtest_normal.pdf
Description: Adobe PDF document


arialtest_sans.pdf
Description: Adobe PDF document


tps_arial_normal.tex
Description: TeX document


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

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


Re: [NTG-context] Tikz updated in minimals but file does not compile

2009-03-18 Thread Mojca Miklavec
On Wed, Mar 18, 2009 at 15:06, Curious Learn wrote:
>
> I will try it later. After it did not
> work yesterday and after seeing Hans Hagen's post about the possible problems
> with the newest beta, I deleted the latest beta and installed the stable 
> version
> (the one that comes with --context=current option).

Just as a note. You don't need to delete anything. Just change beta
into current (or vice versa) in first-setup and you'll get the desired
version after reruning he script.

> I suppose I will have to
> update it to the latest beta and try Aditya's solution.
>
> Mojca, I was trying out a very simple tikz code to see whether it works. It 
> was,

I have later noticed that there are indeed general problems even in
mkii. Either Hans or Till need to fix the code, but I like Aditya's
suggestion.

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


Re: [NTG-context] Tikz updated in minimals but file does not compile

2009-03-18 Thread Aditya Mahajan

On Wed, 18 Mar 2009, Mojca Miklavec wrote:


2009/3/17 Want to Learn wrote:

Thanks Wolfgang. I suppose you mean that I need the beta version and not the
stable version. Anyhow, I downloaded the beta version and tried to install
tikz
with the command Mojca mentioned in his post. Everything seemed to go on
fine.
But when I tried to compile the following simple file I get an error. The
following is the information from the terminal window. It says something
like
 ! Undefined control sequence
And on help, it says that "The control sequence at the end of the top line
of your error message was never \def'ed." As you can see below, it loaded
the
tikz module. I wonder what the problem is.


A week or two weeks ago the author of TikZ has fixed a problem related
to luatex/mkiv, but maybe that was not the only problem. TikZ works
(or at least used to work - no time to test at this moment) in
general, but there might be some more advanced graphics that fail do
work due to heavy changes in ConTeXt source.


I have recently used tikz in a project, and it works fine. The only 
trouble with the latest beta is that Hans has removed the funny commands 
with @ in them, which are a legacy of plain TeX, in favour of more legible 
command names. For example, \minusone in place of \...@ne, \zeropoint in 
place of \z@ etc. This makes ConTeXt code more readable, but at the same 
time means that any package which was compatible with plain TeX, 
LaTeX, and ConTeXt, will now fail in ConTeXt.


Fixing this is as simple as adding a few \let old-command = new command 
things in the beginning. The easiest solution is to collect such things in 
a module, and import them before importing tikz or any other module which 
relies on the existance of plain TeX like macros.


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] Tikz updated in minimals but file does not compile

2009-03-18 Thread Curious Learn
Lutz Haseloff  googlemail.com> writes:

> Hello Want, hello Mojca,i had the same problem some days before. I found this
hint by Wolfgang:add to your file\unprotect\newtoks\toks  \let\z 
\zeropoint\protectand tikz works like a charm.can this be added to the module
t-tikz.tex?GreetingsLutz

Thanks Lutz (and Aditya) for the solution. I will try it later. After it did not
work yesterday and after seeing Hans Hagen's post about the possible problems
with the newest beta, I deleted the latest beta and installed the stable version
(the one that comes with --context=current option). I suppose I will have to
update it to the latest beta and try Aditya's solution.

Mojca, I was trying out a very simple tikz code to see whether it works. It was,

\usemodule[tikz]

\starttext

\starttikzpicture
  draw (0,0) -- (2,2);
\stoptikzpicture

\stoptext

Thanks to you all again for answering the questions.


___
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] current fontsize in both marks

2009-03-18 Thread Peter Rolf

Hans Hagen schrieb:

Peter Rolf wrote:

Hi,

for my overprinting macro I need the actual font size (no 
overprinting if size is greater 23pt). After searching and a lot of 
tries I found


\scaledfont (mkii)   and
\somefontsize (mkiv),

which seem to show the right values. Both macros are bound 
exclusively to only one mark. Is there a better (more generic and 
mark independent) way?


we can add

\def\somefontsize{\scaledfont}

to mkii


sounds good.


is there more?


no.

also i'm not far away from the point, where i finally skip mkii (too 
time-consuming to maintain both marks). currently mkii support is only a 
fallback in case of luatex problems (which i probably don't need anymore).


thanks Hans!

(i'm not going to retrofit all 'improvements' from mkiv to mkii; for 
instance there are couple of speedups in mkiv helpers)


Hans


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

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


maillist : ntg-context@ntg.nl / 
http://www.ntg.nl/mailman/listinfo/ntg-context

webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___ 






--
 "Es ist doch ein Trost,
  das Geldgier manchmal blöd macht."

- Kottan in "Kottan ermittelt", Folge 9: "Die Einteilung" -



___
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] Tikz updated in minimals but file does not compile

2009-03-18 Thread Lutz Haseloff
Hi all,

shame on me :-(

The tikz problem solution was by:

>From adityam at umich.edu  Sat Mar  7 21:42:27 2009
From: adityam at umich.edu (Aditya Mahajan)
Date: Sat, 7 Mar 2009 15:42:27 -0500 (EST)
Subject: [NTG-context] luatex tikz problem

Wolfgang and Aditya, please excuse my wrong citation.


Lutz
___
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] current fontsize in both marks

2009-03-18 Thread Hans Hagen

Peter Rolf wrote:

Hi,

for my overprinting macro I need the actual font size (no overprinting 
if size is greater 23pt). After searching and a lot of tries I found


\scaledfont (mkii)   and
\somefontsize (mkiv),

which seem to show the right values. Both macros are bound exclusively 
to only one mark. Is there a better (more generic and mark independent) 
way?


we can add

\def\somefontsize{\scaledfont}

to mkii

is there more?

(i'm not going to retrofit all 'improvements' from mkiv to mkii; for 
instance there are couple of speedups in mkiv helpers)


Hans


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

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


[NTG-context] current fontsize in both marks

2009-03-18 Thread Peter Rolf

Hi,

for my overprinting macro I need the actual font size (no overprinting 
if size is greater 23pt). After searching and a lot of tries I found


\scaledfont (mkii)   and
\somefontsize (mkiv),

which seem to show the right values. Both macros are bound exclusively 
to only one mark. Is there a better (more generic and mark independent) way?



Peter

--
 "Es ist doch ein Trost,
  das Geldgier manchmal blöd macht."

- Kottan in "Kottan ermittelt", Folge 9: "Die Einteilung" -



___
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] TeXshop instructions on Context Minimals (Mac installation)

2009-03-18 Thread Bowen Alan C.

Hi!

You need to set the executable bit of the file ConTeXt-MKIV.engine.

In Terminal try:

cd Users/Name/Library/TeXShop/Engines/

and then

chmod +x ConTeXt-MKIV.engine

which will allow you to execute the file.

See http://www.ss64.com/bash/chmod.html for an overview of chmod if  
you wish to refine this.


Alan

On Mar 17, 2009, at 20;33,56 , Curious Learn wrote:


Hello,

I installed the stable version of Context Minimals and then followed  
the
instructions given on the Context Minimals/Mac Installation page.  
When I choose
ConTeXt-MKIV as my engine and try to typeset the document I get the  
following

error.

Users/Name/Library/TeXShop/Engines/ConTeXt-MKIV.engine does not have  
the

executable bit set.

This is when only "pdftex" is selected in the dropdown "Typeset" menu.

It is true that the instructions on Context Minimals/Mac  
Installation page say
that "Context" should also be selected in this dropdown "Typeset"  
menu. But if I
try to do that, the engine automatically switches to "Context" that  
existed in
the Engines menu, before I installed Minimals and before I added  
Context-MKII

and ConTeXt-MKIV engines. This "ConTeXt engine is MKII.

Can someone please help with this?

Thanks.

___
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] Step wise presentation.

2009-03-18 Thread Hans Hagen

Curious Learn wrote:

Hans Hagen  wxs.nl> writes:



take a look at s-pre-60 upwards; i always use s-pre-60 as basis

Hans


Thank you Hans. Since you said that you start with s-pre-60 as the basis, could
I please ask you for an example presentation, if you have one. I looked at the
wiki but there is no example in the source code. I am not sure what are all the
commands available with the style. 


many s-pre files can be run with

texexec --mode=demo s-pre-6*.tex

which will give an example (code at the end of style)


-
  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] font switching questions

2009-03-18 Thread Hans Hagen

Alan Stone wrote:

On Wed, Mar 18, 2009 at 9:23 AM, Hans Hagen  wrote:


 Alan Stone wrote:


[...]

Which low level command allows to fill in
\definefont[SomeFont][SomeSynonym
sa SomeScale] with SomeSynonym=Sans(X)/Serif(X) (X)=Bold/Italic, i.e.
regardless of the synonym's name (defined in the typescript)?


it just follows the bodyfont

\definefont[SomeFont][SerifBold sa 1.5]



And what about non-bodyfonts (some other sans or serif font) ?


wellm the whole idea of typefaces is that you can define many of them 
without interference



-
  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] Short question about big papersize

2009-03-18 Thread Hans Hagen

Diego Depaoli wrote:

Hi all,
before start spend my time, can Context handle 6 (or 8) columns on a
70X100 cm papersize?


yes, and if it's about a poster, just use columnsets then

-
  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] font switching questions

2009-03-18 Thread Alan Stone
On Wed, Mar 18, 2009 at 9:23 AM, Hans Hagen  wrote:

>  [...]
> (there's also Normal, Bold etc that is even more generic in the sense that
> it can be sans or serif depending of the situation)
>
> these symbolic names are there for a reason as i never want to see hard
> coded font names (and features) in my document styles more than once


What I'm looking for...

With:

\starttypescript [serif/sans] [somefont]
 \definefontsynonym [SomeFontRegular]  [name:somefont]
   [features=default]
 \definefontsynonym
[SomeFontItalic]   [name:somefontitalic]   [features=default]
 \definefontsynonym
[SomeFontBold][name:somefontbold]   [features=default]
 \definefontsynonym
[SomeFontBoldItalic] [name:somefontbolditalic] [features=default]
\stoptypescript

\starttypescript [serif/sans] [somefont]
 \setups [font:fallback:sans]
 \definefontsynonym [Regular]   [SomeFontRegular]
 \definefontsynonym [Italic][SomeFontItalic]
 \definefontsynonym [Bold][SomeFontBold]
 \definefontsynonym [BoldItalic]  [SomeFontBoldItalic]
\stoptypescript

\starttypescript [somefont]
 \definetypeface [somefont] [rm/ss] [serif/sans] [somefont] [default]
\stoptypescript
\usetypescriptfile[tps_somefont]
\usetypescript[somefont]
\definetypeface[myXTypeface][somefont]

and...

* somefont = arial, times, tahoma, courrier, ...

* X = Body/Chapter/Section/.../Header/Footer/...

how to...

\def\myXSymbolicName=\somecommandRegular/Bold/Italic{myXTypeface}

for...

\definefont[myXFont][myXSymbolicName sa myXScale]

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] Step wise presentation.

2009-03-18 Thread Curious Learn
Hans Hagen  wxs.nl> writes:


> 
> take a look at s-pre-60 upwards; i always use s-pre-60 as basis
> 
> Hans
> 
Thank you Hans. Since you said that you start with s-pre-60 as the basis, could
I please ask you for an example presentation, if you have one. I looked at the
wiki but there is no example in the source code. I am not sure what are all the
commands available with the style. 

Thanks very much.


___
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] font switching questions

2009-03-18 Thread Wolfgang Schuster


Am 18.03.2009 um 09:39 schrieb Alan Stone:


\definefont[SomeFont][SerifBold sa 1.5]

And what about non-bodyfonts (some other sans or serif font) ?


Use the symbolic name from your typescripts

\definefont[ChapterFont][ArialBold sa 1.5]

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] font switching questions

2009-03-18 Thread Alan Stone
On Wed, Mar 18, 2009 at 9:23 AM, Hans Hagen  wrote:

>  Alan Stone wrote:
>
>> [...]
>>
>> Which low level command allows to fill in
>> \definefont[SomeFont][SomeSynonym
>> sa SomeScale] with SomeSynonym=Sans(X)/Serif(X) (X)=Bold/Italic, i.e.
>> regardless of the synonym's name (defined in the typescript)?
>>
>
> it just follows the bodyfont
>
> \definefont[SomeFont][SerifBold sa 1.5]


And what about non-bodyfonts (some other sans or serif font) ?

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

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


[NTG-context] Short question about big papersize

2009-03-18 Thread Diego Depaoli
Hi all,
before start spend my time, can Context handle 6 (or 8) columns on a
70X100 cm papersize?

Cheers
-- 
Diego Depaoli
___
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] Tikz updated in minimals but file does not compile

2009-03-18 Thread Lutz Haseloff
Hello Want, hello Mojca,

i had the same problem some days before. I found this hint by Wolfgang:

add to your file
\unprotect
\newtoks\toks@
\le...@\zeropoint
\protect

and tikz works like a charm.


can this be added to the module t-tikz.tex?


Greetings

Lutz

2009/3/18 Mojca Miklavec 

> 2009/3/17 Want to Learn wrote:
> > Thanks Wolfgang. I suppose you mean that I need the beta version and not
> the
> > stable version. Anyhow, I downloaded the beta version and tried to
> install
> > tikz
> > with the command Mojca mentioned in his post. Everything seemed to go on
> > fine.
> > But when I tried to compile the following simple file I get an error. The
> > following is the information from the terminal window. It says something
> > like
> >  ! Undefined control sequence
> > And on help, it says that "The control sequence at the end of the top
> line
> > of your error message was never \def'ed." As you can see below, it loaded
> > the
> > tikz module. I wonder what the problem is.
>
> A week or two weeks ago the author of TikZ has fixed a problem related
> to luatex/mkiv, but maybe that was not the only problem. TikZ works
> (or at least used to work - no time to test at this moment) in
> general, but there might be some more advanced graphics that fail do
> work due to heavy changes in ConTeXt source.
>
> Please try with some simple graphics first if they work. If they do,
> please post a minimal example that fails. In any case I suspect that
> the burden of fixing this will fall on TikZ author's shoulders since
> hardly any developer on this list knows the TikZ internals.
>
> Mojca
>
> > **
> >
> > MtxRun | loading configuration for
> > /Applications/ConTeXtMinimals/tex/texmf-local/web2c from
> >
> /Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/trees/3beab8509a03fa29e95f93134a943a7f
> > MtxRun | loading configuration for
> /Applications/ConTeXtMinimals/tex/texmf
> > /web2c
> > from
> >
> /Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/trees/d9ef00871d7b11751a275cffd8a85753
> > MtxRun | run 1: luatex
> >
> --fmt="/Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/formats/cont-en"
> >
> --lua="/Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/formats/cont-en.lua"
> > "./trylua.tex"
> > This is LuaTeX, Version snapshot-0.35.0
> > (trylua.tex
> >
> > ConTeXt  ver: 2009.03.17 11:26 MKIV  fmt: 2009.3.17  int: english/english
> >
> > system : cont-new loaded
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.tex
> > systems : beware: some patches loaded from cont-new.tex
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.mkiv)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-mtx.tex))
> > system : cont-fil loaded
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-fil.tex
> > loading: Context File Synonyms
> > )
> > system : cont-sys.rme loaded
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/user/cont-sys.rme
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-tmf.tex)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-siz.tex)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-otf.tex))
> > system : trylua.top loaded
> > (trylua.top)
> > fonts  : preloading latin modern fonts
> > bodyfont   : 12pt rm is loaded
> > specials   : pdftex loaded
> > language   : language en is active
> > system : module tikz loaded
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/frontendlayer/t-tikz.tex
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/basiclayer/t-pgf.tex
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/basiclayer/t-pgfcor.tex
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/systemlayer/t-pgfsys.tex
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/utilities/t-pgfrcs.tex
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/utilities/t-pgfmod.tex)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/utilities/pgfutil-common.tex)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/utilities/pgfutil-context.def)
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/utilities/pgfrcs.code.tex))
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/systemlayer/pgfsys.code.tex
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/utilities/pgfkeys.code.tex
> >
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex))
> >
> (/Applicati

Re: [NTG-context] font switching questions

2009-03-18 Thread Hans Hagen

Alan Stone wrote:

On Tue, Mar 17, 2009 at 11:27 PM, Hans Hagen  wrote:


Alan Stone wrote:


Ahoi,

Following a previous discussion, I've been advised to "try to avoid
\switchtobodyfont and use \definedfont or \definefont instead".


what is better depends on the situation

- for a structured document using \switchtobodyfont is ok

- for special layout elements (headers, title pages, keywords) \definefont
might be handier (esp when funny sizes are used)

- when using \definefont it can be handy to use the symbolic names (Serif,
SansBold etc) and sizes (sa 1.2) because that makes redefinition easier

(1) What's the difference between \definefont and \definedfont ?
\definefont defines a macro that represents a font, and \definedfont just
switches to a font (the forst one is more efficient when you switch often)

(2) In the underneath example...

(2a) how to implement \define(d)font for font switching ?

(2b) how to define \myFontHook ?

Thanks,
Alan

\usemodule[t-lettrine]

\usetypescriptfile[tps_arial]
\usetypescript[arial]


... just look how gyre typefaces are defined

\setupbodyfont[myFont,\myFontSize]
just \setupbodyfont[myFont,12pt]

and an occasional \definefont[BigFont][SerifBold sa 3.5] which gives you
 \BigFont



Which low level command allows to fill in \definefont[SomeFont][SomeSynonym
sa SomeScale] with SomeSynonym=Sans(X)/Serif(X) (X)=Bold/Italic, i.e.
regardless of the synonym's name (defined in the typescript)?


it just follows the bodyfont

\definefont[SomeFont][SerifBold sa 1.5]

boils down to 'take the bold serif that we use in the bodyfont and scale 
it to 1.5 times the bodyfontsize'


so, if you then choose another bodyfont (say times instead of palatino) 
you don't need to adapt all your definitions


(there's also Normal, Bold etc that is even more generic in the sense 
that it can be sans or serif depending of the situation)


these symbolic names are there for a reason as i never want to see hard 
coded font names (and features) in my document styles more than once


-
  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] font switching questions

2009-03-18 Thread Alan Stone
On Tue, Mar 17, 2009 at 11:27 PM, Hans Hagen  wrote:

> Alan Stone wrote:
>
>> Ahoi,
>>
>> Following a previous discussion, I've been advised to "try to avoid
>> \switchtobodyfont and use \definedfont or \definefont instead".
>>
>
> what is better depends on the situation
>
> - for a structured document using \switchtobodyfont is ok
>
> - for special layout elements (headers, title pages, keywords) \definefont
> might be handier (esp when funny sizes are used)
>
> - when using \definefont it can be handy to use the symbolic names (Serif,
> SansBold etc) and sizes (sa 1.2) because that makes redefinition easier
>
> (1) What's the difference between \definefont and \definedfont ?
>>
>
> \definefont defines a macro that represents a font, and \definedfont just
> switches to a font (the forst one is more efficient when you switch often)
>
> (2) In the underneath example...
>>
>> (2a) how to implement \define(d)font for font switching ?
>>
>> (2b) how to define \myFontHook ?
>>
>> Thanks,
>> Alan
>>
>> \usemodule[t-lettrine]
>>
>> \usetypescriptfile[tps_arial]
>> \usetypescript[arial]
>>
>
> ... just look how gyre typefaces are defined
>
> \setupbodyfont[myFont,\myFontSize]
>>
>
> just \setupbodyfont[myFont,12pt]
>
> and an occasional \definefont[BigFont][SerifBold sa 3.5] which gives you
>  \BigFont


Which low level command allows to fill in \definefont[SomeFont][SomeSynonym
sa SomeScale] with SomeSynonym=Sans(X)/Serif(X) (X)=Bold/Italic, i.e.
regardless of the synonym's name (defined in the typescript)?


>
>> \setuphead[chapter][style={\switchtobodyfont[myOtherFont,\myOtherFontSize]}]
>>
>
> it depends on what can occur in a title, if there's math and monospaced and
> whatever being used mixed, then best use a typeface (apart from the one time
> definition it's quite fast to switch a typeface)
>
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] font switching questions

2009-03-18 Thread Hans Hagen

Wolfgang Schuster wrote:

On Tue, Mar 17, 2009 at 11:27 PM, Hans Hagen  wrote:


- for a structured document using \switchtobodyfont is ok


What do you mean with structured document?


one where there is some logic in using fonts (and color) which 
unfortunately is seldom the case in styles that i have to write for 
customers -)




-
  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] Step wise presentation.

2009-03-18 Thread Hans Hagen

Curious Learn wrote:

Currently what is the best solution for presentation with steps in Context that
works with the stable version of MKIV. The one that you can get with
../first-setup.sh --context=current

If I need to install any addon module for your recommendation (i.e., if it does
not come with minimals), kindly let me know.


take a look at s-pre-60 upwards; i always use s-pre-60 as basis

Hans


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

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


Re: [NTG-context] Tikz updated in minimals but file does not compile

2009-03-18 Thread Mojca Miklavec
2009/3/17 Want to Learn wrote:
> Thanks Wolfgang. I suppose you mean that I need the beta version and not the
> stable version. Anyhow, I downloaded the beta version and tried to install
> tikz
> with the command Mojca mentioned in his post. Everything seemed to go on
> fine.
> But when I tried to compile the following simple file I get an error. The
> following is the information from the terminal window. It says something
> like
>  ! Undefined control sequence
> And on help, it says that "The control sequence at the end of the top line
> of your error message was never \def'ed." As you can see below, it loaded
> the
> tikz module. I wonder what the problem is.

A week or two weeks ago the author of TikZ has fixed a problem related
to luatex/mkiv, but maybe that was not the only problem. TikZ works
(or at least used to work - no time to test at this moment) in
general, but there might be some more advanced graphics that fail do
work due to heavy changes in ConTeXt source.

Please try with some simple graphics first if they work. If they do,
please post a minimal example that fails. In any case I suspect that
the burden of fixing this will fall on TikZ author's shoulders since
hardly any developer on this list knows the TikZ internals.

Mojca

> **
>
> MtxRun | loading configuration for
> /Applications/ConTeXtMinimals/tex/texmf-local/web2c from
> /Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/trees/3beab8509a03fa29e95f93134a943a7f
> MtxRun | loading configuration for /Applications/ConTeXtMinimals/tex/texmf
> /web2c
> from
> /Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/trees/d9ef00871d7b11751a275cffd8a85753
> MtxRun | run 1: luatex
> --fmt="/Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/formats/cont-en"
> --lua="/Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/formats/cont-en.lua"
> "./trylua.tex"
> This is LuaTeX, Version snapshot-0.35.0
> (trylua.tex
>
> ConTeXt  ver: 2009.03.17 11:26 MKIV  fmt: 2009.3.17  int: english/english
>
> system : cont-new loaded
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.tex
> systems : beware: some patches loaded from cont-new.tex
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.mkiv)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-mtx.tex))
> system : cont-fil loaded
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-fil.tex
> loading    : Context File Synonyms
> )
> system : cont-sys.rme loaded
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/user/cont-sys.rme
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-tmf.tex)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-siz.tex)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-otf.tex))
> system : trylua.top loaded
> (trylua.top)
> fonts  : preloading latin modern fonts
> bodyfont   : 12pt rm is loaded
> specials   : pdftex loaded
> language   : language en is active
> system : module tikz loaded
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/frontendlayer/t-tikz.tex
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/basiclayer/t-pgf.tex
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/basiclayer/t-pgfcor.tex
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/systemlayer/t-pgfsys.tex
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/utilities/t-pgfrcs.tex
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/utilities/t-pgfmod.tex)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/utilities/pgfutil-common.tex)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/utilities/pgfutil-context.def)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/utilities/pgfrcs.code.tex))
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/systemlayer/pgfsys.code.tex
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/utilities/pgfkeys.code.tex
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex))
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/systemlayer/pgf.cfg)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/systemlayer/pgfsys-pdftex.def
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def)))
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex)
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex))
> (/Applications/Con

[NTG-context] Tikz updated in minimals but file does not compile

2009-03-18 Thread Want to Learn
Thanks Wolfgang. I suppose you mean that I need the beta version and not the
stable version. Anyhow, I downloaded the beta version and tried to install
tikz
with the command Mojca mentioned in his post. Everything seemed to go on
fine.
But when I tried to compile the following simple file I get an error. The
following is the information from the terminal window. It says something
like
 ! Undefined control sequence
And on help, it says that "The control sequence at the end of the top line
of your error message was never \def'ed." As you can see below, it loaded
the
tikz module. I wonder what the problem is.

**

MtxRun | loading configuration for
/Applications/ConTeXtMinimals/tex/texmf-local/web2c from
/Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/trees/3beab8509a03fa29e95f93134a943a7f
MtxRun | loading configuration for /Applications/ConTeXtMinimals/tex/texmf
/web2c
from
/Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/trees/d9ef00871d7b11751a275cffd8a85753
MtxRun | run 1: luatex
--fmt="/Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/formats/cont-en"
--lua="/Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/formats/cont-en.lua"
"./trylua.tex"
This is LuaTeX, Version snapshot-0.35.0
(trylua.tex

ConTeXt  ver: 2009.03.17 11:26 MKIV  fmt: 2009.3.17  int: english/english

system : cont-new loaded
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.mkiv)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-mtx.tex))
system : cont-fil loaded
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-fil.tex
loading: Context File Synonyms
)
system : cont-sys.rme loaded
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/user/cont-sys.rme
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-tmf.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-siz.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-otf.tex))
system : trylua.top loaded
(trylua.top)
fonts  : preloading latin modern fonts
bodyfont   : 12pt rm is loaded
specials   : pdftex loaded
language   : language en is active
system : module tikz loaded
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/frontendlayer/t-tikz.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/basiclayer/t-pgf.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/basiclayer/t-pgfcor.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/systemlayer/t-pgfsys.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/utilities/t-pgfrcs.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/pgf/utilities/t-pgfmod.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/utilities/pgfutil-common.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/utilities/pgfutil-context.def)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/utilities/pgfrcs.code.tex))
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/systemlayer/pgfsys.code.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/utilities/pgfkeys.code.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex))
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/systemlayer/pgf.cfg)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/systemlayer/pgfsys-pdftex.def
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def)))
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex))
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcore.code.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmath.code.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathcalc.code.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathutil.code.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathparser.code.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.code.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.basic.code.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.trigonometric.code.tex)
(/Applicati

Re: [NTG-context] Is there anything like developer's manual for ConTeXt?

2009-03-18 Thread Rory Molinari

Taco Hoekwater wrote:


Corin Royal Drummond wrote:

Many have voiced the same complaint.  I understand that Hans and every
one are occupied with building MKIV (aka LuaTeX), and that documentation
is not their highest priority.  There's the wiki, the wonderfully active
mailing list, and what used to be decent docs from 2001/2002 timeframe. 
But yes, it's a steep hill to climb, made worth it only by the relative

awesomeness of ConTeXt.


You missed the reference manual rewrite effort (which is now in
remission mostly because of an extremely depressing lack of user
feedback).

  http://wiki.contextgarden.net/Main_Page#Documentation


Hi Taco,

I'm sorry that I haven't given much feedback on the documentation 
project.  I got through the Typography chapter, but then was so 
confounded by the Fonts chapter that I didn't feel able to give 
comments.  I will make another attempt.


Cheers,
Rory



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
___


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