From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/70273 Path: news.gmane.org!not-for-mail From: Jaroslav Hajtmar Newsgroups: gmane.comp.tex.context Subject: Weirdness with the names of files processed Date: Tue, 26 Jul 2011 09:49:37 +0200 Message-ID: <4E2E7191.5060606@gyza.cz> Reply-To: hajtmar@gyza.cz, mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1311666605 21428 80.91.229.12 (26 Jul 2011 07:50:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 26 Jul 2011 07:50:05 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 26 09:50:01 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QlcOv-0005mn-2x for gctc-ntg-context-518@m.gmane.org; Tue, 26 Jul 2011 09:50:01 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id ED103CAE7F; Tue, 26 Jul 2011 09:49:59 +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 oJpUIlSHPZh0; Tue, 26 Jul 2011 09:49:55 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0D292CAE78; Tue, 26 Jul 2011 09:49:55 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 40DFCCAE78 for ; Tue, 26 Jul 2011 09:49:53 +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 C1oPth+uMCiP for ; Tue, 26 Jul 2011 09:49:40 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 9BA8ECAE74 for ; Tue, 26 Jul 2011 09:49:40 +0200 (CEST) Original-Received: from psi1.forpsi.com (smtpa.forpsi.com [81.2.195.204]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p6Q7ncpt022834 for ; Tue, 26 Jul 2011 09:49:39 +0200 Original-Received: (qmail 10450 invoked by uid 89); 26 Jul 2011 07:49:37 -0000 Original-Received: from unknown (HELO ?192.168.20.101?) (hajtmar@88.103.230.14) by psi01 with ESMTPA; 26 Jul 2011 07:49:37 -0000 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; cs; rv:1.9.1.8) Gecko/20100216 Thunderbird/3.0.2 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=81.2.195.204; country=CZ; latitude=49.7500; longitude=15.5000; http://maps.google.com/maps?q=49.7500,15.5000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rFcvNDDG - 5c57a003b6c4 - 20110726 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:70273 Archived-At: Hello ConTeXist I met with great strangeness. When I was looking for a mistake in my = source text, so I experimented and at one point I renamed myfile so that = there are "+" in its name. At that moment compilation ran flawlessly. I = know that the use of + in the filename is relatively non-standard, but = even so I was surprised Now everything works fine, but I decided to send it as a curiosity = rather than to be annoyed by someone. It's really strange and it took me a long time before I discovered the = cause of the collapse of the compilation. Unfortunately I am unable to put together a minimal example, which = worked, but it is interesting, that compilation will be OK in two cases: 1. when I rename the file to name without "+" or 2. when images are not to be found (for example when I comment the line = which contain \setupexternalfigures[directory=3D{flags/}]) Conversely, if "+" is part of the filename, while images are found, the = compilation will collapse and prints a message that I mention below. I present here an minimal example (with message list), BUT THAT WILL NOT = WORK because they do not have my library, but although the problem probably caused by my library, so it probably is = not very important at this point because the problem is maybe a bit wider. Best regards Jaroslav Hajtmar Here is my minimal example. When the file called "list-aaa.tex" so = everything is OK. When the file named "list+aaa.tex" and pictures are = found, the compilation fails: \usemodule[../../t-scancsv.mkiv/t-scancsv] \setupexternalfigures[directory=3D{flags/}] \def\flagpicture{\externalfigure[\Flag.png]} %\Flag macro is defined by = my library \unexpanded\def\tableaction{\expanded{\bTR\bTD\ \flagpicture\eTD\eTR}} \starttext \setheader \setsep{,} \setfiletoscan{lide.csv} \bTABLE \doloopif{\Flag}{~=3D}{en}{\tableaction} \eTABLE \stoptext And here is message of compilation list: C:\1da\ConTeXt-MkIV\t-scancsv.mkiv\CTMagenda>context --autopdf list+aaa mtx-context | run 1: luatex = --fmt=3D"C:/context/tex/texmf-cache/luatex-cache/context/2448223e6631addb83= df348d74153606/formats/cont-en" = --lua=3D"C:/context/tex/texmf-cache/luatex-cache/context/2448223e6631addb83= df348d74153606/formats/cont-en.lui" = --backend=3D"pdf" "./list+aaa" \stoptext This is LuaTeX, Version beta-0.70.1-2011061421 (rev 4277) \write18 enabled. (list+aaa.tex ConTeXt ver: 2011.07.13 20:14 MKIV fmt: 2011.7.14 int: english/english system > cont-new.mkiv loaded (C:/context/tex/texmf-context/tex/context/base/cont-new.mkiv system > beware: some patches loaded from cont-new.mkiv ) system > no list+aaa.top fonts > latin modern fonts are not preloaded languages > language en is active resolvers > modules > loaded: '../../t-scancsv.mkiv/t-scancsv' {C:/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} fonts > preloading latin modern fonts (second stage) (C:/context/tex/texmf-context/tex/context/base/type-siz.mkiv) = (C:/context/tex/texmf-context/tex/context/base/type-otf.mkiv) files > readfile > asked name: 'loc', not found {C:/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{C:/context/tex/texmf/= fonts/map/dvips/lm/lm-rm.map} fonts > virtual math > unable to resolve name mapsfromchar fonts > fallback modern rm 12pt is loaded ! LuaTeX error = ...ontext/tex/texmf-context/tex/context/base/l-file.lua:232: bad = argument #1 to 'find' (string expected, got nil) stack traceback: [C]: in function 'find' ...ontext/tex/texmf-context/tex/context/base/l-file.lua:232: in = function 'collapsepath' ...text/tex/texmf-context/tex/context/base/grph-inc.lua:381: in = function 'forbiddenname' ...text/tex/texmf-context/tex/context/base/grph-inc.lua:395: in = function <...text/tex/texmf-context/tex/context/base/grph-inc.lua:393> (tail call): ? ...text/tex/texmf-context/tex/context/base/grph-inc.lua:750: in = function 'identifier' ...text/tex/texmf-context/tex/context/base/grph-inc.lua:768: in = function 'identify'
:1: in main chunk. system > tex > error on line 18 in file list+aaa.tex: LuaTeX error ... 8 9 \unexpanded\def\tableaction{\expanded{\bTR\bTD\ = \flagpicture\eTD\eTR}} 10 11 \starttext 12 \setheader 13 \setsep{,} 14 \setfiletoscan{lide.csv} 15 16 \bTABLE 17 \doloopif{\Flag}{~=3D}{anl}{\tableaction} 18 >> \eTABLE 19 \stoptext 20 21 \calculateexternalfigure ...a {figures.identify()} \ifconditional = \testextern... \dodoplaceexternalfigure ...[][#1][#2][#3][#4][#5] \dotagfigure = \naturalvbox ... \doexternalfigure ...value {\??ef \??ef #1}[#3]}}} \globallet = \currentresourc... } \handleTBLcell ...\bTBLCELL \TBLcharalign {#2}{#4} \eTBLCELL \inTBLcell = {#1}{... \begintblrow \makeTBL 1 1 \nexttblcol \endtblrow = \begintblro... ... l.18 \eTABLE ? ! Emergency stop. system > tex > error on line 18 in file list+aaa.tex: Emergency stop ... 8 9 \unexpanded\def\tableaction{\expanded{\bTR\bTD\ = \flagpicture\eTD\eTR}} 10 11 \starttext 12 \setheader 13 \setsep{,} 14 \setfiletoscan{lide.csv} 15 16 \bTABLE 17 \doloopif{\Flag}{~=3D}{anl}{\tableaction} 18 >> \eTABLE 19 \stoptext 20 21 \calculateexternalfigure ...a {figures.identify()} \ifconditional = \testextern... \dodoplaceexternalfigure ...[][#1][#2][#3][#4][#5] \dotagfigure = \naturalvbox ... \doexternalfigure ...value {\??ef \??ef #1}[#3]}}} \globallet = \currentresourc... } \handleTBLcell ...\bTBLCELL \TBLcharalign {#2}{#4} \eTBLCELL \inTBLcell = {#1}{... \begintblrow \makeTBL 1 1 \nexttblcol \endtblrow = \begintblro... ... l.18 \eTABLE ! =3D=3D> Fatal error occurred, no output PDF file produced!Chcete ukon=BC= it = d vkovou =A3lohu (A/N)? C:\1da\ConTeXt-MkIV\t-scancsv.mkiv\CTMagenda>context --purgefiles --all mtx-context | ConTeXt Process Management 0.52 mtx-context | mtx-context | --run process (one or more) files = (default action) mtx-context | --make create context formats mtx-context | mtx-context | --ctx=3Dname use ctx file (process management = specification) mtx-context | --interface use specified user interface = (default: en) mtx-context | mtx-context | --autopdf close pdf file in viewer and = start pdf viewer afterwards mtx-context | --purge(all) purge files either or not after = a run (--pattern=3D...) mtx-context | mtx-context | --usemodule=3Dlist load the given module or style, = normally part o fthe distribution mtx-context | --environment=3Dlist load the given environment file = first (document styles) mtx-context | --mode=3Dlist enable given the modes = (conditional processing in styles) mtx-context | --path=3Dlist also consult the given paths = when files are looked for mtx-context | --arguments=3Dlist set variables that can be = consulted during a run (key/value pairs) mtx-context | --randomseed=3Dnumber set the randomseed mtx-context | --result=3Dname rename the resulting output to = the given name mtx-context | --trackers=3Dlist set tracker variables (show list = with --showtrackers) mtx-context | --directives=3Dlist set directive variables (show = list with --showdirectives) mtx-context | --silent=3Dlist disable logcatgories (show list = with --showlogcategories) mtx-context | --noconsole disable logging to the console = (logfile only) mtx-context | --purgeresult purge result file before run mtx-context | mtx-context | --forcexml force xml stub (optional flag: = --mkii) mtx-context | --forcecld force cld (context lua document) = stub mtx-context | mtx-context | --arrange run extra imposition pass, given = that the style sets up imposition mtx-context | --noarrange ignore imposition specifications = in the style mtx-context | mtx-context | --once only run once (no multipass data = file is produced) mtx-context | --batchmode run without stopping and don't = show messages on the console mtx-context | --nonstopmode run without stopping mtx-context | mtx-context | --generate generate file database etc. (as = luatools does) mtx-context | --paranoid don't descend to .. and ../.. mtx-context | --version report installed context version mtx-context | mtx-context | --expert expert options mtx-context | mtx-context | More information about ConTeXt and the tools that come = with it can be found at: mtx-context | mtx-context | maillist : ntg-context@ntg.nl / = http://www.ntg.nl/mailman/listinfo/ntg-context mtx-context | webpage : http://www.pragma-ade.nl / = http://tex.aanhet.net mtx-context | wiki : http://contextgarden.net ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________