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

Re: [NTG-context] section with \sethupead[section][alternative=text]; other type of section misbehaves..

2015-02-02 Thread Hans Hagen
On 2/2/2015 10:40 AM, Keith Schultz wrote: Hi Hans, All, Am 02.02.2015 um 02:18 schrieb Hans Hagen pra...@wxs.nl mailto:pra...@wxs.nl: [snip, snip] It's for good reason. Now you can change the style any time. When you define \definehead[one][section] \definehead[two][one] \definehead

Re: [NTG-context] section with \sethupead[section][alternative=text]; other type of section misbehaves..

2015-02-02 Thread Keith Schultz
Hi Hans, All, Am 02.02.2015 um 02:18 schrieb Hans Hagen pra...@wxs.nl: [snip, snip] It's for good reason. Now you can change the style any time. When you define \definehead[one][section] \definehead[two][one] \definehead[three][two] \definehead[four][one] I think what Rob wants

Re: [NTG-context] section with \sethupead[section][alternative=text]; other type of section misbehaves..

2015-02-01 Thread Hans Hagen
: \definehead[summary][section] \setuphead[section][number=no,style=\bf] \setuphead[summary][number=yes, style=\it] \starttext \section{Section} \summary{Summary} \stoptext [...] Are you sure that is the way it is supposed to work? Hi Rob, well, I think this is the way

[NTG-context] section with \sethupead[section][alternative=text]; other type of section misbehaves..

2015-01-31 Thread Rob Heusdens
When using \setuphead[section][alternative=text] I noticed two things: 1. There is an extra space (horizontally) directly after the section heading. I can't get a grip on how to get rid of it. 2. A different type of section (define with \definehead[summary][section] seems to alter it's behaviour

Re: [NTG-context] section with \sethupead[section][alternative=text]; other type of section misbehaves..

