[NTG-context] buffers and mathml

2005-06-02 Thread jimarin
Hi all,

I hope not to be posing a silly question.

I am trying something like:

usemodule[mathml]
\starttext

\def\open
{}

\def\close
{}

\startbuffer
\open math display=block\close
\open apply\close \open sin/\close \open apply\close \open plus/\close
\open cn\close 2 \open /cn\close \open ci\close a \open /ci\close
\open /apply\close \open /apply\close
\open /math\close
\stopbuffer

\processXMLbuffer

\stoptext

But this does not pass to \processXMLbuffer the result of substituting
commands \open and \close...

how could this be achieved...?

I know that I could have used myself the  and 's instead of the ugly open
and close but that is not my requirement.

I tried defining a command

\def\Wea
{
\open math display=block\close
\open apply\close \open sin/\close \open apply\close \open plus/\close
\open cn\close 2 \open /cn\close \open ci\close a \open /ci\close
\open /apply\close \open /apply\close
\open /math\close
}

and then...

\startbuffer
\Wea
\stopbuffer

but that is plain wrong...



thanks

jima
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.788 / Virus Database: 533 - Release Date: 2004/11/01

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] mswincontext.zip installation

2006-03-07 Thread jimarin
Not quite.

I will try to edit the wiki myself later on.

If not able I will post the message on this list that I think could be it,
so anyone with permissions can do it.

jima

 On Tue, Feb 28, 2006 at 06:48:50PM -, Keith McKay wrote:
 And me to! Thanks!

 Would some kind soul care to write up on the Wiki the best way to update
 the
 windows stand alone version?  Please.


 AFAIK is the Wiki page
  http://wiki.contextgarden.net/Windows_Installation


 HtH
 GSt
 --
 http://www.catb.org/~esr/jargon/html/B/bottom-post.html
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context




Jose Ignacio Marín Alberdi (aka jima)

Bayes Inference, S.A
+34 91.532.74.40
www.bayesforecast.com

http://www.espacioblog.com/scifish


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Question ConTeXt

2004-06-22 Thread jimarin
Thanks !

:)

jose

 Am 21.06.2004 um 16:04 schrieb Hans Hagen:

 [forwarded to the context list]

 [EMAIL PROTECTED] wrote:

 I understand that using
 \language[es] (or \mainlanguage[es])
 would select correct hyphenation patterns for Spanish. Is this
 correct?

 Yes.

 and then...
 can I enter text with proper Spanish accents in it, like in...

 No.
 Input encoding has nothing to do with hyphenation patterns.
 In ConTeXt the input encoding is called regime:
 \enableregime[il1] % iso latin 1, try utf8 if your editor does support
 it


 Grüßlis vom Hraban!
 ---
 http://www.fiee.net/texnique/
 ___
 ntg-context mailing list
 [EMAIL PROTECTED]
 http://www.ntg.nl/mailman/listinfo/ntg-context



___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] when trying to setup Arial fonts...

2004-06-22 Thread jimarin
Hi all,

I am trying to setup Arial fonts...I am quite a newbie to this ConTeXt
thing...

Once Willi told me to use:

Hi Jose

use

\usetypescript[helvetica][\defaultencoding]
\setupbodyfont[helvetica,ss,12pt]

Success!

Willi

I have just done \setupbodyfont[helvetica,ss,12pt] cause

\usetypescript apparently is not recognised in my ConTeXt (previous
version to the latest update of these days)

what is the use of this \usetypescript thing?

is Arial just a nickname for Helvetica sans-serif?

cheers !

Jose Ignacio
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: ConTeXt-Wiki

2004-06-22 Thread jimarin
Hi all,

the idea of the keywords is very nice...

in

http://wiki.tcl.tk

you can search for a specific page using the url

like in

http://wiki.tcl.tk/file

even more, you can search all pages containing a word like in:

http://wiki.tcl.tk/menu*

perhaps it could be copied for ConTeXt wiki...don´t know how tclers do
theirs, but I guess they use tcl and they more or less can give some
advice.

Just some thoughts.

Cheers,

