[NTG-context] preventing column break after section title

2024-04-18 Thread Peter Münster
\stoptext I’ve tried "\setuphead[section][after={\columnbreak[no]}]", but it does not help. TIA for any hints, -- Peter ___ If your question is of interest to others as well, please add an entry to

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-18 Thread Henning Hraban Ramm
garden.net/Command/setuphead   - "How-To Guides" like https://wiki.contextgarden.net/Titles   - "Tutorials": - hosted https://wiki.contextgarden.net/Detailed_Example - linked https://github.com/mpsmath/stepbystep   - "Explanation" : mostly linked manuals an

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-17 Thread Garulfo
net/Special:PrefixIndex?prefix=Command%2F To match the logic of Diátaxis, maybe some material from command pages should be moved from "Reference" to "How-to guides", for example, when the examples go beyond "pure description" and begin to deal with "how-to" c

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-17 Thread Bruce Horrocks
extgarden.net/Category:Commands > - https://wiki.contextgarden.net/Special:PrefixIndex?prefix=Command%2F > > To match the logic of Diátaxis, maybe some material from command pages should > be moved from "Reference" to "How-to guides", > for ex

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-14 Thread Peter Hopcroft via ntg-context
fix=Command%2F >> To match the logic of Diátaxis, maybe some material from command pages >> should be moved from "Reference" to "How-to guides", >> for example, when the examples go beyond "pure description" and begin to >> deal with "how-to&

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-14 Thread Henning Hraban Ramm
t;How-to guides", for example, when the examples go beyond "pure description" and begin to deal with "how-to" cases, e.g. : - Reference for setuphead: https://wiki.contextgarden.net/Command/setuphead - How-to guides for headings: https://wiki.contextgarden.net/Titles If it

[NTG-context] Wiki - test/proposal to further clarify documentation

2024-04-14 Thread garulfo
n to deal with "how-to" cases, e.g. : - Reference for setuphead: https://wiki.contextgarden.net/Command/setuphead - How-to guides for headings: https://wiki.contextgarden.net/Titles If it make sense, and according to your feedbacks, I can continue to reallocate existi

[NTG-context] Re: how to apply metapost effects to section title?

2024-04-09 Thread Wolfgang Schuster
for i within tt : pathpart i && endfor cycle withshademethod "linear" withshadedirection up withshadecolors (red, blue) ; \stopMPcode } \definehead[Myhead][section] \setuphead[Myhead][ style=\Mystyle, ] \startMyhead[title=sample] a sample text

[NTG-context] how to apply metapost effects to section title?

2024-04-09 Thread seyal . zavira
withshademethod "linear" withshadedirection up withshadecolors (red, blue) ; \stopMPcode } \definehead[Myhead][section] \setuphead[Myhead][ style=\Mystyle, ] \startMyhead[title=sample] a sample text \stopMyhead \stoptext and the code below works but does not colo

[NTG-context] Re: last page number for a list

