[NTG-context] mkiv update

2007-08-20 Thread Hans Hagen
Hi,

I uploaded a new version (no minimals yet). There are also new binaries 
(or will be later today) that fix a couple of font issues.

Later this week I will enable new color handling code.

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] mkiv update

2007-08-20 Thread Tobias Burnus
Hans Hagen wrote:
 I uploaded a new version (no minimals yet). There are also new binaries 
 (or will be later today) that fix a couple of font issues.
   
This version does not seem to fix the problem that

\currentdate [y,-,mm,-,dd]

gives an error (at least with pdfetex); Peter Münster could reproduce it
too (I don't know with which TeX engine).

Tobias

___
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] MetaFun and different body font size

2007-08-20 Thread Oliver Buerschaper
Dear folks,

I'm wondering how to communicate a different default bodyfont size to  
MetaFun ... consider this:

---

\setupbodyfont[32pt]


\starttext

\input ward

\startuseMPgraphic{test}
draw unitsquare scaled BodyFontSize;
draw textext.rt(Test);
draw btex \TeX etex xshifted 2*BodyFontSize;
\stopuseMPgraphic
\useMPgraphic{test}

\stoptext

---

Somehow MetaFun doesn't recognize the larger body font size :-( What  
can I do?

Oliver 
___
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] mkiv update

2007-08-20 Thread Peter Rolf
Hi Hans,

Hans Hagen schrieb:
 Hi,
 
 I uploaded a new version (no minimals yet). There are also new binaries 
 (or will be later today) that fix a couple of font issues.
 
 Later this week I will enable new color handling code.

the definition of \faststartcolor in core-spa.tex is missing here.

! Undefined control sequence.
\doattributes ...dostopattributes \faststartcolor


Best, Peter


 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
 ___
 

___
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] ConTeXt possibilities

2007-08-20 Thread Istvan Hollerbach
Dear Everybody,

My name is Istvan Hollerbach. I am still looking at ConTeXt. Are usable 
with ConTeXt only modules found at http://modules.contextgarden.net/, or 
which usable are with plain TeX as well? I think of xypic for example. 
Can I write a document for example in Sanskrit? Being a beginner, of 
course I will neither use xypic for a some length of time, nor I will 
write a document in Sanskrit. I am only interested in possibilities 
compared to LaTeX.

Best regards,
Istvan Hollerbach

___
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] MetaFun and different body font size

2007-08-20 Thread Oliver Buerschaper
 Somehow MetaFun doesn't recognize the larger body font size :-(

By the way, font face changes aren't reflected either ...

---

\usetypescript[palatino][\defaultencoding]

\setupbodyfont[palatino,32pt]


\starttext

\input ward

\startuseMPgraphic{test}
draw unitsquare scaled BodyFontSize;
draw textext.rt(Test);
draw btex \TeX etex xshifted 2*BodyFontSize;
\stopuseMPgraphic
\useMPgraphic{test}

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

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


[NTG-context] font size 12pt

2007-08-20 Thread zs
Hi,

I would like to have font bigger than 12pt.
When I try following, commented line causes error message Math formula
deleted: Insufficient symbol fonts. while compiled with luatex.
Could you tell me why and how to fix it?

Thanks

ZS

\starttext
\setupbodyfont[rm,13pt]

Some reaction O\low{2} $\rightarrow$ O\low{3}.
%Some reaction\footnote{ O\low{2} $\rightarrow$ O\low{3} }.

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

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


Re: [NTG-context] font size 12pt

2007-08-20 Thread Hans Hagen
zs wrote:
 Hi,
 
 I would like to have font bigger than 12pt.
 When I try following, commented line causes error message Math formula
 deleted: Insufficient symbol fonts. while compiled with luatex.
 Could you tell me why and how to fix it?
 
 Thanks
 
 ZS
 
 \starttext
 \setupbodyfont[rm,13pt]
 
 Some reaction O\low{2} $\rightarrow$ O\low{3}.
 %Some reaction\footnote{ O\low{2} $\rightarrow$ O\low{3} }.

you need to define a bodyfotn environment (probably explained somewhere 
on the wiki)

-
   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] mkiv update

