On Tuesday 16 February 2010 23:21:31 Hans Hagen wrote:
On 16-2-2010 22:39, Mojca Miklavec wrote:
While you keep Hans and others busy, here's another thing that puzzled
me:
\definehead[appendix][chapter]
\definehead[subappendix][section]
\starttext
\startappendices
\appendix
On Wed, Feb 17, 2010 at 18:44, Alan BRASLAU wrote:
Why \definehead[appendix][chapter]?
Why not use \chapter{} and \section{}
within \startappendices\stopappendices?
I don't remember exactly (and it was bug anyway even if my code could
have been optimized), but I wanted to have different font
(compare mkii and
mkiv):
concerning tricks ... today i defined the hybrids between chapter/title,
section/subject etc
\definehead[chaptle] [chapter]
\definehead[suction] [section]
\definehead[subsuction] [subsection]
\definehead[subsubsuction][subsubsection]
\setuphead
[chaptle
\startbodymatter
\chapter {one}
\input knuth
\stopbodymatter
\startappendices
\chapter {first}
\input knuth
\stopappendices
\stoptext
While you keep Hans and others busy, here's another thing that puzzled me:
\definehead[appendix][chapter]
\definehead[subappendix][section]
\starttext
\startappendices
On 16-2-2010 22:39, Mojca Miklavec wrote:
\definehead[appendix][chapter]
\definehead[subappendix][section]
\starttext
\startappendices
\appendix{one}
\subappendix{one.one}
\appendix{two}
\subappendix{two.one}
\stopappendices
\stoptext
hm, looks like startappendices has no proper reset list
On 16-2-2010 22:39, Mojca Miklavec wrote:
While you keep Hans and others busy, here's another thing that puzzled me:
\definehead[appendix][chapter]
\definehead[subappendix][section]
\starttext
\startappendices
\appendix{one}
\subappendix{one.one}
\appendix{two}
\subappendix{two.one
and that brought me to
the following solution (without \definetwopasslist):
\newcounter\ChapNum
\def\NofChaps{0}
\definehead
[chapter]
[before=\increment\ChapNum,
after=\savecurrentvalue\NofChaps{\countervalue{ChapNum}}]
\starttext
Dieses Dokument besteht aus \NofChaps\ Kapiteln.
\dorecurse{9
=text]
\definehead[Subject][section]
\setuphead[Subject][before=\vskip-2pt,number=no]
\startbuffer[test]
\Subject{Lorem ipsum dolor sit amet, consectetur, sadipisci\dots}
\input zapf
\stopbuffer
\setuphead
[subject]
[before=,
after=,
align=right]
\starttext
\setlayerframed
it is still experimental but at the moment it works.
third question: you could define a new head with \definehead then it gets a new
counter. When you only want that a specific sectionnumber is different from the
others than do: \startsection [title=dritte section, ownnumber=243]
first question
Hello,
I need to define a Exercise command that will enumerate exercises and provide
captions.
For example,
\exercise{Conversion from hex to dec}
should produce
Exercise 1.1. Conversion from hex to dec.
What is the best way to achieve that? Use \definehead or another command
to achieve that? Use \definehead or another
command?
\defineenumeration[exercise][title=yes,way=bysection]
Thank you Aditya, but the result is rather shoking )
Please, try
\starttext
\defineenumeration[exercise][title=yes, text=Вправа, way=bysection,
width=broad]
\exercise{Розрахунок
Hello,
I need to define a Exercise command that will enumerate exercises and
provide captions.
For example,
\exercise{Conversion from hex to dec}
should produce
Exercise 1.1. Conversion from hex to dec.
What is the best way to achieve that? Use \definehead or another command?
Best
milieu
\setuppagenumbering[alternative=doublesided,location={footer,inleft}]
\language[fr]
\setuphead[chapter][page=no, textstyle=cap, numberstyle=bold, after={\blank\hrule\blank}]
\setuphead[title][after={\blank\hrule\blank}]
\def\auteur#1{\hfill#1\blank}
\definehead[sujet][subject]
\setuphead
___
Maybe a more simplified solution
\definehead[paragraf][section]
\setuphead[paragraf][before= {\crlf \S},after=,style=bold]
% or style=something else
\starttext
\paragraf[ref]{Paragraf title}
\input tufte
\stoptext
Cheers
Janneman
Am 17.10.2009 um 16:58 schrieb Janneman:
Maybe a more simplified solution
\definehead[paragraf][section]
\setuphead[paragraf][before= {\crlf \S},after=,style=bold]
don't do this, before and after are meant for vertical material like
\blank or \thinrule etc.
Wolfgang
___
Maybe a more simplified solution
\definehead[paragraf][section]
\setuphead[paragraf][before= {\crlf \S},after=,style=bold]
% or style=something else
\starttext
\paragraf[ref]{Paragraf title}
\input tufte
\stoptext
Cheers
Janneman
Am 17.10.2009 um 17:46 schrieb Janneman:
Understood! ;-)
\definehead[paragraf][section]
\def\mynumbercommand#1{\bf{\S} #1 --}
\define[1]\MyNumberCommand{§ #1 –} % let's use the right signs when
possible :)
\setuphead[paragraf][numbercommand=
\mynumbercommand,alternative=inmargin
On Sat, 17 Oct 2009, Janneman wrote:
\definehead[paragraf][section]
\def\mynumbercommand#1{\bf{\S} #1 --}
\setuphead[paragraf][numbercommand=\mynumbercommand,alternative=inmargin]
\starttext
\paragraf[ref]{TEST}
\input tufte
\stoptext
Another option:
\definehead[paragraph][section
\def\exnu#1{%
\framed
[width
=
1.5em
,corner
=
06
,background
=color,backgroundcolor=myGray,foreground=color,foregroundcolor=white]
{#1}%
}
\definehead[exercice][subsection]
\setuphead[exercice][textstyle={\bf},numberstyle={},numbercommand=
\exnu]
A few months ago, when using Mark II
=color,backgroundcolor=myGray,foreground=color,foregroundcolor=white]{#1}%
}
\definehead[exercice][subsection]
\setuphead[exercice][textstyle={\bf},numberstyle={},numbercommand=\exnu]
A few months ago, when using Mark II, the numbering of exercice was
continuous even if new sujects were introduced
\setuphead[subject][textstyle={\bfc},align=left,after=\hairline]
% Commandes
\def\exnu#1{%
\framed[width=1.5em,corner=06,background=color,backgroundcolor=myGray,foreground=color,foregroundcolor=white]{#1}%
}
\definehead[exercice][subsection]
\setuphead[exercice][textstyle={\bf},numberstyle
a lot more
predictable?
actually, the advice is that user definitions use uppercase
\definehead[MySection][section]
etc, just to avoid clashes with built in commands
Hans
-
Hans Hagen
argument to installprettytype is related to these commands.
\definetyping[PHP] [option=PHP]
indeed. as i don't like casing in filenames, and function names
Agreed, me neither.
actually, the advice is that user definitions use uppercase
\definehead[MySection][section]
etc, just to avoid
, the advice is that user definitions use uppercase
\definehead[MySection][section]
etc, just to avoid clashes with built in commands
That makes sense for commands, which is not what I'm proposing to change. I
would propose making it look like the following:
\installprettytype [php][php
]
\mainlanguage[sl]
\definehead[mysection][section]
\setuphead [mysection][coupling=section,incrementnumber=list]
\setuphead[mysection][command=\MySectionStyle, header=high, style={}]
\def\MySectionStyle#1#2{
{\tfa#2}
}
Thanks, Crt
smime.p7s
Description: S/MIME cryptographic signature
example.)
My settings which might have an influence to this problem:
\enableregime[utf8]
\mainlanguage[sl]
\definehead[mysection][section]
\setuphead [mysection][coupling=section,incrementnumber=list]
\setuphead[mysection][command=\MySectionStyle, header=high, style={}]
\def\MySectionStyle#1#2
!no]}}%
definestructurelist ?
\the\everystructureheadsetup}
See the example below.
nice example
Regard, Bernard
%MTXrun | current version: 2009.08.17 19:06
% linux-32
\definehead[Mysection][section]
\defineenumeration[example]
[way=bysection,
location=left]
\def\test{%
\ifnum
\definehead[Mysection][section]
\defineenumeration[example]
[way=bysection,
location=left]
\def\test{%
\ifnum\currentenumerationfullnumber=\recurselevel\relax
\currentenumerationfullnumber = \recurselevel\ PASS%
\else
\currentenumerationfullnumber
.
The headingnumbers are 1 2 1 2 3 4 5 6 instead of 1 2 3 4 5 6 7 8.
See the example below.
Regard, Bernard
%MTXrun | current version: 2009.08.17 19:06
% linux-32
\definehead[Mysection][section]
\defineenumeration[example]
[way=bysection,
location=left]
\def\test{%
\ifnum
Hi all,
How do I reset an enumeration with my own header?
See the example below.
The build-in section works and my own header fails.
Tia,
Bernard
% MKIV beta
% MTXrun | current version: 2009.08.07 11:22
% linux-32
\definehead[Mysection][section]
\setuphead[Mysection]
[after=\nowhitespace
, issue a warning
or an error.
There is \define and \redefine.
I know. What I am asking is that the core macros like \definedescription,
\defineitemgroups, \definehead, which have the general form
\def\defineSOMETHING%
{\dodoubleargument\dodefineSOMETHING}
\def\dodefineSOMETHING[#1][#2
\definecommands should check if
the macro is previously defined or not. If it is defined, issue a warning or
an error.
There is \define and \redefine.
I know. What I am asking is that the core macros like \definedescription,
\defineitemgroups, \definehead, which have the general form
\def
][page=no]
\definehead[Kapitel][chapter]
\definehead[Abschnitt][section]
\starttext
\dorecurse{20}{%
\expanded{\Kapitel{My chapter \recurselevel}}
\expanded{\Abschnitt{My Zapf \recurselevel}}
\input zapf
\expanded{\Abschnitt{My Tufte \recurselevel}}
\input tufte
}
\completecontent[criterium=all
The latest beta (ConTeXt ver: 2009.05.28 14:36 MKII fmt: 2009.5.28
int: english/english) no longer processes my files: all I get is
complaints about an extra \else. That is,
\definehead[LevelCHead][chapter]
\setuphead[LevelCHead][style={\tf
\it},alternative=text,number=no,page
with...
---
\definehead[mysubject][subject]
\defineframed[lrframe][
width=\localhsize,
align=normal,
rulethickness=1pt]
\setuphead[mysubject][style={\bf}]
\define[3]\CHRONSUBJ
{\mysubject{\dontleavehmode\lrframe{#1\hfill#2}}
\startnarrower[left]{#3}\stopnarrower}
\showframe[text
/msg17276.html
And here is an example of something I was playing with...
---
\definehead[mysubject][subject]
\defineframed[lrframe][
width=\localhsize,
align=normal,
rulethickness=1pt]
\setuphead[mysubject][style={\bf}]
\define[3]\CHRONSUBJ
{\mysubject
-archive.com/ntg-context@ntg.nl/msg17276.html
And here is an example of something I was playing with...
---
\definehead[mysubject][subject]
\defineframed[lrframe][
width=\localhsize,
align=normal,
rulethickness=1pt]
\setuphead[mysubject][style={\bf}]
\define[3]\CHRONSUBJ
{\mysubject
=black,
prefix=+]
\setuphead[subsubsection][before=\crlf,
style=\subsubsectionFont,
color=black,
prefix=+]
\definehead[myhead][section]
\setuphead[myhead] [before=\crlf,
page=yes
}\stopnarrower
\stoptopdesc}
\definehead[mysubject][subject]
\setuphead[mysubject][style={\bf}]
\define[3]\CHRONSUB
{\mysubject{\dontleavehmode\lrframe{#1\hfill#2}}
\startnarrower[left]{#3}\stopnarrower}
\showframe[text]
\starttext
\startnarrower[left]
\dontleavehmode\lrframe[width=broad]
{leftleftleft
; charset=US-ASCII; format=flowed
On Thu, 14 May 2009, Jos van Gisbergen wrote:
Hi,
I have defined my own header:
\definehead[myhead][subsection]
\setuphead[myhead][ page=no, number=no ]
All works fine, except sometimes the head appears at page bottom and
the text starts on the next page
]
\setuplayout[header=0pt,footer=0pt]
\definedescription[topdesc][
inbetween={\blank[none]},
headstyle={\bf},
style={\tf\rm},
location=top,
width=broad]
\define[3]\CHRONDESC
{\starttopdesc
{\dontleavehmode\lrframe{#1\hfill#2}}
\startnarrower[left]{#3}\stopnarrower
\stoptopdesc}
\definehead[mysubject
Hi,
I have defined my own header:
\definehead[myhead][subsection]
\setuphead[myhead][ page=no, number=no ]
All works fine, except sometimes the head appears at page bottom and
the text starts on the next page. How can I specify that if less than, say,
3 lines of text fit on the current page
On Thu, 14 May 2009, Jos van Gisbergen wrote:
Hi,
I have defined my own header:
\definehead[myhead][subsection]
\setuphead[myhead][ page=no, number=no ]
All works fine, except sometimes the head appears at page bottom and
the text starts on the next page. How can I specify that if less than
$\langle$\from[email]$\rangle$}
\bigskip\hairline]
\definehead[subject][section]
\setuphead[subject][number=no]
\definehead[subsubject][subsection]
\setuphead[subsubject][number=no]
\setuphead
[subject]
[style=\tfb]
% Text
\starttext
\startlinecorrection
\title{Mikrotypografie
data]
Could you [or someone] give a couple of example of how to use
[optional user data]
Also, where in the base files does this stuff get defined? I could
not find it.
strc-sec.tex
start/stop commands are created with \definehead automatically
Wolfgang
get defined? I could not
find it.
strc-sec.tex
start/stop commands are created with \definehead automatically
ok, thnx! OTOH, I did not see any illustrative examples of the use of
[optional user data]
:-)
Best wishes
Idris
--
Professor Idris Samawi Hamid, Editor-in-Chief
International
]
Also, where in the base files does this stuff get defined? I could
not find it.
strc-sec.tex
start/stop commands are created with \definehead automatically
ok, thnx! OTOH, I did not see any illustrative examples of the use of
[optional user data]
:-)
of course not .. its; new
Управління }
I have played a lot with \Word, \Words, \Cap, etc, but they don't work.
Current \word command turns all letters to small, but this is not
acceptable.
\definehead[faculty][chapter]
\setuphead [faculty][
incrementnumber=list, page=yes, number=no, align=right,
style
{Факультет Аерокосмічних Систем Управління }
I have played a lot with \Word, \Words, \Cap, etc, but they don't work.
Current \word command turns all letters to small, but this is not
acceptable.
\definehead[faculty][chapter]
\setuphead [faculty][
incrementnumber=list, page=yes, number=no, align
, \Words, \Cap, etc, but they don't work.
Current \word command turns all letters to small, but this is not
acceptable.
\definehead[faculty][chapter]
\setuphead [faculty][
incrementnumber=list, page=yes, number=no, align=right,
style={\switchtobodyfont[impact]\bfb\word}]
mkii
Thank you, Hans. luatools --generate eliminated the error.
But, font switch in 'style' stopped working.
For example,
\definehead[faculty][chapter]
\setuphead [faculty][
incrementnumber=list, page=yes, number=no, align=middle, style=\bfb]
produces bold but normal size font. \tfa also gives
Am 27.03.2009 um 00:25 schrieb Vyatcheslav Yatskovsky:
Thank you, Hans. luatools --generate eliminated the error.
But, font switch in 'style' stopped working.
For example,
\definehead[faculty][chapter]
\setuphead [faculty][
incrementnumber=list, page=yes, number=no, align=middle, style
Hello,
How to get rid of break
after section head? I need to glue it with author's information
(italic).
\definehead[exhibitname][subsection]
\setuphead [exhibitname][
incrementnumber=list, number=no, align=middle, style=\bf]
\def\exhibit#1#2%
{
{\exhibitname{#1}}
%\blank
Hallo,
I would like to def a costum head, but I also want the
pure word 'Inhaltsverzeichnis' as content head.
I tryed:
\def\Vortrag#1#2{#1~Vortrag:~#2}%
\setuphead[chapter][command=\Vortrag ]
\definehead[contenthead][title]
\starttext
\contenthead
]
\definehead[contenthead][title]
\starttext
\contenthead{Inhaltsverzeichnis}
\placecontent
\chapter{Bla}
blub
\stoptext
But the content head is still prefixed with 'Vortrag:'.
What is the solution for this?
\setuphead
[chapter]
[numbercommand=\groupedcommand
\definesection[nc]
\setupsection[nc][conversion=Characters]
\definehead[interlude][section=nc,default=chapter]
\setuphead[interlude][incrementnumber=yes]
\starttext
\title{Contents}
\placelist[chapter,interlude]
\chapter{Chap 1}
\interlude{Interlude 1}
\chapter{Chap 2}
\interlude
with 'A' instead of 'B'. Is there a missing key=value pair, or
is the approach completely wrong?
\definesection[nc]
\setupsection[nc][conversion=Characters]
\definehead[interlude][section=nc,default=chapter]
\setuphead[interlude][incrementnumber=yes]
\starttext
\title{Contents}
\placelist[chapter
alone!)
\definehead[marcin][chapter]
\setuphead
[marcin]
[page=no]
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http
file. Page 1
is head followed by text, which is OK. Page 2 is head followed by itemize,
which has extra space. page 3 is just itemize which is ok.
\definelayer[test]
[width=\paperwidth,
height=\paperheight,
x=5cm,y=1cm]
\def\mylayer#1#2{\setlayer[test]{#1#2}}
\definehead
is head followed by itemize,
which has extra space. page 3 is just itemize which is ok.
\definelayer[test]
[width=\paperwidth,
height=\paperheight,
x=5cm,y=1cm]
\def\mylayer#1#2{\setlayer[test]{#1#2}}
\definehead[testhead][subject]
\setuphead[testhead
followed by text, which is OK. Page 2 is head followed by itemize,
which has extra space. page 3 is just itemize which is ok.
\definelayer[test]
[width=\paperwidth,
height=\paperheight,
x=5cm,y=1cm]
\def\mylayer#1#2{\setlayer[test]{#1#2}}
\definehead[testhead][subject
,
which has extra space. page 3 is just itemize which is ok.
\definelayer[test]
[width=\paperwidth,
height=\paperheight,
x=5cm,y=1cm]
\def\mylayer#1#2{\setlayer[test]{#1#2}}
\definehead[testhead][subject]
\setuphead[testhead]
[before=,
after
Hi,
I'd like to define a section-like thing (with \definehead) in a way that
prevents ConTeXt from putting the pagenumber on the _first_ page of this
section. How do I do this?
Greets
--
Marcin Borkowski (http://mbork.faculty.fmcs.amu.edu.pl
Dnia Mon, Sep 22, 2008 at 07:27:28PM +0200, Marcin Borkowski napisa#322;(a):
Hi,
I'd like to define a section-like thing (with \definehead) in a way that
prevents ConTeXt from putting the pagenumber on the _first_ page of this
section. How do I do this?
ok, I've got it:
\setuphead
Hi,
sorry for my foggy post last night (02:50h ...)
Hopefully this example makes it clearer:
--
\starttext
\showframe
\definehead[EbeneFuenf] [subsubsubsection]
\setupsection[section-6][conversion=characters,previousnumber=yes]
\def\FuenfCommand#1{#1.}
\def\CurrentEbeneFuenfNumber#1#2%
{\hbox
Steffen Wolfrum schrieb:
Hi,
sorry for my foggy post last night (02:50h ...)
Hopefully this example makes it clearer:
--
\starttext
\showframe
\definehead[EbeneFuenf][subsubsubsection]
\setupsection[section-6][conversion=characters,previousnumber=yes]
\def\FuenfCommand#1{#1
Am 29.08.2008 um 11:18 schrieb Peter Rolf:
Steffen Wolfrum schrieb:
Hi,
sorry for my foggy post last night (02:50h ...)
Hopefully this example makes it clearer:
--
\starttext
\showframe
\definehead[EbeneFuenf][subsubsubsection]
\setupsection[section-6][conversion=characters
Dear gang,
This used to work:
=
\definehead[intro][chapter]
\setuphead [intro][numberstyle=normal,
number=no,
ownnumber=no,
incrementnumber=no,
continue
in the tables
should be part of the content table of the document, but in the filled
table itself, they should still look as normal text. To do so, I have
defined my own section, this way:
\definehead[fieldNameSection][subsection]
\setuphead[fieldNameSection][number=no, textstyle=\tfe]
And made
Hi,
looking for a reliable soluion to the problem of keeping section heads
with following paragraphs I found the email below from Hans 2003.
But using it gives an error (see below):
\starttext
\definehead[myhead][section]
\setuphead[myhead][after={\blank[big]\blank[inhibit]}]
\input tufte
On Fri, Jul 25, 2008 at 9:58 AM, Steffen Wolfrum [EMAIL PROTECTED] wrote:
Hi,
looking for a reliable soluion to the problem of keeping section heads with
following paragraphs I found the email below from Hans 2003.
But using it gives an error (see below):
\starttext
\definehead[myhead
of keeping section
heads with
following paragraphs I found the email below from Hans 2003.
But using it gives an error (see below):
\starttext
\definehead[myhead][section]
\setuphead[myhead][after={\blank[big]\blank[inhibit]}]
\input tufte \par
\input knuth \par
\input tufte \par
On Fri, Jul 25, 2008 at 10:15 AM, Steffen Wolfrum
[EMAIL PROTECTED] wrote:
... yes, but Hans said so (see my email quoting him)!!!
What did he mean?
Do you know an other solution?
\defineblankmethod [nobreak] {\penalty\plustenthousand}
\defineblankmethod [endgraf] {\endgraf}
\definehead
}
\defineblankmethod [endgraf] {\endgraf}
\definehead[myhead][section]
\setuphead[myhead][after={\blank[endgraf,nobreak,big]}]
Not sure about the order in the blank command but this should work.
Hmm, I think I have tried all possible combination now but it does not
work.
Did you try
an other solution?
\defineblankmethod [nobreak] {\penalty\plustenthousand}
\defineblankmethod [endgraf] {\endgraf}
\definehead[myhead][section]
\setuphead[myhead][after={\blank[endgraf,nobreak,big]}]
Not sure about the order in the blank command but this should work.
Hmm, I think I have
email quoting him)!!!
What did he mean?
Do you know an other solution?
\defineblankmethod [nobreak] {\penalty\plustenthousand}
\defineblankmethod [endgraf] {\endgraf}
\definehead[myhead][section]
\setuphead[myhead][after={\blank[endgraf,nobreak,big]}]
Not sure about the order in the blank
, Steffen Wolfrum
[EMAIL PROTECTED] wrote:
... yes, but Hans said so (see my email quoting him)!!!
What did he mean?
Do you know an other solution?
\defineblankmethod [nobreak] {\penalty\plustenthousand}
\defineblankmethod [endgraf] {\endgraf}
\definehead[myhead][section]
\setuphead[myhead
}
\defineblankmethod [endgraf] {\endgraf}
\definehead[myhead][section]
\setuphead[myhead][after={\blank[endgraf,nobreak,big]}]
Not sure about the order in the blank command but this should
work.
Hmm, I think I have tried all possible combination now but it
does not
work.
Did you try
,
Steffen
\definehead[EbeneEins] [chapter]
\setupsection[section-3][conversion=Characters,previousnumber=no]
\setupsection[section-4][conversion=Romannumerals,previousnumber=no]
\setupsection[section-5][conversion=numbers,previousnumber=no]
%
%\setupsection[section-3][conversion=Characters
, it must
show the full path when referenced (otherwise nobody will find 2).
Is there help?
Thank you very much,
Steffen
\definehead[EbeneEins][chapter]
\setupsection[section-3][conversion=Characters,previousnumber=no]
\setupsection[section-4][conversion=Romannumerals,previousnumber
command to place the
title \definehead[abstract] or can we use one of the predefined ones
(title -- new page or subject -- if you need a abstract in different languages
on one page).
This should define a command that captures its contents, and provides a
command \placetitlesubstructure[abstract
appearance of subsection individually)??
You could define subsection as a copy from section.
\setupsection[section][conversion=numbers,previousnumber=no]
\definehead[subsection][section]
\setuphead[subsection][style=]
I tried to get this effect also with ConTeXt's subhead and setupsection
commands
.
\setupcolors[state=start]
\setupinteraction[state=start,contrastcolor=blue,color=blue,style=rm]
\definereferenceformat
[givepage]
[command=\at,
left={\color[blue]}]
\definehead[LevelBHead][subject]
\setupsectionblock[LevelBHead][number=no,page=right]
\setuphead[LevelBHead][style={\tf\rm
== \color[blue]{1}
\definehead[LevelBHead][subject]
\setupsectionblock[LevelBHead][number=no,page=right]
\setuphead[LevelBHead][style={\tf\rm},interaction=yes]
\starttext
\dorecurse{2}{\input knuth\par}\reference[Reference]{}
\dorecurse{3}{\input knuth\par}
\LevelBHead{B{-}Header\hfill
with a colored pagenumber.
\setupcolors[state=start]
\setupinteraction[state=start,contrastcolor=blue,color=blue,style=rm]
\definereferenceformat
[givepage]
[command=\at,
left={\color[blue]}]
\definehead[LevelBHead][subject]
\setupsectionblock[LevelBHead][number=no,page=right]
\setuphead
In my preface, I have
\setupinteraction[state=start,color=blue,style=rm]
\definehead[LevelBHead][subject]
\setupsectionblock[LevelBHead][number=no,page=right]
\setuphead[LevelBHead][style={\tf\rm},interaction=yes]
and in the source file proper,
\LevelBHead{Comment 3: {\em In de caelo} {\tf
Thanks, Hans, but i still cannot get this to work.
Here is a simple file that conveys the problem (working link, but
wrong color).
Alan
~
\setupinteraction[state=start,contrastcolor=blue,color=blue,style=rm]
\definehead[LevelBHead][subject]
\setupsectionblock[LevelBHead][number
}
\definehead[Titel][chapter]
\definehead[TitelNoToc][chapter]
\definehead[TitelNoPage][chapter]
\definehead[TitelKlein][chapter]
\def\TitelFrame#1{\expanded{\index{#1}}%
\framed[
width=\textwidth,
height=7.5mm,
frame=off
.177 ...age{index}{,}{21}{2--0-6-0-0-0-0-0--5}{7}
probably caused by \dots in:
\Titel{Wach nun auf\dots}
with those definitions:
--- 8 ---
\def\dots{\thinspace.\thinspace.\thinspace.\thinspace}
\definehead[Titel][chapter]
\definehead[TitelNoToc][chapter]
\definehead[TitelNoPage][chapter
as a section (or subsection)
\definehead[Issue][section]
\Issue {Jan 9, 2008} What we did at that time.
\Issue {Jan 10, 2008} something else
\stoptext
Then you can use \setupheadertexts[issue] to get the current issue in the
header.
Now this is how I went out to do this in ConTeXt (maybe wrongly so
][plural]
\definefont[name][file]
# \definefontsynonym
\defineframed[name][settings]
# \defineframedcontent
\defineframedtext[name][settings]
\definehead[name][section]
# \definehspace
\defineindenting[name][settings]
\defineinteractionmenu[position|names][options and settings]
\defineinteractionmenu
:
--
\completecontent
[alternative=c]
\definehead[mychapter][chapter]
\setuphead [mychapter][number=no]
add incrementnumber=list to \setuphead
This doesn't seem to work:
--
\starttext
\completecontent
[alternative=c]
\chapter
Hi,
I know that this must be an faq and I seem to have lost my context
knowledge:
I'd like to get an unnumbered chapter, but it should appear in the
table of contents. This is what I've tried so far:
--
\completecontent
[alternative=c]
\definehead[mychapter][chapter
Hello Wolfgang,
I know that this must be an faq and I seem to have lost my context
knowledge:
I'd like to get an unnumbered chapter, but it should appear in the
table of contents. This is what I've tried so far:
--
\completecontent
[alternative=c]
\definehead[mychapter
Am 2007-12-15 um 17:33 schrieb Patrick Gundlach:
\starttext
\completecontent
[alternative=c]
\chapter{chapter1}
\chapter{chapter2}
\chapter{chapter3}
\definehead[mychapter][chapter]
\setuphead [mychapter][number=no,incrementnumber=list]
\mychapter{chapter4}
\stoptext
{Subject}
\section{Another section}
\chapter{Second Chapter}
text
\section{First section in second chapter}
text
\subject{Another Subject}
text
\section{Last section}
text
\stoptext
The wiki page also has this:
\definehead[Title][Chapter]
\setuphead[Title][number=no]
But that doesn't make
page also has this:
\definehead[Title][Chapter]
\setuphead[Title][number=no]
But that doesn't make the slightest difference.
Anybody got any ideas how to get this to work? I'm using:
pdfeTeX 3.141592-1.21a-2.2 (Web2C 7.5.4)
TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005
texutil : TeXUtil 9.0.0
=no]
%\setupitemize[3][symbol=a][indentnext=no]
\definehead[CVHEAD][subject]
\setuphead[subject][style=\bfa,after={\blank[medium]}]
\definehead[SUBCVHEAD][subsubject]
\setuphead[subsubject][style=\bf,after={\blank[small]},before=
{\blank[small]}]
\defineparagraphs[ContactColumns][n=2]
\setupparagraphs
[location=footer]
\setupinmargin[align=right]
\setupitemize[1][paragraph,atmargin,unpacked][symbol=n,indentnext=no,]
\setupitemize[2][symbol=a][indentnext=no]
%\setupitemize[3][symbol=a][indentnext=no]
\definehead[CVHEAD][subject]
\setuphead[subject][style=\bfa,after={\blank[medium]}]
\definehead
want:
\setuphead[section][conversion=Romannumerals]
\definehead[SUBsection][section]
\setuphead[SUBsection][conversion=Character]
\setuplabeltext[section={{},{.}}]
\setuplabeltext[SUBsection={{},{.}}]
\starttext
\section{A Section Title}
\SUBsection{A Subsection
401 - 500 of 578 matches
Mail list logo