Jose Ignacio

 Hi Matt,

 b) It is hard to classify the documents. Two possibilities:

 Yes, it is hard to classify them (and many other things) if you insist
 on forcing them into a single, canonical hierarchy.

 Oh, I don't insist on anything; I just don't have clue how to start...

 But what if you classified documents on the basis of keywords, or
 key phrases? Then visitors could either search based on those
 phrases or browse a keyword index.

 Of course, that assumes your Wiki software has some means of managing
 metadata.

 As far as I can see, it doesn't. But putting keywords on the pages
 could help.

 And you could just make some arbitrary decisions about what materials
 should be included and how to classify them. Even a very imperfect
 collection would be more helpful than none.

 Probably true.

 And if people don't like your collection, tell them to start their
 own. Isn't that what the Web is all about?

 Right. Easy to change everything.


 Patrick
 --
 texshow-web:  http://members.ping.de:8061
 ConTeXt wiki: http://members.ping.de:8062
 ___
 ntg-context mailing list
 [EMAIL PROTECTED]
 http://www.ntg.nl/mailman/listinfo/ntg-context



___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: when trying to setup Arial fonts...

2004-06-22 Thread jimarin
Hello there,

I have tried

 Try

 \usetypescript [adobekb][ec]
 \usetypescript [postscript][ec]
 \setupbodyfont[pos,ss,12pt]

 \starttext
 foo
 \stoptext

 How old is your ConTeXt? What TeX system do you have?

 Make sure that ther is a line in your logfile like:

 fonts  : [adobekb] [ec] []

 If this does not appear, post your complete logfile.

 Patrick

the line appears but the command fails

my ConTeXt is the latest...just downloaded

my TeX is the one that comes bundled with cygwin:

This is TeXk, Version 3.14159 (Web2C 7.4.5)

also

This is METAFONT, Version 2.7182 (Web2C 7.4.5)

the poor thing says that it cannot make:

mktextfm ec-uhvr8a

I enclose the output


thanks !


Jose


 TeXExec 3.1 - ConTeXt / PRAGMA ADE 1997-2002

executable : pdfetex
format : cont-en
 inputfile : new
output : pdftex
 interface : en
  current mode : none
   TeX run : 1

This is pdfeTeXk, Version 3.14159-1.10b-2.1 (Web2C 7.4.5)
 \write18 enabled.
 %-line parsing enabled.
entering extended mode
(./new.tex{/usr/share/texmf/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2004.6.21  fmt: 2004.6.22  int: english  mes: english

language   : language en is active
protectionstate 0
system : cont-new loaded
(/usr/share/texmf/tex/context/base/cont-new.tex
systems: beware: some patches loaded from cont-new.tex!
color  : palette rollover is available
system (E-TEX) : [line 578] 
system (E-TEX) : [line 633] 
)
system : cont-old loaded
(/usr/share/texmf/tex/context/base/cont-old.tex
loading: Context Old Macros
)
system : cont-fil loaded
(/usr/share/texmf/tex/context/base/cont-fil.tex
loading: Context File Synonyms
)
bodyfont   : 12pt rm is loaded
language   : patterns 2:2-es-2 3:2-en-2 4:2-uk-2 5:2-de-2 6:2-fr-2 7:2-it-2
 8:2-nl-2 loaded
specials   : tex,postscript,rokicki loaded
system : new.top loaded
(./new.top
specials   : loading definition file tpd
(/usr/share/texmf/tex/context/base/spec-tpd.tex
specials   : loading definition file fdf
(/usr/share/texmf/tex/context/base/spec-fdf.tex unprotect 3 unprotect 4
system (E-TEX) : [line 2270] \ifcsname 
protect 4 protect 3)
specials   : fdf loaded
unprotect 3 protect 3)
specials   : fdf,tpd loaded
)
fonts  : [adobekb] [ec] []
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
fonts  : [postscript] [ec] []
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex
fonts  : [postscript] [rm] [serif] [times] / ec
fonts  : [map] [ec] []
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
fonts  : [serif,map] [times] [name,default,ec,special]
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
fonts  : [serif] [default] [size]
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
fonts  : [postscript] [mm] [math] [times] / ec
fonts  : [map] [ec] []
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
fonts  : [math,map] [times] [name,default,ec,special]
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
fonts  : [math] [default] [size]
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)

[NTG-context] generating html

2004-06-23 Thread jimarin
is there an easy way to transform a ConTeXt document into html...?

regards

Jose
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] metafun