2007-08-20 Thread Hans Hagen
Peter Rolf wrote:
 Hi Hans,
 
 Hans Hagen schrieb:
 Hi,

 I uploaded a new version (no minimals yet). There are also new binaries 
 (or will be later today) that fix a couple of font issues.

 Later this week I will enable new color handling code.

 the definition of \faststartcolor in core-spa.tex is missing here.
 
 ! Undefined control sequence.
 \doattributes ...dostopattributes \faststartcolor

ok, new version 

btw, use the luatex binaries from the gforge repository


-
   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] Learning ConTeXt

2007-08-20 Thread Istvan Hollerbach
Hi Everybody,

I want to learn ConTeXt, but 'cont-enp.pdf' and 'mp-cb-en.pdf' do not 
explain many things in detail, for example the parameters of command 
\setuplayout on the page 24 of cont-enp.pdf. Or am I careless? How shall 
I start to learn? And how shall I go on learning?

Best regards,
Istvan Hollerbach

___
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] MetaFun and different body font size

2007-08-20 Thread Wolfgang Schuster
2007/8/20, Oliver Buerschaper [EMAIL PROTECTED]:
  Somehow MetaFun doesn't recognize the larger body font size :-(

 By the way, font face changes aren't reflected either ...

 ---

 \usetypescript[palatino][\defaultencoding]

 \setupbodyfont[palatino,32pt]


 \starttext

 \input ward

 \startuseMPgraphic{test}
 draw unitsquare scaled BodyFontSize;
 draw textext.rt(Test);
 draw btex \TeX etex xshifted 2*BodyFontSize;
 \stopuseMPgraphic
 \useMPgraphic{test}

 \stoptext

Did this work for you

\startMPenvironment
\usetypescript[palatino][texnansi]
\switchtobodyfont[palatino,20pt]
\stopMPenvironment

\usetypescript[palatino][texnansi]
\setupbodyfont[palatino,20pt]

\starttext
Text

\startuseMPgraphic
label(Text,origin) ;
\stopuseMPgraphic
\useMPgraphic
\stoptext

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

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


[NTG-context] start/stop and sections

2007-08-20 Thread Hans Hagen
Hi,

There is now an experimental:

% options :
% dodo: listtext

\setupsectionworld
   [chapter]
   [before after setups page text number label bookmark]

\startsectionworld[chapter][text={Test}]

\stopsectionworld

Later I will adapt sectioning to working with variables (low level 
issue) but this is what I needed now -)


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] MetaFun and different body font size

2007-08-20 Thread Peter Rolf
Oliver Buerschaper schrieb:
 Dear folks,
 
 I'm wondering how to communicate a different default bodyfont size to  
 MetaFun ... consider this:
 
 ---
 
 \setupbodyfont[32pt]
 
 
 \starttext
 
 \input ward
 
 \startuseMPgraphic{test}
   draw unitsquare scaled BodyFontSize;
   draw textext.rt(Test);
   draw btex \TeX etex xshifted 2*BodyFontSize;
 \stopuseMPgraphic
 \useMPgraphic{test}
 
 \stoptext
 
 ---
 
 Somehow MetaFun doesn't recognize the larger body font size :-( What  
 can I do?

Hi Oliver,

see

http://wiki.contextgarden.net/Mpgraphic#.5CstartMPenvironment

You can use one of the options [global|+|reset].

'global' and '+' are also setting the env in the main doc (one font def
for all), 'reset' brings the environment back to it's defaults (s.
meta-ini.tex).


Best wishes, Peter


 Oliver 
 ___
 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] Learning ConTeXt

2007-08-20 Thread Liesbeth van der Plas
I included an example context file from Sanjoy Mahajan.

Best regards,
Liesbeth van der Plas


2007/8/20, Istvan Hollerbach [EMAIL PROTECTED]:

 Hi Everybody,

 I want to learn ConTeXt, but 'cont-enp.pdf' and 'mp-cb-en.pdf' do not
 explain many things in detail, for example the parameters of command
 \setuplayout on the page 24 of cont-enp.pdf. Or am I careless? How shall
 I start to learn? And how shall I go on learning?

 Best regards,
 Istvan Hollerbach


 ___
 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

 ___




-- 
[EMAIL PROTECTED]
www.wiskunde-interactief.nl


simpel.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] Learning ConTeXt

2007-08-20 Thread Saji Njarackalazhikam Hameed
Hi Istvan,

For somebody used to LaTeX, it may be useful to check up

http://www.berenddeboer.net/tex/

