![](https://secure.gravatar.com/avatar/30ef4fea8acc9a4c7a392675260cfcb9.jpg?s=120&d=mm&r=g)
Hi, Please, help me with SimpleSlides module (Swoosh style), my old presentation which I'm trying to update isn't working. -- Minimal example is: -- \usemodule[simpleslides] [font=Gothic, style=Swoosh] \setupTitle [ title={\\ Title}, author={Author}, date={}] \starttext \placeTitle \stoptext -- Result: -- simpleslides > loading Swoosh style system > command '\NormalHeight' is already defined system > command '\NormalWidth' is already defined system > command '\PictureFrameHeight' is already defined system > command '\PictureFrameWidth' is already defined ! LuaTeX error [string "\directlua "]:1: invalid escape sequence near '\S'. system > tex > error on line 150 in file C:/contextminimal/texmf-modules/tex/context/third/simpleslides/simpleslides-s-Swoosh.tex: LuaTeX error ... 140 \define\SScolorscontrastb{r=.1,g=.1,b=.4} 141 142 %D I'm still trying to implement a color mechanism that can be set by the users 143 %D in their files. 144 145 \def\setupSimpleSlideColors[#1]% 146 {\getparameters[SScolors][#1]} 147 148 % \setupSimpleSlideColors[background={r=1,g=0,b=0}] 149 150 >> \definecolor [simpleslides:backgroundcolor] [\SScolorsbackground] 151 \definecolor [simpleslides:contrastcolor] [\SScolorscontrasta] 152 \definecolor [simpleslides:altcontrastcolor] [\SScolorscontrastb] 153 \definecolor [simpleslides:itemize:color] [simpleslides:contrastcolor] 154 \definecolor [simpleslides:textcolor] [simpleslides:altcontrastcolor] 155 156 \setupcolors[textcolor=simpleslides:textcolor] 157 158 %D We use \METAPOST\ to draw backgrounds. 159 160 \startuseMPgraphic{simpleslides:MP:horizontal} \ctxcommand #1^^@-\directlua {commands.#1} \colo_basics_define ...lse,\v_colo_freeze_state )} \unexpanded \setvalue {#1}... l.150 ...:backgroundcolor] [\SScolorsbackground] ? Regards, Vyatcheslav
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
On Fri, 1 Nov 2013, Vyatcheslav Y. wrote:
Hi,
Please, help me with SimpleSlides module (Swoosh style), my old presentation which I'm trying to update isn't working.
-- Minimal example is: --
\usemodule[simpleslides]
[font=Gothic,
style=Swoosh]
\setupTitle
[ title={\\ Title},
author={Author},
date={}]
\starttext
\placeTitle
\stoptext
-- Result: --
system > tex > error on line 150 in file C:/contextminimal/texmf-modules/tex/context/third/simpleslides/simpleslides-s-Swoosh.tex: LuaTeX error ...
150 >> \definecolor [simpleslides:backgroundcolor] [\SScolorsbackground]
In simpleslides-s-Swoosh.tex change line 150 and surrounding lines with: \definecolor [simpleslides:backgroundcolor] [r=0.88,g=0.92,b=0.95] \definecolor [simpleslides:contrastcolor] [r=0.4,g=0.6,b=0.8] \definecolor [simpleslides:altcontrastcolor] [r=0.1,g=0.1,b=0.4] But that leads to another error ! LuaTeX error ...uild/src/tex/texmf-context/tex/context/base/mlib-pps.lua:260: attempt to index upvalue 'top' (a nil value) stack traceback: ...uild/src/tex/texmf-context/tex/context/base/mlib-pps.lua:260: in function 'settext' [string "\directlua "]:1: in main chunk. \syst_boxes_with_next_box ...\number \nextbox ,1)} \meta_process_graphic_stop ^^@-\egroup \meta_place_graphic \meta_process_graphic ...eta_process_graphic_stop \meta_stop_current_graphic \meta_handle_use_graphic ...a_process_graphic {#3} \endgroup \meta_use_graphic ...]}\getvalue {\??mpgraphic #1} \empty \meta_end_graphic_g... which I haven't been able to isolate. Aditya
participants (2)
-
Aditya Mahajan
-
Vyatcheslav Y.