ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Pb compiling s-pre-61.tex
@ 2005-05-03  8:16 olivier Turlier
  2005-05-03  8:26 ` oli
  2005-05-03  8:56 ` olibou
  0 siblings, 2 replies; 3+ messages in thread
From: olivier Turlier @ 2005-05-03  8:16 UTC (permalink / raw)


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

Cordialement

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Re: Pb compiling s-pre-61.tex
  2005-05-03  8:16 Pb compiling s-pre-61.tex olivier Turlier
@ 2005-05-03  8:26 ` oli
  2005-05-03  8:56 ` olibou
  1 sibling, 0 replies; 3+ messages in thread
From: oli @ 2005-05-03  8:26 UTC (permalink / raw)


olivier Turlier <crp.tbeb@wanadoo.fr> 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
>
> Cordialement
>
> -- 
> 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
>
>

Content de voir qu'il y a des francais et des oliviers ;-) qui
utilisent context.
Merci ...

-- 
 Oli

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Re: Pb compiling s-pre-61.tex
  2005-05-03  8:16 Pb compiling s-pre-61.tex olivier Turlier
  2005-05-03  8:26 ` oli
@ 2005-05-03  8:56 ` olibou
  1 sibling, 0 replies; 3+ messages in thread
From: olibou @ 2005-05-03  8:56 UTC (permalink / raw)


olivier Turlier <crp.tbeb@wanadoo.fr> 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,
%D        version=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 {\setstrut\strut\quad} {1.0\headerheight} {SansBold}

\setuphead
  [chapter]
  [placehead=empty,
   after={\blank[medium]},
   color=maincolor,
   placenumber=no,
   style=\HeadFont]

\setupheadertexts
  [\doiftextelse{\placeheadtext[Topic]}
     {\placeheadtext[Topic]}
     {\placeheadtext[Nopic]}]
  []

\setuppagenumbering
  [location=]

\definesymbol
  [emdash]
  [\emdash]

\setupitemize
  [each]
  [loose,serried,joinedup]
  [symbol=emdash]

\setupalign
  [broad,right]

\def\doTitlePage#1#2#3%
  {\startstandardmakeup[headerstate=high]
     \def\\{\def\\{\endgraf\quad\quad}\endgraf\quad\ignorespaces#2}%
     #1\setstrut\setupinterlinespace\vfil#3\vfil\vfil
   \stopstandardmakeup}

\def\TitlePage   {\doTitlePage\TitleFont\relax}
\def\SubTitlePage{\doTitlePage\TitleFont\SubTitleFont}

\definehead[Topic][chapter]
\definehead[Nopic][title]

\def\Topics#1%
  {\Nopic[topics]{#1}
   \startcolumns
     \placelist[Topic]
   \stopcolumns}

\setuplist
  [Topic]
  [alternative=f,
   color=maincolor,
   contrastcolor=maincolor,
   criterium=all]

\defineoverlay[topics][\overlaybutton{topics}]

\setupbackgrounds
  [bottom] [text]
  [background=topics]

\doifnotmode{demo}{\endinput}

\TitlePage{Stepwise\\Refinement}

\Topics{Topics}

\Topic{Female Artists}

\StartSteps

\startitemize
\item Tori Amos \FlushStep
\item Kate Bush \FlushStep
\item Heather Nova \FlushStep
\item Alanis Morissette \FlushStep
\item Suzanne Vega \FlushStep
\stopitemize

\StopSteps

\Topic{Male Composers}

\StartSteps

\startitemize
\item John Adams \FlushStep
\item Steve Reich \FlushStep
\item Louis Andriessen \FlushStep
\item Olivier Messiaen \FlushStep
\stopitemize

\StopSteps

\Topic{And Some More}

\StartSteps

\startitemize
\item Mark Hollis \FlushStep
\item Roger Waters \FlushStep
\item David Gilmore \FlushStep
\item Peter Gabriel \FlushStep
\item Randy Newman \FlushStep
\stopitemize

\StopSteps

\stoptext

================ AND the compiling error ======================

oli@olinux:~/E/Context
 # texexec --pdf 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 : none
               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
<protectionstate 0>
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 <unprotect 3> <unprotect 4>
system (E-TEX) : [line 1815] \ifcsname 
<unprotect 5> <protect 5> <protect 4> <protect 3>)
specials       : fdf loaded
<unprotect 3> <protect 3>)
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
	
"Tout le monde peuve pas être de Lyon.  Il en faut ben d'un peu
 partout." (Sagesse Lyonnaise)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-05-03  8:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-03  8:16 Pb compiling s-pre-61.tex olivier Turlier
2005-05-03  8:26 ` oli
2005-05-03  8:56 ` olibou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).