Re: [NTG-context] Multiple bibliographies (bib-module, mkiv)

2014-04-07 Thread Peng Zhang
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

Re: [NTG-context] Problems with XML and table of contents

2014-03-28 Thread Xan
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

[NTG-context] Problems with XML and table of contents

2014-03-27 Thread Xan
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

Re: [NTG-context] Problems with XML and table of contents

2014-03-27 Thread Hans Hagen
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

Re: [NTG-context] Unnumbered chapters before the ToC

2014-01-15 Thread Wolfgang Schuster
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

Re: [NTG-context] Unnumbered chapters before the ToC

2014-01-15 Thread Robert Blackstone
, 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

Re: [NTG-context] ntg-context Digest, Vol 115, Issue 19

2014-01-10 Thread Jean-Guillaume
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

[NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Jean-Guillaume
/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

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Marco Patzer
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

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Jean-Guillaume
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

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Marco Patzer
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

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Jean-Guillaume
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

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Wolfgang Schuster
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

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Otared Kavian
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

Re: [NTG-context] footer page number on first page of section: doesn't appear

2013-12-05 Thread Lars Huttar
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

Re: [NTG-context] footer page number on first page of section: doesn't appear

2013-12-04 Thread Lars Huttar
. 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

Re: [NTG-context] footer page number on first page of section: doesn't appear

2013-12-04 Thread Aditya Mahajan
” 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

Re: [NTG-context] ConTeXt Manual Errata

2013-09-21 Thread Marco Patzer
? 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

[NTG-context] ConTeXt Manual Errata

2013-09-18 Thread Thangalin
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

[NTG-context] Different counters for titles

2013-09-03 Thread H. Özoguz
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

Re: [NTG-context] Different counters for titles

2013-09-03 Thread Hans Hagen
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

Re: [NTG-context] How to redefine \section temporaly?

2013-09-03 Thread john Culleton
% 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

Re: [NTG-context] Different counters for titles

2013-09-03 Thread H. Özoguz
\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

[NTG-context] Another issue with my magazine

2013-09-03 Thread Mikoláš Štrajt
={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

Re: [NTG-context] How to redefine \section temporaly?

2013-09-02 Thread Romain Diss
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

[NTG-context] How to redefine \section temporaly?

2013-08-31 Thread Romain Diss
\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

Re: [NTG-context] How to redefine \section temporaly?

2013-08-31 Thread Hans Hagen
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

Re: [NTG-context] Hidden sections

2013-08-23 Thread Wolfgang Schuster
#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

Re: [NTG-context] Hiding \part completely except for in the ToC

2013-08-06 Thread Marco Patzer
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

[NTG-context] [***SPAM***] unwanted space and error in combination of writebetweenlist and placecontent[criterium= local]

2013-05-12 Thread Zenlima
[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

Re: [NTG-context] [***SPAM***] heading in margin - strange extra vertical spaces

2013-05-05 Thread Wolfgang Schuster
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

[NTG-context] [***SPAM***] heading in margin - strange extra vertical spaces

2013-05-04 Thread Zenlima
] \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

Re: [NTG-context] [***SPAM***] heading in margin - strange extra vertical spaces

2013-05-04 Thread Marco Patzer
; 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

Re: [NTG-context] Heading flow

2013-05-01 Thread Lance Larsen
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

Re: [NTG-context] Heading flow

2013-05-01 Thread Wolfgang Schuster
. 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

[NTG-context] Vanishing chapter title from Contents

2013-04-17 Thread Tim Li
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

Re: [NTG-context] Vanishing chapter title from Contents

2013-04-17 Thread Wolfgang Schuster
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

Re: [NTG-context] Vanishing chapter title from Contents

2013-04-17 Thread Tim Li
:-) % 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

Re: [NTG-context] how to clear the header and footer in some page?

2013-04-16 Thread Marco Patzer
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

Re: [NTG-context] how to clear the header and footer in some page?

2013-04-16 Thread Tim Li
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

Re: [NTG-context] [***SPAM***] Changing the font of the TOC-Title

2013-04-15 Thread Wolfgang Schuster
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

[NTG-context] Unnumbered chapters (title), numbered appendices

2013-04-09 Thread Alan BRASLAU
. 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

Re: [NTG-context] Unnumbered chapters (title), numbered appendices

2013-04-09 Thread Wolfgang Schuster
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

Re: [NTG-context] Unnumbered chapters (title), numbered appendices

2013-04-09 Thread Alan BRASLAU
://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

Re: [NTG-context] Unnumbered chapters (title), numbered appendices

2013-04-09 Thread Wolfgang Schuster
(\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

[NTG-context] setuphead and Table of Content

2013-03-31 Thread Malte Stien
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

Re: [NTG-context] setuphead and Table of Content

2013-03-31 Thread Sietse Brouwer
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

[NTG-context] \setuphead [bodypartlabel=]

2013-03-26 Thread Alan BRASLAU
\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

Re: [NTG-context] \setuphead [bodypartlabel=]

2013-03-26 Thread Wolfgang Schuster
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

Re: [NTG-context] \setuphead [bodypartlabel=]

2013-03-26 Thread Alan BRASLAU
-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

[NTG-context] setups in the latest Context release

2013-03-25 Thread Devendra Ghate
}, frame=on]{\headnumbercontent} } \stoplinealignment \stopsetups \defineheadalternative[margin][renderingsetup=head:margin] \definehead[dchapter][chapter] \setuphead[dchapter][alternative=margin] \starttext \dchapter{Inexpensive Monte Carlo} \stoptext

