Re: [NTG-context] Footnote font size equal to main text font size

2020-09-16 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 15.09.2020 um 04:38: Hi, list. I've adapted the following example from the mailing list. My aim is to use endnotes for each chapter: \mainlanguage[es] \definehead[footnotetitle][title] \startsetups[chapter:after] \ifcase\rawcountervalue[footnote]\relax      \else

Re: [NTG-context] Footnote font size equal to main text font size

2020-09-16 Thread Henning Hraban Ramm
> Am 15.09.2020 um 04:38 schrieb Jairo A. del Rio : > > Hi, list. I've adapted the following example from the mailing list. My aim is > to use endnotes for each chapter: > > \mainlanguage[es] > \definehead[footnotetitle][title] > \startsetups[chapter:after] > \ifca

[NTG-context] Footnote font size equal to main text font size

2020-09-14 Thread Jairo A. del Rio
Hi, list. I've adapted the following example from the mailing list. My aim is to use endnotes for each chapter: \mainlanguage[es] \definehead[footnotetitle][title] \startsetups[chapter:after] \ifcase\rawcountervalue[footnote]\relax \else \startfootnotetitle[title={Notas

[NTG-context] Fwd: Re: styling individual parts of ToC entry

2020-09-09 Thread jbf
not produce a numbered item - however, it is producing the label 'Chapter' which I don't want for these item. You can see below how I tried to avoid that, but it failed. My MWE addition to what Wolfgang provided is: \definehead [foreword] [chapter] \setuphead [foreword] \setuplist [foreword

Re: [NTG-context] styling individual parts of ToC entry

2020-09-09 Thread jbf
\chapter, since it does not produce a numbered item - however, it is producing the label 'Chapter' which I don't want for these item. You can see below how I tried to avoid that, but it failed. My MWE addition to what Wolfgang provided is: \definehead [foreword] [chapter] \setuphead [foreword

Re: [NTG-context] styling individual parts of ToC entry

2020-09-09 Thread Wolfgang Schuster
to avoid that, but it failed. My MWE addition to what Wolfgang provided is: \definehead [foreword] [chapter] \setuphead [foreword] \setuplist [foreword]  [label=foreword,  alternative=command,  command=\ChapterListCommand]% definition not included here. It was given in an earlier response

Re: [NTG-context] styling individual parts of ToC entry

2020-09-09 Thread jbf
addition to what Wolfgang provided is: \definehead [foreword] [chapter] \setuphead [foreword] \setuplist [foreword]  [label=foreword,  alternative=command,  command=\ChapterListCommand]% definition not included here. It was given in an earlier response from Wolfgang

[NTG-context] Fwd: Re: styling individual parts of ToC entry

2020-09-07 Thread jbf
at least). MWE: \definehead [foreword] [title] \definehead [preface] [title] \definehead [mysection] [section] \setupcombinedlist[chapter,foreword,preface,mysection,section, subsection] \define[3]\ChapterListCommand   {\hbox\bgroup \hbox to 3cm{\currentlistsymbol\hss}% number + labeltext

Re: [NTG-context] styling individual parts of ToC entry

2020-09-07 Thread Wolfgang Schuster
command=\TitleListCommand] \setuplabeltext   [en]   [chapter={\bf Chapter }] \setuplabeltext   [en]   [title={\bf ? }] %There needs to be three different labels You need extra headings for the forward and preface     \definehead [forward] [chapter]     \definehead [preface] [chapter] to have full control a

[NTG-context] author in ToC and other design complications

2020-09-03 Thread jbf
place the ToC using: \definehead   [tochead]   [title] \starttochead[title={Contents}]   \placecombinedlist[content] \stoptochead %- The last bit ensures that I get the word 'Contents' as the toc title, and avoid then getting 'contents' listed as an item with its page

Re: [NTG-context] reduced space below chapter title

2020-06-02 Thread Wolfgang Schuster
,numbercommand=\groupedcommand{}{\blank[2cm]},after={\blank[3cm]}] and then setting up a mychapter as: \definehead[mychapter][chapter] \setuphead[mychapter][header=empty,alternative=middle,style=bold,numbercommand=\groupedcommand{}{\blank[2cm]},after={\blank[.5cm]}] That gives me the result I am after

Re: [NTG-context] reduced space below chapter title

2020-06-02 Thread jbf
]},after={\blank[3cm]}] and then setting up a mychapter as: \definehead[mychapter][chapter] \setuphead[mychapter][header=empty,alternative=middle,style=bold,numbercommand=\groupedcommand{}{\blank[2cm]},after={\blank[.5cm]}] That gives me the result I am after as well as maintaining the style

Re: [NTG-context] how to interrupt doublesided in particular instance

