Hello,
I have installed texlive and defined the path correctly:
echo $PATH
/usr/local/texlive/2013/bin/x86_64-linux:/usr/libexec/lightdm:/usr/local/bin:/usr/bin:/bin:/home/pau/bin:/usr/local/sbin:/usr/sbin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/sbin:/home/pau/bin:/home/pau/smbin:/home/pau/treball/simulacions/nemo/bin:/opt/local:/opt/local/bin:/home/pau/prawn/bin:/home/pau/treball/simulacions/splash2/bin:/home/pau/andromina/programes_diversos/pyxplot-0.9.2/bin:/home/pau/andromina/programes_diversos/rubber/bin:/home/pau/golang/bin/
(notice that it is the first entry)
I am trying to recompile a presentation that I prepared with context
on texlive2012 and I am getting this problem:
! Undefined control sequence.
l.220 \continueifinputfile
{s-pre-05.tex}
The whole output is:
==============================
/usr/local/texlive/2013/texmf-dist/scripts/context/ruby/texexec.rb:688:
warning: class variable access from toplevel
/usr/local/texlive/2013/texmf-dist/scripts/context/ruby/texexec.rb:695:
warning: class variable access from toplevel
/usr/local/texlive/2013/texmf-dist/scripts/context/ruby/texexec.rb:702:
warning: class variable access from toplevel
/usr/local/texlive/2013/texmf-dist/scripts/context/ruby/texexec.rb:703:
warning: class variable access from toplevel
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013)
restricted \write18 enabled.
entering extended mode
(./TU_Berlin_June_2012.tex
ConTeXt ver: 2013.04.09 10:38 MKII fmt: 2013.7.22 int: english/english
system : cont-new.mkii loaded
(/usr/local/texlive/2013/texmf-dist/tex/context/base/cont-new.mkii
systems : beware: some patches loaded from cont-new.mkii
)
system : cont-sys.tex loaded
(/home/pau/fitx_confg/texinputs/cont-sys.tex
(/usr/local/texlive/2013/texmf-dist/tex/context/base/type-siz.mkii)
(/usr/local/texlive/2013/texmf-dist/tex/context/base/type-one.mkii))
system : TU_Berlin_June_2012.top loaded
(./TU_Berlin_June_2012.top)
bodyfont : 12pt rm is loaded
language : patterns nl->texnansi:texnansi->1->2:2 nl->ec:ec->2->2:2 us->
ec:ec->3->2:3 de->texnansi:texnansi->4->3:3 de->ec:ec->5->3:3 da->ec:ec->6->2:2
sv->ec:ec->7->2:2 af->ec:ec->8->2:2 gb->ec:ec->9->2:2 fr->texnansi:texnansi->1
0->2:2 fr->ec:ec->11->2:2 es->ec:ec->12->2:2 ca->ec:ec->13->2:2 it->texnansi:te
xnansi->14->2:2 it->ec:ec->15->2:2 la->ec:ec->16->2:2 pt->texnansi:texnansi->17
->2:2 pt->ec:ec->18->2:2 ro->ec:ec->19->2:2 pl->pl0:pl0->20->2:2 pl->ec:ec->21-
>2:2 pl->qx:qx->22->2:2 cs->il2:il2->23->2:2 cs->ec:ec->24->2:2 sk->il2:il2->25
->2:2 sk->ec:ec->26->2:2 hr->ec:ec->27->2:2 sl->ec:ec->28->2:2 tr->ec:ec->29->2
:2 tk->ec:ec->30->1:2 lt->l7x:l7x->31->2:2 agr->agr:agr->33->2:2 fi->ec:ec->34-
>2:2 hu->ec:ec->35->2:2 ru->t2a:t2a->37->2:2 uk->t2a:t2a->38->3:3 loaded
specials : dvips loaded
systems : system commands are enabled
language : language en is active
specials : loading definition file tpd
(/usr/local/texlive/2013/texmf-dist/tex/context/base/spec-tpd.mkii
specials : loading definition file fdf
(/usr/local/texlive/2013/texmf-dist/tex/context/base/spec-fdf.mkii))
system : module pre-fuzzy loaded
(./s-pre-05.tex
system : module pre-general loaded
(/usr/local/texlive/2013/texmf-dist/tex/context/base/s-pre-00.tex)
color : mpcmyk color space is supported
color : mpspot color space is supported
color : system rgb is global activated
interaction : active
system : mark Topic defined [chapter]
system : mark Topicnumber defined [chapternumber]
system : mark Nopic defined [title]
system : mark Nopicnumber defined [titlenumber]
system : mark Subject defined [section]
system : mark Subjectnumber defined [sectionnumber]
! Undefined control sequence.
l.220 \continueifinputfile
{s-pre-05.tex}
======================================
And this is the preamble of the file (apologies for the % signs):
=========================================
\usemodule[pre-fuzzy]
\usemodule[amsl]
\useMPlibrary[txt]
\setupexternalfigures[directory={/home/pau/treball/xerrades/grafiques_xerrades_png,
%
/home/pau/treball/xerrades/grafiques_xerrades}] %
%
\definestartstop[CapsaTitolBlanca][before={\setupbackground %
[style=\tfx,background=color,backgroundcolor=white, %
frame=on,framecorner=rectangular,framecolor=black, %
rulethickness=3pt,topoffset=0.25cm,bottomoffset=0.25cm, %
leftoffset=0.25cm,rightoffset=0.25cm,before={\blank[big]}] %
\startbackground\switchtobodyfont[18pt]}, %
after=\stopbackground] %
%
\definestartstop[CapsaTitolRoja][before={\setupbackground %
[style=\os, background=color, %
backgroundcolor=lightred,frame=on,framecorner=round, %
backgroundcorner=round,foregroundcolor=white, framecolor=black,
%
rulethickness=2pt,topoffset=0.25cm,bottomoffset=0.25cm, %
leftoffset=0.25cm,rightoffset=0.25cm,before={\blank[big]}] %
\startbackground\switchtobodyfont[15pt]}, %
after=\stopbackground] %
%
\definestartstop[CapsaBlanca][before={\setupbackground %
[style=\tfx,background=color,backgroundcolor=white, %
frame=on,framecorner=rectangular,framecolor=black, %
rulethickness=0.5pt,topoffset=0.25cm,bottomoffset=0.25cm, %
leftoffset=0.25cm,rightoffset=0.25cm,before={\blank[big]}] %
\startbackground\switchtobodyfont[10pt]}, %
after=\stopbackground] %
%
\defineframedtext[CapsaBlancaRodona][width=0.90\textwidth, %
background=color,backgroundcolor=white, %
foregroundcolor=black,frame=on,framecolor=black, %
framecorner=round, rulethickness=2.5pt, %
frameradius=0.38cm,backgroundcorner=round,style=\bf] %
%
\defineframedtext[CapsaVermellaRodona][width=0.95\textwidth, %
background=color,backgroundcolor=red, %
foregroundcolor=white,frame=on,framecolor=black, %
framecorner=round, rulethickness=2.5pt, %
frameradius=0.38cm,backgroundcorner=round,style=\bf] %
%
\defineframedtext[CapsaVermellaRodonaGran][width=0.99\textwidth,%
background=color,backgroundcolor=red, %
foregroundcolor=white,frame=on,framecolor=black, %
framecorner=round, rulethickness=2.5pt, %
frameradius=0.5cm,backgroundcorner=round,style=\bf] %
%
\defineframedtext[CapsaVerdaRodona][width=0.75\textwidth, %
background=color,backgroundcolor=lightgreen, %
foregroundcolor=black,frame=on,framecolor=black, %
framecorner=round, rulethickness=2.5pt, %
frameradius=0.38cm,backgroundcorner=round,style=\bf] %
%
\defineframedtext[CapsaVermella][width=0.75\textwidth, %
background=color,backgroundcolor=lightred, %
foregroundcolor=white,frame=off,framecorner=round, %
frameradius=0.5cm,backgroundcorner=round,style=\bf] %
%
%\startCapsaVermella...\stopCapsaVermella %
\startuseMPgraphic{mpos:par:columnset} % Shift underlining down a touch%
\iftracepositions show_multi_pars \else draw_multi_pars \fi ; %
path p ; p := boundingbox currentpicture ; %
currentpicture := currentpicture shifted (0,-StrutDepth/3) ; %
setbounds currentpicture to p ; %
\stopuseMPgraphic %
\definetextbackground[underline] %
[location=text,alternative=1,background=,frame=off] %
\definestartstop %
[underline] %
[before={\starttextbackground[underline]}, %
after=\stoptextbackground] %
\definecolor [InteractionColor] [s=.2] %
\definecolor [ContrastColor] [s=.5] %
%
\setupinteraction %
[page=yes, %
color=InteractionColor, %
contrastcolor=ContrastColor, %
menu=on, %
state=start] %
%
\setupsubpagenumber %
[way=bytext, %
state=start] %
%
\setuplayout[bottomspace=.8cm, %
bottom=30pt] %
%
\startinteractionmenu[bottom] %
{\interactionbar[alternative=f,width=\makeupwidth,height=1ex]} %
\stopinteractionmenu %
\setupcaptions[number=no] %
\TitlePage { %
\vskip-1.5cm %
\startCapsaTitolBlanca %
{\hw [ My Title ]} %
\stopCapsaTitolBlanca %
%
\startCapsaTitolRoja %
{\os My Subtitle} %
\stopCapsaTitolRoja %
\vfill %
%
{\tfx \hw Author} %
} %
\setupbodyfont[13pt]
\starttext
======================================
What is the problem? What has changed between texlive2012 and texlive2013?
I copied the style to the current directory and not even like that did it work:
cp /usr/local/texlive/2013/texmf-dist/tex/context/base/s-pre-05.tex .
Yields the same problem...
Thanks,
Pau