Re: Pb compiling s-pre-61.tex
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
olivier Turlier
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
olivier Turlier
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
participants (3)
-
oli
-
olibou@free.fr
-
olivier Turlier