From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84121 Path: news.gmane.org!not-for-mail From: Xan Newsgroups: gmane.comp.tex.context Subject: Re: Bug in \externalfigures in headers? Date: Thu, 5 Sep 2013 21:47:22 +0200 Message-ID: <20130905214722.9d9e33029d635fe72bcf1f78@telefonica.net> References: <20130905180436.32cdc98286b4314c04770d85@telefonica.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1378410659 27307 80.91.229.3 (5 Sep 2013 19:50:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Sep 2013 19:50:59 +0000 (UTC) Cc: mailing list for ConTeXt users To: Xan Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 05 21:51:02 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VHfa2-0003U1-Op for gctc-ntg-context-518@m.gmane.org; Thu, 05 Sep 2013 21:51:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4577B101EA; Thu, 5 Sep 2013 21:49:28 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id pnqW5kBQbLcP; Thu, 5 Sep 2013 21:49:26 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 03956101EC; Thu, 5 Sep 2013 21:49:26 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3797A101EC for ; Thu, 5 Sep 2013 21:49:25 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id cx8M+xrkFZ6M for ; Thu, 5 Sep 2013 21:49:24 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 37186101EA for ; Thu, 5 Sep 2013 21:49:22 +0200 (CEST) Original-Received: from smtp.movistar.es (smtp22.acens.net [86.109.99.146]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r85Jos0V031889 for ; Thu, 5 Sep 2013 21:50:55 +0200 X-CTCH-RefID: str=0001.0A0B0201.5228E09E.0013, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-Spam: Unknown Original-Received: from rulot (80.30.57.84) by smtp.movistar.es (8.6.111) (authenticated as dxpublica) id 521FCAF400789B31; Thu, 5 Sep 2013 19:50:54 +0000 In-Reply-To: <20130905180436.32cdc98286b4314c04770d85@telefonica.net> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.20; i686-pc-linux-gnu) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=86.109.99.146; country=ES; latitude=40.0000; longitude=-4.0000; http://maps.google.com/maps?q=40.0000,-4.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06KlvOSPB - ec6f4bec9f8f - 20130905 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:84121 Archived-At: Thanks a lot, All of you for quick responses. On Thu, 5 Sep 2013 18:04:36 +0200 Xan ha escrit: > Hi, > = > I just want to include logo in headers: > = > %% ConTeXt template for exercises > %% ConTeXt MIV > = > %% Carregam s=EDmbols > \usesymbols[eur] > = > %% carregam les opcions d'entorn > \environment entorn-simple-estructurals > \environment entorn-simple-visuals > = > %% Cap=E7aleres i peus > \setupheadertexts[\externalfigure[logo-cepa-sud.png]][\pagenumber\ de \la= stpage] > \setupfootertexts[nomfitxer (versio, \currentdate)][] > = > = > %% el text > \starttext > = > %\title{T=EDtol} > = > Text > = > %\startexercici > %\stopexercici > = > \stoptext > = > = > but when I run context I receive: > = > $ context plantilla-context.conTeXt = > = > mtx-context | run 1: luatex --fmt=3D"/usr/local/bin/context/tex/texmf= -cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex= /cont-en" --jobname=3D"plantilla-context" --lua=3D"/usr/local/bin/context/t= ex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/format= s/luatex/cont-en.lui" --no-parse-first-line --c:currentrun=3D1 --c:fulljobn= ame=3D"./plantilla-context.conTeXt" --c:input=3D"./plantilla-context.conTeX= t" --c:kindofrun=3D1 --c:maxnofruns=3D8 "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/en= glish > = > 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-antic= s/2013-2014-CEPA-Sud/plantilles/plantilla-context.conTeXt (/usr/local/bin/c= ontext/tex/texmf-context/tex/context/base/symb-imp-eur.mkiv) > fonts > symbols > library 'eur' loaded (entorn-simple-estructur= als.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/lo= cal/bin/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}{/usr/local/bin/cont= ext/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/do= cencia-raw/docencia-fusio/Docencia/cursos-antics/2013-2014-CEPA-Sud/plantil= les/plantilla-context.conTeXt: Argument of ... > = > 1 >> %% ConTeXt template for exercises > 2 %% ConTeXt MIV > 3 = > 4 %% Carregam s=EDmbols > 5 \usesymbols[eur] > 6 = > 7 %% carregam les opcions d'entorn > 8 \environment entorn-simple-estructurals > 9 \environment entorn-simple-visuals > 10 = > 11 %% Cap=E7aleres i peus > = > = > \par = > = > } > ...ss \layoutelementparameter \c!middletext \hss } > \kern -\makeupwidth \hb= ox ... > \page_layouts_place_element_indeed ...ute to #1{#2 > }\layoutelementparamete= r \... > \page_layouts_place_text_line_right ...argin_left = > \fi \ifdim \rightmargin= wid... > \page_layouts_place_text_line_left_or_right ...ft = > \namedlayoutelementpara= met... > ... > 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: > mkiv lua stats > stored bytecode data: 330 modules (0.418 sec), 69 table= s (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 instan= ces (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 loadi= ng > 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, compressle= vel 3, objectcompreslevel 3 > mkiv lua stats > loaded fonts: 3 files: latinmodern-math.otf (experiment= al), 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-2013= 040516 (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 e= xternalfigure. > = > Thanks in advance, > Xan > = > PS: Please CCme. ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________