2015-01-31 Thread Rob Heusdens
I forgot to add the basic example, with neither for section nor for summary an option set in \setuphead[..] for alternative. So, read this as example 0: = test5.pdf Example 0: \defineblank[sprong][.5cm] \definehead[summary][section] \setuphead[section][number=no,style=bold,before={\blank[sprong

Re: [NTG-context] section with \sethupead[section][alternative=text]; other type of section misbehaves..

2015-01-31 Thread Pablo Rodriguez
. 2. A different type of section (define with \definehead[summary][section] seems to alter it's behaviour due to a \setuphead[section][..]. Shouldn't the summary behaviour be independend of what one sets for section? If you define summary as a duplicate of section, the former will inherit

Re: [NTG-context] section with \sethupead[section][alternative=text]; other type of section misbehaves..

2015-01-31 Thread Pablo Rodriguez
On 01/31/2015 11:10 PM, Rob Heusdens wrote: [...] If you define summary as a duplicate of section, the former will inherit properties from the latter. All you have to do is refine the unwanted features in summary. A very stupid example: \definehead[summary][section] \setuphead

Re: [NTG-context] section with \sethupead[section][alternative=text]; other type of section misbehaves..

2015-01-31 Thread Rob Heusdens
. I'll try that. Thanks! 2. A different type of section (define with \definehead[summary][section] seems to alter it's behaviour due to a \setuphead[section][..]. Shouldn't the summary behaviour be independend of what one sets for section? If you define summary as a duplicate of section

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

2015-01-30 Thread Rob Heusdens
perhaps fixes this problem is defining my own section command like this: \definehead[summary][section] \setuphead[summary] [ number=no, style=bold, before={\page\setupbackgrounds[text][text][state=start] [background=color,backgroundcolor=gray

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

2015-01-30 Thread Wolfgang Schuster
should in fact not have normal alignment like the other sections. What perhaps fixes this problem is defining my own section command like this: \definehead[summary][section] \setuphead[summary] [ number=no, style=bold, before={\page\setupbackgrounds[text][text][state

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

2015-01-30 Thread Wolfgang Schuster
) using the offset or perhaps backgroundoffset options of \setupframed). Use text backgrounds. \definetextbackground [SummaryBackground] [frame=off, background=color, backgroundcolor=gray] \definehead[summary][section] \setuphead [summary] [before=, beforesection={\blank

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

2015-01-30 Thread Rob Heusdens
not have normal alignment like the other sections. What perhaps fixes this problem is defining my own section command like this: \definehead[summary][section] \setuphead[summary] [ number=no, style=bold, before={\page\setupbackgrounds[text][text][state=start

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

2015-01-30 Thread Wolfgang Schuster
Am 30.01.2015 um 19:28 schrieb Rob Heusdens robh...@xs4all.nl: Use text backgrounds. \definetextbackground [SummaryBackground] [frame=off, background=color, backgroundcolor=gray] \definehead[summary][section] \setuphead [summary] [before=, beforesection={\blank

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

2015-01-30 Thread Rob Heusdens
, next] \setuppagenumbering[alternative=doublesided] \definetextbackground [SummaryBackground] [frame=off, background=color, backgroundcolor=gray, backgroundoffset=2ex] \definehead[summary][section] \setuphead [summary] [number=no, style=bold, before=, beforesection

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

2015-01-30 Thread Rob Heusdens
] [frame=off,offset=none,frameoffset=0pt, background=color, backgroundcolor=gray, backgroundoffset=2ex] \definehead[summary][section] \setuphead [summary] [number=no, style=bold, before=, beforesection={\noindentation\page\starttextbackground[SummaryBackground]}, aftersection

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

2015-01-30 Thread Rob Heusdens
Use text backgrounds. \definetextbackground [SummaryBackground] [frame=off, background=color, backgroundcolor=gray] \definehead[summary][section] \setuphead [summary] [before=, beforesection={\blank\starttextbackground[SummaryBackground]}, aftersection

Re: [NTG-context] numberconversion bug?

2014-12-22 Thread Alan Bowen
Even with yesterday’s beta, this still does not work (though it used to several betas ago). Is there a bug or have I missed something? \definehead[BookTitle][title] \setuphead[BookTitle][style=\tfc, color=darkred] \starttext \setupnotation[footnote][interaction=start,numberconversion=set 3

Re: [NTG-context] numberconversion bug?

2014-12-18 Thread Alan Bowen
I am re-sending this in the hope that someone will confirm whether this is a general or a very local problem; and if the latter, point out what I am missing (or what has changed). The following used to work but fails in the latest beta (standalone, cleanly installed): \definehead[BookTitle

[NTG-context] numberconversion bug?

2014-12-12 Thread Alan Bowen
The following used to work but fails in the latest beta (standalone): \definehead[BookTitle][title] \setuphead[BookTitle][style=\tfc, color=darkred] \starttext \setupnotation[footnote][interaction=start,numberconversion=set 3] %\setupnotation[footnote][interaction=start,numberconversion

Re: [NTG-context] Problem with PDF bookmarks (outline)

2014-11-05 Thread Gareth Jones
trimmed. \definehead [spec] [title] [style=\tfd, alternative=middle] \definehead [phase] [section] [style=\ss\bfc] \definehead [feature] [subsection][style=\ss\bfb] \definehead [changes] [subsubsection] [style=\ss\tfa] \definedescription [change] [width=3.6cm] \starttext Previously all

Re: [NTG-context] Problem with PDF bookmarks (outline)

2014-11-05 Thread Michał Goliński
the numbering, \decrementnumber[part] doesn't seem to work). I have tried to mimic the chapter style with \definehead[chapterpart][part][command=\MyFancyChapterStyle, number=no, incrementnumber=yes] And it either disrupts the numbering (incrementnumber=yes) or doesn't show up in bookmarks

Re: [NTG-context] Spurious pages in makeups

2014-09-04 Thread Pablo Rodriguez
before, so either you remove the break from all titles, or create a new title command for the TOC that doesn’t have the page break before. \definemakeup[title][align=middle, doublesided=no] \definemakeup[copyright][align=flushleft] %~ \setuphead[chapter][number=yes,page=left] \definehead[toctitle

Re: [NTG-context] More levels of subsubsection?

2014-08-17 Thread Gerben Wierda
to create a lot of what I want by using \definehead and \setuphead. I am using ownnumber. \definehead[PSAappsection][subsection] \definehead[PSAappsubsection][subsubsection] \definehead[PSAappsubsubsection][subsubsubsection] \setuphead[PSAappsection][continue=no,ownnumber=yes,after=] \setuphead

Re: [NTG-context] More levels of subsubsection?

2014-08-17 Thread Wolfgang Schuster
the header or the complete content of the section/subsection. I've been able to create a lot of what I want by using \definehead and \setuphead. I am using ownnumber. \definehead[PSAappsection][subsection] \definehead[PSAappsubsection][subsubsection] \definehead[PSAappsubsubsection

Re: [NTG-context] ToC depth (and headers) per section block

2014-07-05 Thread Hans Hagen
to do this? \definehead[silentsection][section] \starttext \placelist[chapter,section] \chapter{first} \section{first} \chapter{first} \silentsection{first} \stoptext If instead I want one depth for all body matter parts and a different depth for the appendices

Re: [NTG-context] ToC depth (and headers) per section block

2014-07-05 Thread Rik Kabel
, it does not get set. Is this the best way to do this? \definehead[silentsection][section] \starttext \placelist[chapter,section] \chapter{first} \section{first} \chapter{first} \silentsection{first} \stoptext Yes, that is just what I do now, except that I use

[NTG-context] setuppage is ignored

2014-05-07 Thread Thomas Möbius
=small] \setupheadertexts [{\getmarking[sectionnumber]~\getmarking[section]}] [pagenumber] [pagenumber] [{\getmarking[chapternumber]~\getmarking[chapter]}] \setuphead[chapter][page={yes,right},header=empty,textstyle=\tfc] \definehead [intro] [chapter] \setuphead [intro] [number

Re: [NTG-context] Lower the title of TOC

2014-05-02 Thread Wolfgang Schuster
\blank[2cm] \completecontent \chapter{Blub1} \chapter{Blub2} \stoptext But of course that produce only an empty page before the TOC and can not work. How to achieve this correctly? \definehead[contenttitle][title] \setuphead[contenttitle][before={\blank[force,2cm]}] \starttext

Re: [NTG-context] Lower the title of TOC

2014-05-02 Thread H. Özoguz
\definehead[contenttitle][title] \setuphead[contenttitle][before={\blank[force,2cm]}] \starttext \contenttitle{Contents} \placecontent \chapter{First chapter} \chapter{Second chapter} \stoptext Wolfgang Thanks Wolfgang, thats exactly what I was searching for! Huseyin

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

2014-04-07 Thread Peng Zhang
for published abstracts. I am copying the CV template from 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

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

2014-04-07 Thread Robert Blackstone
doing my CV. I just want two separate reference lists, one for journal and one for published abstracts. I am copying the CV template from wiki. \definehead[CVHEAD][subject] \setuphead[subject][style=\bfa,after={\blank[medium]}] \definehead[SUBCVHEAD][subsubject] \setuphead

<    1   2   3   4   5   6   >