Re: [NTG-context] new upload

2020-11-18 Thread Pablo Rodriguez
Even headings and lists are indented now: \showframe\showgrid \setupindenting[yes, always, big] \starttext \placelist[section] \dorecurse{5} {\section{Section \recurselevel} \input{zapf}} \stoptext I think this may be a bug. Pablo -- http

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

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: > https://www.hautconseilclimat.fr/wp-content/uploads/2020/10/hcc_rapport_maitriser-lempreinte-

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Aditya Mahajan
On Tue, 10 Nov 2020, Sylvain Hubert wrote: > Indeed. Thanks for the information! > > For the record, this is how the problem is finally solved: > > \setuphead[section][after={\blank[sampage]}] > \begingroup\setupindenting[no]\dontleavehmode\startxtable … > \stopxt

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
On Tue, 10 Nov 2020 at 19:23, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Sylvain Hubert schrieb am 10.11.2020 um 19:11: > > > Weirdly enough, "\hskip 0pt" solves the problem. > > > > \setuphead[section][after={\blank[s

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 10.11.2020 um 19:11: Weirdly enough, "\hskip 0pt" solves the problem.     \setuphead[section][after={\blank[samepage]\hskip 0pt}]     \starttext     \showframe     \dorecurse{50}{a }     \startsection[title=spec]     \startxtable What happens when

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
On Tue, 10 Nov 2020 at 18:25, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Sylvain Hubert schrieb am 10.11.2020 um 18:06: > > > Thanks for the suggestion, but as illustrated by the second example, > > copied here, where the section title i

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 10.11.2020 um 18:06: Thanks for the suggestion, but as illustrated by the second example, copied here, where the section title is at the top of the page:     \starttext     \showframe     \dorecurse{50}{a }     \startsection[title=spec][before={\blank[preference

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
On Tue, 10 Nov 2020 at 17:54, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Pablo Rodriguez schrieb am 10.11.2020 um 15:59: > > On 11/10/20 9:55 AM, Sylvain Hubert wrote: > >> Dear List, > >> > >> In the following example,

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
On Tue, 10 Nov 2020 at 17:37, Pablo Rodriguez wrote: > On 11/10/20 5:23 PM, Sylvain Hubert wrote: > > My mistake, but the problem survives the fix: > > > > \setuphead[section][after={\blank[samepage,big]}] > > \starttext > > \showframe > > \

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 10.11.2020 um 15:59: On 11/10/20 9:55 AM, Sylvain Hubert wrote: Dear List, In the following example, the section title appears at the very end of the first page. [...] Does anyone know where to adjust the penalty in this case, so that the section title can

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Pablo Rodriguez
On 11/10/20 5:23 PM, Sylvain Hubert wrote: > My mistake, but the problem survives the fix: > >     \setuphead[section][after={\blank[samepage,big]}] >     \starttext >     \showframe >     \dorecurse{50}{a } >     \startsection[title=spec] >     \startxtable Hi Sylvain,

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
My mistake, but the problem survives the fix: \setuphead[section][after={\blank[samepage,big]}] \starttext \showframe \dorecurse{50}{a } \startsection[title=spec] \startxtable \startxrow \startxcell[ny=30]a\stopxcell\startxcell 1\stopxcell \stopxrow

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
On Tue, 10 Nov 2020 at 16:00, Pablo Rodriguez wrote: > On 11/10/20 9:55 AM, Sylvain Hubert wrote: > > Dear List, > > > > In the following example, the section title appears at the very end of > > the first page. > > [...] > > Does anyone know where

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Pablo Rodriguez
On 11/10/20 9:55 AM, Sylvain Hubert wrote: > Dear List, > > In the following example, the section title appears at the very end of > the first page. > [...] > Does anyone know where to adjust the penalty in this case, so that the > section title can be repositioned to the n

Re: [NTG-context] Reverse traversing of xml.collected()?

2020-11-10 Thread Jano Kula
any "string" there will do the trick. for v in xml.collected(doc, "/chapter/section", "string") do ... end Jano ___ If your question is of interest to others as well, please add an entry to the

[NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
Dear List, In the following example, the section title appears at the very end of the first page. \showframe \starttext \dorecurse{94}{a b c }\\ \dorecurse{94}{a b c }\\ \dorecurse{94}{a b c }\\ \dorecurse{94}{a b c }\\ \dorecurse{94}{a b c }\\ \dorecurse{30}{a b

Re: [NTG-context] temporarily move up a section title

2020-11-08 Thread Sylvain Hubert
On Sun, 8 Nov 2020 at 10:12, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Sylvain Hubert schrieb am 08.11.2020 um 03:19: > > Dear List, > > > > I'm trying to move up a section title (section b) 2cm upward: > > > > \starttext > >

Re: [NTG-context] temporarily move up a section title

2020-11-08 Thread Sylvain Hubert
Hi Hraban, On Sun, 8 Nov 2020 at 07:57, Henning Hraban Ramm wrote: > > > > Am 08.11.2020 um 03:19 schrieb Sylvain Hubert : > > > > Dear List, > > > > I'm trying to move up a section title (section b) 2cm upward: > > > > \startte

Re: [NTG-context] \setupindenting[first] not working

2020-11-08 Thread Denis Maier
is not indented.    \setupindenting[yes,first,4cm]    \starttext    \section{a}        \dorecurse{84}{abc }        \dorecurse{84}{abc }        \stoptextDoes anyone know how to actually get the first paragraph indented?Thanks!Best,Sylvain

Re: [NTG-context] \setupindenting[first] not working

2020-11-08 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 08.11.2020 um 03:43: Dear List, The first paragraph of the following example is not indented.     \setupindenting[yes,first,4cm]     \starttext     \section{a}     \dorecurse{84}{abc }     \dorecurse{84}{abc }     \stoptext Does anyone know how to actually

Re: [NTG-context] ConTeXt Linux installation issues (due to GLIBC dependency) - Solved!

2020-11-08 Thread Mojca Miklavec
Dear Ramkumar, On Sat, 7 Nov 2020 at 02:10, Ramkumar KB wrote: > > Hello All, > > This turned out to be an issue with the texmf-context.zip file version > mismatch. I updated to version 1.04 and was able to install successfully! > > However, I would like to contribute a s

Re: [NTG-context] temporarily move up a section title

2020-11-08 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 08.11.2020 um 03:19: Dear List, I'm trying to move up a section title (section b) 2cm upward:     \starttext     \section{a}     \blank[-2cm,force]\ \blank[back,disable] Wolfgang

Re: [NTG-context] temporarily move up a section title

2020-11-07 Thread Henning Hraban Ramm
> Am 08.11.2020 um 03:19 schrieb Sylvain Hubert : > > Dear List, > > I'm trying to move up a section title (section b) 2cm upward: > > \starttext > \section{a} > \blank[-2cm,force]\ > \section{b} > \section{c} > \stoptext >

[NTG-context] \setupindenting[first] not working

2020-11-07 Thread Sylvain Hubert
Dear List, The first paragraph of the following example is not indented. \setupindenting[yes,first,4cm] \starttext \section{a} \dorecurse{84}{abc } \dorecurse{84}{abc } \stoptext Does anyone know how to actually get the first paragraph indented? Thanks! Best

[NTG-context] temporarily move up a section title

2020-11-07 Thread Sylvain Hubert
Dear List, I'm trying to move up a section title (section b) 2cm upward: \starttext \section{a} \blank[-2cm,force]\ \section{b} \section{c} \stoptext The empty space (\ ) after the \blank is necessary here, without which the \blank does nothing. I would like to ask

Re: [NTG-context] \section with userdata

2020-11-07 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 07.11.2020 um 22:42: The motivation of using \section was to avoid \stopsection, but I just found out that \stopsection is not really necessary. Now I would like to ask whether there is any difference between \section{Title} and \startsection[title=Title]. You get

Re: [NTG-context] \section with userdata

2020-11-07 Thread Sylvain Hubert
The motivation of using \section was to avoid \stopsection, but I just found out that \stopsection is not really necessary. Now I would like to ask whether there is any difference between \section{Title} and \startsection[title=Title]. Thanks. On Sat, 7 Nov 2020 at 22:33, Sylvain Hubert wrote

[NTG-context] \section with userdata

2020-11-07 Thread Sylvain Hubert
Dear List, it is known that we can supply additional userdata like authors to \startsection: \startsection[title=Title][author=Someone] so that the author can be included in the table of contents using \structurelistuservariable{author}. Now I would like to do the same with \section

Re: [NTG-context] Get section's uservarialbe inside the section

2020-11-07 Thread Sylvain Hubert
On Sat, 7 Nov 2020 at 20:37, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > \structurelistuservariable is for lists (e.g. the table of contents), > to access the values in your text use \structureuservariable. > Indeed. Thanks for the help, Wolfgang.

Re: [NTG-context] Get section's uservarialbe inside the section

2020-11-07 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 07.11.2020 um 20:32: Dear List, I have sections tagged with authors:     \startsection[title={Title}][author={Author}] ... \stopsection The authors were to be included in the table of contents using \structurelistuservariable{author}. Now I would also like to

[NTG-context] Get section's uservarialbe inside the section

2020-11-07 Thread Sylvain Hubert
Dear List, I have sections tagged with authors: \startsection[title={Title}][author={Author}] ... \stopsection The authors were to be included in the table of contents using \structurelistuservariable{author}. Now I would also like to mention the authors inside the sections, but

Re: [NTG-context] How to define a {\bf}-compatible fake-bold switcher?

2020-11-07 Thread Hans Hagen
outlines are also done this way. (But as with many features, I'm not so sure if they are really used. The main reason for supporting it is not in text, because one should choose a proper font, but for math where bold (+heavy alphabets) are not widely available but needed for section heads

Re: [NTG-context] How to quote the section names in advance like the table of contents?

2020-11-07 Thread Sylvain Hubert
> say I have three sections in the document: > > > > \section{foo} ... \section{bar} ... \section{baz} ... > > > > Now I would like to auto generate a heavily customized table of contents > > like the following text, which cannot be done by the stock \place

Re: [NTG-context] How to quote the section names in advance like the table of contents?

2020-11-07 Thread Pablo Rodriguez
On 11/7/20 4:32 PM, Sylvain Hubert wrote: > Dear List, > > say I have three sections in the document: > >     \section{foo} ... \section{bar} ... \section{baz} ... > > Now I would like to auto generate a heavily customized table of contents > like the following te

[NTG-context] How to quote the section names in advance like the table of contents?

2020-11-07 Thread Sylvain Hubert
Dear List, say I have three sections in the document: \section{foo} ... \section{bar} ... \section{baz} ... Now I would like to auto generate a heavily customized table of contents like the following text, which cannot be done by the stock \placecontent in general, and put

Re: [NTG-context] ConTeXt Linux installation issues (due to GLIBC dependency) - Solved!

2020-11-06 Thread Ramkumar KB
Hello All, This turned out to be an issue with the texmf-context.zip file version mismatch. I updated to version 1.04 and was able to install successfully! However, I would like to contribute a section to Wiki on how to install ConTeXt in Linux machines which does not have the proper GLIBC

[NTG-context] index issues

2020-11-06 Thread Henning Hraban Ramm
of a section (to add \testcolumn, \blank etc. to work around no.2). Is there any? (2) Page/column breaking is odd in that the preferred breaking point seems to be one entry too early, i.e. the last entry of one letter end up in the next column and the previous column is one line too short

Re: [NTG-context] context.delayed as parameter of setuphead[before=...]

2020-11-04 Thread Hans Hagen
nd consistent interface between tex and lua unless it would harm the functionality. it would harm performance because it involves parsing all values and also ways around cases where the title is "function" (lieral text). anyway, chapter (section) titles go tinto a toc table an

Re: [NTG-context] What does --errors and --noconsole do?

2020-11-04 Thread Wolfgang Schuster
show errors at the end of a run" and "disables logging to the console" while "error reporting mentioned in the previous section will never be silenced". But when I run 'context --errors' for the following document \setuppagenumbering[footer]     \starttext     hi  

Re: [NTG-context] context.delayed as parameter of setuphead[before=...]

2020-11-04 Thread Sylvain Hubert
t; > recognized delayed function. > all is possible but not all is reasonable to support .. adding layer > upon layed doesn't make it more pretty > Indeed, but still it would be nice to have a complete and consistent interface between tex and lua unless it would harm the functionali

Re: [NTG-context] What does --errors and --noconsole do?

2020-11-04 Thread Sylvain Hubert
kflows-mkiv.pdf> and have > found the '--errors' and '--noconsole' arguments which seemed quite helpful > since, according to the documentation, "show errors at the end of a run" > and "disables logging to the console" while "error reporting mentioned in > t

[NTG-context] What does --errors and --noconsole do?

2020-11-04 Thread Sylvain Hubert
ogging to the console" while "error reporting mentioned in the previous section will never be silenced". But when I run 'context --errors' for the following document \setuppagenumbering[footer] \starttext hi \stoptext the message setup > error in

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

2020-11-03 Thread Garulfo
cument 2. on both side, section title are underlined by a red rule, always "left aligned" in the text area, shifted to the right by the same distance than it is done for the text of the title, which ends at the right border of the page 3. on the left page : section title are overli

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

2020-11-03 Thread Garulfo
o describe the specification here : doublesided document on both side, section title are underlined by a red rule, always "left aligned" in the text area, shifted to the right by the same distance than it is done for the text of the title, whi

Re: [NTG-context] context.delayed as parameter of setuphead[before=...]

2020-11-03 Thread Hans Hagen
red in a table should be theoretically irrelevant. I guess there should be a switch somewhere that let the command recognized delayed function. all is possible but not all is reasonable to support .. adding layer upon layed doesn't make it more pretty anyway, chapter (section) titles go tinto a

Re: [NTG-context] index entries postponed if sections are empty

2020-10-31 Thread Otared Kavian
Hi Hraban, Maybe you can add some « virtual » text in the section with an invisible color such as \startcolor[white] a \stopcolor I don't know whether the following can solve your problem, but the entries of the index appear correctly: \usemodule[visual] \starttext \dorecurse{5

Re: [NTG-context] Asymmetrical Column layout leads to an extra blank page (Solved!)

2020-10-30 Thread Ramkumar KB
ices - > >1. Extra Blank page with Asymmetric Columns in the next page (with the >\subject{} uncommented) >2. No Blank page with Symmetric Columns (with the \subject{} commented) >3. page=yes / no - does not work (same outcome as above) > > I am not sure the role of \sec

[NTG-context] Asymmetrical Column layout leads to an extra blank page

2020-10-29 Thread Ramkumar KB
of \section or \subject in this matter (seems to be somehow interfering with asymmetrical columnset). \usemodule[newcolumnsets] ... % \subject{} \definecolumnset[soi1][n=3, distance=3mm, page=yes] % \definecolumnset[currency][n=3, page=yes] \setupcolumnset[soi1:1][width=.25\makeupwidth

Re: [NTG-context] Introduction to ConTeXt Wiki pages

2020-10-22 Thread Damien Thiriet
Hi Sciurus, This Introduction page is very nice. Great Job! I would just replace the "first ConTeXt document" section with a link pointing to First_Document, section Create a ConTeXt file, because newcomers are likely to begin with that page anyway. Maybe using the same example

Re: [NTG-context] The correct way to add emphasis to text using italics

2020-10-21 Thread Aditya Mahajan
And using \definebodyfontenvironment[default][em=italic] to use italic > instead of slanted; for OpenType fonts, recommends using > \definefontfeature[default][default][itlc=yes] to also activate the italic > correction. However, this seems not to work in x(ht)ml export. Did you also se

[NTG-context] space between chapter and chapter number (in words)

2020-10-14 Thread jbf
that I think are controlling the appearance of Chapter Number in the TOC). Am I missing something? I thought perhaps the third line in the ChapterListCommand below might be what controls this, so I did try adding \hskip 1em (or 2em etc.) in the \currentlistsymbol section of that line, but it did

Re: [NTG-context] Sections in content: macros v text

2020-10-07 Thread Tomas Hala
hanks in advance for any hint. # > # >Best wishes, # > # >Tomáš # > # >MWE (TL2020): # >\starttext # >\define\name{aa} \startsection[title=\name,list=\name] \stopsection # >\define\name{bb} \startsection[title=\name,list=\name] \stopsection # >\completecontent # >

Re: [NTG-context] xml bookmarks + chapter no. in header

2020-10-07 Thread Pablo Rodriguez
On 10/7/20 5:06 PM, Tomas Hala wrote: > Hi, > > I tried > \setuphead[section][expansion=yes] > with no effect before I wrote my question to the list here. > > With the \setuphead, the .tuc file still contains macro names instead of the > text: > ["title"]=&q

Re: [NTG-context] Sections in content: macros v text

2020-10-07 Thread Wolfgang Schuster
list=\name] \stopsection \completecontent \stoptext Variant 1: \setuphead[section][expansion=yes] \starttext \defineexpandable\name{aa} \startsection[title=\name,list=\name] \stopsection \defineexpandable\name{bb} \startsection[title=\name,list=\name] \stopsection \completecontent \stoptext

Re: [NTG-context] xml bookmarks + chapter no. in header

2020-10-07 Thread Tomas Hala
Hi, I tried \setuphead[section][expansion=yes] with no effect before I wrote my question to the list here. With the \setuphead, the .tuc file still contains macro names instead of the text: ["title"]="\\expanded \\name ", whereas without it only: ["title"]=&q

Re: [NTG-context] xml bookmarks

2020-10-07 Thread Jano Kula
file > > > > ["titledata"]={ > >["label"]="section", > >["title"]="\\xmlatt {xml:name::4}{title}" > > > > and this reference ends up in bookmarks. Any advice on how to change it > > to text in bookmarks? > > H

Re: [NTG-context] chapter no. in header

2020-10-07 Thread Henning Hraban Ramm
> Am 07.10.2020 um 14:30 schrieb Tomas Hala : > > Hi Hraban, > > \setupheadertexts > [{\getmarking[sectionnumber]\getmarking[section]}] > [{\pagenumber}] > [{\pagenumber}] > [{\getmarking[chapternumber]\getmarking[chapter]}] Thank you! I could have

Re: [NTG-context] xml bookmarks

2020-10-07 Thread Pablo Rodriguez
On 10/7/20 1:28 PM, Jano Kula wrote: > Hello to everybody! > > I have a similar problem as Tomas two days ago. When inserting bookmarks > from XML the reference to the node is stored in TUC file > >   ["titledata"]={ >    ["label"]="section&

Re: [NTG-context] chapter no. in header

2020-10-07 Thread Tomas Hala
Hi Hraban, \setupheadertexts [{\getmarking[sectionnumber]\getmarking[section]}] [{\pagenumber}] [{\pagenumber}] [{\getmarking[chapternumber]\getmarking[chapter]}] Best wishes, Tomáš Wed, Oct 07, 2020 ve 01:45:46PM +0200 Henning Hraban Ramm napsal(a): # This should be simple, but I

[NTG-context] chapter no. in header

2020-10-07 Thread Henning Hraban Ramm
This should be simple, but I can’t find it: I need not only the chapter title, but also the chapter number in my headertext. ATM I have (minus formatting): \setupheadertexts [{\getmarking[section]}] [{\pagenumber}] [{\pagenumber}] [{\getmarking[chapter]}] Hraban

[NTG-context] xml bookmarks

2020-10-07 Thread Jano Kula
Hello to everybody! I have a similar problem as Tomas two days ago. When inserting bookmarks from XML the reference to the node is stored in TUC file ["titledata"]={ ["label"]="section", ["title"]="\\xmlatt {xml:name::4}{title}" and this

Re: [NTG-context] color problem

2020-10-02 Thread Henri Menke
On 01/10/20, 20:55, Susanne G. Loeber wrote: > Dear Reader, > > I have a colored section, text in another color and a TikZ picture with a > differently colored node, following each other. However, either the node > gets the wrong color or the following paragraph, se

Re: [NTG-context] color problem

2020-10-02 Thread Taco Hoekwater
Hi, > On 1 Oct 2020, at 20:55, Susanne G. Loeber wrote: > > Dear Reader, > > I have a colored section, text in another color and a TikZ picture with a > differently colored node, following each other. However, either the node gets > the wrong color or the following p

[NTG-context] color problem

2020-10-01 Thread Susanne G. Loeber
Dear Reader, I have a colored section, text in another color and a TikZ picture with a differently colored node, following each other. However, either the node gets the wrong color or the following paragraph, see example below. Is there something wrong with the section settings? How do I get all

[NTG-context] no frontmatter head on recto page

2020-09-30 Thread jbf
] Then starting this section in the main body with \startforeword...\stopforeword. As 'foreword' is based on chapter, I thought it would all work correctly given that I already have:  [{\hfill\getmarking[chapter]\hfill}][]   [{\hfill\documentvariable{metadata:title}\hfill}][] And I also have

[NTG-context] correct vertical alignment in ToC

2020-09-29 Thread jbf
is a \section and I have got that more or less to line up by using an \hspace definition, but I know that using two very different definitions is likely to cause problems. (Alternatively, they could all line up under the title for Chapter One, so a bit further in. What *has to happen* is that they all

Re: [NTG-context] Unwanted whitespace at beginning of document

2020-09-29 Thread Hans van der Meer
Of old I have found the wolf fence tactics useful: Put for example an X at the beginning of a suspected section and somewhat further a Y. OIf they bracket the culprit the offending space will be between them. Otherwise narrow the fence. dr. Hans van der Meer > On 29 Sep 2020, at 14:26, De

Re: [NTG-context] How to shift unnumbered ToC entry?

2020-09-23 Thread Lukas/ConTeXt
unnumbered ToC entry? Hello Lukas, you can try this: \setuphead[subsubsection][number=no] \setuplist[subsubsection][distance=20mm,width=20mm,textcommand=\mycmd] \def\mycmd#1{\hskip20mm#1} \starttext \placecontent \page \section{S} \subsection{Ss} \subsubsection{Sss} \stoptext

Re: [NTG-context] How to shift unnumbered ToC entry?

2020-09-23 Thread Tomas Hala
Hello Lukas, you can try this: \setuphead[subsubsection][number=no] \setuplist[subsubsection][distance=20mm,width=20mm,textcommand=\mycmd] \def\mycmd#1{\hskip20mm#1} \starttext \placecontent \page \section{S} \subsection{Ss} \subsubsection{Sss} \stoptext Best wishes, Tomáš

[NTG-context] How to shift unnumbered ToC entry?

2020-09-23 Thread Lukas/ConTeXt
Hello, how do I shift unnumbered ToC entry (here: \subsubsection)? My attempt: \setuphead[subsubsection][number=no] \setuplist[subsubsection][distance=20mm,width=20mm] \starttext \placecontent \page \section{S} \subsection{Ss} \subsubsection{Sss} \stoptext I'm getting

Re: [NTG-context] Old-Style numerals command (\os) breaks conversion of hyphens to dashes

2020-09-21 Thread Hans Hagen
On 9/20/2020 11:14 PM, Art Chimes wrote: I have a fairly large document, 50-60 pp, with lots of numerals, including hundreds of dates. I wanted to see how it would look with old-style numbers and I assumed I could bracket the whole text section of the document within braces and apply the \os

[NTG-context] Old-Style numerals command (\os) breaks conversion of hyphens to dashes

2020-09-20 Thread Art Chimes
I have a fairly large document, 50-60 pp, with lots of numerals, including hundreds of dates. I wanted to see how it would look with old-style numbers and I assumed I could bracket the whole text section of the document within braces and apply the \os command. I didn't turn out as I expected

[NTG-context] Fwd: Re: styling individual parts of ToC entry

2020-09-09 Thread jbf
the following, using an idea Hraban had floated:  \setupsectionblock  [bodypart]  [number=no] \define[1]\SectionTocEntry{%   #1\crlf% title   \structurelistuservariable{author}% } \setuplist[section][   textcommand=\SectionTocEntry, ] I need to adjust the \setuplist[section] so these section entries

[NTG-context] Wrong page number when placefigure spans full page in columnset

2020-09-09 Thread Charles Vejnar
,grid=yes] \showframe \usemodule[newcolumnsets] \definecolumnset[colset][n=2] \starttext \startcolumnset[colset] \section{One section} \dorecurse{16}{\input ward \par} \placefigure[page]{Legend. \input ward }{\externalfigure[dummy][width=\makeupwidth,height=15cm]} \section{Two section

Re: [NTG-context] styling individual parts of ToC entry

2020-09-09 Thread jbf
  author name (4) Chapter no.   Title    Section   author name Julian On 7/9/20 4:57 pm, Wolfgang Schuster wrote: jbf schrieb am 07.09.2020 um 01:31: Yes, Wolfgang, that corrects the minor problem of including

Re: [NTG-context] Appendix question

2020-09-08 Thread Wolfgang Schuster
) and Appendices get letters (A,B, etc)? Use sectionconversionset to set the number conversion for all section levels and ignore the conversion key. \defineconversionset [bodypart:section] [n,Word] [n] \defineconversionset [appendix:section] [n,A] [n] \setupheads [sectionconversionset=section

[NTG-context] Fwd: Re: styling individual parts of ToC entry

2020-09-07 Thread jbf
at least). MWE: \definehead [foreword] [title] \definehead [preface] [title] \definehead [mysection] [section] \setupcombinedlist[chapter,foreword,preface,mysection,section, subsection] \define[3]\ChapterListCommand   {\hbox\bgroup \hbox to 3cm{\currentlistsymbol\hss}% number + labeltext

Re: [NTG-context] styling individual parts of ToC entry

2020-09-07 Thread Wolfgang Schuster
A. Uthor" Chapter Two Chapter title A section Context A. Uthor " Another section Reflection A. Author " So what I have below a

Re: [NTG-context] styling individual parts of ToC entry

2020-09-06 Thread jbf
ot; Chapter Two Chapter title A section Context A. Uthor " Another section Reflection A. Author " So what I have below as an MWE is fundamentally what you

Re: [NTG-context] author in ToC and other design complications

2020-09-04 Thread Henning Hraban Ramm
ble: > > \define[1]\ChapterTocEntry{% > \structurelistuservariable{author}\crlf% > #1\crlf% title > %\structurelistuservariable{subtitle}}% > } > > \setuplist[chapter][ > textcommand=\ChapterTocEntry, > ] > > So, in other words I swapped the word 'section' in your

Re: [NTG-context] author in ToC and other design complications

2020-09-04 Thread jbf
'section' in your example with 'chapter'. That now gives me in the ToC, something like the following: One   Author name Title    pg no. Which is pretty much what I am after. Hooray! But how do I get that in reverse? And how do I get the word 'chapter' to also appear

Re: [NTG-context] author in ToC and other design complications

2020-09-04 Thread Henning Hraban Ramm
t; ForewordAuthor's nameiii > > Chapter One Chapter title > > Author's name 1 > > Chapter Two1820-1880 > > Chapter title > > Au

[NTG-context] author in ToC and other design complications

2020-09-03 Thread jbf
this MWE): %-- \setuphead [subject] [incrementnumber=list] \setuphead [title] [incrementnumber=list] \setupcombinedlist   [content] [list={chapter,title,section,subsection}]\switchtobodyfont[10.5pt] \setuplist[chapter][style=normal,alternative=b, before=] And then I

Re: [NTG-context] footnotes missing in heads

2020-09-03 Thread Pablo Rodriguez
On 9/3/20 12:12 PM, Hans Hagen wrote: > On 9/3/2020 7:50 AM, Pablo Rodriguez wrote: >> Dear list, >> >> the following minimal sample: >> >> \starttext >> \chapter{Chapter\footnote{Note}} >> \section{Section\footnote{Note}} >&

Re: [NTG-context] footnotes missing in heads

2020-09-03 Thread Hans Hagen
On 9/3/2020 7:50 AM, Pablo Rodriguez wrote: Dear list, the following minimal sample: \starttext \chapter{Chapter\footnote{Note}} \section{Section\footnote{Note}} \stoptext Using current latest (from 2020.09.02 20:37) doesn’t display the footnotes. I’m afraid this may

Re: [NTG-context] footnotes missing in heads

2020-09-03 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am Do., 3. Sept. 2020, 07:51: > Dear list, > > the following minimal sample: > > \starttext > \chapter{Chapter\footnote{Note}} > \section{Section\footnote{Note}} > \stoptext > > Using current latest (from 2020.09.02 20:37)

Re: [NTG-context] footnotes missing in heads

2020-09-03 Thread Jan U. Hasecke
Am 03.09.20 um 07:50 schrieb Pablo Rodriguez: > Dear list, > > the following minimal sample: > > \starttext > \chapter{Chapter\footnote{Note}} > \section{Section\footnote{Note}} > \stoptext > > Using current latest (from 2020.09.02 20:37) doesn’t d

[NTG-context] footnotes missing in heads

2020-09-02 Thread Pablo Rodriguez
Dear list, the following minimal sample: \starttext \chapter{Chapter\footnote{Note}} \section{Section\footnote{Note}} \stoptext Using current latest (from 2020.09.02 20:37) doesn’t display the footnotes. I’m afraid this may be a bug. Could anyone confirm this? Many thanks

Re: [NTG-context] Tagged PDFs from Context

2020-09-02 Thread Arthur Rosendahl
On Fri, Aug 28, 2020 at 04:41:32PM -0400, Aditya Mahajan wrote: > From what I understand, the current implementation assumes that the same tag > will be used for all section levels. So, changing the tag at each section > level will require a rewrite of the internal logic. If th

Re: [NTG-context] Tagged PDFs from Context

2020-08-28 Thread Aditya Mahajan
tion assumes that the same tag will be used for all section levels. So, changing the tag at each section level will require a rewrite of the internal logic. Aditya ___ If your question is of interest to others as well, pl

Re: [NTG-context] setuplayout vs Indesign!

2020-08-27 Thread Henning Hraban Ramm
being the name I give to the 140x216mm book in > question). > > And yes, I have looked carefully at the 'Layout' section of Contextgarden, > but the difficulty always is marrying its terminology with what someone wants > who deals only with InDesign. And that causes confusion (for me, at

Re: [NTG-context] setuplayout vs Indesign!

2020-08-26 Thread jbf
carefully at the 'Layout' section of Contextgarden, but the difficulty always is marrying its terminology with what someone wants who deals only with InDesign. And that causes confusion (for me, at least). But it certainly helps me to know that '/your left margin is backspace/', since I had

[NTG-context] keeping content chunks on same page

2020-08-24 Thread Mike Cooper
for young drilling engineers to plan is the section on hole stability because they have not had much hole problem exposure and have not been told that this particular shale is a "twenty-day shale". The most likely reason for the breakdown in communications is: \sta

Re: [NTG-context] Overriding the number on a float

2020-08-24 Thread Otared Kavian
] \stopplacefigure \stopsection \startsection[title=Two] \startplacefigure[title=Test] \externalfigure[dummy] \stopplacefigure \stopsection \setcounter[figure][5] % next figure is no.6 \startsection[ownnumber=10,title={A section}] \start \setupcaptions[numberstopper={a}] \startplacefigure[title=Test

Re: [NTG-context] Overriding the number on a float

2020-08-24 Thread Wolfgang Schuster
d that be possible? You can set your own section numbers but the counter isn't stopped. Thank you! I overlooked "ownnumber". It works for sections, but not for items or floats. \setnumber[section][10] doesn’t work, \setcounter the same (according to the source they’re synonymous

Re: [NTG-context] Overriding the number on a float

2020-08-24 Thread Henning Hraban Ramm
>> numbering like 1, 2, 3, 3a, 4, 7... >> Something like >> \startitem[number={R}] >> or >> \startsection[number={3a}] >> would be nice. >> If I set it to an integer, ConTeXt should set the counter accordingly, >> otherwise continue counting

Re: [NTG-context] Overriding the number on a float

2020-08-24 Thread Wolfgang Schuster
m[number={R}] or \startsection[number={3a}] would be nice. If I set it to an integer, ConTeXt should set the counter accordingly, otherwise continue counting from the previous calculated number. Would that be possible? You can set your own section numbers but the counter isn't stopped. \star

Re: [NTG-context] Label to delete in the table of contents

2020-08-24 Thread Fabrice Couvreur
ank#1\blank#2} > > When I compile my project, I have the label "Chapitre" above the word > "Sommaire" in the table of contents : how to delete it ? > > > 1. Don't apply the command to \title > > \setuphead[title][command=] > > > 2. Make the command

Re: [NTG-context] Label to delete in the table of contents

2020-08-24 Thread Wolfgang Schuster
compile my project, I have the label "Chapitre" above the word "Sommaire" in the table of contents : how to delete it ? 1. Don't apply the command to \title \setuphead[title][command=] 2. Make the command local to bodypart of your document, this works only when you use

<    2   3   4   5   6   7   8   9   10   11   >