[NTG-context] [Q] Combining

2005-05-27 Thread olibou

Hello,

I initially was looking for having several multilign text box in a
metapost. But I do not know how to it. I finally take the technic of
"register" as explain in the "complex text in graphic" paragraph of
the metafun manual.

But then, I was to animate it in a presentation. I learn to animate
with the "growing graphic" chapter. But I do not know how to combine
register and animate.

Does somebody has an example of doing so ... I will try to reverse
engineer his source ;-) so he or she will not lose his time with me ?

In case you like to reverse my source, I give it as a small
example. In this example, I wish I could exchange "Bonjour" for a
better and more complex text ;-)




t2.tex
Description: TeX document



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


Re: [NTG-context] INstalling a new version of context

2005-05-08 Thread olibou
I finally succeed installing this new version ... at least
s-pre-61.tex compiles ;-)
-- 
 Oli
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] INstalling a new version of context

2005-05-07 Thread olibou

Hello !

I tried to install a new version of context, since somebody suggest to
do it (BTW I do not know how know what version of context I have
... running texexec --version gives me the version of texexec, I
presume, not the version of context ... but anyway ... that not my
sole problem, as for now).

So I used to have a version of context install by default :-) on my
mandrake 10.1 distribution of linux ...

To upgrade I have downloaded
http://www.pragma-ade.com/context/current/cont-tmf.zip
and read also part of 
http://www.pragma-ade.com/general/manuals/minstall.pdf

It says that I have to unzip cont-tmf.zip in /usr/share/texmf ... 
which I have done ... 

And then they say we have to regenerate format  but I'm not that
expert to understand what it means ...
What I have done is fmtutil --all

