st > collecting entries using method 'global' and sort
order 'default'
pages > flushing realpage 296, userpage 294, subpage 296
structures > bookmark: Índex alfabètic
structure > sectioning > chapter @ level 2 : 0.2 -> \headtext {index}
pages >
'global' and sort
order 'default'
pages > flushing realpage 296, userpage 294, subpage 296
structures > bookmark: Índex alfabètic
structure > sectioning > chapter @ level 2 : 0.2 -> \headtext {index}
pages > flushing realpage 297, userpage 29
tle @ level 2 : 0.0 -> \xmlflush {main::35}
pages > flushing realpage 7, userpage 7, subpage 7
pages > flushing realpage 8, userpage 8, subpage 8
structures > end of sectionblock 'whatcomesfirst'
structures > begin of sectionblock 'whatcomesfirst'
s
=off,topframe=off,align=middle]
{\vbox{\headtext{chapter}
\underbar{#1}\crlf\blackrule[height=.1\exheight]\crlf#2}}}
\setuphead[chapter][
header=empty,
alternative=middle,
style={\ssb},
number=yes,
command=\MyChapterCommand,
after={\blank[big]},
]
\setuplabeltext
]\MyChapterCommand%
{\framed[frame=on,bottomframe=on,leftframe=off,rightframe=off,topframe=off,align=middle]
{\vbox{\headtext{chapter} #1\blank#2}}}
I'll add this:
\def\verbosenumberconnector{--}
so you can define your own connectors. This is not interfaced via
setuphead or setuplangauge
=off,align=middle]
{\vbox{\headtext{chapter} #1\blank#2}}}
I'll add this:
\def\verbosenumberconnector{--}
so you can define your own connectors. This is not interfaced via
setuphead or setuplangauge or because the converter is not configured
that way (maybe some day but I need
it to give me 'Twenty-one'? (note the hyphen and
the lower case for 'one').
I don't think MyChapterCommand is relevant here, but just in case, this
is it:
\define[2]\MyChapterCommand%
{\framed[frame=on,bottomframe=on,leftframe=off,rightframe=off,topframe=off,align=middle]
{\vbox{\headtext
uments/work/Kannada-manual-compile-klad/indexpablo.tex'
fonts > preloading latin modern fonts (second stage)
fonts > 'fallback modern-designsize rm 12pt' is loaded
structure > sectioning > chapter @ level 2 : 0.1 -> \headtext {index}
tex error > tex error on
t; using file
'/opt/context_new/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
pages > flushing realpage 1, userpage 1, subpage 1
open source > level 5, order 23, name '../setup_copyright.tex'
close source > level 5, order 23, name '../setup_copyright.tex'
pages > flushing real
realpage 1, userpage 1, subpage 1
open source > level 5, order 23, name '../setup_copyright.tex'
close source> level 5, order 23, name '../setup_copyright.tex'
pages > flushing realpage 2, userpage 1
close source> level 4, order 23, name 'title.tex'
structure >
iography as
> > well.
> > Below a minimal example, that reproduces it:
> > ```
> > \setupinteraction[state=start]
> >
> > \define[2]\MyChapter{\framed[frame=off,bottomframe=on,topframe=on]
> > {\vbox{\headtext{chapter} #1\blank#2}}}
> >
>
\setupinteraction[state=start]
>
> \define[2]\MyChapter{\framed[frame=off,bottomframe=on,topframe=on]
> {\vbox{\headtext{chapter} #1\blank#2}}}
>
> \setuphead[chapter][command=\MyChapter, style={\switchtobodyfont[24pt,ss]},
> header=empty, page=mychapterpagebreak]
>
[frame=off,bottomframe=on,topframe=on]
{\vbox{\headtext{chapter} #1\blank#2}}}
\setuphead[chapter][command=\MyChapter, style={\switchtobodyfont[24pt,ss]},
header=empty, page=mychapterpagebreak]
\setupheadtext[chapter=Chapter, content=Table of Contents]
\starttext
\completecontent
\page[yes
Hello.
I use \vbox to separate headtext from text in chapter header by new line.
\define[2]\MyChapterCommand{\vbox{\centeraligned{\headtext{chapter} #1.\\#2}}}
\define[1]\DotAfterNumber{\doiftext{#1}{#1.}}
\setuphead[chapter][command=\MyChapterCommand]
\setuphead[title][numbercommand
Hello.
I use \vbox to separate headtext from text in chapter header by new line.
\define[2]\MyChapterCommand{\vbox{\centeraligned{\headtext{chapter} #1.\\#2}}}
\define[1]\DotAfterNumber{\doiftext{#1}{#1.}}
\setuphead[chapter][command=\MyChapterCommand]
\setuphead[title][numbercommand
shows the text which is set with
\setupheadtext[][content=...]
\completecontent
% Variant 2, you can set your own text for the bookmark
% \starttitle[title=\headtext{content},reference=content,bookmark=Table
of content]
% \placecontent
% \stoptitle
\dorecurse{10}{\expanded{\chapter{Chapter \recurs
in the bookmarks using
> mkiv?
>
>
> \setupinteraction[state=start]
>
> \placebookmarks[title,chapter][force=yes]
>
> \starttext
>
> % Variant 1, shows the text which is set with
> \setupheadtext[][content=...]
> \completecontent
>
> % Variant 2, you can se
eltext[en][notes={Notes}]
\setuplabeltext[es][notes={Notas}]
etc.
Why don’t you use \headtext?
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@
er {...} \stopmode
etc could be written using \labeltext. For example:
\chapter{\labeltext{notes}]
\setuplabeltext[en][notes={Notes}]
\setuplabeltext[es][notes={Notas}]
etc.
Why don’t you use \headtext?
Because I did not know about it :-)
Aditya_
instead of \mbox.
2. To create a language dependant header for the TOC etc. you can use
the \headtext command, e.g.
\title{\headtext{content}}
\placelist[part,chapter]
3. Be careful when you use _ in command names, e.g. \TOC_Title because
it your case you created the command \TOC
this when you replace \GotoPar with
a different mechanism.
begin example
\showgrid
\definelist[chaptertext][style=\itx]
\define[1]\ChapterAbstract{\doflushatpar{\writetolist[chaptertext]{}{#1}}}
\starttext
\title{\headtext{content}}
\placelist[chapter,chaptertext]
\chapter{Knuth
\define[1]\MyIntroCommand%
{\framed[frame=off,offset=none,frameoffset=0pt]
{\vbox{\blank[4cm]\Word{#1
\define[2]\MyChapterCommand%
{\framed[frame=off,offset=none,frameoffset=0pt]
{\vbox{\blank[4cm]{\small \headtext{chapter}
#1}\blank\unhyphenated{#2
\define[1]\MyAppendixCommand
for your document.
I think this should be your improved sample:
\define[1]\MyContentCommand%
{\framed[frame=on,offset=none,frameoffset=0pt]
{\vbox{\blank[1cm]\Word{#1
\define[2]\MyChapterCommand%
{\framed[frame=on,offset=none,frameoffset=0pt]
{\vbox{\blank[4cm]{\small \headtext
=off,offset=none,frameoffset=0pt]
{\vbox{\blank[4cm]{\small \headtext{chapter}
#1}\blank\unhyphenated{#2
Can anyone advise?
Thanks,
Rob
___
If your question is of interest to others as well, please add
\expanded{\section{My Tufte \recurselevel}}
\input tufte
}
\completeindex
%\placeindex
\stoptext
---
Without the setup [align=yes] I get a different error, but no crash of the
binary:
structuresectioning chapter @ level 2 : 0.21 - \headtext {index}
! Attempt to double-free glue_spec
{\listparameter{width}}{flushright}}
]
\starttext
\completecontent
\chapter{Foo}
\chapter{Bar}
\stoptext
Whereas this works for basic test cases, in my document it ends with an
error:
structuresectioning title @ level 2 : 0.0 - \headtext
{content}
! Argument of \147flushright
\completecontent
\chapter{Foo}
\chapter{Bar}
\stoptext
Whereas this works for basic test cases, in my document it ends with an error:
structuresectioning title @ level 2 : 0.0 - \headtext {content}
! Argument of \147flushright has an extra }.
How can I decode this message and fix
sense at all esp in
automated document processing)
That is a much more flexible solution than only providing a mechanism to
get the first character.
in this case #1 == \headtext{#1} so you cannot easily do such things
without know what you deal
this heading type isn’t sufficient you can use \title
(or any other heading) in combination with \place…, the disadvantage
of this method is that you loose the multilingual labels (not really
a problem) but you can access the texts with \headtext{…},
e.g. \headtext{content} or \headtext{index}
2. I'd
is that you loose the multilingual labels (not really
a problem) but you can access the texts with \headtext{…},
e.g. \headtext{content} or \headtext{index}
By multilingual labels, you mean the texts like Index, Contents
etc., right?
2. I'd like my register not to have the headers with subsequent
to change the style of all title-headings you can create
your heading with a different style, e.g.
\definehead[toctitle][title]
\setuphead[toctitle][style=\ssc]
\starttext
\toctitle[content]{\headtext{content}}
\placecontent
…
\stoptext
Wolfgang
as section (\bfc).
\setupcombinedlist
[content]
[alternative=c]
\completecontent
P.S. Strange, but no help here
http://wiki.contextgarden.net/Table_of_Contents
The title for the TOC is placed with “\title{\headtext[content]}”.
To change the layout for the title change the “title” style
dozens of answers to this question but here it
is again.
\starttext
\title{Contents} % use \title{\headtext{content}} to get a language dependent
title
\placelist[chapter,section]
…
\stoptext
or
\definecombinedlist[content][chapter,section]
\starttext
\completecontent
…
\stoptext
Wolfgang
it is again.
\starttext
\title{Contents} % use \title{\headtext{content}} to get a language dependent
title
\placelist[chapter,section]
…
\stoptext
or
\definecombinedlist[content][chapter,section]
\starttext
\completecontent
…
\stoptext
There two additional ways
This new beta crashed here immidiately:
ConTeXt ver: 2012.07.09 20:28 MKIV fmt: 2012.7.9 int: english/english
metapost loading 'metafun':
/Users/hans/TeX/context-new/tex/texmf-context/metapost/context/base/metafun.mpiv
structuresectioning @ level 1 : 0 - \headtext {content
backend xmp using file
'/opt/ctxbeta/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pagesflushing realpage 1, userpage 1
pagesflushing realpage 2, userpage 1
structures begin of sectionblock frontpart
structuresectioning title @ level 2 : 0.0 - \headtext
/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/jd/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
fontsvirtual math unable to resolve name mapsfromchar
fontsfallback modern rm 12pt is loaded
structuresectioning title @ level 2 : 0.0 - \headtext {content
Source/Makeup/Images/m_k_i_v_By-nc-sa_plain.pdf
pagesflushing realpage 2, userpage 1, subpage 2
structuresectioning title @ level 2 : 0.0 - \headtext {content}
(Source/Preface/Preface.tex
pagesflushing realpage 3, userpage 1, subpage 1
structuresectioning
/m_k_i_v_ConTeXt_Logo.pdf
pagesflushing realpage 2, userpage 1, subpage 2
structuresectioning title @ level 2 : 0.0 - \headtext
{content}
(Source/Preface/Preface.tex
pagesflushing realpage 3, userpage 1, subpage 1
structuresectioning chapter @ level 2 : 0.1 - Preface
title @ level 2 : 0.0 - \headtext
{content}
[...]
pagesflushing realpage 182, userpage 180, subpage 30
pagesflushing realpage 183, userpage 181, subpage 31
structuresectioning chapter @ level 2 : 0.2 - \headtext
{index}
pagesflushing realpage 184
/m_k_i_v_ConTeXt_Logo.pdf
pagesflushing realpage 2, userpage 1, subpage 2
structuresectioning title @ level 2 : 0.0 - \headtext
{content}
(Source/Preface/Preface.tex
pagesflushing realpage 3, userpage 1, subpage 1
structuresectioning chapter @ level 2 : 0.1 - Preface
chapter08/main
to be read again
[
\next_optional_command_yes ...\startnamedsection [
{title}][{title={\headtext...
to be read again
[
\dotripleemptythreenormal #1#2#3-#1[{#2}][{#3
unable to resolve name mapsfromchar
fontsfallback modern rm 12pt is loaded
system begin file bibtest at line 3
structuresectioning chapter @ level 2 : 0.1 - \headtext {pubs}
publications loading database from bibtest.bbl
(bibtest.bbl)
backend xmp using file
backend xmp using file '/usr/share/texmf/tex/context/base/lpdf-pdx.xml'
pagesflushing realpage 1, userpage 1, subpage 1
structuresectioning chapter @ level 2 : 0.2 - \headtext {pubs}
publications loading database from test.bbl
(test.bbl)
pagesflushing
- \headtext {pubs}
publications loading database from test.bbl
(test.bbl)
pagesflushing realpage 2, userpage 2
system end file test.tex at line 7
)/usr/share/texmf/fonts/opentype/public/lm/lmroman12-regular.otf
!LuaTeX error (file /usr/share/texmf/fonts/opentype/public/lm
/context/base/lpdf-pdx.xml'
pagesflushing realpage 1, userpage 1, subpage 1
structuresectioning title @ level 2 : 1.0 - \headtext {content}
! LuaTeX error /usr/share/texmf/tex/context/base/strc-lst.lua:496: no string to print
stack traceback:
[C]: in function 'texsprint'
/usr
{\framed[frame=off,bottomframe=on,topframe=off]
{\vbox{\centerline{\headtext{chapter} #1}\par\blank{\centerline{#2}
\definepagebreak[mychapterpagebreak][yes,header,right]
\startstructureblockenvironment[frontmatter]
%ignored if frontmatter, applied if frontpart
%\startstructureblockenvironment
.
%insert #2 before last } to cause ToC to appear although
%very ugly
\def\MyChapterCommand#1#2% #1 is number, #2 is text
{\framed[frame=off]
{\vbox{\centerline{\headtext{chapter} #1
Replace this with:
\setuplabeltext[en][chapter=Chapter ]
\define[2]\MyChapterCommand % #1 is number, #2
=on]
{\vbox{\headtext{chapter} #1\blank#2}}}
\stophiding
% headings
\definestartstop[dedication][style={\switchtobodyfont[dedication,20pt]},befo
re=\page]
\definehead [intro] [chapter]
\setuphead[chapter][style=\ss\bfd,alternative=middle,
command=\MyChapterCommand,
header=empty,footer=chapter
although
%very ugly
\def\MyChapterCommand#1#2% #1 is number, #2 is text
{\framed[frame=off]
{\vbox{\centerline{\headtext{chapter} #1
\setuphead[chapter]
[command=\MyChapterCommand,
header=empty,footer=chapter,page=mychapterpagebreak,
after={\blank[0.5in]},before={\blank[force,1.0in
},
offset=0pt,
strut=no,
frame=off,
align=middle]{%
{\tfb #1 }%\headtext{chapter} #1
\blank[big]
{\ss\tfc #2}
% \blank[small]
%{\ss\tfc #3}
}
}
\starttext
\chapter{ConTeXt
hi!
i want to achieve the effect i see when using the following code, only in a
semantically correct way (and without defining a \MyHeader macro like in
some examples)
\setuphead[section][numbercommand=\headtext{section}~]
\setupheadtext[de][section=Aufgabe]
\def\task{\section{}}
so if my
: The chart mkiv xml interface is not yet defined!
))
systems : begin file /Users/grycman/Dropbox/Uni/kvvtest.tex at
line 26
!pages : flushing realpage 1, userpage 1, subpage 1
!pages : flushing realpage 2, userpage 2
structure : title @ level 2 : 0.0 - \headtext
On 6-8-2010 1:59, Vedran Miletić wrote:
\usemodule[units]
\starttext
\completelistofunits
\chapter{Something}
1 \Meter.
\stoptext
in strc-syn.mkiv replace
\def\docompletelistofsynonyms[#1][#2]%
{\edef\currentsynonym{#1}%
\normalexpanded{\systemsuppliedchapter[#1]{\noexpand\headtext
Datuma 6. kolovoza 2010. 14:09 Hans Hagen pra...@wxs.nl je napisao/la:
\def\docompletelistofsynonyms[#1][#2]%
{\edef\currentsynonym{#1}%
\normalexpanded{\systemsuppliedchapter[#1]{\noexpand\headtext{\synonymparameter\s!multi}}}%
\doplacelistofsynonyms[#1][#2]%
\page[\v!yes]}
Works
in the frame to
white or gray. What needs to be added to this mkii code?
Colors are disabled in MkII, to enable them include
\setupcolors[state=start]
to your document.
\def\MyChapterCommand#1#2% #1 is number, #2 is text
{\framed[frame=on,align=middle]
{\vbox{\headtext{chapter} #1
]
{\vbox{\headtext{chapter} #1\blank#2}}}
\setuphead[chapter]
[command=\MyChapterCommand,textstyle=\ss\bf,
header=empty,footer=chapter,
numbercommand=\ss\bf\em\tfd,after=\vskip 0.5in,before=\vskip 1.0in]
\starttext
\chapter{Test Chapter}
\input knuth
\stoptext
Thanks,
Tom Benjey
717-258-9733
\setupcolors[state=start]
to your document.
\def\MyChapterCommand#1#2% #1 is number, #2 is text
{\framed[frame=on,align=middle]
{\vbox{\headtext{chapter} #1\blank#2}}}
\framed
[..,
background=color,
backgroundcolor=red,
foregroundcolor=blue,
...]
{...}
\setuphead
/lm/lm-math.map}
fonts : using map file: lm-rm
{/Applications/ConTeXtMinimals/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
!pages : flushing page, realpage 1, userpage 1
structure : chapter @ level 2 : 0.1 - \headtext {pubs}
publications: loading database from BibTest.bbl
-public-lm.map}
fonts : using map file: lm-math
{/home/janerik/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}
fonts : using map file: lm-rm
{/home/janerik/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}[1.1]
structure : chapter @ level 2 : 0.1 - \headtext {pubs}
[2.2
of sectionblock frontpart
structure : title @ level 2 : 0.0 - \headtext {content}
! LuaTeX error ...text/tex/texmf-context/tex/context/base/strc-pag.lua:104:
bad argument #3 to 'format' (string expected, got table)
stack traceback:
[C]: in function 'format'
...text/tex/texmf-context/tex/context
provided with the current minimals and it gave the following error:
...
systems : begin file simple at line 24
structure : begin of sectionblock frontpart
structure : title @ level 2 : 0.0 - \headtext {content}
! LuaTeX error ...0910/tex/texmf-context/tex/context/base
: begin file simple at line 24
structure : begin of sectionblock frontpart
structure : title @ level 2 : 0.0 - \headtext {content}
! LuaTeX error
...0910/tex/texmf-context/tex/context/base/strc-pag.lua:104: bad argument #3
to 'format' (string expected, got table)
stack
structure : chapter @ level 2 : 0.1 - \headtext {abbreviations}
38 ! Missing } inserted.
39 inserted text
40 }
41 to be read again
42 \endgroup
43 \@@dodescriptionhandler ...escriptionheadtext {#1}
44
\iftrialtypesetting \else
)
\section{\DEF\ Section}
\infull{DEF} (\DEF)
\stoptext
=
Here is the error:
=
structure : chapter @ level 2 : 0.1 - \headtext {acronyms}
! Undefined control sequence.
\dosetsynonymattributes ...def \fontattributehash
error
(ConTeXt ver: 2009.04.21 16:11 MKIV fmt: 2009.4.25 int: english/
english):
%%% begin console output
structure : title @ level 2 : (0.0) . - \headtext {figures}
! LuaTeX error ...imal/tex/texmf-context/tex/context/base/strc-doc.lua:
502: attempt to index field 'sectiontitle' (a nil
...I've always wanted to
be able to specify the text that should go in the bookmark when the title
itself includes markup.
But, will there be similar support for specifying bookmark text for things
like \completelistoffigures? Right now, the bookmark says something like
'\headtext{figures}' in my PDF
like \completelistoffigures? Right now, the bookmark says something like
'\headtext{figures}' in my PDF viewer.
you can turn on expansion (\setuplist[figure][expansion=yes]) but indeed
this will be taken care
!
You need the latest beta because Hans rewrote registers, section,
synonyms etc.
in mkiv and it was broken for a while in the last betas but is now back.
Wolfgang
hm, with the latest context minimal i get this:
structure : chapter @ level 2 : (0.4) . - \headtext {abbreviations}
[5
Am Dienstag, 14. April 2009 13:47:44 schrieb Wolfgang Schuster:
Am 14.04.2009 um 13:28 schrieb Thomas Prochaska:
hm, with the latest context minimal i get this:
structure : chapter @ level 2 : (0.4) . - \headtext
{abbreviations}
[5]
! LuaTeX error ...text/tex/texmf-context/tex
On Tue, Mar 10, 2009 at 13:44, Nikolai Weibull n...@bitwi.se wrote:
In neither --lua nor --xtx do I get a list of
abbreviations with \completelistofabbreviations. The bookmark text is
\headtext {abbreviations} for both.
Can I at least get an acknowledgement that this is a problem with
LuaTeX
On Tue, Mar 10, 2009 at 1:44 PM, Nikolai Weibull n...@bitwi.se wrote:
Hi!
Long time no post. Anyway, I’m writing a document where I’m using
abbreviations. In neither --lua nor --xtx do I get a list of
abbreviations with \completelistofabbreviations. The bookmark text is
\headtext
Hi!
Long time no post. Anyway, I’m writing a document where I’m using
abbreviations. In neither --lua nor --xtx do I get a list of
abbreviations with \completelistofabbreviations. The bookmark text is
\headtext {abbreviations} for both. With --pdf I get a list of
abbreviations
?
It should control the alignment of the headtext.
\setuplayout
[backspace=5cm,
leftmargin=4cm,
width=12cm]
\definedescription
[description]
[location=margin,
width=\leftmarginwidth]
\showframe
\starttext
\description{text} bla bla bla
\description{longer text} bla bla bla
) and
number(style|color|command) keys to enumerations? I could patch
core-des.tex with these keys.
Hi Aditya, if you do this, can you also integrate the headalign key
which is mentioned in core-des?
What should headalign do?
It should control the alignment of the headtext.
\setuplayout
the alignment of the headtext.
\setuplayout
[backspace=5cm,
leftmargin=4cm,
width=12cm]
\definedescription
[description]
[location=margin,
width=\leftmarginwidth]
\showframe
\starttext
\description{text} bla bla bla
\description{longer text} bla bla bla
%\setupdescriptions[description
{}{}}
]
\def\MyHeader#1#2{%
\framedtext
[width= \overlaywidth,
height=\bodyfontsize,
offset=0pt,
strut=no,
frame=on,
align=right
]
{\headtext{subsection}#1#2}}
\setuphead[subsubsection,subject][%
%textcommand=\underbar,
style={\sl
how do I grab the output for line 1 and then stretch it?
Here's a sample of what I have without any stretching:
\def\Myheader#1#2{%
\framedtext[width=0.60\textwidth, frame=off, align=middle]{%
\vbox{\headtext{chapter}~#1 \blank #2}}}
\def\englishnumbers#1{
\ifcase#1 \or ONE
{%
\framedtext[width=0.60\textwidth, frame=off, align=middle]{%
\vbox{\headtext{chapter}~#1 \blank #2}}}
\def\englishnumbers#1{
\ifcase#1 \or ONE\or TWO\or THREE\or FOUR\or FIVE\fi}
\defineconversion[englishnumbers][\englishnumbers]
\setupsection[chapter][conversion
) to stretch.
So how do I grab the output for line 1 and then stretch it?
Here's a sample of what I have without any stretching:
\def\Myheader#1#2{%
\framedtext[width=0.60\textwidth, frame=off, align=middle]{%
\vbox{\headtext{chapter}~#1 \blank #2}}}
\def
of what I have without any stretching:
\def\Myheader#1#2{%
\framedtext[width=0.60\textwidth, frame=off, align=middle]{%
\vbox{\headtext{chapter}~#1 \blank #2}}}
\def\englishnumbers#1{
\ifcase#1 \or ONE\or TWO\or THREE\or FOUR\or FIVE\fi}
\defineconversion[englishnumbers
and then stretch it?
Here's a sample of what I have without any stretching:
\def\Myheader#1#2{%
\framedtext[width=0.60\textwidth, frame=off, align=middle]{%
\vbox{\headtext{chapter}~#1 \blank #2}}}
\def\englishnumbers#1{
\ifcase#1 \or ONE\or TWO\or THREE\or FOUR\or FIVE\fi
on the document title ...
In general, the formatting of the abstract will depend on the kind of the
document. Just need something like
\definetitlesubstructure% or something more appropriate
[abstract]
[headtext={Abstract},
headstyle=bold,
headcolor=blue,
headalign=middle,
inbetween
...
In general, the formatting of the abstract will depend on the kind of the
document. Just need something like
\definetitlesubstructure% or something more appropriate
[abstract]
[headtext={Abstract},
headstyle=bold,
headcolor=blue,
headalign=middle,
inbetween=\blank,%between the head
I've noticed that with the most recent ConTeXt release I'm unable to
make indices. This example fails:
\starttext
Hello, this \index{copula}is an index.
\completeindex
\stoptext
The error I get is:
chapter : 1 \headtext {index}
! Extra }, or forgotten \endgroup
: 1.1 Synthese
section : 1.2 Eigenschaften
[6.6] [7.7]
title : - \headtext {pubs}
(./test.tuo) [8.8]
systems : end file test at line 77
)
(see the transcript file for additional information)
Output written on test.dvi (8 pages, 21972 bytes).
Transcript written
[references]
\headnumber[section]
\headtext{text}
# \hfilll
\hideblocks[names][names]
\high{text}
# \HL
\hl[number]
# \hpos
# \hspace
# \ifconditional
# \ifdefined
# \iftrialtypesetting
# \ifundefined
\in{text}{text}[reference]
# \includeFLOWchart
# \includemenu
# \increment
\indentation
\indenting
with \thinrule on every odd page, except it
is blank or the beginning of a new chapter, and the same with
section and pagenumber in the header for every even page, except it
is blank or the beginning of a new chapter -- a simple underlined
headtext like in many books.
Thanks for your help
Bert
\MyChapterText#1#2%
{\vbox to 35mm
\bgroup{\leftaligned{\vbox{\headtext{chapter} #1\blank#2}}}\vss\egroup}
\setupheadtext[chapter=Chapter]
\startsetups [chapter:before]
\page[left]
\noheaderandfooterlines
\vbox to 35mm{}
\vbox{\blank
\startalignment[left,nothyphenated]
\noindent \setups
l.27 ...\headtext
{index}}{2--0-2-0-0-0-0-0--3}{3}
?
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
\MyChapterText#1#2%
{\vbox to 35mm
{\headtext{chapter}~#1\blank[small]#2\vss}}
\startsetups [chapter:before]
\page[left]
\noheaderandfooterlines
\vbox to 35mm{}
\vbox{\blank
\startalignment[left,nothyphenated]
\noindent \setups[chapter:quote]
\stopalignment}
\resetsetups
[title=\chapter]
* The module now uses the expansion of \headtext{pubs}, so that
PDF bookmarks should come out alright.
* A hook is added for support of repeated author suppression in
the publication list:
\setuppublicationlist[artauthorcommand=\threeargs]
(see the manual for a bit more
=no, page=, header=high, footer=chapter, distance=0pt, before=\setups{chapter:before}, after=\setups{chapter:after}]
\def\MyChapterText#1#2{\vbox{\sc\tfc\headtext{chapter}~#1\blank[small]#2}}\startsetups [chapter:before] \page[left] \noheaderandfooterlines \vbox to 35mm{} \vbox{\blank \startalignment
{chapter:before}, after=\setups{chapter:after}]\def\MyChapterText#1#2{\vbox{\sc\tfc\headtext{chapter}~#1\blank[small]#2}}\startsetups [chapter:before] \page[left] \vbox to 35mm{}\vbox{\blank
\noheaderandfooterlines \startalignment[left,nothyphenated] \noindent \setups[chapter:quote] \stopalignment
: - \headtext {content}
(./programlisting.001.tuo)
system :
part,chapter,section,subsection,subsubsection,subsubsubsectio
n,subsubsubsubsection not found/processed
structure : end of sectionblock frontmatter
[2.1]
structure : begin of sectionblock bodymatter
[3.2]
structure : end
and
submitted fixes):
* Make right-aligned labels work even if autohang=no
* Use 'et al.' instead of 'et.al.'.
* Additional headtext for cz
* Keep whitespace after \cite with single argument
* Fix broken \cite-with-braced-argument
* Fix \usepublications not finding it's files
* Fix
,
strut=no,
frame=off,
align=middle]{%
\headtext{chapter} #1
\blank[small]
#2}}
\starttext
\chapter{Here we go!}
\stoptext
2. Bypassing header and footer: \noheaderandfooterlines or
\setuphead[chapter][header=high
]
%
% next 3 lines hopefully fix a bug
%
\let\bibdoif \doifnotemptyvalue
\let\bibdoifnot \doifemptyvalue
\def\bibdoifelse#1#2#3{\doifemptyvalueelse{#1}{#3}{#2}}
Looks like something else is needed:
title : - \headtext {pubs}
(./bez-art.tuo
! Missing \endcsname
: - \headtext {pubs}
(./bez-art.tuo
! Missing \endcsname inserted.
to be read again
\vtop
\bottomaccent #1#2#3#4#5-\dontleavehmode \vtop
{\forgetall \baselineskip \z...
\dohandleaccent ...acterencoding #1\endcsname {#2
, part B}
%\placeregister[letter]
\completeregister[letter]
\placelist[somelist]
\stoptext
-
I discovered that the source of the bug is probably \headtext the line
\expanded{\systemsuppliedchapter[\currentregister]{\noexpand\headtext{\currentregister
1 - 100 of 105 matches
Mail list logo