2020-05-06 Thread jbf
on left/right pages. \setuppagenumbering[alternative=doublesided] \definehead[mychapter][chapter] \setuphead[mychapter][page=yes] \starttext \chapter{Right page} \chapter{Right page} \mychapter{New page} \chapter{Right page} \stoptext Wolfgang

Re: [NTG-context] how to interrupt doublesided in particular instance

2020-05-06 Thread Rik Kabel
). Is there a way to interrupt the setup so the new chapter in this case can start on the verso page? Create a new heading for chapters which can start on left/right pages. \setuppagenumbering[alternative=doublesided] \definehead[mychapter][chapter] \setuphead[mychapter][page=yes] \starttext

Re: [NTG-context] how to interrupt doublesided in particular instance

2020-05-05 Thread jbf
the setup so the new chapter in this case can start on the verso page? Create a new heading for chapters which can start on left/right pages. \setuppagenumbering[alternative=doublesided] \definehead[mychapter][chapter] \setuphead[mychapter][page=yes] \starttext \chapter{Right page} \chapter

Re: [NTG-context] how to interrupt doublesided in particular instance

2020-05-05 Thread Wolfgang Schuster
). Is there a way to interrupt the setup so the new chapter in this case can start on the verso page? Create a new heading for chapters which can start on left/right pages. \setuppagenumbering[alternative=doublesided] \definehead[mychapter][chapter] \setuphead[mychapter][page=yes] \starttext

Re: [NTG-context] \definehead behaving differently when in an environment file versus \input'ed

2020-05-02 Thread ntg
> On 2 May 2020, at 17:08, Wolfgang Schuster > wrote: [comprehensive answer snipped] Thank-you, very helpful. > I attached a slightly modified version of your project structure to show a > different way to organize documents. What I would change is to use a better > section name for each

Re: [NTG-context] \definehead behaving differently when in an environment file versus \input'ed

2020-05-02 Thread Wolfgang Schuster
n...@scorecrow.com schrieb am 02.05.2020 um 17:14: I'm having trouble with \definehead behaving differently depending upon whether I process a file that includes it via a \input statement versus a project structure that calls it via an environment file referenced from a component file

Re: [NTG-context] \definehead behaving differently when in an environment file versus \input'ed

2020-05-02 Thread ntg
And the attachment (d'oh): <> ___ 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/listinfo/ntg-context webpage :

[NTG-context] \definehead behaving differently when in an environment file versus \input'ed

2020-05-02 Thread ntg
I'm having trouble with \definehead behaving differently depending upon whether I process a file that includes it via a \input statement versus a project structure that calls it via an environment file referenced from a component file. Overall aim: I currently produce a small circulation

Re: [NTG-context] TOC- removing Contents 0

2020-04-22 Thread Pablo Rodriguez
requesting that all titles are included in the TOC. A workaround could be to create a special title command for the TOC, such as in: \definehead [toctitle] [title] And then use the following instead of \completecontent: \toctitle{Contents} \placelist[content] This should avoid the proble

Re: [NTG-context] TOC- removing Contents 0

2020-04-22 Thread Henning Hraban Ramm
oC title. (title = unnumbered chapter) If you need chapters without numbers, use \setuphead[chapter][number=no]. If you need some titles to appear in the ToC, you can use \definehead[MyTitle][chapter] etc. You can also replace \completecontent with

Re: [NTG-context] Repeat backgrounds on slides

2020-02-15 Thread Jan U. Hasecke
{\externalfigure[\structureuservariable{background}][factor=max]}] > > \setuppapersize[S6] > \setupbackgrounds[page][background=SlideBackground] > > %\setuppapersize[S6][S6,oversized] > %\setupbackgrounds[paper][background=SlideBackground] > %\setuplayout[locati

Re: [NTG-context] Repeat backgrounds on slides

2020-02-14 Thread Wolfgang Schuster
kgrounds[page][background=SlideBackground] %\setuppapersize[S6][S6,oversized] %\setupbackgrounds[paper][background=SlideBackground] %\setuplayout[location=middle] \definehead[Slide][chapter] \starttext \startSlide[title=Cow][background=cow] \dorecurse{3}{\dontleavehmode\page} \stopSlide \startSlide

Re: [NTG-context] Indenting number in TOC, particular numbering scheme, and other questions

2019-12-03 Thread Hans Hagen
as you can see below. Is this the right way to do it or would you recommend something else? \definehead[A][chapter] and add A to the combined list Any help would be greatly appreciated. D. -- \usemodule[subsub] \usetypescript[termes] \setupbodyfont[termes,12pt] \def\arconv#1{\alph

Re: [NTG-context] space between headings

2019-10-11 Thread Pablo Rodriguez
to decrease the space between two headings?> > I'm >>> not sure if this is the best way to solve it, but you could define> custom headers for this situation that toss the spaces:> > \definehead[modifiedSection][section]> \setuphead[modifiedSection]> [after={\blank[non

Re: [NTG-context] space between headings

2019-10-11 Thread Michelle Weidling
Dear Pablo, I'm not sure if this is the best way to solve it, but you could define custom headers for this situation that toss the spaces: \definehead[modifiedSection][section] \setuphead[modifiedSection] [after={\blank[none]}] \definehead[modifiedSubsection][subsection

[NTG-context] Column sets (span) & unwanted vertical gap

2019-10-01 Thread Procházka Lukáš Ing .
distance=5mm,height=270mm, backspace=20mm,width=380mm, ] \setupheadertexts[] \setupfootertexts[] \definecolumnset[example][n=3,balancing=no] \definecolumnsetspan[wide][n=2] \setupexternalfigures[location=default] \setupindenting[no] \setupwhitespace[none] \setuplayout[grid=yes] \definehead[MyTit][title]