there is an article about doing similar things in LaTeX and
ConTeXt.

The options relevant to all ConTeXt commands are provided towards the
end of cont-en?.pdf

Perhaps mp-cb-en.pdf should be read first. I started out doing regular
stuff such as formatting tables, sections, columns and the like. For
more detailed control, it may be better to dwelve into some of the
more specialized manuals archived at context.pragma.de

The following website also may be of interest to you:

http://levana.de/context/
 
And then there is the wiki:

http://wiki.contextgarden.net

I think the best way to learn is by trying to make the document you want
in ConTeXt and asking questions to the mailing list when you cannot figure out
how to do it.

hope it helps,

saji
...

* Istvan Hollerbach [EMAIL PROTECTED] [2007-08-20 12:24:04 +0200]:

 Hi Everybody,
 
 I want to learn ConTeXt, but 'cont-enp.pdf' and 'mp-cb-en.pdf' do not 
 explain many things in detail, for example the parameters of command 
 \setuplayout on the page 24 of cont-enp.pdf. Or am I careless? How shall 
 I start to learn? And how shall I go on learning?
 
 Best regards,
 Istvan Hollerbach
 
 ___
 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
 ___

-- 
Saji N. Hameed

APEC Climate Center +82 51 668 7470
National Pension Corporation Busan Building 12F 
Yeonsan 2-dong, Yeonje-gu, BUSAN 611705 [EMAIL PROTECTED]
KOREA
___
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] the stolen comma

2007-08-20 Thread Steffen Wolfrum
Hi,

is this a known exception, or is it a nasty little bug?


\starttext

|ROTFL|, Rolling on the Floor, laughing.

|ROTFL|; Rolling on the Floor, laughing.

\stoptext



(Or is only my machine refusing to show the first comma?
As far as I have checked only commas are affected ... )

Steffen
___
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 size 12pt

2007-08-20 Thread zs
On Mon, 20 Aug 2007 12:42:26 +0200
Hans Hagen [EMAIL PROTECTED] wrote:

 you need to define a bodyfotn environment (probably explained
 somewhere on the wiki)


OK, I tried that using cont-eni.pdf, but got the same result or
overlapping text and footnotes.

Have you (anybody) working example using non standard size and math?

Thanks

ZS
___
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] mkiv update

2007-08-20 Thread Taco Hoekwater
Hans Hagen wrote:
 Hi,
 
 I uploaded a new version (no minimals yet). There are also new binaries 
 (or will be later today) that fix a couple of font issues.

I have just created a wiki page for this upload (the first one today
only, there were more, but I am no longer at the office so cannot
process these).

   http://wiki.contextgarden.net/Context_2007.08.20

Starting now, I will be on vacation for two weeks, so you will have
to ask Hans to write the 'What's new' himself for a while.

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

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


Re: [NTG-context] Learning ConTeXt

2007-08-20 Thread George N. White III
On 8/20/07, Saji Njarackalazhikam Hameed [EMAIL PROTECTED] wrote:

 [...]
 And then there is the wiki:

 http://wiki.contextgarden.net

Highly recommended.

 I think the best way to learn is by trying to make the document you want
 in ConTeXt and asking questions to the mailing list when you cannot figure out
 how to do it.

Another strategy is to find a document that can serve as a template for
what you need.   The wiki provides examples of fragments to do a particular
task, and there are lots of examples of complete documents available,
including the pdftex manual and various slide presentations.

 * Istvan Hollerbach [EMAIL PROTECTED] [2007-08-20 12:24:04 +0200]:

  Hi Everybody,
 
  I want to learn ConTeXt, but 'cont-enp.pdf' and 'mp-cb-en.pdf' do not
  explain many things in detail, for example the parameters of command
  \setuplayout on the page 24 of cont-enp.pdf. Or am I careless? How shall
  I start to learn? And how shall I go on learning?
 
  Best regards,
  Istvan Hollerbach


-- 
George N. White III [EMAIL PROTECTED]
Head of St. Margarets Bay, Nova Scotia
___
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] ConTeXt possibilities

2007-08-20 Thread Istvan Hollerbach
Dear Everybody,

My name is Istvan Hollerbach. I am still looking at ConTeXt. Are usable
with ConTeXt only modules found at http://modules.contextgarden.net/, or
which usable are with plain TeX as well? I think of xypic for example.
Can I write a document for example in Sanskrit? Being a beginner, of
course I will neither use xypic for a some length of time, nor I will
write a document in Sanskrit. I am only interested in possibilities
compared to LaTeX.

