> 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 -
> "\
... 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
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
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
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
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
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
_
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
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-
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
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
25 matches
Mail list logo