[NTG-context] chapter-number prefixes on figure, etc, numbers, even in unnumbered section appearing in TOC

2019-05-31 Thread Sanjoy Mahajan
ithin)? -Sanjoy The code: \setupcaption[figure][way=bytext,prefixset=1:2] \definehead[unnumberedsection][section] \setuphead [unnumberedsection][incrementnumber=list] \starttext \placelist[chapter,section,unnumberedsection] \chapter{One} \placefigure{one}{1} \section{Two} \placefigure{two}{2} \chap

Re: [NTG-context] xmldoif, \startSECTION ... \stopSECTION and \setuphead

2019-05-16 Thread Pablo Rodriguez
On 5/16/19 6:43 PM, Pablo Rodriguez wrote: > [...] > What would be my approach to deal with "\xmldoif{#1}{.[@id='topic' and > contains(@class,'hidden')]}" in beforesection? > > I realize that "\definehead[specialchapter][chapter]" would be a > workaround,

[NTG-context] xmldoif, \startSECTION ... \stopSECTION and \setuphead

2019-05-16 Thread Pablo Rodriguez
, it doesn’t work inside \setuphead. What would be my approach to deal with "\xmldoif{#1}{.[@id='topic' and contains(@class,'hidden')]}" in beforesection? I realize that "\definehead[specialchapter][chapter]" would be a workaround, but I would like to find a more proper solution. Many

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-12 Thread Rik Kabel
pages too and just insert a styled page by hand. juh I place an epigraph on verso page before a few chapters with the following: \definehead[ChapterEpigraph][title] \setuphead [ChapterEpigraph][ page={yes,left}, insidesection=\vfill

Re: [NTG-context] title of index

2018-07-19 Thread Wolfgang Schuster
\definehead[mytitle][title] \starttext ... \mytitle{...} \placeregister[index] \stoptext Wolfgang Hans van der Meer <mailto:havdm...@ziggo.nl> 19. Juli 2018 um 13:54 The macro \completeregister[index] placed in \startbackmatter\startappendices typesets as “I Index”. How can I

Re: [NTG-context] Question to sectioning

2018-04-23 Thread Tomas Hala
yes ...entheadlevel ] \fi \headparameter \c!befo... ... l.15\levelA{A1} 1 2 \definehead [specialpage] [chapter] 3 \definehead [levelA]  [chapter] 4 5\setuphead 6  [specialpage]

Re: [NTG-context] Question to sectioning

2018-04-18 Thread Wolfgang Schuster
y, I do know how to switch off the header only at this special page. I also tried \definehead[specialpage][title] but in this case the "specialpage" is not stored in the contents, too. Like this? \definehead [specialpage] [chapter] \definehead [levelA] [chapter] \setuphead [speci

Re: [NTG-context] Question to sectioning

2018-04-18 Thread Tomas Hala
as other chapters.. # # ... in the minimal example below I get chapter numbers 1, 2, 4, 5, 7, 8 # and if I use incrementnumber=no, the "specialpage" is not stored in the contents. after some hard work I hoodwinked it changing the basic definition: \definehead[specialpage][chapter] -->

[NTG-context] Question to sectioning

2018-04-11 Thread Tomas Hala
chapters.. I came across two problems: First, in the minimal example below I get chapter numbers 1, 2, 4, 5, 7, 8 and if I use incrementnumber=no, the "specialpage" is not stored in the contents. Secondly, I do know how to switch off the header only at this special page. I also tried \

Re: [NTG-context] Correct usage of \placebookmarks

2018-01-26 Thread Henning Hraban Ramm
ment as minimaistic as > possible (editor, CTX). I'd love to believe that CTX is powerful enough to > achieve that goal. > >> >> \setupinteraction[state=start] >> \setupinteractionscreen[option=bookmark] >> \placebookmarks[Marks][Marks][force=y

Re: [NTG-context] Fwd: Correct usage of \placebookmarks

2018-01-26 Thread Lars
] \definehead   [Marks]   [subject]   [placehead=empty,    before={},    after={}] \starttext   \Marks[title={Bookmark one}]   \input tufte   \page   \Marks[title={Bookmark two}]   \input knuth \stoptext That's all I wanted, just some advice. Even a "it's not pos