I write this mail again, because I have changed the reply-to.

Best regards,
Istvan Hollerbach


___
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] the stolen comma

2007-08-20 Thread Hans Hagen
Steffen Wolfrum wrote:
 Hi,
 
 is this a known exception, or is it a nasty little bug?
 
 
 \starttext
 
 |ROTFL|, Rolling on the Floor, laughing.
 
 |ROTFL|; Rolling on the Floor, laughing.
 
 \stoptext

hm, has to do with special comma treatment, hav eto look into it

in the meantime use

|ROTFL|{},

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] ConTeXt possibilities

2007-08-20 Thread Aditya Mahajan
On Mon, 20 Aug 2007, Istvan Hollerbach wrote:

 Dear Everybody,

 My name is Istvan Hollerbach. I am still looking at ConTeXt. Are usable
 with ConTeXt only modules found at http://modules.contextgarden.net/, or
 which usable are with plain TeX as well?

Most of the modules avaialbe at modules.coontextgarden.net are usuable 
only with Context. However, most macros for plain tex work with 
context.

 I think of xypic for example.
 Can I write a document for example in Sanskrit? Being a beginner, of
 course I will neither use xypic for a some length of time, nor I will
 write a document in Sanskrit. I am only interested in possibilities
 compared to LaTeX.

In principle, since latex and context are both build on top of tex 
engine, anything that is possible in one is also possible in the 
other. However, it does take some effort to port the functionality of 
one from the other.

In general, with regards to packages, most latex packages enhance the 
capabilities of built in latex environments. With context, the built 
in environments were designed with flexibility in mind and are easy to 
change. So you do not need external packages.

Most latex font packages are useless for context. You will need to 
write your own typescripts if you want to use the fonts in context. In 
most cases this is simple. For non-latin languages like Sanskrit, you 
will need to do some work if you want to get it working with ConTeXt. 
Traditionally, non-latin languages worked using transcription. So you 
write something in latin alphabet, run a program which translates it 
into something else, and then run tex over that file. This is how the 
devnag package for latex works. But now, with xetex and luatex, you do 
not need to do this. You can type in unicode and rest of it just 
works. I had tried using Hindi (a modern day offshoot of Sanskrit) 
using XeTeX (the XeTeX website has an example), and changed the markup 
to ConTeXt and it worked. It should be similar with Sanskrit, and 
other languages like languages from the Arabic family.

For special purpose packages like xypic, if the package has an option 
for plain tex (like xypic, pictex, pstricks, pgf, and many more), it 
also works with ConTeXt. If it is not plain tex compatible, then you 
will have to port it to ConTeXt. In some cases this can be difficult. 
So, if there is a esoteric, domain specific, package that you must 
have, make sure that there is something comparable in context before 
making the shift. If you are not sure, ask here.


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] ConTeXt possibilities

2007-08-20 Thread Xan
En/na Istvan Hollerbach ha escrit:
 Dear Everybody,
 
 My name is Istvan Hollerbach. I am still looking at ConTeXt. Are usable
 with ConTeXt only modules found at http://modules.contextgarden.net/, or
 which usable are with plain TeX as well? I think of xypic for example.
 Can I write a document for example in Sanskrit? Being a beginner, of
 course I will neither use xypic for a some length of time, nor I will
 write a document in Sanskrit. I am only interested in possibilities
 compared to LaTeX.
 
 I write this mail again, because I have changed the reply-to.

I'm interested too

Xan.
 
 Best regards,
 Istvan Hollerbach
 
 
 ___
 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] the stolen comma

2007-08-20 Thread Peter Rolf
Hans Hagen schrieb:
 Steffen Wolfrum wrote:
 Hi,

 is this a known exception, or is it a nasty little bug?


 \starttext

 |ROTFL|, Rolling on the Floor, laughing.

 |ROTFL|; Rolling on the Floor, laughing.

 \stoptext
 
 hm, has to do with special comma treatment, hav eto look into it

Hi Steffen,

I think the problem here is, that '|' is an active character in TeX
(tabular env?). Therefore you can expect everything but normal
behaviour, when using it in normal text.

