![](https://secure.gravatar.com/avatar/af13db75aa1c24fee635c74fecf93090.jpg?s=120&d=mm&r=g)
Hello Daniel. Send me your source code (or minimal example which has an error) and CSV file too (or minimal example ...if it possible)... I try to find out where the problem is Jaroslav Dne 26.9.2010 22:31, Daniel Grycman napsal(a):
Hi all,
I use the sancsv.lua libray by Jaroslav Hajtmar for the typesetting of a study guide at the German Department at Ruhr-University. By reading the data of csv-eile Textmate canceled with the following messages. The csv-file has utf-8 encoding.
MTXrun | run 1: luatex --fmt="/Users/grycman/Library/texlive/2010/texmf-var/luatex-cache/context/e 9159e878e989105b2ef2d27fad97515/formats/cont-en" --lua="/Users/grycman/Library/texlive/2010/texmf-var/luatex-cache/context/e 9159e878e989105b2ef2d27fad97515/formats/cont-en.lui" --backend=pdf "/Users/grycman/Dropbox/Uni/kvvtest.tex" This is LuaTeX, Version beta-0.60.2-2010071217 (TeX Live 2010) (rev 3736) \write18 enabled. (/Users/grycman/Dropbox/Uni/kvvtest.tex publications : loading formatting style from bxml-apa (/usr/local/texlive/2010/texmf-dist/tex/context/base/bxml-apa.mkiv)
ConTeXt ver: 2010.05.24 13:05 MKIV fmt: 2010.9.20 int: english/english
system : cont-new loaded (/usr/local/texlive/2010/texmf-dist/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (/usr/local/texlive/2010/texmf-dist/tex/context/base/cont-new.mkiv)) system : cont-fil loaded (/usr/local/texlive/2010/texmf-dist/tex/context/base/cont-fil.tex loading : ConTeXt File Synonyms ) system : cont-sys loaded (/usr/local/texlive/2010/texmf-config/tex/context/user/cont-sys.tex (/usr/local/texlive/2010/texmf-dist/tex/context/base/type-def.mkiv) (/usr/local/texlive/2010/texmf-dist/tex/context/base/type-lua.mkiv) (/usr/local/texlive/2010/texmf-dist/tex/context/base/type-siz.mkiv) (/usr/local/texlive/2010/texmf-dist/tex/context/base/type-otf.mkiv)) system : kvvtest.top loaded (kvvtest.top) fonts : preloading latin modern fonts {/usr/local/texlive/2010/texmf-dist/fonts/map/dvips/lm/lm-math.map}{/usr/lo cal/texlive/2010/texmf-dist/fonts/map/dvips/lm/lm-rm.map}{/usr/local/texliv e/2010/texmf-dist/fonts/map/pdftex/context/mkiv-base.map} bodyfont : 12pt rm is loaded language : language en is active system : module simplefonts loaded (/usr/local/texlive/2010/texmf-dist/tex/context/third/simplefonts/t-simplef onts.tex loading : ConTeXt User Module / Simplefonts ) system : module r loaded (/usr/local/texlive/2010/texmf-dist/tex/context/base/m-r.tex) system : module tikz loaded (/usr/local/texlive/2010/texmf-dist/tex/context/pgf/frontendlayer/t-tikz.te x (/usr/local/texlive/2010/texmf-dist/tex/context/pgf/basiclayer/t-pgf.tex (/usr/local/texlive/2010/texmf-dist/tex/context/pgf/basiclayer/t-pgfcor.tex (/usr/local/texlive/2010/texmf-dist/tex/context/pgf/systemlayer/t-pgfsys.t ex (/usr/local/texlive/2010/texmf-dist/tex/context/pgf/utilities/t-pgfrcs.tex (/usr/local/texlive/2010/texmf-dist/tex/context/pgf/utilities/t-pgfmod.tex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/utilities/pgfutil-comm on.tex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/utilities/pgfutil-conte xt.def) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.t ex)) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code .tex (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code. tex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-pdft ex.def (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-comm on-pdf.def)) (kvvtest.pgf)) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftp ath.code.tex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/systemlayer/pgfsysproto col.code.tex)) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcore.code .tex (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.t ex (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.t ex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/math/pgfmathparser.code .tex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/math/pgfmathoperations. code.tex (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/math/pgfmathtrig.code.t ex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/math/pgfmathrnd.code.te x)) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/math/pgfmathbase.code.t ex))) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoint s.code.tex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathc onstruct.code.tex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathu sage.code.tex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcorescope s.code.tex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcoregraph icstate.code.tex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretrans formations.code.tex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcorequick .code.tex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreobjec ts.code.tex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathp rocessing.code.tex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcorearrow s.code.tex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreshade .code.tex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreimage .code.tex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcorelayer s.code.tex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretrans parency.code.tex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepatte rns.code.tex))) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/modules/pgfmoduleshapes .code.tex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/modules/pgfmoduleplot.c ode.tex)) (/usr/local/texlive/2010/texmf-dist/tex/context/pgf/utilities/t-pgffor.tex (/usr/local/texlive/2010/texmf-dist/tex/context/pgf/utilities/t-pgfrcs.tex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/utilities/pgffor.code. tex)) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/frontendlayer/tikz/tikz .code.tex (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/libraries/pgflibraryplo thandlers.code.tex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/modules/pgfmodulematrix .code.tex) (/usr/local/texlive/2010/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libr aries/tikzlibrarytopaths.code.tex))) system : module edtsnc loaded (/usr/local/texlive/2010/texmf-dist/tex/context/base/m-edtsnc.tex editsync : loading and enabling editor synchronization support ) system : module chart loaded (/usr/local/texlive/2010/texmf-dist/tex/context/base/m-chart.tex (/usr/local/texlive/2010/texmf-dist/tex/context/base/m-chart.mkiv systems : The chart mkiv xml interface is not yet defined! )) systems : begin file /Users/grycman/Dropbox/Uni/kvvtest.tex at line 26 !pages : flushing realpage 1, userpage 1, subpage 1 !pages : flushing realpage 2, userpage 2 structure : title @ level 2 : 0.0 -> \headtext {content} !pages : flushing realpage 3, userpage 3 structure : section @ level 3 : 0.0.1 -> Kontakt structure : subsection @ level 4 : 0.0.1.1 -> Organisation des Germanistischen Instituts
Overfull \hbox (284.90858pt too wide) in paragraph at lines 64--1 []
Underfull \hbox (badness 10000) in paragraph at lines 96--1
structure : subsection @ level 4 : 0.0.1.2 -> Allgemeine Studienberatung und Studienfachberatung !pages : flushing realpage 4, userpage 4 structure : subsubject @ level 4 : 0.0.1.2 -> Studienfachberatung Master of Education structure : subsection @ level 4 : 0.0.1.3 -> Die Lehrenden des Germanistischen Instituts ! LuaTeX error scancsv.lua:147: table index is nil stack traceback: scancsv.lua:147: in function 'ReadLineFromCSV' scancsv.lua:184: in function 'lineaction' scancsv.lua:216: in function 'filelineaction' <\directlua>:1: in main chunk. <argument> ...lua {filelineaction("personen.csv")}
\firstoftwoarguments #1#2->#1
<to be read again>
l.116 \filelineaction{personen.csv}
? ! Emergency stop. <argument> ...lua {filelineaction("personen.csv")}
\firstoftwoarguments #1#2->#1
<to be read again>
l.116 \filelineaction{personen.csv}
! ==> Fatal error occurred, no output PDF file produced!MTXrun | fatal error: return code: 1
Jaroslav, can you help me? Or anybody else?
Daniel
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________