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 ar

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

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 : http://ww

[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 circul

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] 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] definehead and marking

2011-07-18 Thread Hans Hagen
On 18-7-2011 9:35, Aditya Mahajan wrote: 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 \definehead[lecture][chapter] \setupheadertexts[lecture] \starttext

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 i

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: \get

[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] TOC look broken by \definehead

2011-06-27 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Thank you, it works well now. The directory "c:\ConTeXt\tex\texmf-cache\luatex-cache\context\2448223e6631addb83df348d74153606" must have been deleted manually and "mtxrun --generate" must have been called to make the modified "strc-sec.mkiv" work. Lukas On Mon, 27 Jun 2011 10:17:09 +0200, Wo

Re: [NTG-context] TOC look broken by \definehead

2011-06-27 Thread Wolfgang Schuster
Am 27.06.2011 um 09:25 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: > Hello all, > > the TOC look depends on whether or not another head was defined: I sent a fix to the dev list. Wolfgang ___ If your question

[NTG-context] TOC look broken by \definehead

2011-06-27 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello all, the TOC look depends on whether or not another head was defined: \definehead[CHAPTER][chapter] \definehead[SECTION][section] % TRY TO COMMENT THIS LINE! \definecombinedlist[content][chapter,CHAPTER] \starttext \placecontent \page \chapter{Cha1} \CHAPTER{Cha2

Re: [NTG-context] Problem with \definehead

2011-06-23 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Don’t misuse headings for your titlepage. As a titlepage is something special you can use \midaligned, \definedfont etc. to format it, e.g. Thanks for the answer, but - - to describe better my situation: I'm not creating a typical book, but a special kind of report, with many code generated b

Re: [NTG-context] Problem with \definehead

2011-06-23 Thread Wolfgang Schuster
erMiddle instead > of \chapter for this, which is defined as mid-aligned). > > A \chapterMiddle is derrived from \chapter and has middle alignment. > > I would need to do a similar thing with \sectionMiddle. > > The problem is that when I derive a next style - > "\

Re: [NTG-context] Problem with \definehead

2011-06-23 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... A simplified piece of code - the result still depends on presence of "\definehead[sectionMiddle][section]": \definehead[chapterMiddle][chapter] \setuphead[chapterMiddle][align=middle] \definehead[sectionMiddle][section] % Try to comment this line! \definecombinedlist[conten

[NTG-context] Problem with \definehead

2011-06-23 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, please look at the following minimal example: \definehead[chapterMiddle][chapter] \setuphead[chapterMiddle][align=middle] \definehead[sectionMiddle][section] % Try to comment this line! \definecombinedlist[content][part,chapter,chapterMiddle] \setupcombinedlist[content

Re: [NTG-context] \definehead \setuphead new type included in a list such as TOC

2011-05-27 Thread Mathieu DUPONT
That was very useful. Thanks again Wolfgang ! Mathieu From: schuster.wolfg...@googlemail.com Date: Thu, 26 May 2011 18:52:48 +0200 To: ntg-context@ntg.nl Subject: Re: [NTG-context] \definehead \setuphead new type included in a list such as TOC Am 26.05.2011 um 18:15 schrieb

Re: [NTG-context] \definehead \setuphead new type included in a list such as TOC

2011-05-26 Thread Wolfgang Schuster
Am 26.05.2011 um 18:15 schrieb Mathieu DUPONT: > > Hi, > > In the following example, I define 2 new heads, and I want them to : > > 1- inherits from Title (or Chapter would be fine) > 2- show in the TOC > 3- not be counted (CHAPTER should be 1) > > Is there an option I can put into \setuphead

[NTG-context] \definehead \setuphead new type included in a list such as TOC

2011-05-26 Thread Mathieu DUPONT
way of getting the three desired results. Thanks ! \definehead[Abstract][title]\setuphead[Abstract][]\definehead[Intro][title]\setuphead[Intro][] \starttext \startfrontmatter\placecontent\Abstract{ABSTRACT}\stopfrontmatter \startbodymatter\Intro{INTRODUCTION}\chapter{CHAPTER}\stopbodymatter

Re: [NTG-context] Problem interacting \definehead and \placecontent

2010-11-17 Thread Wolfgang Schuster
Am 17.11.2010 um 12:18 schrieb Lukas Prochazka: > But there is a problem - the "1.1 B" item doesn't appear in the TOC. Why? And > how to get it in there? \title{Content} \placelist[chapter,section,subsection,SSEC,...] Wolfgang _

Re: [NTG-context] \definehead -- latest minimal

2010-11-17 Thread Hans Hagen
On 17-11-2010 1:59, Herbert Voss wrote: doesn't work with mkiv \definehead[SSEC][subsection] \starttext foo \stoptext works here so best sync again later; normally there's upto 30 minute delay between an upload and minim

[NTG-context] \definehead -- latest minimal

2010-11-17 Thread Herbert Voss
doesn't work with mkiv \definehead[SSEC][subsection] \starttext foo \stoptext ! LuaTeX error ...text/tex/texmf-context/tex/context/base/strc-mar.lua:171: attempt to index global 'setting' (a nil value) stack traceback: ...text/tex/texmf-context/tex/context/base/strc-

[NTG-context] Problem interacting \definehead and \placecontent

2010-11-17 Thread Lukas Prochazka
Hello, I need to duplicate the \subsection command. The code is: --- \definehead[SSEC][subsection] \setuphead [SSEC] [after={ --- }] \starttext \placecontent \hairline \section{A} aaa \SSEC{B} bbb \subsection{C} ccc \stoptext --- It's OK that u

[NTG-context] enumerations and definehead

2009-08-08 Thread B. Vogel
Hi all, How do I reset an enumeration with my own header? See the example below. The build-in section works and my own header fails. Tia, Bernard % MKIV beta % MTXrun | current version: 2009.08.07 11:22 % linux-32 \definehead[Mysection][section] \setuphead[Mysection] [after=\nowhitespace