From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/1250 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Table of contents, loading figures, printing to pages A5 on a A4 singlesided Date: Mon, 15 Nov 1999 18:23:57 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.19991115182357.00e6fa20@pop.wxs.nl> References: <003401bf2f82$a71cce00$0100a8c0@xs4all.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035392081 31127 80.91.224.250 (23 Oct 2002 16:54:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:54:41 +0000 (UTC) Cc: "ntg-context" Original-To: "Egger" In-Reply-To: <003401bf2f82$a71cce00$0100a8c0@xs4all.nl> Xref: main.gmane.org gmane.comp.tex.context:1250 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:1250 At 12:31 PM 11/15/99 +0100, Egger wrote: >\definelist[chapter] Dangerous! It is already defined. Just stick to \setup here. > \setuplist > [chapter] > [before=\blank, > after=\blank, > style=bold, > alternative=b] > >\definelist[section] >\setuplist > [section] > [alternative=b] > >\definecombinedlist > [verzeichnis] > [chapter,section] > [level=subsection] >\setupcombinedlist > [verzeichnis] > [alternative=b, > width=.1\textwidth] > >\starttext > >\startfrontmatter >\completeverzeichnis >\stopfrontmatter > >\input foo.tex > >\stoptext > >What is the reason for this malbehaviour? Lists are local by default, so here you need to say: \setupcombinedlist[verzeichnis][criterium=all] otherwise you get a list of the entries in the frontmatter, which does not have any chapters in your case. >2. Problem with figures > >In my document I got several pictures (jpg-files) to be typeset. >I use the following coding: > >In the masterfile: > >\define[3]\putfigure > {\placefigure > [here,left] % location > [fig:#1] % reference > {#2} % caption > {\externalfigure[#3]} % reference to useexternalfigure > } > >In the input document: > >\useexternalfigure > [example1] > [picture-a] > [width=.4\textwidth] > >\putfigure{example}{This is example A}{example1} >I thought that Context would support the fileformat jpg? - How to solve >this? Only when using pdftex. If you say: \traceexternalfigure You can try to track down the problem. Normally figure inclusion works ok, so I suppose someother problem is there. Be aware of the fact that context searches the local path and globally defined paths. Not the texinputs path! >\setuppapersize[A5][A4,rotated] >\setuparranging[2*2,rotated] I'll look into that one later. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl -----------------------------------------------------------------