This is what I use at the moment (maybe there are cleaner solutions).
I'm a rookie in this regime/font encoding stuff..



\enableregime[utf]

\definecharacter textbar   124

\starttext

\textbar ROTFL\textbar, Rolling on the Floor, laughing.

\textbar ROTFL\textbar; Rolling on the Floor, laughing.

\stoptext


HTH, Peter


 in the meantime use
 
 |ROTFL|{},
 
 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
 ___
 

___
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] ConTeXt possibilities

2007-08-20 Thread Istvan Hollerbach
Dear Aditya Mahajan,

Thank you for your detailed reply.

Best regards,
Istvan
___
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] Learning ConTeXt

2007-08-20 Thread Aditya Mahajan
On Mon, 20 Aug 2007, Istvan Hollerbach wrote:

 Hi Everybody,

 I want to learn ConTeXt, but 'cont-enp.pdf' and 'mp-cb-en.pdf' do not
 explain many things in detail, for example the parameters of command
 \setuplayout on the page 24 of cont-enp.pdf. Or am I careless? How shall
 I start to learn? And how shall I go on learning?

Specifically for page layout, you may find Paul Tremblay's tutorial 
page useful.
http://getfo.org/context_xml/index.html

It is about using xml, but does explains the context's page layout 
terminology in detail.

http://getfo.org/context_xml/page3.html

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
___


[NTG-context] Uppercase Greek in large fontsize

2007-08-20 Thread Shen Chen
Hi all,

I had a problem with typesetting uppercase Greek in large fontsize.
I am doing a screen presentation so I want to work with 18pt body font size.
But uppercase greek letters all disappear whenever I use anything bigger
than 12pt. All small case greek letter are fine, though. Wondering if there
is a simple fix to it. Thanks a lot!

\setupbodyfont[roman,18pt]
\starttext
Hello world!
$$\delta \Delta \alpha \Alpha \gamma \Gamma $$
\stoptext

Best regards,
Shen Chen

___
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] Uppercase Greek in large fontsize

2007-08-20 Thread Hans Hagen
Shen Chen wrote:
 Hi all,
 
 I had a problem with typesetting uppercase Greek in large fontsize.
 I am doing a screen presentation so I want to work with 18pt body font size.
 But uppercase greek letters all disappear whenever I use anything bigger
 than 12pt. All small case greek letter are fine, though. Wondering if there
 is a simple fix to it. Thanks a lot!
 
 \setupbodyfont[roman,18pt]
 \starttext
 Hello world!
 $$\delta \Delta \alpha \Alpha \gamma \Gamma $$
 \stoptext
\definebodyfontenvironment[18pt]
\setupbodyfont[18pt]
Hello world!
$$\delta \Delta \alpha \Alpha \gamma \Gamma $$

-
   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] Uppercase Greek in large fontsize

2007-08-20 Thread Shen Chen
Thanks for the suggestion.
But \definebodyfontenvironment doesn't seem to have any effect.
I tried it on live.contextgarden.net, \Delta appear like a \prime.

shenchen

On 8/21/07 12:24 AM, Hans Hagen [EMAIL PROTECTED] wrote:

 Shen Chen wrote:
 Hi all,
 
 I had a problem with typesetting uppercase Greek in large fontsize.
 I am doing a screen presentation so I want to work with 18pt body font size.
 But uppercase greek letters all disappear whenever I use anything bigger
 than 12pt. All small case greek letter are fine, though. Wondering if there
 is a simple fix to it. Thanks a lot!
 
 \setupbodyfont[roman,18pt]
 \starttext
 Hello world!
 $$\delta \Delta \alpha \Alpha \gamma \Gamma $$
 \stoptext
 \definebodyfontenvironment[18pt]
 \setupbodyfont[18pt]
 Hello world!
 $$\delta \Delta \alpha \Alpha \gamma \Gamma $$
 
 -
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
 __
 _

___
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] Uppercase Greek in large fontsize

2007-08-20 Thread Hans Hagen
Shen Chen wrote:
 Thanks for the suggestion.
 But \definebodyfontenvironment doesn't seem to have any effect.
 I tried it on live.contextgarden.net, \Delta appear like a \prime.

hm, smells like a font problem 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
___


[NTG-context] TEXapplication

2007-08-20 Thread Wolfgang Werners-Lucchini
Hallo,

while playing with m-pstric I realized that there is an other 
problem.