But my context distrib does not work anymore ... ;-(

Could anybody help me ?

I have relink
ln -s /usr/share/texmf/context/perltk/texexec.pl /usr/bin/texexec 
since /usr/bin/texexec was the location where my shell use to find
texec ... But I'm probably messing everything doing that. 


Anyway, I have NOT "regenerate the format" and try to use texexec ..
but on a simple "hello world" example stored in hw.tex file :

\starttext
Hello World !
\stoptext

it gives me this output ;-(

[EMAIL PROTECTED]:~/E/Context
 # texexec --verbose hw.tex

 TeXExec 3.1 - ConTeXt / PRAGMA ADE 1997-2002

  current path : /home/oli/E/Context
 locating ini file : found by kpsewhich
   reading : /usr/share/texmf/context/config/texexec.ini
   setting : 'TeXShell' to 'tetex' for 'all'
   setting : 'UsedInterfaces' to 'en nl metafun mptopdf' for 'all'
   setting : 'UserInterface' to 'en' for 'all'
   setting : 'TeXExecutable' to 'tex' for 'all'
   setting : 'MpExecutable' to 'mpost' for 'all'
   setting : 'MpToTeXExecutable' to 'mpto' for 'all'
   setting : 'DviToMpExecutable' to 'dvitomp' for 'all'
   setting : 'DviSpecialScript' to 'dvispec' for 'all'
   setting : 'MpFormat' to 'metafun' for 'all'
   setting : 'TeXFormatFlag' to '&' for 'all'
   setting : 'MpFormatFlag' to '&' for 'all'
   setting : 'TeXFontsPath' to 'l:/tex/texmf;l:/tex/texmf-local;' 
for 'all'
   setting : 'TeXExecutable' to 'pdfetex' for 'tetex'
   setting : 'TeXVirginFlag' to '-ini' for 'tetex'
   setting : 'TeXPassString' to '-progname=context' for 'tetex'
   setting : 'TeXBatchFlag' to '-int=batchmode' for 'tetex'
   setting : 'MpToTeXExecutable' to 'mpto' for 'tetex'
   setting : 'MpVirginFlag' to '-ini' for 'tetex'
   setting : 'MpPassString' to '-progname=mpost' for 'tetex'
   setting : 'MpBatchFlag' to '-int=batchmode' for 'tetex'

  used setting : TeXShell = tetex
  used setting : SetupPath = 
  used setting : UserInterface = en
  used setting : UsedInterfaces = en nl metafun mptopdf
  used setting : TeXFontsPath = l:/tex/texmf;l:/tex/texmf-local;
  used setting : MpExecutable = mpost
  used setting : MpToTeXExecutable = mpto
  used setting : DviToMpExecutable = dvitomp
  used setting : TeXProgramPath = 
  used setting : TeXFormatPath = 
  used setting : ConTeXtPath = 
  used setting : TeXScriptsPath = 
  used setting : TeXExecutable = pdfetex
  used setting : TeXVirginFlag = -ini
  used setting : TeXBatchFlag = -int=batchmode
  used setting : MpBatchFlag = -int=batchmode
  used setting : TeXPassString = -progname=context
  used setting : TeXFormatFlag = &
  used setting : MpFormatFlag = &
  used setting : MpVirginFlag = -ini
  used setting : MpPassString = -progname=mpost
  used setting : MpFormat = metafun
  used setting : MpFormatPath = 
  used setting : FmtLanguage = 
  used setting : FmtBodyFont = 
  used setting : FmtResponse = 
  used setting : TcXPath = 
  used setting : SetFile = 

 applications will use : /usr/share/texmf/web2c/texmf.cnf
  locating fmtutil : /usr/bin/fmtutil

executable : pdfetex
format : cont-en
 inputfile : hw
output : standard
 interface : en
   options : verbose
  current mode : none
   TeX run : 1


pdfetex  -progname=context  \&cont-en hw.tex

This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5)
entering extended mode
(./hw.tex{/usr/share/texmf/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2005.01.31  fmt: 2005.5.7  int: english  mes: english

systems : pdfTeX version 110 -> please update

systems : eTeX version 201 -> too old (bugs)

language: language en is active

system  : cont-new loaded
(/usr/share/texmf/tex

Re: [NTG-context] try compiling Tex showcase source : program_sample.tex

2005-05-03 Thread olibou
olivier Turlier <[EMAIL PROTECTED]> writes:

> Hi contexperts,
> I've tryed to compile program-sample.tex, found after G.Wierda
> announcement, located at :
> http://tug.org/texshowcase/program_sample.tex, whithout success.
> I'm running winxp + mswincontext.zip (2005-03-16).
>
> Can you play with it?
>
> TIA for your answers
>
> -- 
> Olivier TURLIER
> Formation & Métiers
> CRP La Rouguière
> 101 Bd des libérateurs
> 13367 MARSEILLE cedex 11
> tel : 04 91 18 56 00
> fax : 04 91 45 14 48
>
>
> ___
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
>
Neither do I .. seems to me that there are some files missing ... no ?
 (figur.mp for example )
-- 
 Oli

People get annoyed when you try to debug them 
 (Larry Wall : 2nd state of the onion)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Pb compiling s-pre-61.tex

2005-05-03 Thread olibou
olivier Turlier <[EMAIL PROTECTED]> writes:

> Hi,
> I've felt into same pb's trying to compile s-pre-61.tex directly from
> it's original source. As far I can see (just to the surface of the
> screen in fact) it's related to a specific font installed at Pragma,
> not available for everyone as is.
> if I replace or uncomment :
> \usetypescriptfile[type-ghz]
>  
> \definetypeface[mainface][ss][sans][optima-nova][default][encoding=\defaultencoding]
> \setupbodyfont[mainface,ss,18pt]
> and put such general font switch like :
> \usetypescript [modern][\defaultencoding]
> \setupbodyfont[modern,ss,11pt]
> it compile without pbs.
> Your installation seems rather old

It is the one which is included in the Linux MAndrake 10.1.
It might be a one year old version of ConTeXt...

So, probably "rather old", regarding ConTeXt age ;-)

I do not know exactly how to see the age of my ConTeXt distrib ...
There many dates around ... 
At least my s-pre-61.tex dates from 15/3/2004 ... 

Anyway, I tried (as far as I understand it correctly your modification
proposal, and I still have the same bug ;-(

I post at the end of this message the s-pre-61.tex I hv ... maybe it
is not the right one (an old one).


>
> Cordialement

;-) Thanx anyway ... 

%D \module
%D   [  file=s-pre-61,
%Dversion=2004.03.15,
%D  title=\CONTEXT\ Style File,
%D   subtitle=Presentation Environment 61,
%D author=Hans Hagen,
%D   date=\currentdate,
%D  copyright={PRAGMA / Hans Hagen \& Ton Otten}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

%D Optima

\usemodule[pre-60]

% Begin of 'your proposed modification as I understand it !'

%\usetypescriptfile[type-ghz]
%\definetypeface[mainface][ss][sans][optima-nova][default][encoding=\defaultencoding]
%\setupbodyfont[mainface,ss,18pt]

\usetypescript [modern][\defaultencoding]
\setupbodyfont[modern,ss,11pt]

% End of '...'


\setupinterlinespace[line=3.25ex]

\setuppapersize
  [S6][S6]

% \setuppapersize
%   [SW][SW]

\setuplayout
  [topspace=10pt,
   header=40pt,
   headerdistance=20pt,
   height=middle,
   footerdistance=20pt,
   footer=0pt,
   bottomdistance=10pt,
   bottom=20pt,
   bottomspace=40pt,
   backspace=30pt,
   width=middle]

\setupinteraction
  [state=start,
   click=off,
   menu=on,
   style=,
   color=interactioncolor,
   contrastcolor=interactioncolor]

\setupinteractionscreen
  [option=max]

\setupinteractionmenu
  [bottom]
  [color=maincolor,
   contrastcolor=maincolor,
   style=\tfa, % acceptable
   left=\hfill,
   middle=,
   right=,
   height=\bottomheight,
   width=2\bottomheight,
   offset=overlay,
   frame=off]

\startinteractionmenu[bottom]
  \but [firstpage]   \symbol[firstpage]  \\
  \but [previouspage]\symbol[previouspage]   \\
  \but [InvokeStepper] \StartBusy\symbol[PauseRendering]\StopBusy \\
  \but [nextpage]\symbol[nextpage]   \\
  \but [lastpage]\symbol[lastpage]   \\
  \but [CloseDocument]   \symbol[CloseDocument]  \\
\stopinteractionmenu

% maybe in colo-sjk : \setupcolor[sjk]

\definecolor [dark]   [s=.4]
\definecolor [bright] [s=.9]

\definecolor [red][r=.4,g=.2,b=.2]
\definecolor [green]  [r=.2,g=.4,b=.2]
\definecolor [blue]   [r=.2,g=.2,b=.4]

\definecolor [cyan]   [r=.2,g=.4,b=.4]
\definecolor [magenta][r=.4,g=.2,b=.4]
\definecolor [yellow] [r=.4,g=.4,b=.2]

\definecolor [pagecolor] [dark]
\definecolor [maincolor] [bright]
\definecolor [textcolor] [red]

\definecolor [interactioncolor] [r=.8,g=.8,b=.6]

\setupcolors
  [state=start,
   textcolor=maincolor]

\setupbackgrounds
  [page]
  [background=page,
   backgroundcolor=textcolor]

\setupbackgrounds
  [text]% [text]
  [background={comments,text,invoke}]

\definelayer
  [text]
  [width=\textwidth,
   height=\textheight]

\defineoverlay
  [comments]
  [{\setlayer[text][preset=middle]{\placecomments}}]

\defineoverlay[page][\uniqueMPgraphic{page-\ifcase\realpageno\or one\else 
plus\fi}]

\startuniqueMPgraphic{page-one}
  StartPage ;
fill Page
  enlarged 4pt
  withcolor \MPcolor{pagecolor} ;
fill Field[Text][Text]
  topenlarged   (TopSpace +4pt)
  leftenlarged  (BackSpace+4pt)
  rightenlarged (CutSpace +4pt)
  withcolor OverlayColor ;
  StopPage ;
\stopuniqueMPgraphic

\startuniqueMPgraphic{page-plus}
  StartPage ;
fill Page
  enlarged 4pt
  withcolor \MPcolor{pagecolor} ;
fill Field[Text][Text]
  leftenlarged  (BackSpace+4pt)
  rightenlarged (CutSpace+4pt)
  withcolor OverlayColor ;
  StopPage ;
\stopuniqueMPgraphic

\NormalizeFontHeight \HeadFont{\setstrut\strut\quad} {1.0\headerheight} 
{SansBold}
\NormalizeFontHeight \TitleFont   {\setstrut\strut\quad} {2.0\headerheight} 
{SansBold}
\NormalizeFontHeight \SubTitleFont{\setstrut\strut\quad} {1.5\headerheight} 
{SansBold}
\NormalizeFontHeight \SubSubTitleFont {\setstr

[NTG-context] Pb compiling s-pre-61.tex

2005-05-02 Thread olibou

Hello !

Sorry, I'm a bit new to context ... but I try it for presentation
slides... And up to now, I like it very much ... 

I tried to compile different examples included in the base
distribution ... but some, I fail to compile ... And I do not know
where I'm wrong ...

For example, I tried s-pre-61.tex to compile and it fails ... here is
the output of the compile process ...


 # cp /usr/share/texmf/tex/context/base/s-pre-61.tex .
[EMAIL PROTECTED]:~/E/Context
 # texexec --pdf --mode=demo s-pre-61.tex 

 TeXExec 3.1 - ConTeXt / PRAGMA ADE 1997-2002

executable : pdfetex
format : cont-en
 inputfile : s-pre-61
output : pdftex
 interface : en
  current mode : demo
   TeX run : 1

This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5)
entering extended mode
(./s-pre-61.tex{/usr/share/texmf/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2003.1.31  fmt: 2005.1.21  int: english  mes: english

language   : language en is active

system : cont-new loaded
(/usr/share/texmf/tex/context/base/cont-new.tex
systems: beware: some patches loaded from cont-new.tex!
system (E-TEX) : [line 726] \ifcsname 
)
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-en-2 3:2-uk-2 4:2-de-2 5:2-fr-2 6:2-es-2 7:2-it-2
 8:2-nl-2 loaded
specials   : tex,postscript,rokicki loaded
system : s-pre-61.top loaded
(./s-pre-61.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  
system (E-TEX) : [line 1815] \ifcsname 
   )
specials   : fdf loaded
 )
specials   : fdf,tpd loaded
)
pdftex : needs map file: original-context-symbol.map
pdftex : needs map file: pl0-ams-cmr.map
pdftex : needs map file: original-vogel-symbol.map
system : macros of module pre-60 loaded
(/usr/share/texmf/tex/context/base/s-pre-60.tex
javascript : loading script set stp
(/usr/share/texmf/tex/context/base/java-stp.tex)
! Undefined control sequence.
l.38 \defineproperty
[step:busy][layer][state=start]
? 


-- 
 Oli

Laetius est, quoties magno sibi constat honestum.  
Lucain, Pharsale, IX, 404. 
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context