Re: [NTG-context] TOC: Chapters with and without page-numbers

2013-03-15 Thread Jonathan Barchi
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

Re: [NTG-context] How to make all heads \ss?

2013-02-22 Thread Devendra Ghate
} 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

Re: [NTG-context] How to make all heads \ss?

2013-02-22 Thread Philipp Gesang
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

Re: [NTG-context] Bug in label and setuphead

2013-01-18 Thread Aditya Mahajan
[…][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

[NTG-context] Bug in label and setuphead

2013-01-17 Thread Aditya Mahajan
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

Re: [NTG-context] Bug in label and setuphead

2013-01-17 Thread Wolfgang Schuster
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

[NTG-context] Underlined section

2012-11-30 Thread 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? Thanks! Huseyin

Re: [NTG-context] Underlined section

2012-11-30 Thread Marco Patzer
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

[NTG-context] Section/head with separate numbering and references

2012-10-26 Thread Jason Brown
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

Re: [NTG-context] font features in beta

2012-10-17 Thread Philipp Gesang
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

[NTG-context] combinedlist: different behaviour in mkiv

2012-09-21 Thread Stefan Rothe
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

Re: [NTG-context] combinedlist: different behaviour in mkiv

2012-09-21 Thread Philipp Gesang
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

Re: [NTG-context] combinedlist: different behaviour in mkiv

2012-09-21 Thread Wolfgang Schuster
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

Re: [NTG-context] Adaptive section structuring

2012-09-13 Thread Hans Hagen
, 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

Re: [NTG-context] \definetext problem?

2012-07-17 Thread Wolfgang Schuster
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

Re: [NTG-context] \definetext problem?

2012-07-17 Thread Alan Bowen
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

Re: [NTG-context] setupcaptions

2012-07-11 Thread Wolfgang Schuster
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

[NTG-context] \setuppagenumber problem

2012-03-08 Thread Alan Bowen
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

Re: [NTG-context] \setuppagenumber problem

2012-03-08 Thread Wolfgang Schuster
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

Re: [NTG-context] \setuppagenumber problem

2012-03-08 Thread Alan Bowen
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

Re: [NTG-context] \setuphead problem

2012-03-03 Thread Wolfgang Schuster
}] \definehead[BookTitle][title] \setuphead[BookTitle][before={\noindent\textrule},style=rm] \setuphead[BookTitle][header=high] \setupheadertexts[text] [\cap{A.\ U.\ Thor

Re: [NTG-context] \setuphead problem

2012-03-03 Thread Alan Bowen
[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

Re: [NTG-context] \setuphead problem

2012-03-02 Thread Alan Bowen
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

Re: [NTG-context] Problem with \writebetweenlist

2012-02-25 Thread Jaroslav Hajtmar
[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

Re: [NTG-context] Problem with \writebetweenlist

2012-02-25 Thread Jaroslav Hajtmar
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

[NTG-context] Turning off special chapter headings

2012-02-16 Thread Alasdair McAndrew
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

Re: [NTG-context] Turning off special chapter headings

2012-02-16 Thread Otared Kavian
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

Re: [NTG-context] Turning off special chapter headings

2012-02-16 Thread Alasdair McAndrew
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

Re: [NTG-context] How to do coloured heads

2011-12-07 Thread Philipp Gesang
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

Re: [NTG-context] How to do coloured heads

2011-12-07 Thread Thomas A. Schmitz
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

Re: [NTG-context] How to do coloured heads

2011-12-07 Thread Malte Stien
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

[NTG-context] setupheads

2011-12-07 Thread Felix Ingram
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

Re: [NTG-context] setupheads

2011-12-07 Thread Wolfgang Schuster
=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

Re: [NTG-context] pagenumbering and part options [CORRECTED]

2011-11-21 Thread Aditya Mahajan
=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

Re: [NTG-context] pagenumbering and part options [CORRECTED]

2011-11-21 Thread 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). Hmm, I was wondering if there was something like this in the system

Re: [NTG-context] pagenumbering and part options [CORRECTED]

2011-11-21 Thread Wolfgang Schuster
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

[NTG-context] custom command \myframedsection does not always work. Bug?

2011-10-30 Thread Curiouslearn
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

Re: [NTG-context] custom command \myframedsection does not always work. Bug?

2011-10-30 Thread Wolfgang Schuster
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

Re: [NTG-context] custom command \myframedsection does not always work. Bug?

2011-10-30 Thread Curiouslearn
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

Re: [NTG-context] Some more ToC questions

2011-10-26 Thread Wolfgang Schuster
\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

[NTG-context] Some more ToC questions

2011-10-25 Thread Alasdair McAndrew
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

Re: [NTG-context] Multipages registers

2011-09-19 Thread Aditya Mahajan
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

Re: [NTG-context] Document title (was: (no subject))

2011-09-10 Thread Aditya Mahajan
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

[NTG-context] trouble with kerncharacters

2011-09-06 Thread Steffen Wolfrum
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

[NTG-context] bug/change in definehead?

2011-09-06 Thread Steffen Wolfrum
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

Re: [NTG-context] bug/change in definehead?

2011-09-06 Thread Hans Hagen
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

[NTG-context] definehead and marking

2011-07-18 Thread Aditya Mahajan
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

Re: [NTG-context] definehead and marking

2011-07-18 Thread Wolfgang Schuster
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

Re: [NTG-context] definehead and marking

2011-07-18 Thread Aditya Mahajan
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

<    1   2   3   4   5   6   >