m-pstric uses the TEXapplication start/stop mechanism, but the 
resulting box has no extend. The commented version which does not 
make use of TEXapplication works ok.


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] Mysterious clipping for shaded MetaFun page background

2007-08-20 Thread Oliver Buerschaper
Dear folks,

can anyone reproduce this? (Live ConTeXt on the garden seems to run  
into this \faststartcolor thing ... with pdfTeX.)

Uncomment the page background overlay and the top bit of the frames'  
titles will be chipped off ... doesn't happen for the plain vanilla  
color background on my machine.

---

\enableregime[utf]

\setupcolors[state=start]

\usetypescript[palatino][\defaultencoding]
\setupbodyfont[palatino,30pt]

\startMPenvironment
\usetypescript[palatino][\defaultencoding]
\switchtobodyfont[palatino,30pt]
\stopMPenvironment

\startuseMPgraphic{FunnyFrame}
picture pic;
path a,b;
a := unitsquare xyscaled (OverlayWidth,OverlayHeight);
pic := textext(\MPstring{FunnyFrame});
setbounds pic to (boundingbox pic) enlarged (BodyFontSize/5);
pic := pic shifted (OverlayWidth/2,OverlayHeight+(ypart ulcorner  
pic)/2);
drawoptions(withpen pencircle scaled OverlayLineWidth withcolor  
OverlayLineColor);
b := a topenlarged (ypart center pic-OverlayHeight);
b := b smoothed BodyFontSize;
fill b withcolor white;
draw b;
b := (boundingbox pic) smoothed (BodyFontSize/2);
fill b withcolor yellow;
draw b;
draw pic withcolor black;
setbounds currentpicture to a;
\stopuseMPgraphic

\defineoverlay[FunnyFrame][\useMPgraphic{FunnyFrame}]
\defineframedtext
[FunnyText]
[background=FunnyFrame,
 frame=off,
 rulethickness=3pt,
 width=\textwidth]

\def\startFrame#1{%
\setMPtext{FunnyFrame}{\hbox spread 1em{\hss\strut#1\hss}}%
\startFunnyText}
\def\stopFrame{\stopFunnyText}

\startuniqueMPgraphic{shade}
path p;
p := unitsquare xyscaled (OverlayWidth,OverlayHeight);
linear_shade(p,6,blue,white);
\stopuniqueMPgraphic
\defineoverlay[shade][\useMPgraphic{shade}]

%\setupbackgrounds
%   [page]
%   [background=shade]

%\setupbackgrounds
%   [page]
%   [background=color,
%backgroundcolor=blue]

\noheaderandfooterlines


\starttext

\showframe

\startFrame{Test 1}
The quick brown fox jumps over the lazy dog.
\stopFrame

\startFrame{Test 2}
The quick brown fox jumps over the lazy dog.
\stopFrame

\stoptext

---

Cheerio,
Oliver
___
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] Learning ConTeXt

2007-08-20 Thread Istvan Hollerbach
Dear Aditya,

I found that page yesterday and saved all the document.

Istvan
___
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] Mysterious clipping for shaded MetaFun page background

2007-08-20 Thread Peter Rolf
Oliver Buerschaper schrieb:
 Dear folks,
 
 can anyone reproduce this? (Live ConTeXt on the garden seems to run  
 into this \faststartcolor thing ... with pdfTeX.)

 Uncomment the page background overlay and the top bit of the frames'  
 titles will be chipped off ... doesn't happen for the plain vanilla  
 color background on my machine.
 
 ---
 
 \enableregime[utf]
 
 \setupcolors[state=start]
 
del
 \usetypescript[palatino][\defaultencoding]
 \setupbodyfont[palatino,30pt]
/del
 
 \startMPenvironment
[global]
   \usetypescript[palatino][\defaultencoding]
   \switchtobodyfont[palatino,30pt]
 \stopMPenvironment
   
 \startuseMPgraphic{FunnyFrame}
   picture pic;
   path a,b;
   a := unitsquare xyscaled (OverlayWidth,OverlayHeight);

% = OverlayBox

   pic := textext(\MPstring{FunnyFrame});
   setbounds pic to (boundingbox pic) enlarged (BodyFontSize/5);
   pic := pic shifted (OverlayWidth/2,OverlayHeight+(ypart ulcorner  
 pic)/2);
   drawoptions(withpen pencircle scaled OverlayLineWidth withcolor  
 OverlayLineColor);
   b := a topenlarged (ypart center pic-OverlayHeight);
   b := b smoothed BodyFontSize;
   fill b withcolor white;
   draw b;

