[NTG-context] CRLF is interpreted as a Greek letter in LuaLaTeX
Hi, When I want to write in LuaLaTeX by tex.print command some text string that is defined in an external lua-file, so crlf characters in LuaLaTeX appear as the Greek letter omega. The Greek letter omega has in the font CM code 0x0A, which is a line feed. It seems that the end of the line is interpreted not as the end of the line, but a letter. When I define a text string directly in the source file, everything is OK. Please do not know how to solve this problem? Thanx Jaroslav My minimal example: A) If everything is in one source file for example: \documentclass{article} \usepackage[utf8]{luainputenc} \usepackage{luatextra} \begin{document} \directlua{ text=[[a b c]] tex.print(text)} \end{document} so the correct typesets: BUT B) Where part of Lua code is in an external file externalfile.lua whose content is as follows: text=[[a b c]] then the LuaLaTeX source code: \documentclass{article} \usepackage[utf8]{luainputenc} \usepackage{luatextra} \begin{document} \directlua{dofile(externalfile.lua) tex.print(text)} \end{document} typesets: aOMEGAbOMEGAc (where OMEGA is Greek character omega) PS: Use [[... ]] as a kind of quotation marks can bypass traditional or simple '. The problem is that these strings must bet a backslash \\ . This character has a different meaning in LaTeX. Therefore I would prefer using [[ ... ]] ___ 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 ___
Re: [NTG-context] CRLF is interpreted as a Greek letter in LuaLaTeX
Hi Jaroslav, Jaroslav Hajtmar wrote: Hi, When I want to write in LuaLaTeX by tex.print command some text string I do not want to sound unfriendly, but this is a ConTeXt mailing list, not a LuaLaTeX mailing list. It would be better if you would direct lualuatex questions to the general luatex list lua...@tug.org. that is defined in an external lua-file, so crlf characters in LuaLaTeX appear as the Greek letter omega. The Greek letter omega has in the font CM code 0x0A, which is a line feed. It seems that the end of the line is interpreted not as the end of the line, but a letter. Exactly. lua input files are much more sane than tex files: if you write a newline, you get a newline. The Omega is a side-effect of the font you use. When I define a text string directly in the source file, everything is OK. Please do not know how to solve this problem? postprocess the string with string.gsub. Best wishes, Taco ___ 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 ___
Re: [NTG-context] CRLF is interpreted as a Greek letter in LuaLaTeX
Dne 8.6.2010 8:51, Taco Hoekwater napsal(a): Hi Jaroslav, Jaroslav Hajtmar wrote: Hi, When I want to write in LuaLaTeX by tex.print command some text string I do not want to sound unfriendly, but this is a ConTeXt mailing list, not a LuaLaTeX mailing list. It would be better if you would direct lualuatex questions to the general luatex list lua...@tug.org. OK. I apologize and I accept your admonition :-). LuaLaTeX I do not use. I modify only my ConTeXt application to run under the LuaLaTeX. that is defined in an external lua-file, so crlf characters in LuaLaTeX appear as the Greek letter omega. The Greek letter omega has in the font CM code 0x0A, which is a line feed. It seems that the end of the line is interpreted not as the end of the line, but a letter. Exactly. lua input files are much more sane than tex files: if you write a newline, you get a newline. The Omega is a side-effect of the font you use. When I define a text string directly in the source file, everything is OK. Please do not know how to solve this problem? postprocess the string with string.gsub. It occurred to me, I try to modify the string to suggest Thanks for the quick reply and advice Jaroslav Best wishes, Taco ___ 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 ___
[NTG-context] xml path expression
I would like to combine the xml path search of two different levels. An example, the xml can be either case #1: main a bc//b bc//b /a /main or case #2: main bc//b bc//b /main Now I want to process the c elements from the main level and loop through them with the position function: \xmlfilter{#1}{/(a/b|b)/name/position(\the\scratchcounter)} This however does not work, I tried various path expressions, for example with * but to no avail. Is there a path expression that can select either /a/b or /b ? Hans van der Meer ___ 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 ___
[NTG-context] presence of xml-attribute
In order to differentiate between the case of an absent or an empty attribute on an xml-element I now use the following macro to set a TeX- \if: % #1=node #2=attribute #3 defaultvalue: execute \attributetrue/false \def\setFlagToAttribute#1#2#3{% \doifnot{\xmlattdef{#1}{#2}{NOTPRESENT}}{NOTPRESENT}% {\doifelse{\xmlatt{#1}{#2}}{\empty}% {\xmlvalue{choice}{#3}{\iftrue}}% {\xmlvalue{choice}{\xmlatt{#1}{#2}}{\iftrue}}% \csname#2true\endcsname\else\csname#2false\endcsname\fi }% } I find the use of the NOTPRESENT not very elegant. Is there a path expression and function that can tell the presence or absence of an attribute, just as its value can be filtered with a/b...@option==value]? Hans van der Meer ___ 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 ___
Re: [NTG-context] Problems using new beta
On Mon, Jun 7, 2010 at 3:29 PM, Thomas A. Schmitz thomas.schm...@uni-bonn.de wrote: On Jun 7, 2010, at 3:19 PM, Ivo Solnický wrote: Hi, I didn't received answer by mail, so I have to answer this way. Thanks for the help, I updated context and now it works OK. But the problem with recompilation of format file remains. Any idea? Ivo If I understood your first message correctly, you are storing your tex documents within your context directory. This is a VERY bad idea because 1. mkiv checks the checksum of your context tree. When it changes, it will regenerate the format, that's what you see happening 2. in case of an update, your files could get deleted or overwritten. I'm sorry but my English is not very good and I am not likely be able to explain things clearly. I have my files stored separately in directory C:\Users\Ivo\TeX and ConTeXt files are in directory C:\context\tex. Here is a list of environment variables related to context after running setuptex C:\context\tex. CTXMINIMAL=yes CYGWIN=nontsec MPMEMS=c:\context\tex\texmf-mswin/web2c{/$engine,} OSFONTDIR=C:\Windows/fonts Path=c:\context\tex\texmf-mswin\bin;C:\Windows\system32;C:\Windows; ... RUBYLIB=c:\context\tex\texmf-context\SCRIPTS\CONTEXT\RUBY; SESSIONNAME=Console SETUPTEX=done TEMP=C:\Users\Ivo\AppData\Local\Temp TEXFORMATS=c:\context\tex\texmf-mswin/web2c{/$engine,} TEXMF={$TEXMFPROJECT,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFOS,$TEXMFCONTEXT,$TEXMFEXTRA,!!$TEXMFMAIN} TEXMFCACHE=c:\context\tex\texmf-cache TEXMFCNF=c:\context\tex\texmf{-local,-context,}/web2c TEXMFCONTEXT=c:\context\tex\texmf-context TEXMFDBS=$TEXMF TEXMFEXTRA=c:\context\tex\texmf-extra TEXMFFONTS=c:\context\tex\texmf-fonts TEXMFLOCAL=c:\context\tex\texmf-local TEXMFMAIN=c:\context\tex\texmf TEXMFOS=c:\context\tex\texmf-mswin TEXMFPROJECT=c:\context\tex\texmf-project TEXPATH=c:\context\tex\ TMP=C:\Users\Ivo\AppData\Local\Temp VARTEXMF=C:\Users\Ivo\AppData\Local\Temp\texmf-var I get this after running command: C:\Users\Ivo\TeXcontext dopis MTXrun | warning: source mismatch (luv: c35d99a34eb6a903c197a4666fe46fe0 bin: a6c26bf5f4881a58ccc3eed80ae65790), forcing remake MTXrun | fileio: loading configuration file 'c:/context/tex/texmf/web2c/texmfcnf.lua' MTXrun | fileio: loading configuration file c:/context/tex/texmf/web2c/texmf.cnf MTXrun | fileio: preparing 'configuration' for 'c:/context/tex/texmf/web2c' MTXrun | fileio: 'configuration' saved in 'c:/context/tex/texmf-cache/luatex-cache/context/2fea56f92e5267d7cc9662e4d5f52e1e/trees/53 ad5f8b88994bdd02baa17501789699.lua' MTXrun | fileio: 'configuration' compiled to 'c:/context/tex/texmf-cache/luatex-cache/context/2fea56f92e5267d7cc9662e4d5f52e1e/trees /53ad5f8b88994bdd02baa17501789699.luc' MTXrun | fileio: locating list of 'c:/context/tex/texmf-project' MTXrun | fileio: tex locator 'c:/context/tex/texmf-project' found MTXrun | fileio: hash 'c:/context/tex/texmf-project' appended etc. Finally, the file dopis.tex is compiled well, but it takes a long time. Surprisingly, when I copy the file dopis.tex for example to the directory C:\context\tex\texmf-project, I get this (format is not recompiled): C:\context\tex\texmf-projectcontext dopis MTXrun | run 1: luatex --fmt=c:/context/tex/texmf-cache/luatex-cache/context/2fea56f92e5267d7cc9662e4d5f52e1e/formats/cont-en --lu a=c:/context/tex/texmf-cache/luatex-cache/context/2fea56f92e5267d7cc9662e4d5f52e1e/formats/cont-en.lui --backend=pdf ./dopis This is LuaTeX, Version beta-0.60.1-2010060523 (Web2C 2010) (rev 3685) \write18 enabled. (C:/context/tex/texmf-project/dopis.tex publications: loading formatting style from bxml-apa (c:/context/tex/texmf-context/tex/context/base/bxml-apa.mkiv) ConTeXt ver: 2010.06.06 23:52 MKIV fmt: 2010.6.8 int: english/english system : cont-new loaded (c:/context/tex/texmf-context/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (c:/context/tex/texmf-context/tex/context/base/cont-new.mkiv)) system : cont-fil loaded (c:/context/tex/texmf-context/tex/context/base/cont-fil.tex loading : ConTeXt File Synonyms ) system : cont-sys.rme loaded (c:/context/tex/texmf-context/tex/context/user/cont-sys.rme (c:/context/tex/texmf-context/tex/context/base/type-def.mkiv) (c:/contex t/tex/texmf-context/tex/context/base/type-lua.mkiv) (c:/context/tex/texmf-context/tex/context/base/type-siz.mkiv) (c:/context/tex/te xmf-context/tex/context/base/type-otf.mkiv)) system : dopis.top loaded (dopis.top) etc This behavior surprised me and I don't understend it. :( ConTeXt has been installed by running first-setup.bat in C:\context directory. Thanks for any ideas. ConTeXt (and TeX in general) can be a bit overwhelming at first if you have never used such a system. I don't know how experienced you are with computers in general, but I would suggest you read some introductory material on TeX (though I admit that I just looked around a bit, and
[NTG-context] error in first-setup.sh
On my linux box32bit $bash first-setup.sh stops with # bash first-setup.sh receiving file list ... done sent 37 bytes received 132 bytes 112.67 bytes/sec total size is 4450786 speedup is 26336.01 MTXrun | fileio: variable 'SELFAUTOLOC' set to '/opt/luatex/minimals-beta-2010/bin' MTXrun | fileio: variable 'SELFAUTODIR' set to '/opt/luatex/minimals-beta-2010' MTXrun | fileio: variable 'SELFAUTOPARENT' set to '/opt/luatex' MTXrun | fileio: variable 'TEXMFCNF' set to '{$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,.local,}/web2c}' MTXrun | fileio: fatal error: no lua configuration files found -- luigi ___ 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 ___
Re: [NTG-context] Problems using new beta
Ivo Solnický wrote: This behavior surprised me and I don't understend it. :( Wild guess: this is one of the betas where the format and/or cache generators switched to a working directory but forgot to switch back to the user input directory. $ luatools --generate $ context --make en $ context dopis should fix the issue for now (and final resolution with a future beta). Best wishes, Taco ___ 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 ___
Re: [NTG-context] error in first-setup.sh
luigi scarso wrote: On my linux box32bit $bash first-setup.sh stops with # bash first-setup.sh receiving file list ... done sent 37 bytes received 132 bytes 112.67 bytes/sec total size is 4450786 speedup is 26336.01 MTXrun | fileio: variable 'SELFAUTOLOC' set to '/opt/luatex/minimals-beta-2010/bin' MTXrun | fileio: variable 'SELFAUTODIR' set to '/opt/luatex/minimals-beta-2010' MTXrun | fileio: variable 'SELFAUTOPARENT' set to '/opt/luatex' MTXrun | fileio: variable 'TEXMFCNF' set to '{$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,.local,}/web2c}' MTXrun | fileio: fatal error: no lua configuration files found Beta is a tad unstable at the moment, should be better in an hour or so. Best wishes, Taco ___ 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 ___
[NTG-context] \setupcite[authornum][...] not working
Hi, I'm using the ams-bibliography style and want to include authornum-cites in the document (so i want to input something like in the paper by \cite[authornum][doe] instead of in the paper by Doe \cite[num][doe]. The \cite command works as intended, but I'm not able to change the typesetting properties with \setupcite[authornum][...]. The others, like \setupcite[num][...] and \setupcite[author][...] seem to work as they should, though. I provide a minimal example below, where to options set in line 4 are not used for typesetting the \cite[ref1]. I'm using the context minimals, MkIV. \usemodule[bib] \setupbibtex[database={test.bib}] \setuppublications[alternative=ams, refcommand=authornum] \setupcite[authornum][left={\}, andtext={ foo }, namesep={ bar }] % just some random options, none of them works \starttext \cite[ref1] \completepublications[criterium=all] \stoptext I already tried apa style, the same there. In addition, the names of a citation placed with \cite[author] (e.g. Doe and Fisher) are not typesetted as those of a citation placed with \cite[authornum] (e.g. Doe,Fisher), although I think (from a short glimpse at bibl-ams.tex) they should. Am I doing something wrong or is this a bug? Any help appreciated. Stefan. ___ 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 ___
[NTG-context] header/footertexts (sectioning)
Hello, I am using: \setupfootertexts [chapter] \setupheadertexts [section] \setupheadertexts [][pagenumber] [pagenumber][] % doublesided to place the chapter title in the footer and the section title in the header. (Of course, I also use \setuphead [chapter] [header=nomarking,footer=empty,page=right] \setuphead [part] [header=nomarking,footer=empty,page=right] so that \chapter{} and \part{} begin on an odd page without a text header nor a footer.) However, a \chapter{} may begin with a long introduction (several pages) before seeing a \section{}. In this case, the header gets the title of the last section of the preceeding chapter. Similarly, a \part{} may begin with a long introduction (several pages) before seeing a \chapter{}. In this case, the footer gets the title of the last chapter of the preceeding part. This is incorrect. Is there some way to have the section text reset for each \chapter and the chapter text reset for each \part? (I would expect a way=bychapter and way=bypart type of option and also suggest that this be the default behavior). Alan By the way, there appears to be a (recent) bug in that \setupheadertexts [section] \setupheadertexts [][pagenumber] [pagenumber][] % doublesided works, whereas \setupheadertexts [][pagenumber] [pagenumber][] % doublesided \setupheadertexts [section] currently is broken (no page numbers occur). ___ 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 ___
Re: [NTG-context] \setupcite[authornum][...] not working
Stefan Müller wrote: I already tried apa style, the same there. In addition, the names of a citation placed with \cite[author] (e.g. Doe and Fisher) are not typesetted as those of a citation placed with \cite[authornum] (e.g. Doe,Fisher), although I think (from a short glimpse at bibl-ams.tex) they should. Am I doing something wrong or is this a bug? Any help appreciated. No, it is just a hack (authornum). I tried to fix it now, but that is turning out harder than I expected so probably the best approach is to redefine authornum using author and num: \def\bibauthornumref[#1]% {\bibalternative{left}% \cite[author][#1] \bibalternative{inbetween}% \cite[num][#1] \bibalternative{right}} with that, 'authornum' listens to left, right and inbetween keys, and there rest of formatting is controlled by \setupcite[num] and \setupcite[author]. Best wishes, Taco ___ 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 ___
Re: [NTG-context] error in first-setup.sh
Taco Hoekwater wrote: luigi scarso wrote: On my linux box32bit $bash first-setup.sh stops with Beta is a tad unstable at the moment, should be better in an hour or so. It seems that the real problem is in setup/linux-64/bin files which are rsync'ed by first-run.sh before running mtxrun. So, it is not even possible to install an old ConTeXt using minimals. ___ 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 ___
Re: [NTG-context] error in first-setup.sh
On Tue, Jun 8, 2010 at 16:50, Yury G. Kudryashov ur...@ya.ru wrote: Taco Hoekwater wrote: luigi scarso wrote: On my linux box32bit $bash first-setup.sh stops with Beta is a tad unstable at the moment, should be better in an hour or so. It seems that the real problem is in setup/linux-64/bin files which are rsync'ed by first-run.sh before running mtxrun. So, it is not even possible to install an old ConTeXt using minimals. It should be fixed soon (Hans already sent a patch that fixes it), but in the meantime you may comment out the line that syncs mtxrun and take an older mtxrun.lua - mtxrun from archive (for example from current). I'm a bit afraid that the new texmfcnf.lua that is needed will break the current though. Mojca ___ 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 ___
[NTG-context] Mutiple citations doesn't work with compress=no + interaction
I know that if I want to have clickable hyperlinks for citations, I need to turn off 'compress' for the citation type: \setupcite[authoryears][compress=no] The problem is that this doesn't seem to work: I get an 'unknown reference' error. references : unknown reference [][Balachandran2008 references : unknown reference [][Balachandran2008 references : unknown reference [][Balachandran2008 Strangely, this only happens when I want to refer to multiple authors, e.g. \cite[ref1, ref2, ref3], and everything works fine if I just do \cite[ref1]. I've attached a minimal example. Where am I going wrong? -- Michael Murphy \setupinteraction[state=start] \usemodule[bib] \setuppublications[refcommand=authoryears] \setupcite[authoryears][compress=no] \starttext I can cite single authors, like this \cite[Balachandran2008], but when I try to cite more together, it doesn't work \cite[Balachandran2008,Borzi2002,Bose2007]. \blank \placepublications \stoptext \setuppublicationlist[samplesize={CKRGO08},totalnumber=3] \startpublication[k=Balachandran2008,t=article, a={{Balachandran},{Gong}},y=2008,o={10.1103/PhysRevA.77.012303}, n=1,s=BG08] \artauthor[]{Vinitha}[V.]{}{Balachandran} \artauthor[]{Jiangbin}[J.]{}{Gong} \pubyear{2008} \arttitle{Adiabatic quantum transport in a spin chain with a moving potential} \journal{Phys. Rev. A} \volume{77} \issue{1} \pages{012303} \doi{10.1103/PhysRevA.77.012303} \stoppublication \startpublication[k=Borzi2002,t=article, a={{Borz\`i},{}},y=2002, n=2,s=BSH02] \artauthor[]{Alfio}[A.]{}{Borz\`i} \artauthor[]{Georg}[G.]{}{Stadler} \artauthor[]{Ulrich}[U.]{}{Hohenester} \pubyear{2002} \arttitle{Optimal quantum control in nanostructures: Theory and application to a generic three-level system} \journal{Phys. Rev. A} \volume{66} \stoppublication \startpublication[k=Bose2007,t=article, a={{Bose}},y=2007,o={http://dx.doi.org/10.1080/00107510701342313}, n=3,s=Bos07] \artauthor[]{Sougato}[S.]{}{Bose} \pubyear{2007} \arttitle{Quantum communication through spin chain dynamics: an introductory overview} \journal{Contemporary Physics} \volume{48} \issue{1} \pages{13} \doi{http://dx.doi.org/10.1080/00107510701342313} \stoppublication ___ 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 ___
Re: [NTG-context] Mutiple citations doesn't work with compress=no + interaction
Michael Murphy wrote: I know that if I want to have clickable hyperlinks for citations, I need to turn off 'compress' for the citation type: \setupcite[authoryears][compress=no] The problem is that this doesn't seem to work: I get an 'unknown reference' error. references : unknown reference [][Balachandran2008 references : unknown reference [][Balachandran2008 references : unknown reference [][Balachandran2008 Strangely, this only happens when I want to refer to multiple authors, e.g. \cite[ref1, ref2, ref3], and everything works fine if I just do \cite[ref1]. I've attached a minimal example. Where am I going wrong? It also only happens in mkiv, something is broken there. As is usual in the mkiv version of the bib module, I can't figure it out :( However, here is a workaround: \setupinteraction[state=start] \usemodule[bib] \let\NORMALcite\cite \newif\ifSEEN \def\cite#1[#2]{\SEENfalse \def\processitem##1{\ifSEEN, \else\SEENtrue \fi \NORMALcite[##1]}% (\processcommalist[#2]\processitem )} \setuppublications[refcommand=authoryears] \setupcite[authoryears][compress=no,left=,right=] \starttext .. Best wishes, Taco ___ 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 ___