![](https://secure.gravatar.com/avatar/7885cf9b6111344a62a77b00b1561364.jpg?s=120&d=mm&r=g)
Hi, I just want to include logo in headers: %% ConTeXt template for exercises %% ConTeXt MIV %% Carregam símbols \usesymbols[eur] %% carregam les opcions d'entorn \environment entorn-simple-estructurals \environment entorn-simple-visuals %% Capçaleres i peus \setupheadertexts[\externalfigure[logo-cepa-sud.png]][\pagenumber\ de \lastpage] \setupfootertexts[nomfitxer (versio, \currentdate)][] %% el text \starttext %\title{Títol} Text %\startexercici %\stopexercici \stoptext but when I run context I receive: $ context plantilla-context.conTeXt mtx-context | run 1: luatex --fmt="/usr/local/bin/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en" --jobname="plantilla-context" --lua="/usr/local/bin/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui" --no-parse-first-line --c:currentrun=1 --c:fulljobname="./plantilla-context.conTeXt" --c:input="./plantilla-context.conTeXt" --c:kindofrun=1 --c:maxnofruns=8 "cont-yes.mkiv" This is LuaTeX, Version beta-0.76.0-2013040516 (rev 4627) \write18 enabled. (/usr/local/bin/context/tex/texmf-context/tex/context/base/cont-yes.mkiv ConTeXt ver: 2013.07.14 14:53 MKIV beta fmt: 2013.7.18 int: english/english system > 'cont-new.mkiv' loaded (/usr/local/bin/context/tex/texmf-context/tex/context/base/cont-new.mkiv) system > files > jobname 'plantilla-context', input './plantilla-context.conTeXt', result 'plantilla-context' fonts > latin modern fonts are not preloaded languages > language 'en' is active (/mnt/magatzem/docencia/docencia-raw/docencia-fusio/Docencia/cursos-antics/2013-2014-CEPA-Sud/plantilles/plantilla-context.conTeXt (/usr/local/bin/context/tex/texmf-context/tex/context/base/symb-imp-eur.mkiv) fonts > symbols > library 'eur' loaded (entorn-simple-estructurals.tex) (entorn-simple-visuals.tex fonts > typescripts > unknown library 'loc' fonts > typescripts > unknown library 'cmr' fonts > preloading latin modern fonts (third stage) {/usr/local/bin/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/usr/local/bin/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}{/usr/local/bin/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} fonts > 'fallback modern rm 11pt' is loaded ) ! Argument of \syst_helpers_triple_empty_one_yes has an extra }. system > tex > error on line 1 in file /mnt/magatzem/docencia/docencia-raw/docencia-fusio/Docencia/cursos-antics/2013-2014-CEPA-Sud/plantilles/plantilla-context.conTeXt: Argument of ... 1 >> %% ConTeXt template for exercises 2 %% ConTeXt MIV 3 4 %% Carregam símbols 5 \usesymbols[eur] 6 7 %% carregam les opcions d'entorn 8 \environment entorn-simple-estructurals 9 \environment entorn-simple-visuals 10 11 %% Capçaleres i peus <inserted text> \par <to be read again> } <argument> ...ss \layoutelementparameter \c!middletext \hss } \kern -\makeupwidth \hbox ... \page_layouts_place_element_indeed ...ute to #1{#2 }\layoutelementparameter \... \page_layouts_place_text_line_right ...argin_left \fi \ifdim \rightmarginwid... \page_layouts_place_text_line_left_or_right ...ft \namedlayoutelementparamet... ... l.26 \stoptext ? x mkiv lua stats > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua mkiv lua stats > used cache path: /usr/local/bin/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e mkiv lua stats > resource resolver: loadtime 0.018 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 17 found files, scanned paths: <none> mkiv lua stats > stored bytecode data: 330 modules (0.418 sec), 69 tables (0.011 sec), 399 chunks (0.429 sec) mkiv lua stats > cleaned up reserved nodes: 38 nodes, 10 lists of 441 mkiv lua stats > node memory usage: 8 hlist, 1 vlist, 8 glue, 2 kern, 1 penalty, 17 attribute, 30 glue_spec, 6 attribute_list, 12 temp, 14 if_stack, 1 local_par, 12 dir mkiv lua stats > node list callback tasks: 6 unique task lists, 4 instances (re)created, 12 calls mkiv lua stats > used backend: pdf (backend for directly generating pdf output) mkiv lua stats > loaded patterns: ca::53 en::2, load time: 0.000 mkiv lua stats > jobdata time: 0.000 seconds saving, 0.002 seconds loading mkiv lua stats > callbacks: 89 direct, 318 indirect, 407 total mkiv lua stats > randomizer: resumed with value 0.76534300286572 mkiv lua stats > result saved in file: plantilla-context.pdf, compresslevel 3, objectcompreslevel 3 mkiv lua stats > loaded fonts: 3 files: latinmodern-math.otf (experimental), lmroman10-regular.otf, lmsans10-regular.otf mkiv lua stats > fonts load time: 0.509 seconds mkiv lua stats > luatex banner: this is luatex, version beta-0.76.0-2013040516 (tex live 2013/dev)(rev 4627) mkiv lua stats > control sequences: 37649 of 65536 + 100000 mkiv lua stats > current memory usage: 28 MB (ctx: 27 MB) mkiv lua stats > runtime: 1.766 seconds mtx-context | fatal error: return code: 1[xan@negre plantilles]$ What can I do? I test with start...stop, bgroup egroup before and after externalfigure. Thanks in advance, Xan PS: Please CCme.