Hi,
Finally got it working with:;
\setupcolors[state=start]
\definecolor [maincolor] [r=, g=.5, b=.7]
\define[2]\MyChapterCommand
{\framed[align=flushright, width=\textwidth,
frame=off]{\rotate[rotation=90]{\rm\small\sc \headtext{chapter}}
\framed[backgroundcolor=maincolor, background=color
Hi,
My final version is below:
\setupcolors[state=start]
\definecolor [maincolor] [r=, g=.5, b=.7]
\define[2]\MyChapterCommand
{\framed[align=flushright,
frame=off]{\rotate[rotation=90]{\rm\small\sc \headtext{chapter}}
\framed[backgroundcolor=maincolor, background=color,
frame=off
This is what I came up with:
\setupcolors[state=start]
\definecolor [maincolor] [r=, g=.5, b=.7]
\setupinteraction
[
state=start,
color=maincolor,
contrastcolor=maincolor,
style=,
]
\define[2]\MyChapterCommand%
{\rotate[rotation=90]{\rm\small\sc \headtext{chapter
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}
'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
ctioning > hiddentitle @ level 2 : 0.0 -> \xmlflush {main::29}
pages > flushing realpage 5, userpage 5, subpage 5
pages > flushing realpage 6, userpage 6, subpage 6
structures > bookmark: [Cita]
structure > sectioning > hiddentitle @ level 2
=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
erCommand 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{chapter} #1\blank#2}}}
I'll add this:
\def\verbosenumberconnector{--}
so you can define you
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 or because the converter is not confi
I can force 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
ct 5-10 pct runtime
overhead!
open source > level 2, order 3, name
'/Users/rz/Documents/work/Kannada-manual-compile-klad/indexpablo.tex'
fonts > preloading latin modern fonts (second stage)
fonts > 'fallback modern-designsize rm 12pt' is loaded
structure
r 20, name '../setup_code.tex'
close source > level 3, order 20, name '../setup_global.tex'
open source > level 3, order 21, name '../setup_frontmatter.tex'
structures > begin of sectionblock 'frontpart'
open source > level 4, order 22, name '
name '../setup_frontmatter.tex'
structures > begin of sectionblock 'frontpart'
open source > level 4, order 22, name 'title.tex'
metapost> initializing instance 'metafun' using format 'metafun'
metapost> loading 'me
bibliography 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]
er{\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]
\setupheadtext[chapter=Chapter, content=Table of Contents]
\starttext
\completecontent
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
ws 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
art]
>
> \placebookmarks[title,chapter][force=yes]
>
> \starttext
>
> % Variant 1, shows the text which is set with
> \setupheadtext[][content=...]
> \completecontent
>
> % Variant 2, you can set your own text for the bookmark
> % \starttitle[title=\
{...} \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_
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@
ld use \dontleavehmode 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 comman
initial is the problem but you can fix 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[chapte
4cm]\Word{#1
\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}}}
ements you have 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]{\
hapterCommand%
{\framed[frame=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 othe
ection{My Zapf \recurselevel}}
\input zapf
\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:
structure > sectioning > chapter @ level 2 : 0.
> \chapter{Bar}
> > \stoptext
> >
>
> Whereas this works for basic test cases, in my document it ends with an
> error:
>
> structure > sectioning > title @ level 2 : 0.0 -> \headtext
> {content}
> ! Argument of \147>flushright has an extra }.
T
numbercommand={\simplealignedbox{\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:
structure > sectioning > title
hical 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
ation 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}
By "multilingual labels", you mean the texts like "Index",
ere 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{inde
\setuphead[title][style=\ssc]
When you don’t want 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]{\hea
ght)
> to be the same 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[cont
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
structure > sectioning > @ level
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][chapt
ht search term.
The list archive should contain 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]
\
text/tex/context/base/lpdf-pdx.xml'
pages > flushing realpage 1, userpage 1
pages > flushing realpage 2, userpage 1
structures > begin of sectionblock frontpart
structure > sectioning > title @ level 2 : 0.0 -> \headtext {content}
! Undefined contro
; fallback modern rm 12pt is loaded
structure > sectioning > title @ level 2 : 0.0 -> \headtext {content}
! Undefined control sequence.
system > tex > error on line 11 in file test.mkiv: Undefined control
sequence ...
1 %-*-context-*-
2 \sta
s ignored (if needed use:
[fontclass][size][settings])
)
backend > xmp > using file
'/usr/share/texmf/tex/context/base/lpdf-pdx.xml'
pages > flushing realpage 1, userpage 1, subpage 1
pages > flushing realpage 2, userpage 1, subpage 2
structure
onts.lua>)
fonts > beware: fontclass ignored (if needed use:
[fontclass][size][settings])
)
backend > xmp > using file
'/usr/share/texmf/tex/context/base/lpdf-pdx.xml'
pages > flushing realpage 1, userpage 1, subpage 1
pages >
ts
fonts > beware: fontclass ignored (if needed use:
[fontclass][size][settings])
backend > xmp > using file
'/usr/share/texmf/tex/context/base/lpdf-pdx.xml'
pages > flushing realpage 1, userpage 1, subpage 1
pages > flushing rea
x/context/third/simplefonts/t-simplefonts.lua>)
fonts > beware: fontclass ignored (if needed use:
[fontclass][size][settings])
)
backend > xmp > using file
'/usr/share/texmf/tex/context/base/lpdf-pdx.xml'
pages > flushing realpage 1, userpag
\component chapter08/main
[
\next_optional_command_yes ...\startnamedsection [
{title}][{title={\headtext...
[
\dotripleemptythreenormal #1#
me/context/tex/texmf-context/tex/context/base/type-siz.mkiv) (/home/context/tex/texmf-context/tex/context/base/type-otf.mkiv){/home/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts > virtual math > unable to resolve name mapsfro
/usr/share/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts > virtual math > unable to resolve name mapsfromchar
fonts > fallback modern rm 12pt is loaded
system > begin file test.tex at line 3
structure > sectioning > chapter @ level 2 : 0.1 -
> begin file test.tex at line 4
structure > sectioning > chapter @ level 2 : 0.1 -> Bibliography
backend > xmp > using file '/usr/share/texmf/tex/context/base/lpdf-pdx.xml'
pages > flushing realpage 1, userpage 1, subpage 1
structure
> virtual math > unable to resolve name mapsfromchar
fonts > fallback modern rm 12pt is loaded
system > begin file toc.tex at line 1
structure > sectioning > part @ level 1 : 1 -> Table of Contents
backend > xmp > using file '/usr/s
t] #2}}
\def\MyChapterCommand#1#2% #1 is number, #2 is text
{\framed[frame=off,bottomframe=on,topframe=off]
{\vbox{\centerline{\headtext{chapter} #1}\par\blank{\centerline{#2}
\definepagebreak[mychapterpagebreak][yes,header,right]
\startstructureblockenvironmen
ToCs are not desired in
> such situations.
>
>
> %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:
\setuplabel
pear 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
]
{\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
},
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
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 {content}
!pag
: title @ level 2 : 0.0 -> \headtext {content}
!pages : flushing realpage 3, userpage 3
structure : section @ level 3 : 0.0.1 -> Kontakt
structure : subsection @ level 4 : 0.0.1.1 -> Organisation des
Germanistischen Instituts
Overfull \hbox (284.90858pt too wide) in
Datuma 6. kolovoza 2010. 14:09 Hans Hagen je napisao/la:
> \def\docompletelistofsynonyms[#1][#2]%
> {\edef\currentsynonym{#1}%
>
> \normalexpanded{\systemsuppliedchapter[#1]{\noexpand\headtext{\synonymparameter\s!multi}}}%
> \doplacelistofsynonyms[#1][#2]%
> \pa
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
of the text 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]
&
clude
\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,
...]
{...}
\setu
iddle]
{\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
ips/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 BibTe
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]
systems : end file test at line 20
system : cont-err loaded
(
t 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/strc-pag
minimal example Wolfgang
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/
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/te
.1]
37 structure : chapter @ level 2 : 0.1 -> \headtext {abbreviations}
38 ! Missing } inserted.
39
40 }
41
42 \endgroup
43 \@@dodescriptionhandler ...escriptionheadtext {#1}
44
\iftrialtypesetting \el
C\ Section}
\infull{ABC} (\ABC)
\section{\DEF\ Section}
\infull{DEF} (\DEF)
\stoptext
=
Here is the error:
=
structure : chapter @ level 2 : 0.1 -> \headtext {acronyms}
! Undefined control sequence.
\dosetsynonymatt
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 'sectiont
text for things
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 indee
lways 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
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]
ynonyms 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]
! LuaTeX error ...text/tex/texmf-context/tex/context/base/st
On Tue, Mar 10, 2009 at 1:44 PM, Nikolai Weibull 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
> \headt
On Tue, Mar 10, 2009 at 13:44, Nikolai Weibull 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
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 and the
?
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
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
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
numbercommand={\groupedcommand{}{}}
]
\def\MyHeader#1#2{%
\framedtext
[width= \overlaywidth,
height=\bodyfontsize,
offset=0pt,
strut=no,
frame=on,
align=right
]
{\headtext{subsection}#1#2}}
\setuphead[subsubsection,sub
gt; should probably be treated as a whole line when stretching). I was never
> > able to get the chapter number (now a word) 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 stretchi
; >
> > 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
tching). I was never able to get
> the chapter number (now a word) 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
chapter number (now a word) 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{\
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\f
ne of the core files and to
generate a new format file.
> The module does not need to take care of all the formatting requirements:
> just provide the interface. For a particular publications, the module for
> that publication can modify the \placetitle command to do what they want.
>
on can modify the \placetitle command to do what they want.
With this, the user documentation can just say that use
\setuptitle[title=...,author=..., date=] %and maybe setups={...}
So, we will have a consistent user inteferface for all documents.
> What should we do with the abstract, d
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
--89
\*12ptmmmr* h^^?aufig an-ge-wandt [20]. In die-ser Ar-beit wur-de die $[]$H- un
d $[]$H-NMR Festk^^?orperspektroskopie
[5.5])
section : 1.1 Synthese
section : 1.2 Eigenschaften
[6.6] [7.7]
title : - \headtext {pubs}
(./test.tuo) [8.8]
systems : end fi
erences]
\gotobox{text}[references]
\graycolor[text]
\grid[options]
# \gsaveXMLasdata
\hairline
\head[references]
\headnumber[section]
\headtext{text}
# \hfilll
\hideblocks[names][names]
\high{text}
# \HL
\hl[number]
# \hpos
# \hspace
# \ifconditional
# \ifdefined
# \iftrialtypesetting
# \ifundefin
\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
re}]
\def\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]
\noinde
twoarguments #1#2->#2
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
[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
},
after=]
\def\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:quot
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[left,nothyphenated]
\noindent \setups[chapter:quote] \stopalignment} \resetsetups[quote:text] \page[
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} \resetse
al-public-lm
> interaction : pdftex code inserted
> [1.1{/usr/local/share/texmf-dist/fonts/map/dvips/context/original-
> empty.map}{/u
> sr/local/share/texmf-dist/fonts/map/dvips/context/original-base.map}
> {/usr/local
> /share/texmf-dist/fonts/map/dvips/context/ec-public-
t/original
-ams-base.map}{/usr/local/share/texmf-dist/fonts/map/dvips/context/original-ams
-euler.map}{/usr/local/share/texmf-dist/fonts/map/dvips/context/original-public
-lm.map}]
structure : begin of sectionblock frontmatter
title : - \headtext {content}
(./programlisting.001.tuo)
1 - 100 of 110 matches
Mail list logo