Re: [NTG-context] ConTeXt versioning model critique
Vyatcheslav Yatskovsky schrieb: [...] My experience of using open-source products (I'm best familiar with Moodle) suggest that there should be overlapping cycles in development: 1. Allocate new version number and start implementing new features. Many things are broken at the moment and the version becomes unusable for production purposes. 2. Stabilize this version and make definite release (number x.x.). Now it can be used for production. 3. Continue resolve bugs in this version AND perform Step 1 IN PARALLEL. [...] I think ConTeXt needs similar versioning model badly. Now it has rather naive model (release dates) that doesn't help in deciding about stability at all. There is another reason for adopting a versioning model: legacy documents. I wonder how people (esp. at Pragma) currently deal with this. What happens if you have a ConTeXt doc from say 1997 that compiles into the resp. PDF with some ConTeXt version from that time but not today anymore? Which ConTeXt versions does one have to keep in order to be able to use such a document? (A good example for this kind of trouble seem to be the current issues with XeTeX, but I haven't followed this in detail -- but it kept me away from updating my ConTeXt installation since December...). Also remember that Knuth originally intended TeX to be an eternal formatting system (thus we have at least the option to expand all macros into plain TeX and keep that as the source file). This raises another question: is ConTeXt developed in an test driven way? I.e. are there test documents (including e.g. XML documents, bibligraphic references etc.) that have to pass comilation in order for changes to be published? If so, they would probably define a standard set of commands that could go into The ConTeXt Companion. Cheers Ulf ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] The ConTeXt Companion
Patrick Gundlach schrieb: Now, if we had The ConTeXt Companion ... ... ConTeXt would probably stabilize, which IMHO is not a good thing. One thing I really love ConTeXt for is the speed new techniques are adopted (pdf features, luatex,...) One day we might have a ConTeXt MKII book for those who are afraid of swithing to pdftex2. I don't think that The ConTeXt Companion (TCC) would halt ConTeXt development. The LaTeX Companion (TLC) didn't do that for LaTeX. Now, TLC was in 1st edition from 1994 to 2004, meaning that it was quite outdated in the end (one reason for me, btw, to look around wether there are other options to do teXing, and discovering ConTeXt). But it kept the reference situation in a well defined three step state: (1) look into one of the small LaTeX guides; (2) look into TLC; (3) look into package docs, internet etc. (which is, of course messy). My experience is that one rarely needed to go past (2). With ConTeXt there is, of course, the excursion (equiv. to (1)) and the manual (2), but many important issues (the phantastic XML processing capabilities, bibliography stuff, typography, font management,...) are not quite complete or covered elsewhere (i.e. situation 3). Ulf ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] The ConTeXt Companion (was: Interesting interview)
Jelle Huisman schrieb: Op 13-apr-2007, om 9:20 heeft Aditya Mahajan het volgende geschreven: While starting ConTeXt, I found ConTeXt an excrusion and ConTeXt manual to be extremely well written, much better than what I had read for LaTeX (but then, I never bought a LaTeX book). What do you find missing in the ConTeXt documentation that a book should cover? In Epen we discussed 'the book' and a 'ConTeXt cookbook'. I think that this discussion shows that it would be good for the ConTeXt community to have a book published by a publisher (like AW), but someone (or a small committee) has to coordinate it. I agree! The documentation situation of ConTeXt is rather messy. Some stuff on the wiki, many, many PDFs with cryptic names and some years old. LaTeX since ages has lshort as the quick standard intro (and of course numerous others) and then the mighty 1100+ pages tome Mittelbach et al. The LaTeX Companion where most things can be found that even the anvanced user might need (recently it appeared in a second edition, thus probably securing LaTeXs leading position for another decade...). http://www.amazon.com/dp/0201362996 Now, if we had The ConTeXt Companion ;-) Cheers Ulf ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] texfont aborts with charisSIL
Henning Haeske schrieb: Ok... unfortunately I need this font. Can you/anyone tell me, how to add this font in the actual context, so that it can be used together with xetex? \definetypeface[TypeFace][rm][Xserif][Charis SIL] \setupbodyfont[TypeFace, 10pt] got this from http://wiki.contextgarden.net/Fonts_in_XeTeX Cheers, Ulf Martin ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] header on last missing when processing xml
Hi Mighty ConTeXters! I have a problem: when I process the XML file 'headertest.xml' below, using 'headertest.tex' (below) with: texmfstart texexec --xtx headertest.tex I get four pages of output (as expected) but on the last page (page 4 in this case) the headline is missing (not expected). Why? And how can this be fixed (i.e. header on all pages)? I experienced this problem with other XML processing tasks, it is always the header on the last page that is missing (one can test this by changing the times parameter of the repeat tag in the XML file). Thank you Cheers! Ulf Martin === XML === ?xml version=1.0 encoding=utf-8? !-- FILE(headertest.xml) -- document header text=Header Test Document / repeat times=10 sectiontitleHeader Test section/sectiontitle knuth / /repeat /document !-- ENDFILE(headertest.xml) -- === TeX === %% FILE(headertest.tex) \defineXMLargument [repeat] {\dorecurse{\XMLpar{repeat}{times}{}}} \defineXMLargument [sectiontitle] {\section} \defineXMLsingular [knuth] {\input knuth\par\ } \defineXMLsingular [header] {\setupheadertexts[\XMLpar{header}{text}{}]} \setuppagenumbering[location={footer,middle}] \starttext \processXMLfilegrouped {headertest.xml} \stoptext %% ENDFILE(headertest.tex) ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] continuous numbering of subsection
Hi Hans Hagen schrieb: \setuphead [chapter][resetnumber=no] \setupsection[section][previousnumber=no] I do not quite understand the reseting mechanism. I want a lowest level section-like subdivision that has a running number which is unaffected by any of the above levels irrespective of the existence of higher levels. The higher levels should be numbered hierarchically as usual. When I try \setuphead[section][resetnumber=no] \setuphead[subsection][resetnumber=no] \setupsection[subsubsection][previousnumber=no] The subsubsection number is indeed not reset if *all* higher levels are present; but if I leave one out, it is reset; additionally the subsection is of course not reset, which I don't want: \section{One} \subsection{Oneone} \subsubsection{Topicone}% number = 1, OK \subsection{Onetwo} \subsubsection{Topictwo}% number = 2, OK \section{Two} \subsubsection{Topicthree} % number = 1, wrong \subsection{Twoone} % number = 2.3, wrong \subsubsection{Topicfour} % number = 2, wrong \subsection{Twotwo} % number = 2.4, wrong \subsubsection{Topicfive} % number = 3, wrong With this: \setuphead[section][resetnumber=yes] \setuphead[subsection][resetnumber=no] \setupsection[subsubsection][previousnumber=no] I get: \section{One} \subsection{Oneone} \subsubsection{Topicone}% number = 1, OK \subsection{Onetwo} \subsubsection{Topictwo}% number = 2, OK \section{Two} \subsubsection{Topicthree} % number = 1, wrong \subsection{Twoone} % number = 2.1, now OK \subsubsection{Topicfour} % number = 2, wrong \subsection{Twotwo} % number = 2.2, now OK \subsubsection{Topicfive} % number = 3, wrong So the numbering of \subsubsection{Topicthree} is reset by \section{Two}, irrespective of the latter's resetnumber option. Here are examples of what I'd really like (here § indicates a topic, the actual section-level names (like chapter etc.) are not important): I. ... Chapter § 1 ... 1 ... Section § 2 ... Topic in section 1.1 ... Subsection § 3 ... Topic in subsection § 4 ... 1.2 ... § 5 ... 2 ... § 6 ... § 7 ... 2.1 ... § 8 ... II. ... § 9 ... Topic in chapter 1 ... § 10 ... § 11 ... 1.1 ... § 12 ... Of course, referencing, entry in TOC, index etc. should be correct. It would be even more preferable if one could attach the topic numbering to a specified level. If the topic were attached to chapters then the above example would become: I. ... Chapter § 1 ... Topic in chapter 1 ... Section § 2 ... Topic in section 1.1 ... Subsection § 3 ... Topic in subsection § 4 ... 1.2 ... § 5 ... 2 ... § 6 ... § 7 ... 2.1 ... § 8 ... II. ... § 1 ... First topic in second chapter 1 ... § 2 § 3 1.1 ... § 4 ... One could summarize it this way: §'s are conceptually the lowest level of subsections, their number is reset by a subsection of some higher level (or never). In LaTeX one can get this kind of behaviour because the numbering is controlled by counters. The increment of one counter may be used to reset another counter independent of the actual section level they are used for. Bye Thank you all Ulf ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] continuous numbering of subsection
Dear ConTeXt Experts I am still sometimes confused about how to set up simple things... I want to have a subsection level head type (topic) with a numbering that runs undependently from the section numbering, like so: 1. First Topic ... I. Section One ... 2. Second Topic ... 3. Third Topic ... 4. Fourth Topic ... II. Section Two 5. Fifth Topic ... 6. Sixth Topic ... III. Section Three ... And so on. ConTeXtgarden, the manual, etc. show in great detail how to set up the /appearence/ of head parts (incl. numbercommand), but I cannot find an explanation of the handling of the LaTeX equivalent to counters (their definition, incrementing, resetting, etc.). The explanation of \setupheadnumber in the manual (p. 172) is quite obscure to me -- how do I specify that I do not want higher levels of head to reset my numbering? Thank you! Ulf Martin ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] continuous numbering of subsection
Hi Hans Hagen schrieb: \setuphead [chapter][resetnumber=no] \setupsection[section][previousnumber=no] Ok, I undestand. I apologise that my example was too short. I'd like to have things more flexible: If an arbitrary and irregular number of levels is introduced (sections, subsections, etc., numbered hierarchically as usual), the topic numbering should remain continuous and unaffected (that's why I thought, a separate definition, as in \definehead[topic][...], would be appropriate). Conceptually, though, topic is a section-like subdivision, so, for example, should appear in the TOC. This is typical e.g. in (German) law texts (here with § as a topic marker but this is not the point), Example: I. ... Chapter § 1 ... 1 ... Section § 2 ... Topic in section 1.1 ... Subsection § 3 ... Topic in subsection § 4 ... 1.2 ... § 5 ... 2 ... § 6 ... § 7 ... 2.1 ... § 8 ... II. ... § 9 ... Topic in chapter 1 ... § 10 ... § 11 ... 1.1 ... § 12 ... Of course, referencing, entry in TOC, index etc. should be correct. It would be even more preferable if one could attach the topic numbering to a specified level, say, chapters. The above example then would become: I. ... Chapter § 1 ... Topic in chapter 1 ... Section § 2 ... Topic in section 1.1 ... Subsection § 3 ... Topic in subsection § 4 ... 1.2 ... § 5 ... 2 ... § 6 ... § 7 ... 2.1 ... § 8 ... II. ... § 1 ... First topic in second chapter 1 ... § 2 § 3 1.1 ... § 4 ... Thank you sorry for the incomplete first question! Ulf ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] bib module beta test
Hi, I'd like to try the new bib module, but -- how to install ConTeXt modules? Taco Hoekwater schrieb: Some of you may have missed this, but I have posted a beta of the bibliographic module on http://modules.contextgarden.net/bib From the zip file I guess that I have to distribute the files into appropriate directories of my TeX distro. Is there a script for this? Maybe some fancy texexec something? There does not seem to be an explanation of this in http://modules.contextgarden.net/ or anywhere else in contextgarden. Up to now I only used i-install'd stuff. Is there an eqivalent to LaTeX packages? Thanks Cheers Ulf ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] bib amd mods
Hi! Hans Hagen schrieb: - support for http://www.loc.gov/standards/mods/ as basic bibl format - provide converters from marcs and bibtex to mods - layer the bib module on top of that There was a (short) discussion on about this under the thread croffref in bibtex 2006-03-23 seq, see esp. Bruce d'Arcus' contribution http://www.ntg.nl/pipermail/ntg-context/2006/017019.html Pro + having a standard bib format for ConTeXt + MODS is a standard format for bibliographers + it is XML-based + BibTeX conversion already exists (at least on Unix) via bibutils: http://www.scripps.edu/~cdputnam/software/bibutils/bibutils2.html Con - it seems the MODS is quite complex (= a lot of work) See also Bruce's comment. IMHO Bruce's own RDF-based approach looks rather promising, too, see http://xbiblio.sourceforge.net/csl/ Perhaps one should contact him to check the projects progess My thoughts. Cheers Ulf ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] bib amd mods
Hi again folks, IMHO a good, flexible bibliographic format that plays well with the other strength of ConTeXt (e.g. XML support) could be sort a killer feature... Bruce D'Arcus schrieb: The big question becomes, if not MODS, then what? As Ulf pointed out, my solution -- and the one I will be advocating for OpenDoucment (I am on the TC) -- is to use a particular RDF serialization. Indeed, I have a draft RELAX NG schema for it, and my formatting system (citeproc) now works with it quite well. ... I can certainly help with advice and design, particularly if you want to use CSL to configure the output. I've made some changes to it (again) recently, but think I'm zeroing in on freezing it. The more feedback I get, the easier it'll be to do that. I think the crucial point for any TeX community is the ability to use the rather huge amount of BibTeX legacy DBs. How about the state of CSL (or RDF) to BibTeX converters? bibutils uses MODS as its native intermediate format and converts from and to BibTeX (not always 100% correct, though). Summary --- So, at present we already have: (1) MODS -(bibutils)- BibTeX -(bibmod)- ConTeXt For an XML-based format in a ConTeXt context we would like to have: (2) BibTeX -(a)- XML -(b)- ConTeXt using the rather nice XML processing capabilities of ConTeXt for step (b). Now, there is an XML markup for BibTeX: BibTeXML http://bibtexml.sourceforge.net/ This isn't too bad, in my experience (it is, at least, lossless, contrary to bibutils). Thus (3) BibTeX -(bibtexml)- BibTeXML -(b')- ConTeXt would be an instance of (2). CSL could use XSL transformer: (4) BibTeXML -(XSLT)- CSL -(b)- ConTeXt Bye Ulf ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] font oddities on mac with i-installer
Hi! New day, new try (see below the quotation)... Hans Hagen schrieb: Ulf Martin wrote: Now I have problems with the default fonts. That is, when trying to use good old Computer Modern fonts (which are the default but called Latin Modern, or?) then umlauts, bold face etc. don't work. Also, when MetaFont renders math symbols they become pixelized and don't scale. [...] Warning: pdfetex (file /usr/local/teTeX/share/texmf.local/fonts/map/ dvipdfm/context/original-public-lm.map): invalid entry for `cmex8': font file missing hm, this is due to the fact that context finds the dvipdfmx map files first [maybe it's time to get rid of map files altogether and switch to maplines]; either delete the files from the dvipdfmx pathm, or adapt yout texmf.cnf file this is what it should be TEXFONTMAPS.dvipdfm = .;$TEXMF/fonts/map/{dvipdfm,dvips,}// TEXFONTMAPS.dvipdfmx = .;$TEXMF/fonts/map/{dvipdfm,dvips,}// TEXFONTMAPS.pdftex = .;$TEXMF/fonts/map/{pdftex,dvips,}// TEXFONTMAPS.pdfetex = .;$TEXMF/fonts/map/{pdftex,dvips,}// TEXFONTMAPS.xetex= .;$TEXMF/fonts/map/{xetex,pdftex,dvips,}// TEXFONTMAPS.dvips= .;$TEXMF/fonts/map/{dvips,pdftex,}// TEXFONTMAPS = .;$TEXMF/fonts/map/{$progname,pdftex,dvips,}//;$TEXMF/{$progname,pdftex,dvips}/{config,}// but i'm not so sure if tetex does it this way I checeked the installation. There are the following tefmf.cnf-look-alikes: UMac:~ uma$ locate texmf.cnf /usr/local/teTeX/share/texmf/web2c/texmf.cnf /usr/local/teTeX/share/texmf.gwtex/texmf.cnf.gwtex.tl2003 /usr/local/teTeX/share/texmf.gwtex/texmf.cnf.gwtex.tl2004 /usr/local/teTeX/texmf.cnf /usr/local/teTeX/texmf.cnf.20060218134902 None of them contains any of the above-mentioned TEXFONTMAPS definitions. Which one would be correct to put them in? Or should I create another texmf.cnf in the home dir? Maybe (i-installed?) tetex works differently? Thank you all for the replies for now already! -- Ulf Martin ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] xetex with i-installed tetex stymied
Hi all! When trying out XeTeX following http://wiki.contextgarden.net/XeTeX I got this (I have a full teTeX installation + ConTeXt, etc. with i-installer on a Mac OS X 10.3.9 is from yesterday.): -- Command with output -- UMac:~/Projekte/ConTeXt/ uma$ texexec --xtx main.tex TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 fixing engine variable : xetex executable : xetex format : cont-en inputfile : main output : xetex interface : en current mode : none TeX run : 1 This is XeTeX, Version 3.141592-2.2-0.99b (Web2C 7.5.3) (WARNING: translate-file natural.tcx ignored) ---! /usr/local/teTeX/share/texmf.local/web2c/cont-en.fmt was written by pdfetex (Fatal format file error; I'm stymied) return code : 256 run time : 1 seconds total run time : 4 seconds warning : use 'texmfstart texexec' instead -- Running XeTeX on the input file in TeXShop yields: -- This is XeTeX, Version 3.141592-2.2-0.99b (Web2C 7.5.3) kpathsea: Running mktexfmt xetex.fmt fmtutil: no info for format `xetex'. I can't find the format file `xetex.fmt'! -- The input file was: -- \enableregime[utf] \mainlanguage[en] \starttext \title{The Main Title} Bla, {\bf bla}, blah!\footnote[fn01]{\language[de] Beispielfußnote} And some formula: $$ \int^\infty_0 e^{-x^2} dx.$$ \stoptext -- End -- Hope somebody has any idea on this. Bye and thanks to all for help! -- Ulf Martin ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] texmfstart with i-installed tetex
Hi I am putting this under a new subject to distangle presumably distinct issues. Hans van der Meer schrieb: Additionally, there is a mysterious line in the end: warning : use 'texmfstart texexec' instead Now, when I do UMac:~/Projekte/ConTeXt/uma$ texmfstart texexec --pdf main I get a -bash: texmfstart: command not found Any ideas? What I did was: 1. adding some aliases to the file .bashrc: alias texmfstart=texmfstart.rb alias texversion='texmfstart texexec --version' etc., the first one being the important one. 2. ensuring that the scripts are executable with: cd .../texmf-local-/context/ruby (sudo) chmod -R a+x *.rb execute this in terminal as a user with administrator priveliges. Hope this will help you on the way. Well sort of. I tried your way and got texmfstart.rb not found So it doen't seem to be on the path. Now if I call the ruby script directly, it bails out somewhere in the middle: UMac:~/Projekte/ConTeXt/ uma$ /usr/local/teTeX/share/texmf.local/scripts/context/ruby/texmfstart.rb texexec --pdf main /usr/local/teTeX/share/texmf.local/scripts/context/ruby/texmfstart.rb:977: nested method definition def the_same(filter,filename) ^ /usr/local/teTeX/share/texmf.local/scripts/context/ruby/texmfstart.rb:981: nested method definition def the_same(filter,filename) ^ (N.B. I have a yesterday i-installed full teTeX + ConTeXt + LaTeX + ... on a Mac OS X 10.3.9.) Bye Thanks you for the help! -- Ulf Martin ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] font oddities on mac with i-installer
Hi all! After having fallen back to LaTeX some time ago I thought I should give ConTeXt another try again. But... I just today updated my *entire* TeX installation (teTeX, ConTeXt, LaTeX, etc.) on a Mac OS X 10.3.9 using i-installer. So, I should have a state of the art installation. Now I have problems with the default fonts. That is, when trying to use good old Computer Modern fonts (which are the default but called Latin Modern, or?) then umlauts, bold face etc. don't work. Also, when MetaFont renders math symbols they become pixelized and don't scale. Probably this is not surprising, since I get a lot of lines like this (the full texexec output is at the end of this mail): Warning: pdfetex (file /usr/local/teTeX/share/texmf.local/fonts/map/ dvipdfm/context/original-public-lm.map): invalid entry for `cmex8': font file missing Additionally, there is a mysterious line in the end: warning : use 'texmfstart texexec' instead Now, when I do UMac:~/Projekte/ConTeXt/uma$ texmfstart texexec --pdf main I get a -bash: texmfstart: command not found Any ideas? I saw in the list that this kind of error seems to occur time after time with installations on various systems. I tired some if the proposed solutions but none of them seem to work (I might have overlooked others, though). My understanding is that it has something to do with the LM fonts but I don't understand that -- I never needed to dig into TeX font handling that deep... (LaTeX seems to run as smoothly as ever after the update). Thanks and Cheers! Ulf Martin. Source code (main.tex): --- \enableregime[utf] \mainlanguage[en] % I played around with these ones -- no difference: % This is from contextgarden % qv. http://wiki.contextgarden.net/Encodings_and_Regimes#Typesetting_in_UTF-8 %\usetypescript[modern][ec] %\setupbodyfont[10pt,rm] % This is from a posting of Taco % qv. http://www.ntg.nl/pipermail/ntg-context/2006/015889.html %\usetypescript[postscript][\defaultencoding] %\setupbodyfont[postscript,12pt] % Iterestingly, % Caris SIL *does* work % (and looks very nice, except for the math stuff!) % qv. http://www.ntg.nl/pipermail/ntg-context/2006/017095.html % (But for math stuff I prefer CM) %\usetypescriptfile[type-silcharis] %\usetypescript[SilCharis][ec] %\setupbodyfont[SilCharis,12pt] \starttext \title{The Main Title} Bla, {\bf bla}, blah!\footnote[fn01]{\language[de] Beispielfußnote} And some formula: $$ \int^\infty_0 e^{-x^2} dx.$$ \stoptext Command and output: --- UMac:~/Projekte/ConTeXt/uma$ texexec --pdf main TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 fixing engine variable : pdfetex executable : pdfetex format : cont-en inputfile : main output : pdftex interface : en current mode : none TeX run : 1 This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5) (/usr/local/teTeX/share/texmf.local/web2c/natural.tcx) entering extended mode (./main.tex ConTeXt ver: 2006.05.23 16:32 fmt: 2006.5.28 int: english mes: english language: language en is active protectionstate 0 system : cont-new loaded (/usr/local/teTeX/share/texmf.local/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex color : palette rollover is available ) system : cont-old loaded (/usr/local/teTeX/share/texmf.local/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/usr/local/teTeX/share/texmf.local/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys.rme loaded (/usr/local/teTeX/share/texmf.local/tex/context/user/cont-sys.rme (/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-siz.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-map.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-spe.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex)) bodyfont: 12pt rm is loaded language: patterns en-ec:ec-1-2:3 uk-ec:ec-2-2:3 de-texnansi:tex nansi-3-2:3 de-ec:ec-4-2:3 fr-texnansi:texnansi-5-2:3 fr-ec:ec-6-2:3 es-ec:ec-7-2:3 pt-texnansi:texnansi-8-2:3 pt-ec:ec-9-2:3 it-texnansi :texnansi-10-2:3 it-ec:ec-11-2:3 nl-texnansi:texnansi-12-2:3 nl-ec:ec- 13-2:3 cz-il2:il2-14-2:3 cz-ec:ec-15-2:3 sk-il2:il2-16-2:3 sk-ec:ec -17-2:3 pl-pl0:pl0-18-2:3 pl-ec:ec-19-2:3 pl-qx:qx-20-2:3 loaded specials: tex,postscript,rokicki loaded system : main.top loaded (./main.top specials: loading definition file tpd (/usr/local/teTeX/share/texmf.local/tex/context/base/spec-tpd.tex specials: loading definition file fdf (/usr
[NTG-context] crossref in bibtex
Dear ConText Users Being an age-old LaTeX user I thought I should give ConText a try. But then I stumbled over the first problem when trying to use BibTeX: Crossrefs don't seem to work properly. - the work that uses a crossref is listed incompletely in the publication list - the crossref'd work itself isn't included at all. I haven't found a solution on the web. * * * Details. I have a source file (cut for the relevant parts): -- start of content.tex -- \environment mainsetup \version[concept] \starttext Es wird eine \quotation{Übersichtliche Darstellung} angestrebt (vgl. \cite[wittgenstein-1997-philosophische-untersuchungen]\ §~132, S.~304f.). \completepublications \stoptext -- end of content.tex -- The setup file is in the directory above (for use in multiple docs, as suggested in the ConText documentation): -- start of mainsetup.tex -- \enableregime[utf] \usemodule[bib] \setuppublications[alternative=aps] \setuppublications[sorttype=bbl] \setupbibtex [database={~/Textsammlung/Central}, sort=author] \setupheadtext[de][pubs=Literatur] \startenvironment mainsetup \setupbodyfont[11pt] \mainlanguage[de] \stopenvironment -- end of mainsetup.tex -- The relevant part of the Central.bib is this (in this order, BibTeX expexts uses of crossrefs to appear before the resp. crossref'd entry): -- start of Central.bib -- @STRING{cy-fm = Frankfurt (Main)} @STRING{pb-skp = Suhrkamp} @STRING{wittgenstein = Wittgenstein, Ludwig} @incollection{wittgenstein-1997-philosophische-untersuchungen, Crossref ={wittgenstein-1984-werkausgabe}, Edition = 11, Note ={Text neu durchgesehen von Joachim Schulte}, Pages ={225-580}, Title = {Philosophische Untersuchungen}, Volume = 1, Year =1997 } @book{wittgenstein-1984-werkausgabe, Address = cy-fm, Author = wittgenstein, Booktitle = {Werkausgabe}, Isbn =3518099884, Publisher = pb-skp, Title = {Werkausgabe}, Year =1984 } -- end of Central.bib -- The PDF output file after % texexec --pdf content % bibtext content % texexec --pdf content yields something like (characters may be distrupted due to conversion from UTF-8): -- start of content.pdf rendered as plain text -- Es wird eine Übersichtliche Darstellung der relevanten Begriffe angestrebt (vgl. [1] § 132, S. 304f.). Literatur 1 L. WittgensteinIn [??], p. 225-580. Text neu durchgesehen von Joachim Schulte. -- end of context.pdf -- A hint to the solution for an expert could be the bbl file. Note that the order of the entries is turned around: -- start of content.bbl -- \startpublication[k=wittgenstein-1984-werkausgabe,t=book, a={Wittgenstein},y=1984, n=141,s=Wit84] \author[]{Ludwig}[L.]{}{Wittgenstein} \pubyear{1984} \title{Werkausgabe} \isbn{3518099884} \city{Frankfurt (Main)} \pubname{Suhrkamp} \stoppublication \startpublication[k=wittgenstein-1997-philosophische-untersuchungen,t=incollec% tion, a={Wittgenstein},y=1997, n=140,s=Wit97] \artauthor[]{Ludwig}[L.]{}{Wittgenstein} \pubyear{1997} \arttitle{Philosophische untersuchungen} \crossref{wittgenstein-1984-werkausgabe} \pages{225-580} \pages{225-580} \pubname{Suhrkamp} \note{Text neu durchgesehen von Joachim Schulte} \stoppublication -- end of content.bbl -- So: - The reference as such is found correctly. - The entry in the References has note and pages but not title, edition and volume, and year. - The crossreference is not properly processed. (and, actually, multiple pages should produce pp. not p.) It should be something like 1 L. Wittgenstein (1984) Werkausgabe. Frankfurt (Main): Suhrkamp. 2 L. Wittgenstein (1997) Philosophische Untersuchungen. In [1], Bd. 1, S. 225-580. Text neu durchgesehen von Joachim Schulte. (If ordered by author first, then year. Note also that in \language[de] vol. should be Bd. and p. be S..) Coding for all files is UTF-8, things works as it they should in LaTeX. Any ideas of what to do or hints where to find more info? * * * Additional question: what is the best way to generate the bbl file in the project directory? (I use Central.bib for all my documents). Using % texexec mainsetup in the projects directory produces many unnecessary files (e.g. a dvi file) as it is only meant as a setup file. * * * I general, I like ConText. Strangely, it plays well with my mindset, as does the whole layout orientation with my taste. However, proper bibliography processing is a killer feature for me -- I have virtually no document whithout references. (I wonder, what the direction of the ConText development here is; arguably, odd old BibTeX has reached an end of its history and support for more modern and complete, e.g. XML-based formats would be preferable (say, MODS) -- considering the seeminly nice XML support that is already there.) Cheers Thanks in advance! Ulf Martin ___ ntg-context mailing list ntg-context@ntg.nl