Re: [NTG-context] Fwd: Correct usage of \placebookmarks

2018-01-25 Thread Henri
> Am I being ignored personally here? Why so impatient?  I was once bumping a thread for half a year with until Hans fixed it. It there any reason not to use a head? \setupinteraction[state=start] \setupinteractionscreen[option=bookmark] \placebookmarks[Marks][Marks][force=yes] \defineh

Re: [NTG-context] TOC and appendices

2018-01-08 Thread Procházka Lukáš Ing .
TZ.sty \definestructureconversionset[Sec2A][,,A][n] %\definehead[SectionA][section] %\definehead[SubSectionA][subsection] %\definehead[SubSubSectionA][subsubsection] %\setuphead[SectionA,SubSectionA,SubSubSectionA][sectionconversionset=Sec2A] %\setupcombinedlist[content][list={chapter,section

Re: [NTG-context] Default setups

2017-10-23 Thread Wolfgang Schuster
N. Raghavendra <mailto:nyraghu27...@gmail.com> 20. Oktober 2017 um 15:05 Is there a command which prints to the log file the default values of the keys in the setups that are used in a document? For example, when I define a new document division with \definehead [mysection] [section]

Re: [NTG-context] Default setups

2017-10-23 Thread luigi scarso
On Fri, Oct 20, 2017 at 3:05 PM, N. Raghavendra <nyraghu27...@gmail.com> wrote: > Is there a command which prints to the log file the default values of > the keys in the setups that are used in a document? > > For example, when I define a new document division with > >

Re: [NTG-context] Default setups

2017-10-23 Thread Pablo Rodriguez
On 10/20/2017 03:05 PM, N. Raghavendra wrote: > Is there a command which prints to the log file the default values of > the keys in the setups that are used in a document? > > For example, when I define a new document division with > > \definehead [mysection] [section] [style=

[NTG-context] Default setups

2017-10-20 Thread N. Raghavendra
Is there a command which prints to the log file the default values of the keys in the setups that are used in a document? For example, when I define a new document division with \definehead [mysection] [section] [style=...] it helps to know the default value of the `style' key for `section

Re: [NTG-context] Is this a bug in header marking?

2017-10-17 Thread Rik
I have resolved the issue in a practical, but unsatisfactory, manner. I have resorted to creating an interlude, a new heading derived from title, setting it for left pages with no displayed head: \definehead[ChapterEpigraph][title] \setuphead [ChapterEpigraph

Re: [NTG-context] Increment the section counter

2017-09-12 Thread Rik Kabel
query at https://www.mail-archive.com/ntg-context@ntg.nl/msg78173.html, and see the relevant wiki pages at setupheadnumber <http://wiki.contextgarden.net/Command/setupheadnumber> and definehead <http://wiki.contextgarden.net/Command/definehead&g

Re: [NTG-context] Head sections automatically marked for conditional text

2017-08-31 Thread Aditya Mahajan
set up a particular section to be wrapped in a particular mode (if that makes any sense at all). Is this possible? Here is how I usually do this: \definemode[showexamples][keep] \doifmodeelse{showexamples} {\definehead[example][subject][style=\bfc]} {\definebuffer[example]} \starttext

[NTG-context] Head sections automatically marked for conditional text

2017-08-31 Thread Paul Mazaitis
with commands to start and stop a particular mode? \definehead[example][subject][style=\bfc] --- end foo.tex --- --- begin bar.tex --- \environment foo \enablemode[showexamples] \starttext \startexample[title={I'd like to be able to use modes to enable or disable this section}] I'd like

[NTG-context] Missing Chapter Numbers

2017-05-19 Thread Thangalin
\setuphead[chapter][number=yes,] \setuphead[section][number=no,] \setuphead[subsection][placehead=hidden,] \definehead[scenesubsection][subsection] \starttext \dorecurse{5}{ \chapter{Chapter Name} \section{Section Name} \startscenesubsection \input tufte

Re: [NTG-context] Table of content in presentation example

2017-05-12 Thread cryo shock
gt; Hi guys, I downloaded a sample presentation with component and example >>> presentation from a link off of ctxwiki. I will attach both files and a >>> premade PDF that shows what I mean. >>> >>> So far I edited the component a little in display style

Re: [NTG-context] Table of content in presentation example

2017-05-12 Thread cryo shock
w >> why I can't get a simple table of content on the second slide. >> >> In the component I found the following code: >> >> \definehead >> [slide] >> [subject] >> [ >> style=\ssbfc, >> color=foreground:contrast, >>

Re: [NTG-context] Table of content in presentation example

2017-05-12 Thread cryo shock
edited the component a little in display style, yet I don't know > why I can't get a simple table of content on the second slide. > > In the component I found the following code: > > \definehead > [slide] > [subject] > [ > style=\ssbfc, > co

[NTG-context] Table of content in presentation example

2017-05-12 Thread cryo shock
on the second slide. In the component I found the following code: \definehead [slide] [subject] [ style=\ssbfc, color=foreground:contrast, alternative=middle, page=yes ] So I understand that the head called slide comes from the head subject, which by default

Re: [NTG-context] Vertical space around displayed formulas

2017-01-18 Thread Otared Kavian
\startreusableMPgraphic{header:background} > fill OverlayBox >leftenlarged BackSpace >rightenlarged CutSpace >topenlarged TopSpace >withcolor OverlayColor ; > setbounds currentpicture to OverlayBox >enlarged max(BackSpace,CutSpace) ; > \stopreusab

[NTG-context] Vertical space around displayed formulas

2017-01-18 Thread Nicola
ckground][\reuseMPgraphic{header:background}] \define[2]\MySlide{\framed[ frame=off, background=header:background, backgroundcolor=colorfive, width=\textwidth, align=flushleft ]{#2}} \definehead[slide][subject] \setuphead[slide][ style=\ssb, command=\MySlide, color=nearlywhite,

[NTG-context] Issue with \blank halfline and title heads

2016-10-16 Thread josephcanedo
fine, followed by sample chapter which shows that ‘E’ is above the grid base line (added \showgrid to make it visible). Do I need to put the title content in some box ? Thanks a lot for any hint, Best regards Joseph \showgrid\showstruts \setuplayout[grid=both] \definehead[Chapter][subsection

Re: [NTG-context] ntg-context Digest, Vol 145, Issue 61

2016-07-21 Thread Hans Hagen
ocessed file starts with: ++ \definehead [intro] [chapter] \setuphead [intro] [number=no,alternative=middle,style=\tfa \bf] \startcomponent TD_Ch0-Intro.tex \intro[bookmark=,label=,list={Introduction},marking=,reference=ch:Intro,title={Introduction}] shouldn't that be

Re: [NTG-context] ntg-context Digest, Vol 145, Issue 61

2016-07-21 Thread Robert Blackstone
gt;> l.191 \stopintro >> + >> >> The processed file starts with: >> ++ >> \definehead [intro] [chapter] >> \setuphead [intro] [number=no,alternative=middle,style=\tfa \bf] >> >> \startcomponent TD

[NTG-context] What is wrong with \stopintro?

2016-07-21 Thread Robert Blackstone
processed file starts with: ++++++ \definehead [intro] [chapter] \setuphead [intro] [number=no,alternative=middle,style=\tfa \bf] \startcomponent TD_Ch0-Intro.tex \intro[bookmark=,label=,list={Introduction},marking=,reference=ch:Intro,title={Introduction}] +++

Re: [NTG-context] What is wrong with \stopintro?

2016-07-21 Thread Hans Hagen
... l.191 \stopintro + The processed file starts with: ++++++ \definehead [intro] [chapter] \setuphead [intro] [number=no,alternative=middle,style=\tfa \bf] \startcomponent TD_Ch0-Intro.tex \intro[bookmark=,label=,list={Introduction},marking=,reference=ch:In

[NTG-context] Vertically centered text in each page

2016-02-19 Thread Nicola
background=header:background, backgroundcolor=orange, width=\textwidth, align=flushleft ]{#2}} \definehead[slide][subject] \setuphead[slide][ style=\ssb, command=\MySlide, color=white, page=yes, ] \starttext \startslide[title={Slide One}] \vfill text \vfill \stopslide \startslide[title={Slide Two}] \

Re: [NTG-context] which is the best/right element for elements in cover and title pages?

2016-02-04 Thread Pablo Rodriguez
On 01/26/2016 02:45 PM, Wolfgang Schuster wrote: >> Pablo Rodriguez 26. Januar 2016 um 09:42 >> [...] >> I guess \definehead is what I should be using. > No, the makeup environment is the right mechanism. You can combine this > with the \setvariables command and create the

Re: [NTG-context] which is the best/right element for elements in cover and title pages?

2016-01-26 Thread Pablo Rodriguez
or your reply again, Ibn. I’m afraid this is something different of what I intend to ask here (in fact, I use \setupinteraction in my docments too). I guess \definehead is what I should be using. Many thanks for your help,

Re: [NTG-context] which is the best/right element for elements in cover and title pages?

2016-01-26 Thread Wolfgang Schuster
Pablo Rodriguez <mailto:oi...@gmx.es> 26. Januar 2016 um 09:42 Many thanks for your reply again, Ibn. I’m afraid this is something different of what I intend to ask here (in fact, I use \setupinteraction in my docments too). I guess \definehead is what I should be using. No, the

Re: [NTG-context] Unnumbered subject in TOC, numbered exercises in text

2015-11-30 Thread Sytse Knypstra
enting the two options under \setuphead,
 the latter is achieved when uncommenting only the second option. How can I realize both simultaneously ?

 Thank you in advance, 

Sytse %%% 
\definehead[special][subject]
 Please use a different name because \special is a ex

Re: [NTG-context] Unnumbered subject in TOC, numbered exercises in text

2015-11-30 Thread Wolfgang Schuster
t goal is achieved when uncommenting the two options under \setuphead,
 the latter is achieved when uncommenting only the second option. How can I realize both simultaneously ?

 Thank you in advance, 

Sytse %%% 
\definehead[special][subject]
 Please use a different name b

[NTG-context] Unnumbered subject in TOC, numbered exercises in text

2015-11-30 Thread Sytse Knypstra
is achieved when uncommenting only the second option. How can I realize both simultaneously ?

 Thank you in advance, 

Sytse %%% 
\definehead[special][subject]
 \setuphead[special]
 [
 %number=no, 
%incrementnumber=yes,
 ] 
\setuplist[special

[NTG-context] inverse indentation

2015-11-24 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupindenting[always,yes,big] \startsetups[bibliography:indent] \setupindenting[negative] \stopsetups \definehead[Bibliography][subject] \setuphead[Bibliography] [setups=bibliography:indent, indentnext=yes

Re: [NTG-context] put titles in toc

2015-09-09 Thread John Culleton
file: > > Hi John, > > I think this might do what you want: > > \definehead[titleintoc][chapter][number=no] > \starttext > \noheaderandfooterlines > \title{Contents} > \placelist[chapter,titleintoc] > \chapter{foo} > \input knuth.tex >

Re: [NTG-context] put titles in toc

2015-09-08 Thread Pablo Rodriguez
On 09/08/2015 08:25 PM, John Culleton wrote: > In thew frontmatter there are several titles > headings that i want to see in the TOC > Here is a > stripped down version of my file: Hi John, I think this might do what you want: \definehead[titleintoc][chapter][number=no]

Re: [NTG-context] Can \getmarking take more than one argument?

2015-08-09 Thread tala...@fastmail.fm
: — {\doifoddpageelse {\getmarking[section]} {\getmarking[subject]} {\getmarking[chapter]} — …but that caused the subject and the chapter to both be printed in the header. Many thanks for any help. \setupheadertexts[{\getmarking[section]}] \definehead

Re: [NTG-context] Can \getmarking take more than one argument?

2015-08-09 Thread Hans Hagen
the subject and the chapter to both be printed in the header. Many thanks for any help. \setupheadertexts[{\getmarking[section]}] \definehead[suction][section][number=no] \starttext \placelist[section] \page \section{foo} \page \suction{bar} \page \stoptext

Re: [NTG-context] How not to print the chapter number

2015-08-07 Thread Tomas Hala
Hello Eric, try the following: \definehead[mysect][section] \setuphead[mysect][number=no] \starttext \mysect{Foo} \subsection{Bar one} \subsubsection{Barbar one} \subsubsection{Barbar two} \stoptext Best wishes, Tomas Fri, Aug 07, 2015 ve 03:04:04PM +0200 Eric Détrez napsal(a): # I wish

[NTG-context] issues with bookmarks

2015-07-26 Thread Pablo Rodriguez
} \chapter{Fourth Chapter} \stoptext 2. Sectionblocks also displace bookmark location, such as in this sample: \setupinteraction[state=start] \placebookmarks[part, chapter, hiddentitle][part, chapter] \setuphead[part][placehead=yes] \definehead [hiddentitle

Re: [NTG-context] chapter only in bookmarks (not in text or in TOC)

2015-07-24 Thread Hans Hagen
On 7/6/2015 9:10 PM, Pablo Rodriguez wrote: On 07/06/2015 05:56 PM, Hans Hagen wrote: [...] \setupinteraction[state=start] \placebookmarks[chapter,hiddentitle] \definehead[hiddentitle][chapter] \setuphead[hiddentitle][incrementnumber=list] \starttext \completecontent \hiddentitle

Re: [NTG-context] (announcement) from pandoc to ConTeXt

2015-07-10 Thread Pablo Rodriguez
[chapter,hiddentitle] \definehead[hiddentitle][chapter] \setuphead [hiddentitle] [placehead=empty, incrementnumber=list, number=no, before=, after=] \starttext \completecontent \startmakeup[copyright][top

[NTG-context] Hidden section - weird counting?

2015-07-09 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, let's have the following example with hidden section: \definehead[HidSec][section] \setuphead[HidSec][placehead=hidden] \starttext \placecontent \hairline \HidSec{A} \subsection{B} \subsection{C} \stoptext It gives: 1.1 B 1 --- 1.2 B 1.2 C Whilst I'd

Re: [NTG-context] chapter only in bookmarks (not in text or in TOC)

2015-07-06 Thread Pablo Rodriguez
On 07/06/2015 05:56 PM, Hans Hagen wrote: [...] \setupinteraction[state=start] \placebookmarks[chapter,hiddentitle] \definehead[hiddentitle][chapter] \setuphead[hiddentitle][incrementnumber=list] \starttext \completecontent \hiddentitle{Prologue} aa\page aa \chapter

Re: [NTG-context] chapter only in bookmarks (not in text or in TOC)

2015-07-06 Thread Hans Hagen
On 7/5/2015 7:54 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \showframe \setupinteraction[state=start] \placebookmarks[chapter] \definehead[hiddentitle][chapter] \setuphead[hiddentitle][incrementnumber=no] \starttext \completecontent

[NTG-context] chapter only in bookmarks (not in text or in TOC)

2015-07-05 Thread Pablo Rodriguez
Dear list, I have the following sample: \showframe \setupinteraction[state=start] \placebookmarks[chapter] \definehead[hiddentitle][chapter] \setuphead[hiddentitle][incrementnumber=no] \starttext \completecontent \hiddentitle{Prologue} aa\page aa \chapter

Re: [NTG-context] \setuphead[part] - special look

2015-06-29 Thread Procházka Lukáš Ing . - Pontex s . r . o .
\defineheadplacement[HeadA][vertical]#1#2% {\startframedtext #1\quad #2% \stopframedtext} \definehead[HeadA][section][alternative=HeadA] % HeadB \defineheadalternative[HeadB][renderingsetup=HeadB] % alternative=vertical \startsetups[HeadB] \startframedtext \headnumbercontent

Re: [NTG-context] \setuphead[part] - special look

2015-06-23 Thread Wolfgang Schuster
. % HeadA \defineheadplacement[HeadA][vertical]#1#2% {\startframedtext #1\quad #2% \stopframedtext} \definehead[HeadA][section][alternative=HeadA] % HeadB \defineheadalternative[HeadB][renderingsetup=HeadB] % alternative=vertical \startsetups[HeadB] \startframedtext

[NTG-context] Mode for footnote?

2015-06-23 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, there are many modes for various situations (http://wiki.contextgarden.net/Modes). Is there a mode to signal being inside a footnote? This would be handy for head definition: \definehead[paragraph][subsubsubject] \define\ShBlank{\doifnotmode{*footnote}{\blank}} \setuphead

Re: [NTG-context] Preventing double title pages for nested content

2015-05-21 Thread Wolfgang Schuster
above. I hope that's clear. Sorry for repeating myself… Sorry for resending nearly the same example for another time but it still does what you asked for. \definehead [Volume] [part] \definehead [Library] [chapter] \definehead [Manpage] [section] \setuphead [Volume] [placehead=empty

Re: [NTG-context] Preventing double title pages for nested content

2015-05-21 Thread Kate F
for help with. \definehead [Volume] [part] \definehead [Library] [chapter] \definehead [Manpage] [section] \setuphead [Volume] [placehead=empty, after=\directsetup{libraryentries}] \setuphead [Library] [ page=, placehead=empty, before=\directsetup{Library:before

Re: [NTG-context] Preventing double title pages for nested content

2015-05-21 Thread Wolfgang Schuster
for this ... manpages for (3) libjpeg Library libpng -- I want a title page for this ... manpages for (3) libpng Library libbmp -- I want a title page for this These weren’t needed for the example They were the whole point of what I was asking for help with. \definehead [Volume

Re: [NTG-context] Preventing double title pages for nested content

2015-05-20 Thread Wolfgang Schuster
: \setupcolors[state=start] \definehead[Volume] [part] % red colour: man(1) section \definehead[Library][part] % blue colour: library within section 3 \definehead[Manpage][chapter] \setuphead[Volume,Library,Manpage][page=yes,number=no,placehead=yes] \setuphead[Volume][color=red] \setuphead

Re: [NTG-context] Preventing double title pages for nested content

2015-05-20 Thread Kate F
some UNIX-like manpages into a PDF. I'm structuring the content like so: \setupcolors[state=start] \definehead[Volume] [part] % red colour: man(1) section \definehead[Library][part] % blue colour: library within section 3 \definehead[Manpage][chapter] \setuphead[Volume,Library,Manpage][page

Re: [NTG-context] Preventing double title pages for nested content

2015-05-19 Thread Kate F
On 19 May 2015 at 23:51, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 20.05.2015 um 00:34 schrieb Kate F k...@elide.org: Hello! I'm collating some UNIX-like manpages into a PDF. I'm structuring the content like so: \setupcolors[state=start] \definehead[Volume] [part] % red

[NTG-context] Preventing double title pages for nested content

2015-05-19 Thread Kate F
Hello! I'm collating some UNIX-like manpages into a PDF. I'm structuring the content like so: \setupcolors[state=start] \definehead[Volume] [part] % red colour: man(1) section \definehead[Library][part] % blue colour: library within section 3 \definehead[Manpage][chapter] \setuphead

Re: [NTG-context] Preventing double title pages for nested content

2015-05-19 Thread Wolfgang Schuster
Am 20.05.2015 um 00:34 schrieb Kate F k...@elide.org: Hello! I'm collating some UNIX-like manpages into a PDF. I'm structuring the content like so: \setupcolors[state=start] \definehead[Volume] [part] % red colour: man(1) section \definehead[Library][part] % blue colour: library

Re: [NTG-context] Hidden chapter header? ... was: Change counter of chapters

2015-04-18 Thread Jaroslav Hajtmar
writing any text from 53 page and such from the 5th chapter (or section). It is possible in a similar way as I set the start page number set also the counter of chapters (sections)? Hi Jaroslav, adding the following commands before \startext does the work: \definehead

Re: [NTG-context] Hidden chapter header? ... was: Change counter of chapters

2015-04-18 Thread Pablo Rodriguez
from 53 page and such from the 5th chapter (or section). It is possible in a similar way as I set the start page number set also the counter of chapters (sections)? Hi Jaroslav, adding the following commands before \startext does the work: \definehead[hiddenchapter][chapter] \setuphead

[NTG-context] setup for paragraph styles

2015-03-12 Thread mf
Hello, I'd like to kwnow the commands I should use in ConTeXt to define styles for paragraphs of text that are not headers/titles nor normal text. With titles I know I must use: \definehead[MyTitle][title] \setuphead[MyTitle][...] What should I use for texts like subtitles, dates of letters

Re: [NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-04 Thread Rob Heusdens
You have to write a working minimal example for further help. Wolfgang So this is the example: \setupinteraction[state=start] \definehead[intro][chapter] \definehead[back][chapter] \definehead[appendix][chapter] \definecombinedlist[content][chapter,intro,appendix,back] \setupcombinedlist

Re: [NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-03 Thread Rob Heusdens
a difference. Can other \setuplist definitions have something to do with it? Here are some other definitions I used: \definehead[intro][chapter] \definehead[back][chapter] \definehead[appendix][chapter] \definehead[summary][section] \setuplist[chapter][alternative=interactive,command=\ChapterToc

Re: [NTG-context] TOC with Grey background for pages belonging to last section of every chapter

2015-02-02 Thread Wolfgang Schuster
: location=text \definehead [Framed][chapter] \definehead [Frameless] [chapter] \setuphead [Frameless] [before={\blank[2*line]}] \setuphead [Framed] [page=no, before=, beforesection={\page\blank[2*line]\starttextbackground[ChapterFrame]}, aftersection=\stoptextbackground

Re: [NTG-context] Grey background for pages belonging to last section of every chapter

2015-02-02 Thread Wolfgang Schuster
[alternative=doublesided] \definetextbackground [SummaryBackground] [frame=off,offset=none,frameoffset=0pt, background=color, backgroundcolor=gray, backgroundoffset=2ex] \definehead[summary][section] \setuphead [summary] [number=no, style=bold, before

[NTG-context] TOC with Grey background for pages belonging to last section of every chapter

2015-02-02 Thread Keith J. Schultz
” to the textbackground setup. \definetextbackground [ChapterFrame] [frame=off, background=color, backgroundcolor=green, backgroundoffset=1ex, location=paragraph] % default: location=text \definehead [Framed][chapter] \definehead [Frameless] [chapter] \setuphead [Frameless

  1   2   3   4   5   6   >