2024-04-03 Thread Wolfgang Schuster
] \definecounter [alanindex] \setuphead [chapter] [insidesection={\setpagestate[alanpage]}, aftersection={\setpagestate[alanpage]}] \setuphead [title] [insidesection=, aftersection=] \define[1]\ChapterListPage {\pagestaterealpage{alanpage}{\number\numexpr\incrementedcounter

[NTG-context] Re: Headertext

2024-03-27 Thread Henning Hraban Ramm
\setuphead[chapter][header=chapterheader] Thank you, I added that to https://wiki.contextgarden.net/Command/definetext Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki

[NTG-context] Re: Headertext

2024-03-27 Thread Thomas Meyer
quot; in the following example. begin example \showframe \starttext \setuphead[chapter][header=high] \chapter{Lorem Ipsum} \dorecurse{10}{\samplefile{lorem}} \setuphead[chapter][header=empty] \chapter{Lorem Ipsum} \dorecurse{10}{\samplefile{lorem}} \stoptext end example A

[NTG-context] start/end pages in ToC

2024-03-26 Thread Alan Bowen
numbers I am getting only “??”. I am not sure why this is happening and would be grateful if someone could tell me why or point me to documentation that explains the problem and how to solve it. Many thanks in advance. My minimalish working example: \definehead[SourceTitle][chapter] \setuphead

[NTG-context] Re: Headertext

2024-03-26 Thread Wolfgang Schuster
Thomas Meyer schrieb am 26.03.2024 um 16:28: Hi folks, I know, with \setuphead[chapter][header=high] I can suppress the header text on the first page. But what can I do if I still want to have part of the header text on the first page? Is there something I can do with \definetext and if so

[NTG-context] Headertext

2024-03-26 Thread Thomas Meyer
Hi folks, I know, with \setuphead[chapter][header=high] I can suppress the header text on the first page. But what can I do if I still want to have part of the header text on the first page? Is there something I can do with \definetext and if so, how? Thanks for any help Greetings

[NTG-context] Re: Use of marking

2024-03-20 Thread Andres Conrado Montoya
[alternative=doublesided,location=,] \setupheadertexts[{\headnumber[section].~\getmarking[section]}---{\headnumber[chapter].~\getmarking[chapter]}] \setupfootertexts[][pagenumber][pagenumber][] \setuphead[chapter][header=high] \starttext \dorecurse{10}{ \startchapter[title={This is my chapter

[NTG-context] Re: Use of marking

2024-03-20 Thread Hraban Ramm
\setupheadtext[de][section=Aufgabe] Rename the section, then you don’t need marking. Sorry, I'm in a hurry and must look up how to get the number… Am 20.03.24 um 12:18 schrieb Thomas Meyer: Hi Hraban, and thanks. setuphead[chapter,section][numberwidth=2em] or "fit" work

[NTG-context] Re: Use of marking

2024-03-20 Thread Thomas Meyer
Hi Hraban, and thanks. setuphead[chapter,section][numberwidth=2em] or "fit" works! I know \setupheadertexts, but do not know what shall I write here: \startsection[titel=Aufgabe, marking=?] If I write marking=Aufgabe I get Aufgabe, no number! For chapter the same. \setuph

[NTG-context] Re: Use of marking

2024-03-20 Thread Hraban Ramm
eadertexts I guess you're using the section level for "Aufgabe"? Then something like {\getmarking{chapter} – \getmarking{section}} might fit your request. The formatting should be possible with \setuphead[chapter,section][numberwidth=2em

[NTG-context] Re: Suppress the Chapter Number in the Section Numbering

2024-03-19 Thread Wolfgang Schuster
. The Third Section ... 2. The Fourth Section ... \setuphead [chapter] [sectionstopper=.] \setuphead [section] [sectionsegments=section, sectionstopper=.] \starttext \chapter{The First Chapter} \section{The First Section} \section{The Second Section} \chapter{The Second Chapter

[NTG-context] Re: Adjusted Chapter Headings

2024-03-19 Thread Wolfgang Schuster
#1\enspace} \stoptexdefinition \setuphead[chapter][style={\bfc},numbercommand=\MyNumberChapterCommand,     page=no] \define[2]\MyNumberChapterCommand {#1\space\blackrule[width=1pt,height=22pt,depth=8pt]\space#2} \setuphead [chapter] [ page=no, command=\MyNumberChapterCommand, style=\bfc]

[NTG-context] Re: Adjusted Chapter Headings

2024-03-19 Thread Jeroen
{\framed[width=130mm,align=right,leftframe=on, rulethickness=0.8pt]{#2}}% \egroup} \setuplabeltext[chapter=Boek~] \setuphead[chapter][style={\bfc}, command=\HeadTitle, textstyle=bold] ... \startchapter [title={Algemene Beginselen}, ownnumber={I}] Op di 19 mrt 2024 om 15:49 schreef Hraban Ramm

[NTG-context] Re: Adjusted Chapter Headings

2024-03-19 Thread Hraban Ramm
Hi Jeroen, it might make sense to use \setuphead[chapter][ conversion=R, ] \setuplabeltext[nl][chapter={Boek }] instead of ownnumber. I would use one command for number and title and put both in the same kind of frame. Probably you should use a \strut in the text or \inframed[strut=yes

[NTG-context] Adjusted Chapter Headings

2024-03-19 Thread Jeroen
vertically centered, the title not). Is there a way to align the chapter title with the chapter number? \starttexdefinition MyNumberChapterCommand #1 \inframed[frame=off,rightframe=on,framecolor=black, rulethickness=1px,height=30pt]{#1\enspace} \stoptexdefinition \setuphead[chapter][s

[NTG-context] \intertext and highlighting with \alignhere/\breakhere

2024-03-12 Thread Max Chernoff
ution" for this, although I'd prefer something a bit less hacky. Any ideas? Also, is there a way to highlight an equation across an \alignhere? Once again, I've found a "solution", but like before, it's pretty hacky. Example files are attached. Thanks, -- Max \setupindenting[yes, 3em] \setuphe

[NTG-context] Re: Japanese

2024-03-02 Thread Wolfgang Schuster
yes,1em] \setupinterlinespace [line=2\bodyfontsize, height=0.9, depth=0.1] \setupruby [style={\switchtobodyfont[6pt]}] \setuppagenumbering [alternative=doublesided, location=none] \setuphead [title,subject] [align=middle] \startsetups [header:rightpage] \startframed

[NTG-context] Wiki page : Mixed languages sample (French, Ancient Greek, Arabic, Chinese)

2024-03-01 Thread Jean-Pierre Delange
setupinterlinespace[line=3.2ex] \setupitemize[each][margin=yes] \setuphead[title][header=empty] \setupheader[style={\sc}] \setupfooter[style={\itxx}] \setupheadertexts[Utilisation de plusieurs langues dans un même texte avec \ConTeXt][][][{\getmarking[section]}] \setupfootertexts[][][][© J.-P. Delange

[NTG-context] Re: Section number in the margin and the section title followed by paragraph!

2024-01-28 Thread Wolfgang Schuster
[scope=local]{#1}} \setuphead   [section]   [alternative=text,    numbercommand=\SectionNumberCommand,    distance=0pt] \starttext \section{Lorem} \samplefile{lorem} \stoptext Wolfgang ___ If your question is

[NTG-context] Re: Section number in the margin and the section title followed by paragraph!

2024-01-27 Thread Wolfgang Schuster
Ali Ali schrieb am 27.01.2024 um 06:03: I've able to achieve the results I wanted by trial/e using the code shown below. """ \def\subsecnumwrapper#1{\llap{#1\hskip8pt}} \setuphead[subsection][alternative=text,numbercommand=\subsecnumwrapper,distance=0pt] ""

[NTG-context] Section number in the margin and the section title followed by paragraph!

2024-01-26 Thread Ali Ali
I've able to achieve the results I wanted by trial/e using the code shown below. """ \def\subsecnumwrapper#1{\llap{#1\hskip8pt}} \setuphead[subsection][alternative=text,numbercommand=\subsecnumwrapper,distance=0pt] """ I just wanted to know if there alread

[NTG-context] Re: Setuphead issue!

2024-01-09 Thread G.C.H.M. Verhaag via ntg-context
Hi, Thanks for all your attention and suggestions! I'll give them a try! Gerard ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] Re: Setuphead issue!

2024-01-09 Thread G.C.H.M. Verhaag via ntg-context
Hi Mikael, Figured out that the grid=yes option in the setuplayout command caused the issue. When I set it to no/off, the problem is gone! However, I need it because of the columnset, when I switch the grid option off than the pdf-output is totally messed up, sorry! Gerard

[NTG-context] Re: Setuphead issue!

2024-01-09 Thread Henning Hraban Ramm
Am 09.01.24 um 14:43 schrieb G.C.H.M. Verhaag via ntg-context: Hi, The example below works as expected, but within my product it doesn't. % Subject example before and after! \setuphead[subject][color=limegreen,before={\blank[none]},after={\blank[none]},align={flushleft,nothyphenated,tolerant

[NTG-context] Re: Setuphead issue!

2024-01-09 Thread Mikael Sundqvist
Hi, On Tue, Jan 9, 2024 at 2:45 PM G.C.H.M. Verhaag via ntg-context wrote: > > Hi, > The example below works as expected, but within my product it doesn't. > > % Subject example before and after! > > \setuphead[subject][color=limegreen,before={\blank[none]},after={\blank[no

[NTG-context] Re: Setuphead issue!

2024-01-09 Thread G.C.H.M. Verhaag via ntg-context
Hi, The example below works as expected, but within my product it doesn't. % Subject example before and after! \setuphead[subject][color=limegreen,before={\blank[none]},after={\blank[none]},align={flushleft,nothyphenated,tolerant}] \starttext A paragraph before calling the subject. \subject

[NTG-context] Re: Setuphead issue!

2024-01-09 Thread Mikael Sundqvist
Hi, On Tue, Jan 9, 2024 at 11:30 AM G.C.H.M. Verhaag via ntg-context wrote: > > Hi, > > I'm a bit puzzled by the mkiv setuphead command of ConTeXt! > > The space before and after the subject command can usually be set by the > before and after arguments of the setuphead

[NTG-context] Setuphead issue!

2024-01-09 Thread G.C.H.M. Verhaag via ntg-context
Hi, I'm a bit puzzled by the mkiv /setuphead/ command of ConTeXt! The space *before* and *after* the /subject/ command can usually be set by the *before* and *after* arguments of the /setuphead/ command. Now I'd like to have _no vertical space_ before and after the header. I've tried just

[NTG-context] Setuphead issue!

2024-01-09 Thread G.C.H.M. Verhaag via ntg-context
Hi, I'm a bit puzzled by the mkiv setuphead command of ConTeXt! The space before and after the subject command can usually be set by the before and after arguments of the setuphead command. Now I'd like to have no vertical space before and after the header. I've tried just that by setting

[NTG-context] Re: Why the way key-value argument is called affected the document's output?

2024-01-08 Thread Hans Hagen
ble to "yes". %% Type 2. %\setuplayout[ %grid=yes %] Here you set the grid variable to "yes " so a trailing space. \setuphead[section][grid=low] %% needed to observe the output difference \starttext \title{Alpha} \subsection{Beta} \input{knuth} \stoptext So this is ok: \setupfoo

[NTG-context] Why the way key-value argument is called affected the document's output?

2024-01-08 Thread 111414w
running the version released in the September and also tested with the latest release.) """ %% differences in outputs, for how "grid=yes" is called. %% Type 1. %\setuplayout[grid=yes] %% Type 2. %\setuplayout[ %grid=yes %] \setuphead[section][grid=low] %% needed to obse

[NTG-context] Re: xmlpos values doubled

2023-11-21 Thread Benjamin Buchmuller
ection{\xmlpos{#1}\letterat\xmldepth{#1}: \xmlflush{#1}} > \stopxmlsetups > > \startxmlsetups xml:ss > \subsection{\xmlpos{#1}\letterat\xmldepth{#1}: \xmlflush{#1}} > \stopxmlsetups > > \setuphead[chapter,section,subsection][before=,after=,] > \starttext > \xmlprocessbuffe

[NTG-context] Problem with textstyle

2023-11-17 Thread Rik Kabel
Hello list, The following example does not compile, complaining “Missing number, treated as zero needed to see a number, look up 'weird error' in the index to The TeXbook”: \setuphead   [chapter] [   textstyle=cap

[NTG-context] Re: \underbar in head

2023-09-21 Thread Wolfgang Schuster
jbf schrieb am 21.09.2023 um 07:01: However, Wolfgang, if I do, e.g. \setuphead[chapter][textcommand={\setbar[underbar]}] \starttext \startchapter[title={My title}] \input ward \stopchapter \stoptext Then I do not get My Title with underline, which is what I want, and nor is anything

[NTG-context] Re: \underbar in head

2023-09-20 Thread jbf
However, Wolfgang, if I do, e.g. \setuphead[chapter][textcommand={\setbar[underbar]}] \starttext \startchapter[title={My title}] \input ward \stopchapter \stoptext Then I do not get My Title with underline, which is what I want, and nor is anything else underlined in 'Ward'. Could

[NTG-context] Re: \underbar in head

2023-09-20 Thread Wolfgang Schuster
jbf schrieb am 21.09.2023 um 05:03: Am attempting to get an underlined head style (chapter) with: \setuphead[chapter][textcommand=\underbar] But I get no underline. Am I doing something wrong? I can, of course, achieve the result at each chapter level with \startchapter[title={\underbar

[NTG-context] \underbar in head

2023-09-20 Thread jbf
Am attempting to get an underlined head style (chapter) with: \setuphead[chapter][textcommand=\underbar] But I get no underline. Am I doing something wrong? I can, of course, achieve the result at each chapter level with \startchapter[title={\underbar{text}}] but would prefer to achieve

[NTG-context] Re: Chapters without new page

2023-09-15 Thread Bruce Horrocks
> On 15 Sep 2023, at 13:56, Taco Hoekwater wrote: > > Like this? > > \definehead[mychapter][chapter] > \setuphead[mychapter][page=no] Taco beat me to it... a simple example: \starttext \chapter{First} Some text \chapter{Second} More text \chapter{Third} More text

[NTG-context] Re: Chapters without new page

2023-09-15 Thread Taco Hoekwater
;>> apparently there isn’t. So, the example below does not work, but maybe it >>> wouldn’t be too hard to add it… >>> >> There is a ‘before' key, but note that the sectionblock itself is called >> “backpart”, not “backmatter” >>

[NTG-context] Re: Chapters without new page

2023-09-15 Thread Rik Kabel
that the sectionblock itself is called “backpart”, not “backmatter” Either use \setupsectionblock[backpart][before={\setuphead[chapter][page=no]}] Or, nicer: \startsectionblockenvironment[backpart] \setuphead[chapter][page=no] \stopsectionblockenvironment Best, Denis \setuphead[chapter

[NTG-context] Re: Chapters without new page

2023-09-15 Thread Taco Hoekwater
tself is called “backpart”, not “backmatter” Either use \setupsectionblock[backpart][before={\setuphead[chapter][page=no]}] Or, nicer: \startsectionblockenvironment[backpart] \setuphead[chapter][page=no] \stopsectionblockenvironment > Best, > Denis > \setuphead[chapter][page=ye

[NTG-context] Re: Chapters without new page

2023-09-15 Thread denis.maier
I thought there should be a setups key on \setupsectionblock, but apparently there isn’t. So, the example below does not work, but maybe it wouldn’t be too hard to add it… Best, Denis \setuphead[chapter][page=yes] \setupsectionblock[backmatter][setups={\setuphead[chapter][page

[NTG-context] Re: Chapters without new page

2023-09-14 Thread Rik Kabel
for these chapters? Thanks, Jeroen Untried: 1. Define a new section head that clones chapter (\definehead[NPChapter][chapter]). 2. Modify the new section head so that it does not do a break (\setuphead[NPChapter][page=no]). 3. Use the new section head instead of \chapter or \startchapter

[NTG-context] Re: Chapters without new page

2023-09-14 Thread Rik Kabel
. Define a new section head that clones chapter (\definehead[NPChapter][chapter]). 2. Modify the new section head so that it does not do a break (\setuphead[NPChapter][page=no]). 3. Use the new section head instead of \chapter or \startchapter

[NTG-context] Re: Using structureuservariables before the heading

2023-09-12 Thread Wolfgang Schuster
e value is available. Another option when the name should appear in the same space as the chapter title is a custom layout for the title. Yes, I’ve tried that in the original MWE: %%%%%% \setuphead[chapter][     before={Before: \structureuservariable{auth

[NTG-context] Re: Using structureuservariables before the heading

2023-09-12 Thread denis.maier
tried that in the original MWE: %%%%%% \setuphead[chapter][ before={Before: \structureuservariable{author}\blank}, beforesection={Beforesection: \structureuservariable{author}\blank}, insidesection={Insidesection: \structureuservariable{author}\blank}, after={After: \structureuservariab

[NTG-context] Re: Using structureuservariables before the heading

2023-09-12 Thread denis.maier
Ok, \starttexdefinition allows blanks, apparently just like setups. But, it still fails exactly like the version with \def \setuphead[chapter][ before={Before: \structureuservariable{author}\blank}, beforesection={Beforesection: \structureuservariable{author}\blank}, insidesection

[NTG-context] Using structureuservariables before the heading

2023-09-12 Thread denis.maier
would you add blanks to a user-defined command? Best, Denis \setuphead[chapter][ before={Before: \structureuservariable{author}\blank}, beforesection={Beforesection: \structureuservariable{author}\blank}, insidesection={Insidesection: \structureuservariable{author}\blank},

[NTG-context] Re: XML: flush to lua function

2023-09-12 Thread Taco Hoekwater
ö jklö > > > > \stopbuffer > \startxmlsetups xml:test > \xmlsetsetup{#1}{*}{-} > \xmlsetsetup{#1}{doc|chapter|p}{xml:*} > \stopxmlsetups > \xmlregisterdocumentsetup{test}{xml:test} > \startxmlsetups xml:doc >

[NTG-context] Re: XML: flush to lua function

2023-09-12 Thread denis.maier
\xmlflush{#1} \stopxmlsetups \setuphead[chapter][expansion=yes] % make sure the stuff gets expanded on time \startxmlsetups xml:chapter \startchapter [ title={\xmlfilter{#1

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-10 Thread Jim
at 21:38 (+0200), Lutz Haseloff wrote: > Hi Jim, > perhaps does this work for you? > > \setuplist[chapter][headnumber=no] > \setuphead[chapter][number=no] > \starttext > \completecontent > \page > \chapter{Chapter one} > \input knuth > \chapter{Chapt

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Jim
ed a few minutes ago). Do >> all three items show up in your contents listing? > Hi Jim, > both examples worked for me without problems and even the online compiler > on the wiki produces the expected result. Are you sure all 3 \setuphead > lines are in your document? Argh. Mea

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Jim
who wants to do >> this. Can anyone point me in the direction of a working example? >> And am I misinterpreting the wiki, or is the wiki page broken? > 1. You have to change the value of the incrementnumber key for title, > subject etc. > 2. You have to specify which se

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Wolfgang Schuster
the online compiler on the wiki produces the expected result. Are you sure all 3 \setuphead lines are in your document? Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Lutz Haseloff
Hi Jim, perhaps does this work for you? \setuplist[chapter][headnumber=no] \setuphead[chapter][number=no] \starttext \completecontent \page \chapter{Chapter one} \input knuth \chapter{Chapter two} \input ward \stoptext Greetings Lutz Am 9. September 2023 20:11:55 MESZ schrieb

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Wolfgang Schuster
. You have to change the value of the incrementnumber key for title, subject etc. 2. You have to specify which sections are shown in the table of content because by default only the numbered sections are listed. %%%% begin example 1 \setuphead [title]  [incrementnumber=list] \setuphead [sub

[NTG-context] Re: how to define an environment with key=value arguments

2023-09-08 Thread Henning Hraban Ramm
, alternative=setups, setups=frontispiz, color=white, background=color, backgroundcolor=Eifel, ] \startsetups[frontispiz] \starttransparent[tlumi]% \externalfigure[\structureuservariable{image}][ width=\measure{MaxWidth}, ]% \stoptransparent% \stopsetups \setuphead[chapter][ page

[NTG-context] Re: how to define an environment with key=value arguments

2023-09-08 Thread Henning Hraban Ramm
was added for this purpose. Thank you! You’re right, that might be enough. (Documented only in https://wiki.contextgarden.net/Command/setuphead so far. Even the source browser can’t find anything.) https://source.contextgarden.net/tex/context/base/mkxl/page-inj.mklx Seems like I didn’t search

[NTG-context] Re: how to define an environment with key=value arguments

2023-09-08 Thread Wolfgang Schuster
, that might be enough. (Documented only in https://wiki.contextgarden.net/Command/setuphead so far. Even the source browser can’t find anything.) https://source.contextgarden.net/tex/context/base/mkxl/page-inj.mklx But my “image” consists of a background color (with bleed), a transparent overlay

[NTG-context] Re: how to define an environment with key=value arguments

2023-09-08 Thread Henning Hraban Ramm
://wiki.contextgarden.net/Command/setuphead so far. Even the source browser can’t find anything.) But my “image” consists of a background color (with bleed), a transparent overlay image (with bleed), a tilted image with a shadow on top and a caption (so far) – and pageinjection looks fixed to one

[NTG-context] Re: Trimming (rearranging) long section name

2023-09-04 Thread Lukas via ntg-context
Hello, On 2023-09-04 12:06, Wolfgang Schuster wrote: \mainlanguage[cz] \setuphead   [section]   [distance=1.25em,    style=\bfc,    align={flushleft,broad,nothyphenated}] that's it, thank you! Lukas \setupbodyfont[8pt] \starttext \chapter{Dummy} \samplefile{lorem} \section{Specifické

[NTG-context] Re: Trimming (rearranging) long section name

2023-09-04 Thread Wolfgang Schuster
Lukas via ntg-context schrieb am 04.09.2023 um 13:33: Hello, just " \setuphead[section][distance=1.25em] \setuphead[section][style=\bfc] " Lukas On 2023-09-04 11:25, Henning Hraban Ramm wrote: Am 04.09.23 um 13:06 schrieb Lukas via ntg-context: IOW to force the word "stavb

[NTG-context] Re: Trimming (rearranging) long section name

2023-09-04 Thread Lukas via ntg-context
Hello, just " \setuphead[section][distance=1.25em] \setuphead[section][style=\bfc] " Lukas On 2023-09-04 11:25, Henning Hraban Ramm wrote: Am 04.09.23 um 13:06 schrieb Lukas via ntg-context: IOW to force the word "stavby" not to cross the right border (see the

[NTG-context] Re: An strange error with section and page

2023-08-23 Thread Xavier B.
t the commented line in the example how this can be done. > > %%%% begin example > \setuphead[section][page=yes] > %\setuphead[subject][page=no] > Thank you VERY much. You solved my problem Xavier __

[NTG-context] Re: An strange error with section and page

2023-08-22 Thread Wolfgang Schuster
subject headings to subsubject (be sure to also take care of even lower section) a quick way to fix the page break is to disable the page-value for subject, look at the commented line in the example how this can be done. begin example \setuphead[section][page=yes] %\setuphead[subject][page

[NTG-context] Re: An error which is not in .log file

2023-08-15 Thread Xavier B.
e structure of your document when > >> need \page[yes] after each file. > > Why is it trouble? > > When you start each subfile with \section or \subject you can use > \setuphead to force a pagebreak at the start of each new section and not > with a \page command in the do

[NTG-context] Re: An error which is not in .log file

2023-08-15 Thread Wolfgang Schuster
use \setuphead to force a pagebreak at the start of each new section and not with a \page command in the document. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki

[NTG-context] Typing with text wrapping

2023-08-05 Thread Alex Leray
age, portrait] \definehead[poem][section] \setuphead[poem][] \definetyping[CUSTOM] \setuptyping[CUSTOM][escape={[[,]]}] \starttext \showgrid \startpoem[title={My title}][] \startCUSTOM[] \stopCUSTOM \stoppoem \stoptext ``` Tha

[NTG-context] Re: Using

2023-08-05 Thread Alex Leray
Thanks Hans! Le 4/08/23 à 23:21, Hans Hagen a écrit : On 8/4/2023 7:42 PM, Alex Leray wrote: Hello, I'm trying to figure out why this is not working (whereas \startlines\stoplines works): ``` \definehead[poem][section] \setuphead[poem][beforesection={\starttyping}, aftersection

[NTG-context] Re: Using

2023-08-04 Thread Hans Hagen
On 8/4/2023 7:42 PM, Alex Leray wrote: Hello, I'm trying to figure out why this is not working (whereas \startlines\stoplines works): ``` \definehead[poem][section] \setuphead[poem][beforesection={\starttyping}, aftersection={\stoptyping}] \starttext \startpoem[title={Glijden}][] Lorem

[NTG-context] Using

2023-08-04 Thread Alex Leray
Hello, I'm trying to figure out why this is not working (whereas \startlines\stoplines works): ``` \definehead[poem][section] \setuphead[poem][beforesection={\starttyping}, aftersection={\stoptyping}] \starttext \startpoem[title={Glijden}][] Lorem ipsum dolor sit amet consectetur. \stoppoem

Re: [NTG-context] Protect the lettrine

2023-06-25 Thread Thangalin via ntg-context
, but with the addition of an indenting setup: % SOT \setupinitial[n=2, continue=yes] \setupindenting[medium, yes] \setuphead[chapter][ after={\placeinitial}, page=no, ] \starttext \chapter{one} Kermit Ruffins Meet me at the second line. \chapter{two} \input knuth Meet me at the second line. \stoptext

Re: [NTG-context] Protect the lettrine

2023-06-14 Thread Thangalin via ntg-context
ot;We believe these truths to be self-evident." All we know is that we want the first letter to be a lettrine and the subsequent paragraph not to overlap the lettrine. Cheers! > \setuphead[chapter][ > after={\placeinitial\vbox to 1cm{\relax {K{\hskip 2pt \lower 5pt > \hbox{ermit MUf

Re: [NTG-context] Protect the lettrine

2023-06-14 Thread linguafalsa--- via ntg-context
t see the video, it's distracting, but as I said, is a valid request on your part Perhaps `\setuphead` can have such of a feature in the future — that of different settings for different chapters, and if one exists now, I'm just simply unaware of, but either way, you're dealing mainly here with

Re: [NTG-context] Protect the lettrine

2023-06-13 Thread Thangalin via ntg-context
n't sourcing, then you'd have zilch, nada, zero, empty, > null, void, an space, a separation, an abstract > > Just define Kermit Muffins and it should be good to go > > > \setupinitial[n=2] > > \def\KermitMuffins{\vbox{Kermit Muffins\par\hskip 1.3cm \tfd Meet me at > the sec

Re: [NTG-context] Protect the lettrine

2023-06-13 Thread linguafalsa--- via ntg-context
et me at the second line}} \setuphead[chapter][ after={\placeinitial}, page=no, ] \starttext \chapter{one} \KermitMuffins \chapter{two} \input knuth Meet me at the second line. \stoptext > Cheers! > > On Tue, Jun 13, 2023 at 1:30 AM Otared Kavian via ntg-context < > ntg-context@n

Re: [NTG-context] Protect the lettrine

2023-06-13 Thread Thangalin via ntg-context
probably >> there is a better way to achieve the correct result. >> >> \setupinitial[n=2] >> >> \setuphead[chapter][ >> after={\placeinitial}, >> page=no, >> ] >> >> \starttext >> \chapter{one} >> Kermit Ruffins \hfill\break % <---

Re: [NTG-context] Protect the lettrine

2023-06-13 Thread Thangalin via ntg-context
the source document. Cheers! On Tue, Jun 13, 2023 at 1:30 AM Otared Kavian via ntg-context < ntg-context@ntg.nl> wrote: > Hi, > > Adding \hfill\break to the short line solves the issue, but probably there > is a better way to achieve the correct result. > > \setupinitial[n=2

Re: [NTG-context] Protect the lettrine

2023-06-13 Thread Otared Kavian via ntg-context
Hi, Adding \hfill\break to the short line solves the issue, but probably there is a better way to achieve the correct result. \setupinitial[n=2] \setuphead[chapter][ after={\placeinitial}, page=no, ] \starttext \chapter{one} Kermit Ruffins \hfill\break % <--- Meet me at the second l

[NTG-context] Protect the lettrine

2023-06-12 Thread Thangalin via ntg-context
I'm using KeenWrite Themes (specifically, Boschet) to typeset a chapter wherein the first letter is a lettrine. When the first paragraph is too short, the second paragraph overlaps the lettrine. % SOT \setupinitial[n=2] \setuphead[chapter][ after={\placeinitial}, page=no, ] \starttext

Re: [NTG-context] setuphead page=right and blank even page.

2023-06-11 Thread Wolfgang Schuster via ntg-context
Alan Braslau schrieb am 11.06.2023 um 20:12: On 10/06/23 10/06/23, 12:42, Wolfgang Schuster via ntg-context wrote: Alan Braslau via ntg-context schrieb am 10.06.2023 um 12:28: Hello, \setuphead   [part,chapter,title]   [page=right] will start a part, chapter, or title on an odd page (right

Re: [NTG-context] setuphead page=right and blank even page.

2023-06-11 Thread Alan Braslau via ntg-context
On 10/06/23 10/06/23, 12:42, Wolfgang Schuster via ntg-context wrote: Alan Braslau via ntg-context schrieb am 10.06.2023 um 12:28: Hello, \setuphead   [part,chapter,title]   [page=right] will start a part, chapter, or title on an odd page (right), inserting a "blank" even page if

Re: [NTG-context] setuphead page=right and blank even page.

2023-06-10 Thread Wolfgang Schuster via ntg-context
Alan Braslau via ntg-context schrieb am 10.06.2023 um 12:28: Hello, \setuphead   [part,chapter,title]   [page=right] will start a part, chapter, or title on an odd page (right), inserting a "blank" even page if necessary. How can I get this blank even page to be tr

[NTG-context] setuphead page=right and blank even page.

2023-06-10 Thread Alan Braslau via ntg-context
Hello, \setuphead [part,chapter,title] [page=right] will start a part, chapter, or title on an odd page (right), inserting a "blank" even page if necessary. How can I get this blank even page to be truely blank, that is with no headers nor footers? I tried several think

Re: [NTG-context] how access to \namedstructurevariable [next / previous]

2023-04-29 Thread Garulfo via ntg-context
cal numero = structures.sections.current() if numero == nil then numero = 1 else numero = structures.sections.current().references.listindex + 1 end context.page() context("inbetween : "..structures.lists.collected[numero].titledata.title) context.page() \stopluacode} \setuphe

[NTG-context] how access to \namedstructurevariable [next / previous]

2023-04-29 Thread Garulfo via ntg-context
/svn/manuals/context/layo-00.tex), I understood that it was achieved with : \setuphead [\v!chapter] [\c!command=\PlaatsHoofdstuk, \c!page=\v!yes, \c!before=, \c!inbetween=\PlaatsHoofdstukIndex, %\c!incrementnumber=cont-\currentlanguage, \c!header=\v!nomarking, \c!textstyle=\bfd

Re: [NTG-context] Table of contents not appearing.

2023-04-21 Thread Fabrice Couvreur via ntg-context
matter >> >> \stopproduct >> >> shows a table of contents so it must be something in your components >> >> > Fabrice >> > >> > >> > \startproduct[terminale-manual] >> > >> >\project[terminale-environment]

Re: [NTG-context] Table of contents not appearing.

2023-04-21 Thread Fabrice Couvreur via ntg-context
ct > > shows a table of contents so it must be something in your components > > > Fabrice > > > > > > \startproduct[terminale-manual] > > > >\project[terminale-environment] > >\startfrontmatter > > > > \setuppagenumbering &

Re: [NTG-context] Non-standard font alternatives

2023-04-20 Thread Pawel Urbanski via ntg-context
: \switchtobodyfont[roboto,20pt] in the \setuphead[] call the font is not embedded and seems to be not used. I am more optimistic but still confused what can be wrong. ___ If your question is of interest to others as well

Re: [NTG-context] Table of contents not appearing.

2023-04-20 Thread Hans Hagen via ntg-context
it must be something in your components Fabrice \startproduct[terminale-manual]   \project[terminale-environment]   \startfrontmatter     \setuppagenumbering        [location=]     \definefont       [ChapterTextStyle]       [SansBold*default sa 2.2]     \setuphead       [title

[NTG-context] Table of contents not appearing.

2023-04-20 Thread Fabrice Couvreur via ntg-context
] [SansBold*default sa 2.2] \setuphead [title] [style=ChapterTextStyle, align=flushright] \setuplist [chapter] [style=bold, alternative=b, width=1em] \setuplist [section] [margin=1em, width=1.75em

  1   2   3   4   5   6   7   8   9   10   >