[NTG-context] Re: \underbar in head

2023-09-21 Thread jbf
So clearly I would need to upgrade my version. It does not work with what I have at the moment. Thank you. Julian On 22/9/23 02:04, Wolfgang Schuster wrote: I get a line below the chapter title with LMTX and LuaTeX with the current ConTeXt version.

[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
: 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: \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: Table head/body via lua

2023-08-18 Thread Alexey Kryukov
On Fri, 18 Aug 2023 21:11:38 +0200 Wolfgang Schuster wrote: > What you can do here is to put the table together piece by piece with > the collecting > mechanism which collect parts of the table until you flush the whole > collection > at the end with the \stopcollecting command. Many thanks,

[NTG-context] Re: Table head/body via lua

2023-08-18 Thread Wolfgang Schuster
is needed. Hi Wolfgang, thanks for the answer. Basically I would like to typeset a document represented as TEI xml. Unfortunately, TEI support for table typesetting is rather limited: there are no tags corresponding to table head of body. It is only possible to specify a specific role for some rows. So I

[NTG-context] Re: Table head/body via lua

2023-08-18 Thread Alexey Kryukov
r the answer. Basically I would like to typeset a document represented as TEI xml. Unfortunately, TEI support for table typesetting is rather limited: there are no tags corresponding to table head of body. It is only possible to specify a specific role for some rows. So I have to use lua code to a

[NTG-context] Re: Table head/body via lua

2023-08-18 Thread Wolfgang Schuster
Alexey Kryukov schrieb am 18.08.2023 um 19:02: Hi, I am trying to generate a table representation for some xml source. As the data structure doesn't directly correspond to the desired table structure, some manipulations via lua are required. So far everything works OK except table sectioning

[NTG-context] Table head/body via lua

2023-08-18 Thread Alexey Kryukov
Hi, I am trying to generate a table representation for some xml source. As the data structure doesn't directly correspond to the desired table structure, some manipulations via lua are required. So far everything works OK except table sectioning commands, like \bTABLEhead, \eTABLEhead, bTABLEbody

Re: [NTG-context] Defineenumeration head offset

2022-11-07 Thread Wolfgang Schuster via ntg-context
Alexandre Christe via ntg-context schrieb am 07.11.2022 um 21:04: Dear list, Is there a trick to not apply the leftoffset to the header of a defineenumeration? MWE: [...] You can use \offset to shift the enumeration title. \defineframed   [ExampleHeadFrame]   [location=low,   

[NTG-context] Defineenumeration head offset

2022-11-07 Thread Alexandre Christe via ntg-context
Dear list, Is there a trick to not apply the leftoffset to the header of a defineenumeration? MWE: \definetextbackground [textFrameEx] [ frame=off, framecolor=darkgreen, rulethickness=2ex, background=, location=paragraph, leftoffset=2.25ex, rightoffset=2.25ex,

Re: [NTG-context] Problem with \head inside \itemize

2021-12-23 Thread Benjamin Buchmuller via ntg-context
formatted inline headers in itemize like: > > The syntax for \starthead is > > \starthead {...} ... \stophead > > where the argument within the braces is mandatory. > >> – Unformatted item. >> – *Head One.* Something bla bla. >> – *Head Two.* Other

Re: [NTG-context] Problem with \head inside \itemize

2021-12-21 Thread Wolfgang Schuster via ntg-context
. – Unformatted item. – *Head One.* Something bla bla. – *Head Two.* Other bla bla. From: \setupitemize[each][2, headintext] % \setupitemize[each][headstyle={\groupedcommand{\bf}{.\space\tf}}] \setupitemize[each][headcolor=red, headstyle=bold] \startitemize \item Unformatted item. \head Head

Re: [NTG-context] Problem with \head inside \itemize

2021-12-21 Thread Benjamin Buchmuller via ntg-context
Not sure if this is the behavior to expect, but I would like to get formatted inline headers in itemize like: – Unformatted item. – *Head One.* Something bla bla. – *Head Two.* Other bla bla. From: \setupitemize[each][2, headintext] % \setupitemize[each][headstyle={\groupedcommand{\bf}{.\space

Re: [NTG-context] descriptions -- symbol between head and text

2021-12-15 Thread Denis Maier via ntg-context
Thanks, Wolfgang. That helped. Denis Von: Wolfgang Schuster Gesendet: Dienstag, 14. Dezember 2021 17:05 An: mailing list for ConTeXt users ; Denis Maier via ntg-context Cc: Maier, Denis Christian (UB) Betreff: Re: [NTG-context] descriptions -- symbol between head and text Denis Maier via

Re: [NTG-context] descriptions -- symbol between head and text

2021-12-14 Thread Wolfgang Schuster via ntg-context
Denis Maier via ntg-context schrieb am 14.12.2021 um 16:44: Hi, is there a way to get some text between the head and the text of a description. Enumerations have stoppers, but I couldn’t find an equivalent setting for descriptions: \definedescription   [deflist]   [alternative=hanging

[NTG-context] descriptions -- symbol between head and text

2021-12-14 Thread Denis Maier via ntg-context
Hi, is there a way to get some text between the head and the text of a description. Enumerations have stoppers, but I couldn't find an equivalent setting for descriptions: The output should look roughly like this: ABC: asdfasdfasdf jklöjklööjklö CDE: asdfasdfasdf jklöjklöjklöö Denis

Re: [NTG-context] Problem with \head inside \itemize

2021-11-22 Thread Hans Hagen via ntg-context
ConTeXt ver: 2021.09.26 17:00 LMTX). Adding an explicit \par at the end of the \head line allows the example to work. It seems like the newest LMTX versions don’t handle implicit \par (empty lines) as argument delimiter any more, the argument has to be terminated by the explicit string “\par

Re: [NTG-context] Problem with \head inside \itemize

2021-11-22 Thread Taco Hoekwater via ntg-context
ver: 2021.09.26 17:00 LMTX). > Adding an explicit \par at the end of the \head line allows the example to > work. It seems like the newest LMTX versions don’t handle implicit \par (empty lines) as argument delimiter any more, the argument has to be terminated by the explicit string “\par", j

[NTG-context] Problem with \head inside \itemize

2021-11-22 Thread Jean-Philippe Rey via ntg-context
Dear list, The following code worked perfectly well with ConTeXt ver: 2021.01.05 10:45 LMTX but produces an error with the current LMTX version (at least since ConTeXt ver: 2021.09.26 17:00 LMTX). Adding an explicit \par at the end of the \head line allows the example to work. Best regards

Re: [NTG-context] running head for TOC

2021-01-19 Thread Henning Hraban Ramm
> Am 19.01.2021 um 10:34 schrieb jbf : > > I had tried that - I tried: > > \definehead > [tochead] > [chapter] > > and of course combined list does not contain tochead, but chapter. But what > happens then is that the Table of Contents disappears altogether) e

Re: [NTG-context] running head for TOC

2021-01-19 Thread jbf
I had tried that - I tried: \definehead [tochead] [chapter] and of course combined list does not contain tochead, but chapter. But what happens then is that the Table of Contents disappears altogether) except for the actually head 'Table of Contents')! On 19/1/21 8:23 pm, Henning Hraban

Re: [NTG-context] running head for TOC

2021-01-19 Thread Henning Hraban Ramm
> Am 19.01.2021 um 05:55 schrieb jbf : > > I have a very long Table of Contents (runs across five pages) and the author > would like the running head on recto pages for this to be 'Table of Contents'. > > I am using the following to create the TOC head: > >

[NTG-context] running head for TOC

2021-01-18 Thread jbf
I have a very long Table of Contents (runs across five pages) and the author would like the running head on recto pages for this to be 'Table of Contents'. I am using the following to create the TOC head: \definehead   [tochead]   [title] \starttochead[title={Table of Contents}] \setupheader

Re: [NTG-context] Section head placement wrong when the after key is used

2020-11-19 Thread Marco Patzer
On Thu, 19 Nov 2020 16:53:52 +0100 Pablo Rodriguez wrote: > On 11/19/20 11:55 AM, Marco Patzer wrote: > > Hi! > > [...] > > What's the reason the section head stays on the previous page when > > the “after” is used and how to fix this? > > Hi Marco, > >

Re: [NTG-context] Section head placement wrong when the after key is used

2020-11-19 Thread Pablo Rodriguez
On 11/19/20 11:55 AM, Marco Patzer wrote: > Hi! > [...] > What's the reason the section head stays on the previous page when > the “after” is used and how to fix this? Hi Marco, by default (according to strc-def.mkiv), \section has "after=\blank". In some cases, I ha

[NTG-context] Section head placement wrong when the after key is used

2020-11-19 Thread Marco Patzer
Hi! In the following example the 2nd section head stays on page one when the “after” key is used. If the blackrule is commented out the section head moves to page two as intended. What's the reason the section head stays on the previous page when the “after” is used and how to fix

Re: [NTG-context] How to reproduce a particular head/title style (reformat)

2020-11-15 Thread Willi Egger
Hi Garulfo! Now! — You managed do do a nice job! :-) Willi > On 15 Nov 2020, at 19:53, Garulfo wrote: > > Hi, > > finally I made some progress and uploaded files to the wiki in "Reports and > articles" Samples section (https://wiki.contextgarden.net/Sample_documents) > > Initial PDF

Re: [NTG-context] How to reproduce a particular head/title style (reformat)

2020-11-15 Thread Pablo Rodriguez
On 11/15/20 7:53 PM, Garulfo wrote: > [...] > Initial PDF document: > https://www.hautconseilclimat.fr/wp-content/uploads/2020/10/hcc_rapport_maitriser-lempreinte-carbone-de-la-france-1.pdf > [...] > ConTeXt output : >

Re: [NTG-context] How to reproduce a particular head/title style (reformat)

2020-11-15 Thread Garulfo
Hi, finally I made some progress and uploaded files to the wiki in "Reports and articles" Samples section (https://wiki.contextgarden.net/Sample_documents) Initial PDF document: >

[NTG-context] How to reproduce a particular head/title style (reformat)

2020-11-03 Thread Garulfo
Hi, I would like to learn "how to ConTeXt" complex titles styles like the one seen in the following document: - https://wiki.contextgarden.net/images/f/f1/Screenshot_20201103_220818.png - source document:

[NTG-context] How to reproduce a particular head/title style

2020-11-03 Thread Garulfo
Hi, I would like to learn "how to ConTeXt" complex titles styles like the one seen in the following document: https://wiki.contextgarden.net/images/f/f1/Screenshot_20201103_220818.png original document:

Re: [NTG-context] no frontmatter head on recto page

2020-09-30 Thread jbf
Taco, I found a solution. Instead of trying to adjust what I have in the preamble, I simply went to where I begin the Foreword and included [marking={Foreword}]: \startforeword[marking={Foreword}][author={Author's name}]. And of course, to prevent the first page of Foreword from having the

Re: [NTG-context] no frontmatter head on recto page

2020-09-30 Thread jbf
No, Taco, that is not resolving the problem. I added your suggestion (header=start) to what I already had for \setuphead for 'foreword': \setuphead   [foreword]   [frontpartlabel=foreword,    conversion=empty,    header=start] but it makes no difference. I am already aware that chapter, on

Re: [NTG-context] no frontmatter head on recto page

2020-09-30 Thread Alan Bowen
My apologies for the mixed message. A. On Wed, Sep 30, 2020 at 8:56 AM Alan Bowen wrote: > Thank you, Taco, for the fix *and* the helpful explanation. > > The file now works (and I can now put this project to bed!) > > Alan > > On Wed, Sep 30, 2020 at 7:44 AM Taco Hoekwater wrote: > >> >> >>

Re: [NTG-context] no frontmatter head on recto page

2020-09-30 Thread Alan Bowen
Thank you, Taco, for the fix *and* the helpful explanation. The file now works (and I can now put this project to bed!) Alan On Wed, Sep 30, 2020 at 7:44 AM Taco Hoekwater wrote: > > > > On 30 Sep 2020, at 11:46, jbf wrote: > > > > For some reason that I cannot work out, the recto page

Re: [NTG-context] no frontmatter head on recto page

2020-09-30 Thread Taco Hoekwater
> On 30 Sep 2020, at 11:46, jbf wrote: > > For some reason that I cannot work out, the recto page header is not > appearing in frontmatter sections like Foreword. It is important to note that > for this item I am using: > > \definehead > [foreword] [chapter]… ‘chapter' suppresses the

[NTG-context] no frontmatter head on recto page

2020-09-30 Thread jbf
the problem, neither worked: 1. In \setuphead I thought perhaps I might need to add placehead=yes, but that did nothing. 2. I also tried  [{\hfill\getmarking[chapter, foreword]\hfill}][] in case I needed to add in 'foreword', having defined it as a head. That did nothing either. Any clues as to what

Re: [NTG-context] white-space after section-head in columns

2020-07-15 Thread Lukas/ConTeXt
Od: Peter Münster Komu: ConTeXt users Datum: 15. 7. 2020 14:57:26 Předmět: [NTG-context] white-space after section-head in columns Hi, What is the right way please to get normal white-space after a section in columns, i.e. not too much? Example, that shows the problem: --8<--

Re: [NTG-context] white-space after section-head in columns

2020-07-15 Thread Wolfgang Schuster
Peter Münster schrieb am 15.07.2020 um 14:55: Hi, What is the right way please to get normal white-space after a section in columns, i.e. not too much? Example, that shows the problem: --8<---cut here---start->8--- \starttext \startsection[title=Space is ok

[NTG-context] white-space after section-head in columns

2020-07-15 Thread Peter Münster
Hi, What is the right way please to get normal white-space after a section in columns, i.e. not too much? Example, that shows the problem: --8<---cut here---start->8--- \starttext \startsection[title=Space is ok here] \input tufte \stopsection

[NTG-context] custom environment for geographical pictures; new head or special float?

2018-11-24 Thread Damien Thiriet
to symbols (natural table) --- All this is enclosed into a makeup to reduce margins. I am now automating this and wonder what should be the best way to do it. * creating a head style at subsection level was my first thought, but on the semantical point of view, it is not the best

Re: [NTG-context] Referring to \head

2018-05-23 Thread Procházka Lukáš Ing .
Hello, deducing: \starttext \startitemize[i][stopper=),headstyle=bold] \starthead[h]{Head} Some text. \stophead \item[i] Item. \stopitemize See \in[h] and \in[i]. \stoptext Thank you. Lukas On Wed, 23 May 2018 13:18:27 +0200, Wolfgang Schuster

Re: [NTG-context] Referring to \head

2018-05-23 Thread Wolfgang Schuster
\starthead takes takes the title as argument, i.e. \starthead {…} … \stophead Wolfgang Procházka Lukáš Ing. <mailto:l...@pontex.cz> 23. Mai 2018 um 11:11 Hello, referring to \head doesn't work in the ME bellow: \starttext \startitemize[n][] \item[a] A \head[b] B

Re: [NTG-context] Referring to \head

2018-05-23 Thread Procházka Lukáš Ing .
Hello, the "headstyle" option in \startitemize affect undesirably all text following \head in the itemize scope: \starttext \startitemize[i][stopper=),headstyle=bold] \starthead[h] Head \stophead Some text. \item[i] Item. \stopitemize See \in[h]

Re: [NTG-context] Referring to \head

2018-05-23 Thread Procházka Lukáš Ing .
Hello Wolfgang, thank you for the answer, wikified: http://wiki.contextgarden.net/Command/head Best regards, Lukas On Wed, 23 May 2018 11:44:17 +0200, Wolfgang Schuster <schuster.wolfg...@gmail.com> wrote: Use \starthead. Wolfgang Procházka Lukáš Ing. <mailto:l...@pont

Re: [NTG-context] Referring to \head

2018-05-23 Thread Wolfgang Schuster
Use \starthead. Wolfgang Procházka Lukáš Ing. <mailto:l...@pontex.cz> 23. Mai 2018 um 11:11 Hello, referring to \head doesn't work in the ME bellow: \starttext \startitemize[n][] \item[a] A \head[b] B bbb \item See \in[a] and \in[b]. \stopitemize \starti

[NTG-context] Referring to \head

2018-05-23 Thread Procházka Lukáš Ing .
Hello, referring to \head doesn't work in the ME bellow: \starttext \startitemize[n][] \item[a] A \head[b] B bbb \item See \in[a] and \in[b]. \stopitemize \startitemize[n][] \item See \in[a] and \in[b]. \stopitemize \stoptext \head doesn't recongize

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

2017-08-31 Thread Aditya Mahajan
On Tue, 29 Aug 2017, Paul Mazaitis wrote: The short version: I'd like to set up a context document with multiple user-defined heads, such that they can be conditionally compiled and/or altered. It seems that modes are what I want, but I'm having trouble figuring out how to automatically

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

2017-08-31 Thread Paul Mazaitis
The short version: I'd like to set up a context document with multiple user-defined heads, such that they can be conditionally compiled and/or altered. It seems that modes are what I want, but I'm having trouble figuring out how to automatically set up a particular section to be wrapped in a

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-04-02 Thread Todd DeVries
Thank you for this information. Wolfgang Schuster writes: > The inline heading in your example doesn’t work because \startparagraph > forces the end of a paragraph for the preceding text. > > As you want only tags for the content of your paragraph you can enclose >

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-04-02 Thread Wolfgang Schuster
Todd DeVries 2. April 2017 um 01:47via Postbox Hello everyone, Thanks to all who helped me better understand the issues surrounding my question. The document style I am following

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-04-01 Thread Todd DeVries
Hello everyone, Thanks to all who helped me better understand the issues surrounding my question. The document style I am following requires that the first three headings are included in the table of contents. Headings one and two are easy, as they stand on lines by themself. Heading three

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-04-01 Thread Alan Braslau
Have you tried: On Sat, 1 Apr 2017 20:20:02 +0200 Pablo Rodriguez wrote: > Tagging PDFs the way you seem to be trying might be impossible. Here > is my sample: > > \setuppapersize[letter] > \setuptagging[state=start] > \starttext > \startsubsection[title=First

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-04-01 Thread Pablo Rodriguez
On 04/01/2017 05:32 PM, Rik Kabel wrote: > On 2017-04-01 00:10, Todd DeVries wrote: >> Thanks for your assistance. Was unaware of using the setupheads >> command incorrectly. Good information to have. I am still not >> able to produce an automatic period (.) at the end of the section >> title

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-04-01 Thread Rik Kabel
On 2017-04-01 00:10, Todd DeVries wrote: Thanks for your assistance. Was unaware of using the setupheads command incorrectly. Good information to have. I am still not able to produce an automatic period (.) at the end of the section title using the after keyword. is this correct? Seems to

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-03-31 Thread Todd DeVries
Thanks for your assistance. Was unaware of using the setupheads command incorrectly. Good information to have. I am still not able to produce an automatic period (.) at the end of the section title using the after keyword. is this correct? On Friday, March 31, 2017, 7:01:28 PM, Rik writes: >

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-03-31 Thread Rik Kabel
On 2017-03-31 19:05, Todd DeVries wrote: Hello, I would like to align a subsection heading with the following paragraph. For example: Subsectiontext. The data presented in this section will ... What I get is: Subsection Text The data presented in this section will ... What recipe should be

[NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-03-31 Thread Todd DeVries
Hello, I would like to align a subsection heading with the following paragraph. For example: Subsectiontext. The data presented in this section will ... What I get is: Subsection Text The data presented in this section will ... What recipe should be used with the \setupheads command to

[NTG-context] controlling title head distances when grid is enabled

2017-02-23 Thread Csikos Bela
Dear context users: I would like to typeset my documents to gridlines. If grid is enabled, the distances between titles (section, subsection,subsubsection heads) and text are too big. Here's an example: \setuplayout[grid=yes] \showgrid \starttext \section{Section One} \input tufte

[NTG-context] Chapter-head: number, title and subtitle

2017-01-25 Thread Robert Blackstone
to the requirements of an external publisher. One of the items is the content and layout of the chapter-heads. What would be needed as a chapter-head, of Chapter 1 for instance, is, on two or, occasionally three, lines: - Chapter 1 (midaligned, boldface, smallish size (\tfa)) - some vertical space

Re: [NTG-context] different section head for appendices

2016-06-24 Thread Wolfgang Schuster
Pablo Rodriguez 24. Juni 2016 um 17:38 Dear list, I have the following command: \setuphead[section][sectionsegments={chapter:section}] Is there a way to have a different numbering scheme for the appendix? I thought that the following command might work:

[NTG-context] different section head for appendices

2016-06-24 Thread Pablo Rodriguez
Dear list, I have the following command: \setuphead[section][sectionsegments={chapter:section}] Is there a way to have a different numbering scheme for the appendix? I thought that the following command might work: \setuphead[appendix:section][sectionsegments={section}] Many thanks for

Re: [NTG-context] Move textrule closer to head

2016-04-13 Thread Tom Harrop
On 13/04/16 18:47, Pablo Rodriguez wrote: Hi Tom, how about another rule? (From http://wiki.contextgarden.net/Titles#Titling_Style.) \setuphead[subsubsection] [after=\hrule\blank] I hope it helps, Pablo Ahh, it's perfect. I missed that page of the wiki! Thank you.

Re: [NTG-context] Move textrule closer to head

2016-04-13 Thread Pablo Rodriguez
On 04/13/2016 06:10 PM, Tom Harrop wrote: > Hello, > > I'm a ConTeXt beginner. I'm working on a document where I would like a > textrule under my subsubsection headings. If I use after=\textrule, the > placement of the textrule is too far from the heading, and I haven't > found a way to move

[NTG-context] Move textrule closer to head

2016-04-13 Thread Tom Harrop
Hello, I'm a ConTeXt beginner. I'm working on a document where I would like a textrule under my subsubsection headings. If I use after=\textrule, the placement of the textrule is too far from the heading, and I haven't found a way to move it closer to the heading either with \setuphead or

Re: [NTG-context] unwanted head behavior

2016-04-09 Thread Zhichu Chen
Dear Hans, On 04/07/2016 06:31 PM, Hans Hagen wrote: \def\currentsectioncountervalue {\clf_depthnumber\numexpr\thenamedheadlevel\currenthead\relax} %def\previoussectioncountervalue{\clf_depthnumber\numexpr\thenamedheadlevel\currenthead+\minusone\relax}

Re: [NTG-context] unwanted head behavior

2016-04-07 Thread Hans Hagen
On 4/7/2016 8:28 AM, Zhichu Chen wrote: If I understand correctly, the "continue=yes" key prevents a new page generated by a lower-level structure, e.g., section, following a higher-level structure, e.g., chapter. Then why the checking is so complex in strc-sec.mkiv:

Re: [NTG-context] unwanted head behavior

2016-04-07 Thread Hans Hagen
On 4/7/2016 5:42 AM, Zhichu Chen wrote: Hi, I found the empty line is due to the definition of \strc_rendering_place_head_empty in strc-ren.mkiv: \unexpanded\def\strc_rendering_place_head_empty {\hbox \headreferenceattributes {\getheadsyncs}} The

Re: [NTG-context] unwanted head behavior

2016-04-07 Thread Hans Hagen
On 4/7/2016 8:28 AM, Zhichu Chen wrote: PS: irrelevant to my problem, but I just wish ConTeXt to be perfect. So: 1, line 1060, file strc-sec.mkiv: \global\setfalse\c_strc_rendering_continue shouldn't this line be "\global\setfalse\c_strc_rendering_continuous"? yes (but it's not used anywhere)

Re: [NTG-context] unwanted head behavior

2016-04-07 Thread Zhichu Chen
If I understand correctly, the "continue=yes" key prevents a new page generated by a lower-level structure, e.g., section, following a higher-level structure, e.g., chapter. Then why the checking is so complex in strc-sec.mkiv: ==

Re: [NTG-context] unwanted head behavior

2016-04-06 Thread Zhichu Chen
Hi, I found the empty line is due to the definition of \strc_rendering_place_head_empty in strc-ren.mkiv: \unexpanded\def\strc_rendering_place_head_empty {\hbox \headreferenceattributes {\getheadsyncs}} The definition in strc-sec.mkiv works fine

[NTG-context] unwanted head behavior

2016-04-04 Thread Zhichu Chen
Dear Hans and Wolfgang, The following code generates a pdf that I cannot understand. 1. Although "placehead" is set to "no," the \part macro still makes an empty line. 2. The first \chapter does not open a new page, but if we switch the first \title

Re: [NTG-context] Section head without numbers, ToC with numbers

2015-10-04 Thread Aditya Mahajan
ents 1 First section 2 Second section (Untested): \setuphead[section][numbercommand=\gobbleoneargument] thanks for your answer! This comes close, but has the problem, that the section head is indented. \starttext \setuphead[section][numbercommand=\gobbleoneargument] \placelist[section] \section

Re: [NTG-context] Section head without numbers, ToC with numbers

2015-10-04 Thread Erik Margraf
t;>>> >>>> Table of Contents >>>> 1 First section >>>> 2 Second section >>>> >>>> >>>> (Untested): >>> >>> \setuphead[section][numbercommand=\gobbleoneargument] >>> >>> t

[NTG-context] Section head without numbers, ToC with numbers

2015-10-03 Thread Erik Margraf
Dear List, is it possible to achieve the following: First section Some Text Second section Some Text Table of Contents 1 First section 2 Second section I tried both: a) \setuphead[section][sectionnumber=no] b) \setupheads[sectionnumber=no] I also tried

Re: [NTG-context] Section head without numbers, ToC with numbers

2015-10-03 Thread Aditya Mahajan
On Sat, 3 Oct 2015, Erik Margraf wrote: Dear List, is it possible to achieve the following: First section Some Text Second section Some Text Table of Contents 1 First section 2 Second section (Untested): \setuphead[section][numbercommand=\gobbleoneargument] Aditya

Re: [NTG-context] How to implement a head like this?

2015-07-04 Thread 土卜皿
resume, I found the head like the attached file's very awesome, but I don't know how to implement it, or what elements I should use to do it? ​please any one help me, Thanks in advance! Best Regards Dillon Peng -- http://www.ousia.tk

Re: [NTG-context] How to implement a head like this?

2015-07-04 Thread Pablo Rodriguez
:00 土卜皿 pengcz.n...@gmail.com: hi, all I want to use context for writing my resume, I found the head like the attached file's very awesome, but I don't know how to implement it, or what elements I should use to do it? ​please any one help me, Thanks in advance

Re: [NTG-context] How to implement a head like this?

2015-07-04 Thread Hans Hagen
it a mp image as background Dillon 2015-07-03 22:32 GMT+08:00 土卜皿 pengcz.n...@gmail.com mailto:pengcz.n...@gmail.com: hi, all I want to use context for writing my resume, I found the head like the attached file's very awesome, but I don't know how to implement it, or what

[NTG-context] How to implement a head like this?

2015-07-03 Thread 土卜皿
hi, all I want to use context for writing my resume, I found the head like the attached file's very awesome, but I don't know how to implement it, or what elements I should use to do it? ​please any one help me, Thanks in advance! Best Regards Dillon Peng

Re: [NTG-context] How to implement a head like this?

2015-07-03 Thread 土卜皿
After reading something, I think the red area belonging to top area, but there is no definetop or like this, my understanding is right? Dillon 2015-07-03 22:32 GMT+08:00 土卜皿 pengcz.n...@gmail.com: hi, all I want to use context for writing my resume, I found the head like the attached

Re: [NTG-context] overlay or layer for chapter head.

2015-04-02 Thread Otared Kavian
for chapter head. Date: 2 April 2015 1:19:03 AEDT I am redoing a book for a client. Each chapter head has a fancy design. I want to reproduce that fancy page but still have the \chapter statement for running heads, TOC etc. Is there a way that I can overlay the entire chapter first page

Re: [NTG-context] overlay or layer for chapter head.

2015-04-02 Thread Robin.Kirkham
From: John Culleton j...@wexfordpress.com Subject: [NTG-context] overlay or layer for chapter head. Date: 2 April 2015 1:19:03 AEDT I am redoing a book for a client. Each chapter head has a fancy design. I want to reproduce that fancy page but still have the \chapter statement for running

Re: [NTG-context] overlay or layer for chapter head.

2015-04-02 Thread John Culleton
On Thu, 02 Apr 2015 15:10:19 +0200 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz wrote: Hello, On Thu, 02 Apr 2015 14:46:11 +0200, Otared Kavian ota...@gmail.com wrote: Hi, Maybe you need to say state=repeat in the definition of your layer:

Re: [NTG-context] overlay or layer for chapter head.

2015-04-02 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, On Thu, 02 Apr 2015 14:46:11 +0200, Otared Kavian ota...@gmail.com wrote: Hi, Maybe you need to say state=repeat in the definition of your layer: \definelayer[chapterbackground][state=repeat] '[state=repeat]' causes all pages have the 'mill' background. Best regards, Lukas

Re: [NTG-context] overlay or layer for chapter head.

2015-04-02 Thread Wolfgang Schuster
Am 02.04.2015 um 17:12 schrieb John Culleton j...@wexfordpress.com: On Thu, 02 Apr 2015 15:10:19 +0200 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz mailto:l...@pontex.cz wrote: Hello, On Thu, 02 Apr 2015 14:46:11 +0200, Otared Kavian ota...@gmail.com wrote: Hi, Maybe

[NTG-context] overlay or layer for chapter head.

2015-04-01 Thread John Culleton
I am redoing a book for a client. Each chapter head has a fancy design. I want to reproduce that fancy page but still have the \chapter statement for running heads, TOC etc. Is there a way that I can overlay the entire chapter first page with a graphic, ideally a one page pdf file. I have

Re: [NTG-context] overlay or layer for chapter head.

2015-04-01 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi John, Per Hans' Fwd: I can confirm that this latest post of yours made it to the list. Best wishes Idris On Wed, 01 Apr 2015 08:19:03 -0600, John Culleton j...@wexfordpress.com wrote: I am redoing a book for a client. Each chapter head has a fancy design. I want to reproduce

Re: [NTG-context] overlay or layer for chapter head.

2015-04-01 Thread Alan BRASLAU
John, Do you mean this post? (It appeared on the mailing list) Alan On Wed, 1 Apr 2015 10:19:03 -0400 John Culleton j...@wexfordpress.com wrote: I am redoing a book for a client. Each chapter head has a fancy design. I want to reproduce that fancy page but still have the \chapter

[NTG-context] Vertical space after \head

2015-03-31 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, is it possible to affect simply vertical space being generated after \head? Here: \starttext \startitemize[][headstyle=bold] \head Something\par \input knuth \stopitemize \stoptext I'd like to have space of size \blank[medium] between the head

Re: [NTG-context] Vertical space after \head

2015-03-31 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, thank you, Wolfgang; I wasn't aware of afterhead option. I added some info (and a snip) here: http://wiki.contextgarden.net/Command/startitemize although I found some existing info on wiki/\setupitemgroup; however, I wasn't able to add some useful info onto the latter place. Best

Re: [NTG-context] Vertical space after \head

2015-03-31 Thread Wolfgang Schuster
Am 31.03.2015 um 09:03 schrieb Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: Hello, is it possible to affect simply vertical space being generated after \head? Here: \starttext \startitemize[][headstyle=bold] \head Something\par \input knuth

[NTG-context] head stopper and hang

2015-02-19 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuplabeltext[subsection=Activity~] \setuphead[subsection][sectionsegments=subsection] \setuplist[subsection][width=fit, stopper={: }] \setuplabeltext[section=Area~] \setuphead[section][hang=broad, stopper={· }] \starttext \completecontent

Re: [NTG-context] \head: broken?

2014-07-18 Thread Rob Heusdens
Thanks. I think I could have figured out that one myself. I guess it's my own head a bit broken atm... But I should mention that the contextgarden article mentions only one option for \startitemize, perhaps that is why I got misleaded there. (http://wiki.contextgarden.net/Command/startitemize

[NTG-context] \head: broken?

2014-07-16 Thread Rob Heusdens
Hello All, Still having problem with \head in \setupitemize. - When I set the headstyle in \setupitemize, the numbering disappears and the symbol appear (like when I used '1' instead of 'n'). (ex. 1: MNWE) - If I comment the headstyle out, numbers do appear. (ex. 2: MWE). Why

Re: [NTG-context] \head: broken?

2014-07-16 Thread Wolfgang Schuster
Am 16.07.2014 um 13:07 schrieb Rob Heusdens robh...@xs4all.nl: Hello All, Still having problem with \head in \setupitemize. - When I set the headstyle in \setupitemize, the numbering disappears and the symbol appear (like when I used '1' instead of 'n'). (ex. 1: MNWE) - If I comment

[NTG-context] \head: broken?

2014-07-12 Thread Rob Heusdens
Hello to all, I don't know if it is due to -the weather- or -the Worldchampionships- or other but in my Context release [ConTeXt ver: 2014.07.11 12:20 MKIV beta fmt: 2014.7.12 int: english/english] \head is broken. Is that a feature or a bug? greetings, Rob --- \head: broken? When

Re: [NTG-context] \head: broken?

2014-07-12 Thread Aditya Mahajan
On Jul 12, 2014, at 7:11 PM, Rob Heusdens robh...@xs4all.nl wrote: Hello to all, I don't know if it is due to -the weather- or -the Worldchampionships- or other but in my Context release [ConTeXt ver: 2014.07.11 12:20 MKIV beta fmt: 2014.7.12 int: english/english] \head is broken

  1   2   3   >