wiki.
\definehead[CVHEAD][subject]
\setuphead[subject][style=\bfa,after={\blank[medium]}]
\definehead[SUBCVHEAD][subsubject]
\setuphead[subsubject][style=\bf,after={\blank[small]},before={\blank[small]}]
I want something like
\CVHEAD{References}
\SUBCVHEAD{Pulished Journal Articles}
list 1
Thanks, many thanks Hans.
The key is expansion=yes. Without, phantom contents in table of contents.
With, all is ok:
\definehead [Fitxa] [subsection][ownnumber=yes,expansion=yes]
Xan.
___
If your question
Hi,
I have this:
\definehead [Fitxa] [subsubject]
\setuphead
[Fitxa][textstyle=sca,align=normal,color=headingcolor,before={},ownnumber=yes,incrementnumber=yes,number=no,strut=no]
\setuplabeltext [Fitxa=Fitxa]
\setuplist[Fitxa] [margin=4em,interaction=text,color=green,textcommand=\WORD
On 3/27/2014 11:55 AM, Xan wrote:
Hi,
I have this:
\definehead [Fitxa] [subsubject]
\setuphead
[Fitxa][textstyle=sca,align=normal,color=headingcolor,before={},ownnumber=yes,incrementnumber=yes,number=no,strut=no]
\setuplabeltext [Fitxa=Fitxa]
\setuplist[Fitxa] [margin=4em,interaction=text
Am 15.01.2014 um 15:36 schrieb Robert Blackstone blackstone.rob...@gmail.com:
Dear all,
Is there, in a book-project, a way to place unnumbered chapters, in casu
Acknowledgements and Abstract, in the FrontMatter before the ToC, but still
mentioned in the ToC?
\definehead[prechapter
, in the FrontMatter before the ToC, but still
mentioned in the ToC?
\definehead[prechapter][chapter]
\setuphead [prechapter][number=no,incrementnumber=list]
\starttext
\prechapter{Unnumbered chapter}
\title{Contents}
\placelist[prechapter,chapter]
\chapter{Numbered chapter}
\stoptext
Date: Thu, 9 Jan 2014 14:24:35 +0100
From: Wolfgang Schuster schuster.wolfg...@gmail.com
Subject: Re: [NTG-context] setuphead for in-paragraph head ?
Message-ID: 76850319-0120-41e9-8a4e-46fe9a9cb...@gmail.com
But this:
\definehead
[Exercise] [subsection]
[after=]
\starttext
/setuphead , most of the options are
not explained.
My purpose is to define something like:
\definehead[Exercise][subsection]
\setuphead
[Exercise]
[alternative=Mine?,
...,
numberstyle=bold]
So I can typeset a list of exercises in a compact way. I could use
enumerations but I don't think I
On 2014–01–09 Jean-Guillaume wrote:
In the subsection head, I would like to suppress the newline between the
number and the text,
That's controlled by the “after” key.
\setuphead
[Exercise]
[after=]
My purpose is to define something like:
\definehead[Exercise][subsection
Thanks for your reply, Marco.
Here is a full example:
\starttext
\definehead[Exercise][subsection]
\setuphead
[Exercise]
[after=]
\startExercise[]{(this is the exercise's title)}
The exercise's content.
\stopExercise
\stoptext
After contexting it, it looks like:
1
On 2014–01–09 Jean-Guillaume wrote:
\starttext
\definehead[Exercise][subsection]
\setuphead
[Exercise]
[after=]
\startExercise[]{(this is the exercise's title)}
The exercise's content.
\stopExercise
\stoptext
\definehead
[Exercise] [subsection]
[after=]
\starttext
But this:
\definehead
[Exercise] [subsection]
[after=]
\starttext
\startExercise [title=This is the exercise's title]
The exercise's content.
\stopExercise
\stoptext
results to:
1 This is the exercise's title
The exercise's content.
and I would like it to be:
1
Am 09.01.2014 um 14:23 schrieb Jean-Guillaume jng...@gmail.com:
But this:
\definehead
[Exercise] [subsection]
[after=]
\starttext
\startExercise [title=This is the exercise's title]
The exercise's content.
\stopExercise
\stoptext
results to:
1 This is the exercise's title
Best regards: OK
On 9 janv. 2014, at 14:23, Jean-Guillaume jng...@gmail.com wrote:
But this:
\definehead
[Exercise] [subsection]
[after=]
\starttext
\startExercise [title=This is the exercise's title]
The exercise's content.
\stopExercise
\stoptext
results to:
1
to get it to work as follows.
First, we used
\definehead[section][chapter]
to get section to inherit some settings from chapter.
This included the page=yes setting you mentioned (which we don't want,
because we handle page breaks with some separate special logic); but it
also apparently includes
.
Thanks for this response.
Actually, we were able to get it to work as follows.
First, we used
\definehead[section][chapter]
to get section to inherit some settings from chapter.
This included the page=yes setting you mentioned (which we don't want,
because we handle page breaks with some separate
”
setting in \setuphead.
Thanks for this response.
Actually, we were able to get it to work as follows.
First, we used
\definehead[section][chapter]
to get section to inherit some settings from chapter.
This included the page=yes setting you mentioned (which we don't want,
because we handle page
?
A placeholder like foobar or whatever. I think it's clear from the
context, otherwise feel free to define it.
The \defineenumeration[Question] creates a \Question command,
but \definehead[Procedure][section] does not create \Procedure command?
It does:
\definehead [Procedure] [section]
\starttext
needs to be defined before it is used.
For example, \setupsomething - What does something mean?
The \defineenumeration[Question] creates a \Question command,
but \definehead[Procedure][section] does not create \Procedure command?
(Should the capital P not carry forward?)
The \startnarrower requires
To solve my last asked question, I chose a somewhat easiert way and
defined an own chapter-title, which is unnumbered.
Here is my Minexample:
\definehead[mychapter][chapter]
\setuphead[mychapter][number=no]
\setupcombinedlist[content]
[list={mychapter, chapter, section}]
\starttext
On 9/3/2013 8:14 AM, H. Özoguz wrote:
To solve my last asked question, I chose a somewhat easiert way and
defined an own chapter-title, which is unnumbered.
Here is my Minexample:
\definehead[mychapter][chapter]
\setuphead[mychapter][number=no]
\setupcombinedlist[content]
[list={mychapter
% command to make the \section of the input articles become
\subsection % commands
\startsection[title=My first article]
\input article
\stopsection
%%% end
I know I can change the \section commands of the article.tex into
\ArticleSection and switch with
\definehead[ArticleSection
\startchapter[ownnumber=1,title=chap 1]
This cheat gives the chapter his own number, but the counter still
counts. So for my minexample it does not work:
\definehead[mychapter][chapter]
\setuphead[mychapter][number=no]
\setupcombinedlist
[content]
[list={mychapter, chapter, section
={footer,middle}]
% Struktura
\definehead[kochapter][chapter]
\setuphead[title][style=\antykwa, number=no]
\setuphead[kochapter][placehead=empty,before=,after=,number=no]
\setuphead[section][page=no,style=\tfb\iwona\grave,number=no]
\def\rubrika #1{\kochapter{#1}}
\def\prispevek #1#2{
\section{#2
command of the article files into \subsection in the
book.
Any ideas?
you can use \startwhatever when you do:
\definehead[whatever][section]
or
\definehead[whatever][subsection]
or alternatively look into levels-001.tex and levels-002.tex in the test
suite to see how to use
\startsection[title=My first article]
\input article
\stopsection
%%% end
I know I can change the \section commands of the article.tex into
\ArticleSection and switch with
\definehead[ArticleSection][section]
\definehead[ArticleSection][subsection]
depending of the context, but it would be better
articles become \subsection
% commands
\startsection[title=My first article]
\input article
\stopsection
%%% end
I know I can change the \section commands of the article.tex into
\ArticleSection and switch with
\definehead[ArticleSection][section]
\definehead[ArticleSection][subsection]
depending
#Flushing_section_head_data_without_typesetting_them_in_the_text
seems to not work for me.
Thanks for help.
\definehead[test][section]
\setuphead
[test]
[placehead=empty,
before=,
after=]
\setupheadertexts[test]
\starttext \showframe
\placelist[test]
\test{Knuth}
\dorecurse{10}{\input knuth\par
other value, it still leaves
an empty line in the text.
Example please.
Is it possible to have both, ie \part's in the ToC without any space taken
by it in the text?
\definehead
[sectiongroup]
[part]
[placehead=empty,
page=no,
number=no]
\setuphead
[chapter]
[sectionresetset
[criterium=local] in the attached
example.
(Sorry that I was not able to make the example shorter, I needed some
meat to fill the toc for the showcases)
Thanks,
H.
--8
\usemodule[subsub]
\definehead[paragraphHead][alternative=myheader,section=section-8,number
the first paragraph shows how it should look
like in the pdf-file; the second paragraph is with a heading in the
margin.
Can anyone tell me,
a) how to get rid of the unwanted extra vertical space?
You can use a custom headalternative setup:
\definesection [section-8]
\definehead
]
\definehead[myheader][][number=no,before=,style=\bf,aligntitle=yes,section=section-8]
\starttext
\inouter{Hasselt makes headlines}
\input tufte
\inouter{\myheader{Hasselt makes headlines}}
\input tufte
\stoptext
___
If your
; the second paragraph is with a heading in the
margin.
Can anyone tell me,
a) how to get rid of the unwanted extra vertical space?
You can use a custom headalternative setup:
\definesection [section-8]
\definehead
[myheader] []
[alternative=myheader,
section=section-8
Using the continue=no option of setuphead (in MKIV) didn't seem to work (not
sure why). What I did as a workaround was to a blank paragraph after each
heading (using 'after' in setuphead) and then packed the result. Not
necessarily an ideal solution, but adequate for what I needed.
\definehead
. Not
necessarily an ideal solution, but adequate for what I needed.
\definehead[references][subsection]
\setuphead[references][after={ ~ }]
\startpacked % Get rid of large gaps between the references.
\dorecurse{10}{\references{Reference item}}
\stoppacked
What you’re doing is just wrong
Hi, maybe, codes is our language :-) % define a new
head\definehead[backmatterchapter][chapter]
\starttext
\startfrontmatter
\title{Preface}
\completecontent
\stopfrontmatter
\startbodymatter
\chapter{First Chapter}
\stopbodymatter
\startbackmatter
\backmatterchapter{Backmatter}
\stopbackmatter
Am 17.04.2013 um 17:59 schrieb Tim Li timli2...@outlook.com:
Hi,
maybe, codes is our language :-)
% define a new head
\definehead[backmatterchapter][chapter]
[…]
The chapter title Backmatter in the backmatter won't appear in the
Contents. Why? How can I make it appear
:-)
% define a new head
\definehead[backmatterchapter][chapter]
[…]
The chapter title Backmatter in the backmatter won't appear in the Contents.
Why? How can I make it appear in the Contents?
You have to redefine the \completecontent command to include
“backmatterchapter” in the list of headings
be nice to provide a minimal example next time. It's not
always necessary for understanding, but it's just simpler to
copy-paste the code than to write it yourself. It will increase the
chances of getting a response.
\setupheadertexts
[My Header]
\definehead
[dedication]
[chapter]
[header
for understanding, but it's just simpler to
copy-paste the code than to write it yourself. It will increase the
chances of getting a response.
\setupheadertexts
[My Header]
\definehead
[dedication]
[chapter]
[header=empty]
\starttext
\startchapter [title=Foo]
\input knuth
\stopchapter
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
. Unfortunately, they do not work!
\definehead [intro] [chapter] \setuphead [intro] [number=no]
will increment the chapter number, as does
\setuphead [title] [incrementnumber=yes,number=no]
trying coupling=no gives missing number errors (in the toc).
Furthermore, placing chapters into \frontmatter
of unnumbered titles and their inclusion in
the table of contents. Unfortunately, they do not work!
\definehead [intro] [chapter] \setuphead [intro] [number=no]
will increment the chapter number, as does
\setuphead [title] [incrementnumber=yes,number=no]
trying coupling=no gives missing
://wiki.contextgarden.net/Titles#Unnumbered_titles_in_table_of_contents
gives a few recipes for the use of unnumbered titles and their inclusion in
the table of contents. Unfortunately, they do not work!
\definehead [intro] [chapter] \setuphead [intro] [number=no]
will increment the chapter number
(\title)
as well as the use of appendices.
http://wiki.contextgarden.net/Titles#Unnumbered_titles_in_table_of_contents
gives a few recipes for the use of unnumbered titles and their inclusion in
the table of contents. Unfortunately, they do not work!
\definehead [intro] [chapter] \setuphead
Hello everyone,
I have defined my own set of heads with \setuphead like so, such that I can
supply my own numbers:
\definehead[foosection][section]
\setuphead[foosection][number=yes, ownnumber=yes, sectionsegments=section]
However, I need them to show up in the table of content. What's
Hi Malte,
On 31 March 2013 11:53, Malte Stien ma...@stien.de wrote:
\definehead[foosection][section]
\setuphead[foosection][number=yes, ownnumber=yes, sectionsegments=section]
However, I need them to show up in the table of content. What's the trick?
This is the trick
\setuplabeltext [chapter=Chapter ]
enables a label in chapter headings.
Sometimes, one wants to have an unnumbered chapter-level structure that
otherwise appears in the table of contents, bookmarks, marking, etc.
without having to make many special definitions.
One suggests:
\definehead
having to make many special definitions.
One suggests:
\definehead [NOchapter] [chapter]
\setuphead [NOchapter] [incrementnumber=no,number=no,bodypartlabel=]
\starttext
\startNOchapter [title=Introduction]
\stopNOchapter
\startchapter [title=First chapter]
\stopchapter
\stoptext
-level structure
that otherwise appears in the table of contents, bookmarks,
marking, etc. without having to make many special definitions.
One suggests:
\definehead [NOchapter] [chapter]
\setuphead [NOchapter] [incrementnumber=no,number=no,bodypartlabel=]
\starttext
\startNOchapter
},
frame=on]{\headnumbercontent}
}
\stoplinealignment
\stopsetups
\defineheadalternative[margin][renderingsetup=head:margin]
\definehead[dchapter][chapter]
\setuphead[dchapter][alternative=margin]
\starttext
\dchapter{Inexpensive Monte Carlo}
\stoptext
and \setuphead commands, along with possibly defining a new head that
inherits from chapter (\definehead[name][chapter], then
\setuphead[name]).
I don't really have time to play much with this now, but see the
following links for a bunch more information on the commands above and
on section heads in general
}
Def
\stoptext
TIA.
This doesn’t work because chapter, section etc. have a individual style
which is used instead of the global setting.
\setuphead[chapter][style=\ssc]
\setuphead[section][style=\ssa]
Wolfgang
A slightly more verbose alternative which I have been using is:
\definehead
Hi Devendra!
···date: 2013-02-22, Friday···from: Devendra Ghate···
A slightly more verbose alternative which I have been using is:
\definehead
[chapter]
[section]
\setuphead
[chapter]
[section]
[style=\ss]
\setuphead
[chapter]
[style=\tfb]
\setuphead
[section]
[style
[…][bodypartlabel=…]
Thanks. Shouldn't \definehead[...] automatically also set the
bodypartlabel?
Aditya___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg
Hi,
(This is based on a question on tex.se:
http://tex.stackexchange.com/q/94170/323)
If a new head is defined based on an existing head, it still uses the
label of the previous head.
\definehead[whatever][chapter]
\setuplabeltext[en][whatever=Whatever~]
\setuplabeltext[en][chapter
Am 17.01.2013 um 19:20 schrieb Aditya Mahajan adit...@umich.edu:
Hi,
(This is based on a question on tex.se:
http://tex.stackexchange.com/q/94170/323)
If a new head is defined based on an existing head, it still uses the label
of the previous head.
\definehead[whatever][chapter
How to define a new title - like section, but aligned in the center and
underlined?
So far I got:
\definehead[mysection][section]
\setuphead[mysection][alternative=middle]
How to get the underlining in that?
Thanks!
Huseyin
2012-11-30 H. Özoguz:
How to define a new title - like section, but aligned in the center and
underlined?
So far I got:
\definehead[mysection][section]
\setuphead[mysection][alternative=middle]
How to get the underlining in that?
The following code is quite verbose, but it's
numbering
\definehead
[Topic]
[subsection]
\setuphead
[Topic]
[ownnumber=yes,number=yes,numberstyle=normal,numbercolor=darkgray,textstyle=\it,alternative=inmargin,header=empty,inbetween=,after=]
% use a label text
\setuplabeltext[Topic=\S]
% increment and feed
\newcounter\TopicNumber
\def\topic[#1]#2
for the fix! Now another thing I noticed is that the text
style “capital” fails with highlights:
·
\definehead [testhead] [section] [style=capital] %% - works
\definehighlight [testhighlight] [style=capital] %% - not always
One
A.2 Two
...
How can I fix this?
Kind regards
Stefan
% Top level head
\definehead [AgendaPart] [section]
\setuphead [AgendaPart] [ownnumber=yes, number=yes,
numbercommand={Part }, style=\bf\tfb]
\newcounter\AgendaPartNumber
\define [1] \agendapart {
\doglobal\increment
Hi Stefan,
···date: 2012-09-20, Thursday···from: Stefan Rothe···
% Top level head
\definehead [AgendaPart] [section]
\setuphead [AgendaPart] [ownnumber=yes, number=yes,
numbercommand={Part }, style=\bf\tfb]
\newcounter\AgendaPartNumber
\define [1] \agendapart {
\doglobal
Am 21.09.2012 um 11:24 schrieb Philipp Gesang ges...@stud.uni-heidelberg.de:
Hi Stefan,
···date: 2012-09-20, Thursday···from: Stefan Rothe···
% Top level head
\definehead [AgendaPart] [section]
\setuphead [AgendaPart] [ownnumber=yes, number=yes,
numbercommand={Part }, style=\bf\tfb
, which might end up as
subsections and vice versa.
There has always been this trick:
\definehead[level-1][chapter]
\definehead[level-2][section]
\definehead[level-3][subsection]
\startnamedsection[level-1][title=Alpha]
\startnamedsection[level-2][title=Beta]
\startnamedsection[level
Am 17.07.2012 um 18:08 schrieb Alan Bowen:
This used to work in earlier versions of MKIV, but does no longer—the page
sets without complaint but the footer does not appear.
A minimal example:
\definehead[BookTitle][title]
\setuphead[BookTitle][header=high
mapsfromchar
fontsfallback modern rm 12pt is loaded
structuresectioning BookTitle @ level 2 : 0.0 - Title
! Extra \else.
system tex error on line 11 in file Test.tex: Extra ...
1 \definehead[BookTitle][title]
2 \setuphead[BookTitle][header=high,footer
is defined as
\definealternativestyle [\v!bold] [\bf] []
As you can see “bold” is only a synonym for \bf (with the third argument you
can specify what should
happen when a command when the identifier is used in a heading, see below for a
example.
\definehead
The following code,
\startcomponent
\setuphead[title][page=yes]
\setuppagenumber[numberconversion=romannumerals]
\setuppagenumbering[alternative=doublesided]
\setuppagenumbering[location=,]
\setupheader[state=high]
\definehead[FMTitle][title]
\setuphead[FMTitle][header=high,alternative=middle
Am 08.03.2012 um 19:06 schrieb Alan Bowen:
The following code,
\startcomponent
\setuphead[title][page=yes]
\setuppagenumber[numberconversion=romannumerals]
\setuppagenumbering[alternative=doublesided]
\setuppagenumbering[location=,]
\setupheader[state=high]
\definehead[FMTitle
08.03.2012 um 19:06 schrieb Alan Bowen:
The following code,
\startcomponent
\setuphead[title][page=yes]
\setuppagenumber[numberconversion=romannumerals]
\setuppagenumbering[alternative=doublesided]
\setuppagenumbering[location=,]
\setupheader[state=high]
\definehead[FMTitle][title
}]
\definehead[BookTitle][title]
\setuphead[BookTitle][before={\noindent\textrule},style=rm]
\setuphead[BookTitle][header=high]
\setupheadertexts[text]
[\cap{A.\ U.\ Thor
[alternative=doublesided]
\setuppagenumbering[location=,]
\setuphead[title][page={header,yes}]
\definehead[BookTitle][title]
\setuphead[BookTitle][before={\noindent\textrule},style=rm]
\setuphead[BookTitle][header=high]
\setupheadertexts[text]
[\cap{A.\ U.\ Thor}]
[\pagenumber
Wolfgang—
In both MKII and MKIV (using the latest standalone which I installed this
morning), with
\setupheader[state=high]
\setuppagenumbering[alternative=doublesided]
\setuppagenumbering[location=,]
\setuphead[title][page={header,yes}]
\definehead[BookTitle][title]
\setuphead[BookTitle
[state=start]
\definehead[Ikap][section]
\definehead[IIkap][subsection]
\definecombinedlist[dpcontent][Ikap, IIkap][criterium=all]
\def\SECTION[#1] #2\par{{\csname#1kap\endcsname{#2}}\par}
\def\RSECTION[#1][#2] #3\par{\reference[#2]{#3}%
\writebetweenlist[Ikap][location=here]{\blank
sending example whitch works in ConTeXt MKIV in TeXlive 2011, but
does not work in standalone MKIV (minimals).
Command \writebetweenlist probably works differently than the previous
version.
Here is minimal example:
\setupinteraction[state=start]
\definehead[Ikap][section]
\definehead[IIkap
of contents.
Can anybody point me to the simplest way of achieving this? (I've tried
various combinations of \setuphead, \definehead, but nothing so far has
given me what I want.)
Thanks,
Alasdair
--
Blog: http://amca01.wordpress.com
Web: http://sites.google.com/site/amca01/
Facebook: http
of contents.
Can anybody point me to the simplest way of achieving this? (I've tried
various combinations of \setuphead, \definehead, but nothing so far has given
me what I want.)
Thanks,
Alasdair
--
Blog: http://amca01.wordpress.com
Web: http://sites.google.com/site/amca01
Thanks for your suggestion, but it didn't seem to work. I just discovered
the answer myself and that was to create a new chapter command:
\def\uchap#1#2{#2}
and then follow as per the wiki:
\definehead[ans][chapter]
\setuphead[ans][command=\uchap,number=no]
\definecombinedlist[content][ans
of the “style” key as a whole:
·
\definehead[colorsection][section]
\setuphead [colorsection][
style={\tfb\ss\color[darkgray]},
]
\starttext
\startcolorsection[title={This should be colored}]
\input knuth
\stopcolorsection
On 12/07/2011 11:16 AM, Philipp Gesang wrote:
Better group the arguments of the “style” key as a whole:
·
\definehead[colorsection][section]
\setuphead [colorsection][
style={\tfb\ss\color[darkgray]},
]
or, more ConTeXt-like
Thank you. Either of those solutions work fine.
Malte.
On 07/12/2011, at 21:31, Thomas A. Schmitz wrote:
On 12/07/2011 11:16 AM, Philipp Gesang wrote:
Better group the arguments of the “style” key as a whole:
·
\definehead
Hello all,
I've not been able to find the right combination of commands to change
my header style. I'd like to have bold, italic (or slanted), plus
change the text size. I currently have the following:
\setuphead[section][color=header_dark_blue, aligntitle=float]
\definehead[newsection][section
=header_dark_blue, aligntitle=float]
\definehead[newsection][section]
\setuphead[newsection]
style=\tfd\boldslanted,
style=\bsd,
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki
=bysuperpart] (if superpart is defined using
\definehead).
Aditya
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman
Hi Aditya,
On Mon, 21 Nov 2011 15:09:23 -0700, Aditya Mahajan adit...@umich.edu
wrote:
There is also \setupuserpagenumber[number=1] and
\setupuserpagenumber[way=bysuperpart] (if superpart is defined using
\definehead).
Hmm, I was wondering if there was something like this in the system
Am 21.11.2011 um 23:20 schrieb Idris Samawi Hamid ادريس سماوي حامد:
Hi Aditya,
On Mon, 21 Nov 2011 15:09:23 -0700, Aditya Mahajan adit...@umich.edu wrote:
There is also \setupuserpagenumber[number=1] and
\setupuserpagenumber[way=bysuperpart] (if superpart is defined using
\definehead
and \myframedsection %%%
\definehead[mysection][section]
\setuphead[mysection][color=blue*:3]
\def\myframedsection#1{\bgroup\vskip 0.5in
\framed[background=color, backgroundcolor=gray:10]
{\mysection{#1}}%
\egroup}
\starttext
\myframedsection
the command is used the third
time. But I am not sure. Can someone please tell me why it is not
working, and how I can change my definition so that it works? Is this
a bug?
\definehead[mysection][section]
\setuphead[mysection][color=blue*:3]
\def\myframedsection#1{\bgroup\vskip 0.5in
definition so that it works? Is this
a bug?
\definehead[mysection][section]
\setuphead[mysection][color=blue*:3]
\def\myframedsection#1{\bgroup\vskip 0.5in
\framed[background=color, backgroundcolor=gray:10]
{\mysection{#1}}%
\egroup
\definehead[exercise][section]
\setuphead[exercise][number=no]
\setuplist[exercise][headnumber=no]
but that doesn't work on its own, and when paired with
\definecombinedlist[content][exercise,chapter,section] wipes out the contents
completely.
Any advice (or even pointers to a web page) would
like these exercises to be typeset as unnumbered
sections (subjects), and appear so in the ToC. Like:
4.4 Second last section
4.5 Last section
Exercises
What is the best way of doing this (MkII)? I've tried
\definehead[exercise][section]
\setuphead[exercise][number=no]
\setuplist[exercise
will
be something like (untested)
\definehead[SlideTitle][section-1]
\setuphead[SlideTitle][style=\tfb, command=\SlideTitleCommand]
\defineframed[SlideTitleFrame][height=,align=right]
\def\SlideTitleCommand#1#2{\SlideTitleFrame{#1 \pagenumber}}
Where is such a macro given in the garden. A quick
in front of your values.
It’s also bad style to misuse the \title command for your document title
because \title is only the unnumbered version of \chapter, nothing else.
OK. That style was my first real project with ConTeXt, so it some
non-canonical setups. These days I use:
\definehead
Hi,
\kerncharacters doesn't have an influence on interword space in current
context version.
Is this intended?
Steffen
---
\definehead[TopLevel] [chapter]
\setuphead[TopLevel][style=\bf,textstyle={\kerncharacters[.75]},
align=flushleft,alternative=paragraph]
\starttext
Hi,
another thing in todays beta: This small exmaple ...
\definehead[TopLevel,MyLevel] [chapter]
\setuphead[TopLevel,MyLevel][style=\bf,textstyle={\kerncharacters[.75]},
align=flushleft,alternative=paragraph]
\starttext
\startTopLevel[title={This is a test}]
text
\stopTopLevel
\stoptext
On 6-9-2011 14:55, Steffen Wolfrum wrote:
Hi,
another thing in todays beta: This small exmaple ...
\definehead[TopLevel,MyLevel] [chapter]
\setuphead[TopLevel,MyLevel][style=\bf,textstyle={\kerncharacters[.75]},
align=flushleft,alternative=paragraph]
\starttext
\startTopLevel[title
How do I get marks with user defined heads?
Minimal example:
\definehead[lecture][section-1]
\starttext
\lecture{test}
Marking is not working: \getmarking[lecture]?
\stoptext
Thanks,
Aditya
___
If your
Am 18.07.2011 um 21:35 schrieb Aditya Mahajan:
How do I get marks with user defined heads?
Minimal example:
\definehead[lecture][section-1]
\definehead[lecture][section=section-1]
\starttext
\lecture{test}
Marking is not working: \getmarking[lecture]?
Marking is not working
On Mon, 18 Jul 2011, Wolfgang Schuster wrote:
Am 18.07.2011 um 21:35 schrieb Aditya Mahajan:
How do I get marks with user defined heads?
Minimal example:
\definehead[lecture][section-1]
\definehead[lecture][section=section-1]
D'oh. Thanks.
\starttext
\lecture{test}
Marking
201 - 300 of 581 matches
Mail list logo