From 5d104ea769afd5a9319be297bb8b450e7c0aa8c2 Mon Sep 17 00:00:00 2001
From: Philipp Gesang <pgesang@ix.urz.uni-heidelberg.de>
Date: Wed, 22 Feb 2012 14:39:39 +0100
Subject: [elementary] replaced broken lpeg

---
 module/tex/context/third/simpleslides/simpleslides-s-Automata.tex | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'module/tex/context/third/simpleslides/simpleslides-s-Automata.tex')

diff --git a/module/tex/context/third/simpleslides/simpleslides-s-Automata.tex b/module/tex/context/third/simpleslides/simpleslides-s-Automata.tex
index a7a079d..77861e9 100644
--- a/module/tex/context/third/simpleslides/simpleslides-s-Automata.tex
+++ b/module/tex/context/third/simpleslides/simpleslides-s-Automata.tex
@@ -30,7 +30,8 @@
   clip=,
 ] % using defaults from lua config
 
-\ctxlua{environment.loadluafile( "automata-main" )}
+% \ctxlua{environment.loadluafile( "automata-main" )}
+\ctxloadluafile{automata-main}
 \ctxlua{mplife.slides = true}
 
 \unprotect
@@ -171,7 +172,7 @@ do
     else
         c.init      = eca.parse_file(c.file)
         c.framesize = math.floor(c.aspect * c.init:len())
-        c.pages     = structure.counters.record("realpage")["last"]
+        c.pages     = structures.counters.record("realpage")["last"]
         if c.clip then
             c.xneeded   =   c.pages * c.framesize
             if c.clip == "both" then -- Assume initial pattern is centered.
-- 
cgit v1.2.3