2004-06-23 Thread jimarin
I have made

texexec --make metafun

to generate metafun format. And it said it generated it.

But...

I always get these messages

kpathsea: Running mktexfmt metafun.mem
fmtutil: no info for format `metafun'.

when doing texexec --pdf to my tex-beauties...

it seems that he goes for metapost after that...

is there anything wrong here?

thanks !

jose
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: metafun

2004-06-23 Thread jimarin
you are right...mine is 3.1

but I don't understand...I downloaded cont-tmf.zip yesterday from
pragma-ade downloading page...

is it not the right place/version?

where should I get the lattest?

thanks again !

Jose


 Hi,

 try texexec --alone --make metafun

 and your texexec is (as far as I can judge) far out of date.

  TeXExec 4.3 - ConTeXt / PRAGMA ADE 1997-2004

 is current

 Patrick
 --
 texshow-web:  http://members.ping.de:8061
 ConTeXt wiki: http://members.ping.de:8062
 ___
 ntg-context mailing list
 [EMAIL PROTECTED]
 http://www.ntg.nl/mailman/listinfo/ntg-context



___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: metafun

2004-06-23 Thread jimarin
yep, it seems to work...it generates metafun.mem in the same directory it
was invoked...

do I have to invoke

texexec --make --alone

in a specific directory to perform correct installation of ConTeXt ?

I have not seen anything like that mentioned in install document...

is lattest version of TexExec in cont-tfm.zip ?

Jose

 Hi,

 but I don't understand...I downloaded cont-tmf.zip yesterday from
 pragma-ade downloading page...

 is it not the right place/version?

 that is the only authorative(spelling?) place to download... There
 are mirrors, but I don't know how uptodate they are.

 The output you have sent me (private mail) showed that you use the
 latest ConTeXt texfiles, but the perl progam texexec was not
 updated.

 Did texexec --make --alone metafun work?

 Patrick

 --
 texshow-web:  http://members.ping.de:8061
 ConTeXt wiki: http://members.ping.de:8062
 ___
 ntg-context mailing list
 [EMAIL PROTECTED]
 http://www.ntg.nl/mailman/listinfo/ntg-context



___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] updating context in cygwin by hand

2004-06-24 Thread jimarin
Hi there,

after some investigation concluded I did not really installed the latest
version of ConTeXt properly. This being the cause of many of my previous
messages that Patrick, Hans and others (thanks to all !) so kindly
replied.

What I have here is a cygwin distro that comes with a texfm distro, in
this distro there is ConTeXt, but an older version from what I want
installed.

So in the texmf tree I put context files. So far so good.

But...this cygwin has a texexec shell script in /usr/bin that makes the
system to launch a texexec it has in: texfm/context/perltk.

I put there the new version of texexec copying into that directory all the
texmf/scripts/perl directory that comes in the new version of ConTeXt.

Now the new texexec is summoned. Great.

I even manage to pass to him the path where to put the en nl and metafun
formats (texfm/web2c) and so it does when I asked it:

texexec --make --alone en nl metafun

But...

when trying to do

texexec --pdf dummy

in /cygdrive/c/documents/versions (a cygwin alias to
C:\documents\versions, place where dummy.tex can be found)

it says:

 TeXExec 4.3 - ConTeXt / PRAGMA ADE 1997-2004

executable : pdfetex
format : /cygdrive/c/cygwin/usr/share/texmf/web2c/cont-en
 inputfile : pvm
output : pdftex
 interface : en
  current mode : none
   TeX run : 1

pdfetex: unrecognized option `-fmt=cont-en'
Try `pdfetex --help' for more information.

   return code : 256
  run time : 0 seconds

total run time : 1 seconds
make: *** [pvm.pdf] Error 1




I suspect the pdfetex executable...


any ideas?

thanks !

Jose

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] command definition

2004-06-24 Thread jimarin
is it possible anything like the following ?

\def\MySomeTable#1%
{
\startbuffer
#1
\stopbuffer
}

\MySomeTable{
\starttable
blah blah blah...
\stoptable
}

I find it difficult...


Jose
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: updating context in cygwin by hand

2004-06-24 Thread jimarin
I think I am almost there...

followed instructions at levana.de/context/

it seems to be searching first the things at my place as:

mktexlsr: Updating /cygdrive/c/ConTeXt/texmf/ls-R...
mktexlsr: Updating /usr/share/texmf/ls-R...
mktexlsr: Updating /var/cache/fonts/ls-R...

my place goes first

then I invoke texexec.pl with fullpath and --tex=pdfetex
and copied all scripts in myPLace/texfm/scripts/perl into
/usr/share/texmf/perltk (the place intermediate scripts are being called)

but...

eventually get:

---
   return code : 0
  run time : 2 seconds
   generating graphics : metaposting mpgraph.mp

 TeXExec 4.3 - ConTeXt / PRAGMA ADE 1997-2004

  metapost : mpgraph
format : metafun
metafun: not found

total run time : 1 seconds
  sorting and checking : running texutil
This is MetaPost, Version 0.641 (Web2C 7.4.5)
**
! End of file on the terminal... why?


I am stuck even reading the previous posts...


 [...]

 pdfetex: unrecognized option `-fmt=cont-en'
 Try `pdfetex --help' for more information.

 known bug... see a message from me in thread installation problem

 http://thread.gmane.org/gmane.comp.tex.context/15443

 Patrick
 --
 texshow-web:  http://members.ping.de:8061
 ConTeXt wiki: http://members.ping.de:8062
 ___
 ntg-context mailing list
 [EMAIL PROTECTED]
 http://www.ntg.nl/mailman/listinfo/ntg-context



___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] math in ConTeXt

2004-06-25 Thread jimarin
is ConTeXt prepared for math?

I mean...can I do...

$\sum_{i=1}^{n}{x_{i}}$

as I used to in LaTeX ?

I don't make the \Sigma to be under and over characterised by i=1 and n.

Jose
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: updating context in cygwin by hand

2004-06-25 Thread jimarin
the blue thing was a mistake of mine...it is solved now !

will see what is failing with the update of texexec.pl...if I find the
reason I will report it

I like ConTeXt !!

thanks

Jose



 [...]

 but I cannot place a blue thing in the background...I have some overlay
 with a blue strip I wan to put in the background and it won't come up,
 another overlay in the normal text area goes fine...

 You might think of posting the not-working file, so we could see what
 is going wrong.

 this morning some message saying something about the background was
 issued but I deleted it (-gasp-)

 You know about URL:news.gmane.org/gmane.comp.tex.context?

 when new distributions come into place...is there anything like an
 standard (automatic) battery of tests (making some documents...or so...)
 which is performed?

 Good question. I have problems generating the manual documentation
 once in a while, so I guess these aren't used for the test :-)

 Patrick
 --
 texshow-web:  http://members.ping.de:8061
 ConTeXt wiki: http://members.ping.de:8062
 ___
 ntg-context mailing list
 [EMAIL PROTECTED]
 http://www.ntg.nl/mailman/listinfo/ntg-context



___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] TeX capacity exceeded

2004-07-10 Thread jimarin
After some time off...back in charge...

I have got this line from texexec when trying to put a logo in:

! TeX capacity exceeded, sorry [hash size=35000].

can the hash size be changed?

thanks !!


-
Jose Ignacio Marín Alberdi

Bayes Inference, S.A.
c/ Gran Vía, Nº39, 5º, E-28013 MADRID
 Tfn (91) 532.74.40, Fax (91) 532.26.36
-
email: [EMAIL PROTECTED]
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Matrix or array and \Bigl

2004-09-07 Thread jimarin
Hi everyone,

a quick question:

how can I deal with matrices in ConTeXt ?

I tried to use what is described in the wiki as a form of dealing with the
latex environment convention and importing the amsl package...

\def\begin#1{%
   \csname start#1\endcsname}
 \def\end#1{%
   \csname stop#1\endcsname}

...

\usemodule[amsl]

then I tried:

\begin{array}{c} a + b \\ c + d \end{array}

and also,

does the tex sequence \left{ work ok in ConTeXt?


Thanks in advance.

Regards to everyone.

Jose Ignacio Marín




___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] array ?

2004-09-12 Thread jimarin
Hi everyone,

in latex is possible to work with matrices.

How can I have matrix, array o something similar in ConTeXt ?

I have been trying with \starttabulate \stoptabulate but my results are
frankly poor?

I also tried some suggestions from the wiki...about importing ams package
from the distro and wrapping \begin \end latex macros with the equivalent
ConText ones but I was not able to make it work with the info provided
there.

Can anyone help me with this?

Thanks in advance !!

Jose Ignacio Marín

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: [NTG-context] array ?

2004-09-12 Thread jimarin
please forgive my ignorance but...

shall I copy the files

t-amsl.tex
t-nath.tex

into 

\texmf\tex\context\base

and then

\usemodule[amsl]
\usemodule[nath]

in my files along with

\array...

?

Is this correct?

Thanks !

jima

-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
nombre de Giuseppe Bilotta
Enviado el: domingo, 12 de septiembre de 2004 13:25
Para: mailing list for ConTeXt users
Asunto: Re: [NTG-context] array ?


Sunday, September 12, 2004 [EMAIL PROTECTED] wrote:

 Hi everyone,

 in latex is possible to work with matrices.

 How can I have matrix, array o something similar in ConTeXt ?

Use the amsl and nath modules for ConTeXt. You can find them on
CTAN.

-- 
Giuseppe Oblomov Bilotta

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: [NTG-context] \setuplayout --- what do parameters mean?

2004-11-04 Thread jimarin
Hi David,

I use the following code...which I borrowed and adapted from someone else (I
think it was from Patrick Gundlach's http://levana.de/context/) to explore
graphically the meanings of the parameters of \setuplayout.

I used it when developing my own style for presentations...I am aware it may
not be perfect but I hope it does help you

Greetings

Jose Ignacio Marin

The code

(the unknown commands like \Location \Style etc... are for you to substitute
with values you want)


%
\setuplayout
  [
  location=\Location,
  style=\Style,
  marking=\Marking,
  scale=\Scale,
  nx=\Nx,
  ny=\Ny,
  dx=\Dx,
  dy=\Dy,
  lines=\Lines,
  grid=\Grid,
  bottomspace=\BottomSpace,
  cutspace=\CutSpace,
  horoffset=\HorOffset,
  veroffset=\VerOffset,
  backspace=\BackSpace,
  leftmargin=\LeftMargin,
  leftmargindistance=\LeftMarginDistance,
  width=\Width,
  rightmargin=\LeftMargin,
  rightmargindistance=\LeftMarginDistance,
  topspace=\TopSpace,
  header=\Header,
  headerdistance=\HeaderDistance,
  height=\Height,
  footerdistance=\FooterDistance,
  footer=\Footer,
  paperwidth=\PaperWidth,
  paperheight=\PaperHeight,
  leftedge=\LeftEdge,
  leftedgedistance=\LeftEdgeDistance,
  rightedge=\RightEdge,
  rightedgedistance=\RightEdgeDistance,
  top=\Top,
  topdistance=\TopDistance,
  bottom=\Bottom,
  bottomdistance=\BottomDistance
  ]

% PAGE TEST
\startreusableMPgraphic{TestPage}
  StartPage;
  path p;
  fill Page withcolor .95white;

  % backspace and topspace
  p:= ulcorner Page --
  llcorner Page --
  llcorner Page shifted (BackSpace,0) --
  ulcorner Page shifted (BackSpace,0) -- cycle;
  fill p withcolor transparent(1,0.5,green);

  p:= ulcorner Page --
  urcorner Page --
  urcorner Page shifted (0,-TopSpace) --
  ulcorner Page shifted (0,-TopSpace) -- cycle;
  fill p withcolor transparent(1,0.5,blue);

  % a red bottom...
  p:= (Hstep[LeftEdge], Vstep[Bottom]) --
  (Hstep[RightEdge],Vstep[Bottom]) --
  (Hstep[RightEdge],Vstep[Bottom]+Vsize[Bottom]) --
  (Hstep[LeftEdge], Vstep[Bottom]+Vsize[Bottom]) -- cycle;
  fill p withcolor transparent(1,0.5,red);

  % leftmargin and rightmargin
  p:= (Hstep[LeftMargin],Vstep[Text])--
  (Hstep[LeftMargin] + Hsize[LeftMargin],Vstep[Text]) --
  (Hstep[LeftMargin] + Hsize[LeftMargin],Vstep[Text]+Vsize[Text])--
  (Hstep[LeftMargin],Vstep[Text]+Vsize[Text])--
cycle;
  draw p withpen pencircle scaled .5mm withcolor blue dashed evenly;

  p:= (Hstep[RightMargin], Vstep[Text])--
  (Hstep[RightMargin] + Hsize[RightMargin],Vstep[Text]) --
  (Hstep[RightMargin] + Hsize[RightMargin],Vstep[Text]+Vsize[Text])--
  (Hstep[RightMargin], Vstep[Text]+Vsize[Text])--
cycle;
  draw p withpen pencircle scaled .5mm withcolor blue dashed evenly;

  % leftedge and rightedge
  p:= (Hstep[LeftEdge],Vstep[Text])--
  (Hstep[LeftEdge] + Hsize[LeftEdge],Vstep[Text]) --
  (Hstep[LeftEdge] + Hsize[LeftEdge],Vstep[Text]+Vsize[Text])--
  (Hstep[LeftEdge],Vstep[Text]+Vsize[Text])-- cycle;
  draw p withpen pencircle scaled .5mm withcolor red dashed evenly;

  p:= (Hstep[RightEdge], Vstep[Text])--
  (Hstep[RightEdge] + Hsize[RightEdge],Vstep[Text]) --
  (Hstep[RightEdge] + Hsize[RightEdge],Vstep[Text]+Vsize[Text])--
  (Hstep[RightEdge], Vstep[Text]+Vsize[Text])--
cycle;
  draw p withpen pencircle scaled .5mm withcolor red dashed evenly;

  % let's draw the header (notice that Vsize[Header] and HeaderHeight
  %are the same!)
  p:= (BackSpace, Vstep[Header]) --
  (BackSpace+MakeupWidth, Vstep[Header]) --
  (BackSpace+MakeupWidth, Vstep[Header]+Vsize[Header]) --
  (BackSpace, Vstep[Header]+HeaderHeight) -- cycle ;

  draw p withpen pencircle scaled .5mm withcolor blue dashed evenly;

  % and now for the footer
  p:= (BackSpace, Vstep[Footer]) --
  (BackSpace+MakeupWidth, Vstep[Footer]) --
  (BackSpace+MakeupWidth, Vstep[Footer]+FooterHeight) --
  (BackSpace, Vstep[Footer]+FooterHeight) -- cycle ;

  draw p withpen pencircle scaled .5mm withcolor blue dashed evenly;

  % And now for something completely different :)
  drawoptions (withcolor transparent (1,0.9,yellow) withpen pencircle scaled
.3mm);

  draw Field [Text][Top];
  draw Field [Text][Header];
  draw Field [Text][Text];
  draw Field [Text][Footer];
  % Field[][] = Area[][] shifted Location[][]
  draw Area [Text][Bottom] shifted Location [Text][Bottom];

  % needed, since LeftMargin+LeftMarginDistance  BackSpace
  setbounds currentpicture to boundingbox Page;
\stopreusableMPgraphic

\startbuffer[TestPage]
\reuseMPgraphic{TestPage}
\stopbuffer
\startMPpage
StartPage ;
\stopMPpage
%






-Mensaje original-
De: [EMAIL 

[NTG-context] euro question

2005-04-22 Thread jimarin
Simple and perhaps one hundred times answered but,

how can I make the euro symbol in ConTeXt ?

thanks for being there,

ji
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.788 / Virus Database: 533 - Release Date: 2004/11/01

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context