ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \setupheads bug?
@ 2003-04-09 12:44 Slawek Zak
  2003-04-09 13:39 ` Patrick Gundlach
  0 siblings, 1 reply; 4+ messages in thread
From: Slawek Zak @ 2003-04-09 12:44 UTC (permalink / raw)


The command= option for \setupheads doesn't seem to work. Check the
following document with the latest beta:

\setupheads[command=\hcmd]

\def\hcmd#1#2{#1 -- #2}

\starttext
\chapter{Chap 1}
\stoptext

A bug or I don't use it properly?

/S

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: \setupheads bug?
  2003-04-09 12:44 \setupheads bug? Slawek Zak
@ 2003-04-09 13:39 ` Patrick Gundlach
  2003-04-10  9:56   ` Slawek Zak
  0 siblings, 1 reply; 4+ messages in thread
From: Patrick Gundlach @ 2003-04-09 13:39 UTC (permalink / raw)


Slawek Zak <zaks@prioris.mini.pw.edu.pl> writes:

Hello Slawek,

> The command= option for \setupheads doesn't seem to work. Check the
> following document with the latest beta:

it works fine here. 

ConTeXt  ver: 2003.3.17  fmt: 2003.3.18  int: english  mes: english

> A bug or I don't use it properly?

do you get an error or just some strange behaviour?



Patrick

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Re: \setupheads bug?
  2003-04-09 13:39 ` Patrick Gundlach
@ 2003-04-10  9:56   ` Slawek Zak
  2003-04-10 11:19     ` Patrick Gundlach
  0 siblings, 1 reply; 4+ messages in thread
From: Slawek Zak @ 2003-04-10  9:56 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 610 bytes --]

On Wed, Apr 09, 2003 at 03:39:07PM +0200, Patrick Gundlach wrote:
> Slawek Zak <zaks@prioris.mini.pw.edu.pl> writes:
> 
> Hello Slawek,
> 
> > The command= option for \setupheads doesn't seem to work. Check the
> > following document with the latest beta:
> 
> it works fine here. 
> 
> ConTeXt  ver: 2003.3.17  fmt: 2003.3.18  int: english  mes: english
> 
> > A bug or I don't use it properly?
> 
> do you get an error or just some strange behaviour?

It seems to work ok, but I don't see the -- in the chapter title, as
if the command= was ignored by ConTeXt. I attach the output of texexec
--pdf q.tex

/S

[-- Attachment #2: q.log --]
[-- Type: text/plain, Size: 2510 bytes --]

This is pdfeTeX, Version 3.14159-1.00b-pretest-20020211-2.1 (Web2C 7.3.7x) (format=cont-en 2003.4.10)  10 APR 2003 11:52
entering extended mode
**&cont-en q.tex
(./q.tex{/usr/TeX/texmf-var/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2003.3.17  fmt: 2003.4.10  int: english  mes: english

language       : language en is active
<protectionstate 0>
system         : cont-new loaded
(/usr/TeX/texmf-local/tex/context/base/cont-new.tex
systems        : beware: some patches loaded from cont-new.tex!
)
system         : cont-old loaded
(/usr/TeX/texmf-local/tex/context/base/cont-old.tex
loading        : Context Old Macros
)
system         : cont-fil loaded
(/usr/TeX/texmf-local/tex/context/base/cont-fil.tex
loading        : Context File Synonyms
)
bodyfont       : 12pt rm is loaded
language       : patterns 2:2-pl-2 3:2-en-2 loaded
specials       : tex,postscript,rokicki loaded
\openout2 = `q.tui'.

system         : q.top loaded
(./q.top
specials       : loading definition file tpd
(/usr/TeX/texmf-local/tex/context/base/spec-tpd.tex
specials       : loading definition file fdf
(/usr/TeX/texmf-local/tex/context/base/spec-fdf.tex <unprotect 3>
<unprotect 4>
system (E-TEX) : [line 1815] \ifcsname 
<unprotect 5> <protect 5> <protect 4> <protect 3>)
specials       : fdf loaded
<unprotect 3> <protect 3>)
specials       : fdf,tpd loaded
)
\openout0 = `mpgraph.mp'.

\openout0 = `mprun.mp'.

\openout0 = `mpgraph.mp'.

\openout0 = `mprun.mp'.


pdftex         : needs map file: original-context-symbol.map
pdftex         : needs map file: pl0-ams-cmr.map
pdftex         : needs map file: original-vogel-symbol.map
(./q.tuo) (./q.tuo) (./q.tuo) (./q.tuo) (./q.tuo) (./q.tuo) (./q.tuo) (./q.tuo)
(./q.tuo) (./q.tuo) (./q.tuo) (./q.tuo) (./q.tuo) (./q.tuo)
systems        : begin file q at line 5
chapter        : 1 Chap 1
[1.1{/usr/TeX/texmf-var/dvips/config/pdftex.map}]
systems        : end file q at line 7
 ) 
Here is how much of TeX's memory you used:
 767 strings out of 33436
 11503 string characters out of 749929
 4407303 words of memory out of 5520246
 30718 multiletter control sequences out of 10000+50000
 10582 words of font info for 35 fonts, out of 500000 for 1000
 34 hyphenation exceptions out of 1000
 45i,16n,49p,190b,324s stack positions out of 5000i,500n,5000p,200000b,40000s
 7 PDF objects out of 300000
 0 named destinations out of 131072
 0 words of extra memory for PDF output out of 65536
</usr/TeX/texmf/fonts/type1/bluesky/cm/cmr12.pfb>
Output written on q.pdf (1 page, 4186 bytes).

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: \setupheads bug?
  2003-04-10  9:56   ` Slawek Zak
@ 2003-04-10 11:19     ` Patrick Gundlach
  0 siblings, 0 replies; 4+ messages in thread
From: Patrick Gundlach @ 2003-04-10 11:19 UTC (permalink / raw)


Slawek Zak <zaks@prioris.mini.pw.edu.pl> writes:

Hi,

> It seems to work ok, but I don't see the -- in the chapter title, as
> if the command= was ignored by ConTeXt. I attach the output of texexec
> --pdf q.tex

Oh, I should have seen this before. This looks very much like a bug
to me.

BTW: the indentnext=.. has no effect here. Shouldn't it indent the
text after the head?

PAT

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-04-10 11:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-09 12:44 \setupheads bug? Slawek Zak
2003-04-09 13:39 ` Patrick Gundlach
2003-04-10  9:56   ` Slawek Zak
2003-04-10 11:19     ` Patrick Gundlach

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).