% there is filldraw

   b := (boundingbox pic) smoothed (BodyFontSize/2);
   fill b withcolor yellow;
   draw b;
   draw pic withcolor black;
   setbounds currentpicture to a;

draw boundingbox currentpicture withcolor red;

 \stopuseMPgraphic


the boundingbox sets the final size of the gfx. if your gfx is larger
than the bb, things will overlap. just enlarge the bb, so that it fits
the gfx.


Peter


 \defineoverlay[FunnyFrame][\useMPgraphic{FunnyFrame}]
 \defineframedtext
   [FunnyText]
   [background=FunnyFrame,
frame=off,
rulethickness=3pt,
width=\textwidth]
 
 \def\startFrame#1{%
   \setMPtext{FunnyFrame}{\hbox spread 1em{\hss\strut#1\hss}}%
   \startFunnyText}
 \def\stopFrame{\stopFunnyText}
 
 \startuniqueMPgraphic{shade}
   path p;
   p := unitsquare xyscaled (OverlayWidth,OverlayHeight);
   linear_shade(p,6,blue,white);
 \stopuniqueMPgraphic
 \defineoverlay[shade][\useMPgraphic{shade}]
 
 %\setupbackgrounds
 % [page]
 % [background=shade]
 
 %\setupbackgrounds
 % [page]
 % [background=color,
 %  backgroundcolor=blue]
   
 \noheaderandfooterlines
 
 
 \starttext
   
   \showframe
   
   \startFrame{Test 1}
   The quick brown fox jumps over the lazy dog.
   \stopFrame
   
   \startFrame{Test 2}
   The quick brown fox jumps over the lazy dog.
   \stopFrame
 
 \stoptext
 
 ---
 
 Cheerio,
 Oliver
 ___
 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] Mysterious clipping for shaded MetaFun page background

2007-08-20 Thread Hans Hagen
Peter Rolf wrote:
 Oliver Buerschaper schrieb:
 Dear folks,

 can anyone reproduce this? (Live ConTeXt on the garden seems to run  
 into this \faststartcolor thing ... with pdfTeX.)

it may help to increase

\def\objectoffset{1cm}

(by default reused objects clip and this creates a virtual bbox)


-
   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] mkiv update - section problem

2007-08-20 Thread Vyatcheslav Yatskovsky
Hello,

After updating I have the following problem. The first section sticks to 
contents. This effect was not present until update.

%engine=luatex
\starttext
\placecontent

\section{Background}

Bla-bla-bla

Bla-bla-bla

\section{Features Overview}

Bla-bla-bla
\stoptext

Best,
Vatcheslav

___
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] MK IV Lilypond

2007-08-20 Thread David Wooten
Greetings all,

Has anyone had any luck getting the lilypond module to work with mkiv/ 
luatex engine? It fails for me (works fine with mkii/pdftex). I can  
send along some log info if others have found it to work.

Regards,
David
___
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] MetaFun and different body font size

2007-08-20 Thread Mojca Miklavec
On 8/20/07, Oliver Buerschaper wrote:
 Dear folks,

 I'm wondering how to communicate a different default bodyfont size to
 MetaFun ... consider this:

 ---

 \setupbodyfont[32pt]


 \starttext

 \input ward

 \startuseMPgraphic{test}
 draw unitsquare scaled BodyFontSize;
 draw textext.rt(Test);
 draw btex \TeX etex xshifted 2*BodyFontSize;
 \stopuseMPgraphic
 \useMPgraphic{test}

 \stoptext

 ---

 Somehow MetaFun doesn't recognize the larger body font size :-( What
 can I do?

There's one solutions which is far better  faster  more efficient 
more obedient: use \sometxt instead of btex ... etex and/or instead of
textext(...):

\startuseMPgraphic{test}
   draw unitsquare scaled BodyFontSize;
   label.rt(\sometxt{Test}, origin);
   draw \sometxt{\TeX} xshifted 2*BodyFontSize;
\stopuseMPgraphic
\useMPgraphic{test}

See http://dl.contextgarden.net/myway/sometxt.pdf

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
___