From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/56060 Path: news.gmane.org!not-for-mail From: "Thomas A. Schmitz" Newsgroups: gmane.comp.tex.context Subject: Re: What do you miss in ConTeXt? Date: Tue, 9 Feb 2010 15:05:56 +0100 Message-ID: References: <4B6FF4C6.4000401@googlemail.com> <20100208134949.GB30401@aides.aides.com> <4B7029C9.70706@wxs.nl> <20100208211436.GA6692@aides.aides.com> <4B70816E.4050802@googlemail.com> <20100208220829.GB6692@aides.aides.com> <4B708E21.2040107@wxs.nl> <20100208234009.GC6692@aides.aides.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: multipart/mixed; boundary=Apple-Mail-12--345652336 X-Trace: ger.gmane.org 1265724384 16416 80.91.229.12 (9 Feb 2010 14:06:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Feb 2010 14:06:24 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Feb 09 15:06:21 2010 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 1NeqjK-0002rY-Nv for gctc-ntg-context-518@m.gmane.org; Tue, 09 Feb 2010 15:06:18 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CCA62C9BDC; Tue, 9 Feb 2010 15:07:57 +0100 (CET) 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 M0x2zkb06nWZ; Tue, 9 Feb 2010 15:07:55 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 61ABDC9C7F; Tue, 9 Feb 2010 15:07:55 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A471AC9C7F for ; Tue, 9 Feb 2010 15:07:53 +0100 (CET) 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 4l17e9IPxeGJ for ; Tue, 9 Feb 2010 15:07:51 +0100 (CET) Original-Received: from uni-bonn.de (mail.uni-bonn.de [131.220.15.113]) by balder.ntg.nl (Postfix) with ESMTP id 69376C9BDC for ; Tue, 9 Feb 2010 15:07:51 +0100 (CET) Original-Received: from [87.178.69.170] (account tschmit1@uni-bonn.de HELO [192.168.0.2]) by fe2.uni-bonn.de (CommuniGate Pro SMTP 5.2.12) with ESMTPA id 32396455 for ntg-context@ntg.nl; Tue, 09 Feb 2010 15:06:11 +0100 In-Reply-To: <20100208234009.GC6692@aides.aides.com> X-Mailer: Apple Mail (2.1077) 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:56060 Archived-At: --Apple-Mail-12--345652336 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Feb 9, 2010, at 12:40 AM, Philipp Gesang wrote: > That was it, sorry, I reinstalled minimals and LuaTeX recently and > forgot to update ConTeXt. Now the file is processed and I get a pdf > file containing the words > -------- > sortkeys: > n id entry > -------- > and an hrule beneath that. As I'm not (yet) familiar with the control > sequences used in the file as well as parts of its syntax, I can only > guess that there's a table missing from "\startxmlsetups bibtex:one > \starttabulate etc.". > Good night, >=20 >=20 > Philipp In order to see what this example does, you will have to use your own = bib file and examples from it. I attach a modified test file with a = small bib so you can test. However, I don't yet understand how to use = this either. Let's hope this goes trough to the list. All best Thomas --Apple-Mail-12--345652336 Content-Disposition: attachment; filename=bibtest.tex Content-Type: application/octet-stream; x-unix-mode=0644; name="bibtest.tex" Content-Transfer-Encoding: 7bit \dontcomplain \def\MF {MF} \def\MP {MP} \def\TUB{TUGboat} \def\Mc {Mac} \def\sltt{\tt} \def\acro#1{#1} \usemodule[abr-01] \startxmlsetups bibtex % todo: messy \xmlregistereddocumentsetups{#1}{} \xmlsetsetup{#1}{bibtex|c|e|v}{bibtex:*} \xmlmain{#1} \stopxmlsetups % \xmlregisterdocumentsetup{bibtex:somebibtex}{bibtex:main} \startxmlsetups bibtex:bibtex \xmlfilter{#1}{e/v[@n=='author' and find(text(),'Arafat') or find(text(),'Joyner')]/../command(bibtex:one)} \stopxmlsetups \startxmlsetups bibtex:c \stopxmlsetups \startxmlsetups bibtex:e \stopxmlsetups % \startxmlsetups bibtex:v % \xmlflushcontext{#1} % \stopxmlsetups \startxmlsetups xml:bibtex:sorter \xmlresetsorter{bibtex} \xmlfilter{#1}{e/command(bibtex:entry:getkeys)} \blank sortkeys: \blank\xmlshowsorter{bibtex}\blank \xmlsortentries{bibtex} \xmlflushsorter{bibtex}{bibtex:entry:flush} \stopxmlsetups \startxmlsetups bibtex:entry:getkeys \xmladdsortentry{bibtex}{#1}{\xmlfilter{#1}{/v[@n=='author']/text()}} \xmladdsortentry{bibtex}{#1}{\xmlfilter{#1}{/v[@n=='year']/text()}} \xmladdsortentry{bibtex}{#1}{\xmlatt{#1}{n}} \stopxmlsetups \startxmlsetups bibtex:one \starttabulate \NC id \NC \xmlatt{#1}{n} \NC \NR \NC author \NC \xmlfilter{#1}{/v[@n=='author']/context()} \NC \NR \NC title \NC \xmlfilter{#1}{/v[@n=='title']/context()} \NC \NR \stoptabulate \stopxmlsetups \startxmlsetups bibtex:entry:flush \xmlfilter{#1}{/v[@n=='author']/context()} / % \xmlfilter{#1}{/v[@n=='year']/context()} / % \xmlatt{#1}{n}\par \stopxmlsetups \starttext \definebibtexsession [somebibtex] % \registerbibtexentry [somebibtex][Hagen:TB26-2-152] %\registerbibtexfile [somebibtex][tugboat.bib] \registerbibtexfile [somebibtex][test.bib] % \registerbibtexentry [somebibtex][Hagen:TB26-2-152] \preparebibtexsession[somebibtex] \applytobibtexsession[somebibtex][bibtex] \xmlsetup{bibtex:somebibtex}{xml:bibtex:sorter} \stoptext --Apple-Mail-12--345652336 Content-Disposition: attachment; filename=test.bib Content-Type: application/octet-stream; x-unix-mode=0644; name="test.bib" Content-Transfer-Encoding: 7bit @Book{arafatpausanias, author = {Arafat, Karim W.}, title = {Pausanias' Greece: Ancient Artists and Roman Rulers}, address = {Cambridge (Engl.)}, publisher = {Cambridge UP}, year = {1996}, annote = {BMCRev 1997 8 (1): 11-14 Kenneth D. S. Lapatin ; BMCRev 1997 8 (3): 191-194 Kenneth D. S. Lapatin ; EMC 1996 40 (3): 458-462 Christopher P. Jones ; Phoenix 1997 51 (2): 229-233 Nigel Martin Kennell ; TLS 1996 N 4883: 30 Peter Levi ; AJA 1998 102 (4): 843-844 Michael C. Hoff ; NECN 1997-1998 25 (1): 23-24 Hugh Elton ; JRS 2000 90: 232-233 Harry Sidebottom ; Klio 2000 82 (1): 277-278 J{\"o}rn Kobes ; Gnomon 2001 73 (2): 109-111 Christian Habicht ; OAth 2000-2001 25-26: 124-128 Helene Whittaker}, } @Book{pausaniashardt, title = {Pausanias historien: huit expos{\'e}s suivis de discussions}, editor = {Jean Bingen}, address = {Vand{\oe}uvres}, publisher = {Fondation Hardt}, year = {1996}, series = {Entretiens sur l'Antiquit{\'e} classique}, volume = {41}, annote = {AAHG 1999 52 (1-2): 95-98 Karl Christ ; Phoenix 1997 51 (2): 229-233 Nigel Martin Kennell}, } @Book{pritchettpausanias, author = {Pritchett, W. Kendrick}, title = {Pausanias Periegetes}, address = {Amsterdam}, publisher = {Gieben}, year = {1998--1999}, month = {2}, series = {Archaia Hellas: monographs on ancient Greek history and archaeology}, volume = {6--7}, annote = {LEC 2000 68 (4): 396-397 Olivier Gengler ; Antiquit{\'e} Classique 2000 69: 327-329 Dominique Mulliez}, } @Book{editer, title = {{\'E}diter, traduire, commenter Pausanias en l'an 2000: actes du colloque de Neuch{\^a}tel et de Fribourg (18-22 septembre 1998): autour des deux {\'e}ditions en cours de la \quote{P{\'e}ri{\'e}g{\`e}se} (Coll. des universit{\'e}s de France -- Fondazione Lorenzo Valla)}, editor = {Denis Knoepfler and Marcel Pi{\'e}rart}, address = {Gen{\`e}ve}, publisher = {Droz}, year = {2001}, series = {Recueil de travaux publi{\'e}s par la Facult{\'e} des lettres et sciences humaines, Universit{\'e} de Neuch{\^a}tel}, volume = {49}, annote = {Antiquit{\'e} Classique 2003 72: 369-371 Francis Prost ; JRA 2003 16 (2): 673-676 Christopher P. Jones ; MH 2003 60 (4): 231-232 Jan Felix Gaertner ; RA 2003 N. S. (2): 418-419 Gunnel Ekroth ; REA 2003 105 (2): 654-656 {\'E}ric Foulon ; Klio 2003 85 (2): 538-540 Johannes Engels ; RBPh 2006 84 (1): 144-146 Alain Duplouy ; Topoi (Lyon) 2005 12-13 (2): 587-604 Madeleine Jost}, } @Article{arafatpausaniastraveller, author = {Arafat, Karim W.}, title = {Pausanias the Traveller: Digressions on the Wonders of Nature and of Foreign Lands}, journal = {Euphrosyne}, year = {1999}, volume = {27}, pages = {237--248}, annote = {R{\'e}flexions sur l'attitude de Pausanias vis-{\`a}-vis des non-Grecs et son empressement {\`a} faire conna{\^i}tre les choses curieuses {\`a} ses lecteurs grecs}, } @Article{joynerpausanias1, author = {Joyner, Graham}, title = {Pausanias and His Guide Book. 1, the Man and His Work}, journal = {AH}, year = {1998}, volume = {28}, pages = {113--135}, annote = {On the scope, form, genre, and publication of Pausanias' work, as well as what we know about Pausanias the man (his background, date, and range of travels).}, } @Article{joynerpausanias23, author = {Joyner, Graham}, title = {Pausanias and His Guide Book. 2, Pausanias at Work; 3, the Value of Pausanias}, journal = {AH}, year = {1999}, volume = {29}, pages = {46--67}, annote = {On the extent to which Pausanias may be considered a historian ; how he worked and used his sources ; and his models. The conclusion is that Pausanias was writing a guide-book rather than primarily writing history. Though Pausanias is selective, he is useful to us as the interpreter of the past, and the scope of his work is enormous. For part 1 => 73-00000.}, } @Article{sidebottompausanias, author = {Sidebottom, Harry}, title = {Pausanias: Past, Present, and Closure}, journal = {Classical Quarterly}, year = {2002}, volume = {52}, pages = {494--499}, annote = {The only vaguely fixed frame of periodization of political history that Pausanias has is a tripartite one of pre-heroic, heroic, and post-heroic. When looking backwards or forwards, however, Pausanias often juxtaposes things from widely different times, bringing the past into close relation to the present and creating the impression that they belong together. This strategy reaches its culmination in Book 10, which can be seen not as an unfinished piece of work but as a sophisticated tour de force.}, } @Article{pretzlerturning, author = {Pretzler, Maria}, title = {Turning Travel Into Text: Pausanias at Work}, journal = {Greece \& Rome}, year = {2004}, volume = {51}, pages = {199--216}, annote = {Only a close scrutiny of the \quote{Periegesis} together with other sources for the activities of ancient travellers allow insight into the process that led to Pausanias' published work. Internal references show that Pausanias wrote between the 150s and ca. A.D. 180. The \quote{Periegesis} represents a meandering route through Greece that does not reproduce an actual itinerary. Pausanias developed a geographical ordering that avoided repetition and was easy to remember. The work reflects a traveller's view of geography: although links among regions reveal Pausanias' grasp of the Greek landscape, adjacent geographical features are often not connected if they are not along the same route. Pausanias focused on sacred buildings, statues, and memorials that he considered \quote{wort h seeing} even if they were damaged, and regardless of their aesthetic appeal. His insistence on autopsy makes his work valuable.}, } @Book{pretzlertravel, author = {Maria Pretzler}, title = {Pausanias. Travel Writing in Ancient Greece}, publisher = {Duckworth}, year = 2007, address = {London}} @InCollection{goldhillreligion, author = {Goldhill, Simon}, title = {Religion, Wissenschaftlichkeit und griechische Identit{\"a}t im r{\"o}mischen Kaiserreich}, crossref = {ostenrupkewaldner}, pages = {125--140}, annote = {Einige bislang unterbewertete Passagen von Autoren der \quote{Zweiten Sophistik} (Pausanias, Plutarch, Aelius Aristides) werden daraufhin untersucht, was sie {\"u}ber den Umgang der Intellektuellen des 2. Jh. mit Tradition und polytheistischer Religion aussagen.}, } @Book{ostenrupkewaldner, title = {Texte als Medium und Reflexion von Religion im r{\"o}mischen Reich}, editor = {Dorothee Elm von der Osten and J{\"o}rg R{\"u}pke and Katharina Waldner}, address = {Stuttgart}, publisher = {Steiner}, year = {2006}, series = {Potsdamer altertumswissenschaftliche Beitr{\"a}ge}, volume = {14}, annote = {Antiquit{\'e} Classique 2007 76: 426-427 Fran{\ccedilla}oise Van Haeperen ; BMCRev 2007 (4): non pagin{\'e} Peter Van Nuffelen}, } --Apple-Mail-12--345652336 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --Apple-Mail-12--345652336--