[NTG-context] supp-mps

2004-10-08 Thread Vit Zyka
Hi,
there is an additional space in the end of the line 653 in supp-mps.tex
(latest alpha):
   \immediate\write\MPwrite{verbatimtex \MPinputtranslation etex ;}
It causes e.g. wrong left bbox border in
-
\startuseMPgraphic{c}
  draw fullsquare scaled 2cm;
\stopuseMPgraphic
\startTEXpage
  \useMPgraphic{c}
\stopTEXpage
--
Vit Zyka
(I sent it to the dev-context list in 19.9. but with no success.)
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] was: figuretext problem --- is: how to modify (presentation) styles

2004-10-08 Thread Mojca Miklavec

Hans Hagen wrote:
Matthias Weber wrote:
Thanks Hans, this was most helpful!
I have another question, though:
After looking at various 'built-in' documentation styles I am 
wondering about the best way
to modify one of these. I couldn't find any documentation besides how 
to use the
styles as they are. So, if I want to make (say) the green style blue 
and with smaller buttons,
are there setups for this? If yes, do I learn about these by looking 
at the source, or,  if no,
do I copy the source and try my best to mess around with it?

just overload them in your own style:
yourstyle.tex :
\usemodule[pre-green]
.. your modufications ..
yourdocument.tex:
\environment yourstyle
.. the text ..
I didn't figure out yet how to know which s-pre-xx.tex defines which 
style, but if you want to use and modify the green one, take a look at 
s-pre-02.tex or even better: general/sources/s-pre-02.pdf at pragma-ade 
website. The documentation there is not visual (like in other manuals), 
but pretty self-evident for someone with at least some minimal 
experience with ConTeXt.

To change the background color, after finding the following line in 
s-pre-02.tex:
   \definecolor [OrnamentColor][r= 0, g=.7, b=.4]

it is not difficult to guess that an additional line anywhere at the 
beginning of your document or style file, like:
   \definecolor [OrnamentColor][r= 0, g=.4, b=.7]
will change the color from green to blue.

To get smaller buttons, notice the \bottomheight used overall where the 
buttons are drawn. (In page-run.tex you can see that that 'bottom' is 
resposnsible to set the proper bottomheight.) So
   \setuplayout[bottom=.4cm]
should solve your problem. If you want to change the look of buttons 
more dramatically, simply copy and modify the lines:

\startuniqueMPgraphic{RightArrow}{height}
...
\stopuniqueMPgraphic
You can try to play with single portions of settings. A very beautiful 
thing in TeX is that one definition simply overloads the other, so it's 
not too difficult to modify a properly designed style.

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


Re: [NTG-context] Nightmare after upgrading

2004-10-08 Thread Sun Minchao
Hello,

I've done all the things I can, but it just doesn't work, as the final result now I 
can use the old version, and very possibly I'll stay with it. anyway thanks a lot for 
all the quick replies!

Greetings,
Minchao



- Original Message - 
From: Hans Hagen [EMAIL PROTECTED]
To: mailing list for ConTeXt users [EMAIL PROTECTED]
Sent: Friday, October 08, 2004 11:18 AM
Subject: Re: [NTG-context] Nightmare after upgrading


 Sun Minchao wrote:
 
  
  /Hello Hans,/
  // 
  /run into trouble again... yesterday I've upgraded MikTeX to 2.4, by the 
  way I've upgraded ConTeXt to the newest version too, but after that I 
  can texexec nothing more. I first tried some chinese texts, but texexec 
  always reported:/
 
  ! Undefined control sequence.
  argument \c!richting
 =\v!links
 
 what file has the \c!richting?
 
 from now on context is low level english, so either that file is a wrong 
 one, or you need to change '\c!richting=\v!links' into \c!direction=\v!left'
 
 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
 -
 
 ___
 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] [OT] compiling pdfTeX 1.2 on MacOS X

2004-10-08 Thread Henning Hraban Ramm
Hello together!
I know, this is a bit OT, but...
The latest beta of ConTeXt needs pdfTeX 1.20, and I'd like to use it 
but the latest pdfTeX doesn't compile completely on my Panther, I 
always get the following last words after some making and compiling:

/bin/sh ../libtool --mode=compile gcc -no-cpp-precomp -DHAVE_CONFIG_H 
 -I. -I../../../src/texk/kpathsea -I.. -I../../../src/texk/kpathsea/..  
 -g -O2  -DMAKE_KPSE_DLL -c ../../../src/texk/kpathsea/tex-file.c
gcc -no-cpp-precomp -DHAVE_CONFIG_H -I. -I../../../src/texk/kpathsea 
-I.. -I../../../src/texk/kpathsea/.. -g -O2 -DMAKE_KPSE_DLL -c 
../../../src/texk/kpathsea/tex-file.c -o tex-file.o
../libtool: line 1: gcc -no-cpp-precomp: command not found
make[1]: *** [tex-file.lo] Error 1
make: *** [../kpathsea/libkpathsea.la] Error 2

I don't speak C, so I don't understand if it tells that gcc 
-no-cpp-precomp is wrong (can't be, it works anywhere) or that libtool 
is wrong or what?

BTW: Is there any reason why sarovar.org is not reachable so often?
Now I got 1.20a from http://freshmeat.net/projects/pdftex/
Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] [OT] compiling pdfTeX 1.2 on MacOS X

2004-10-08 Thread Taco Hoekwater

Henning Hraban Ramm [EMAIL PROTECTED] wrote:

 I don't speak C, so I don't understand if it tells that gcc 
 -no-cpp-precomp is wrong (can't be, it works anywhere) or that libtool 
 is wrong or what?

It is possible that it is searching for a single executable
like in this example?

 total 16
drwxr-xr-x2 taco taco 4096 Oct  8 23:09 ./
drwx--   12 taco taco12288 Oct  8 23:09 ../
-rwxr-xr-x1 taco taco0 Oct  8 23:09 gcc -no-cpp-precomp

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