From: Hans Hagen <pragma@wxs.nl>
Cc: "ntg-context" <ntg-context@let.uu.nl>
Subject: Re: Table of contents, loading figures, printing to pages A5 on a A4 singlesided
Date: Mon, 15 Nov 1999 18:23:57 +0100 [thread overview]
Message-ID: <3.0.6.32.19991115182357.00e6fa20@pop.wxs.nl> (raw)
In-Reply-To: <003401bf2f82$a71cce00$0100a8c0@xs4all.nl>
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
-----------------------------------------------------------------
next prev parent reply other threads:[~1999-11-15 17:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-11-15 11:31 Egger
1999-11-15 17:23 ` Hans Hagen [this message]
1999-11-15 22:16 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3.0.6.32.19991115182357.00e6fa20@pop.wxs.nl \
--to=pragma@wxs.nl \
--cc=ntg-context@let.uu.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).