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

Re: [NTG-context] Fonts out of ConTeXt manual

2020-08-23 Thread Marcus Vinicius Mesquita
There is also a typo in section 8.4.14 Contexts, in the lua code: name = "ytest", should be: name = "ctest", Regards, Marcus Vinicius On Sun, Aug 23, 2020 at 10:28 AM Marcus Vinicius Mesquita < marcusvinicius.mesqu...@gmail.com> wrote: > Dear list, > >

[NTG-context] Fonts out of ConTeXt manual

2020-08-23 Thread Marcus Vinicius Mesquita
Dear list, In the fonts-mkiv.pdf file, section 8.14.3 Examples, the table at the top of page 178 has all entries in the third column equal, when they shouldn't. Please, fix when possible. Regards, Marcus Vinicius -- Todas as coisas fatigam o corpo, salvo a música, que não fatiga nem o corpo

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-20 Thread Mike Cooper
for ConTeXt users > Cc: Mike Cooper > Subject: Re: [NTG-context] custom header/footer for 1st/other pages of section > > Mike Cooper schrieb am 11.08.2020 um 19:20: > > > > > >> -Original Message- > >> From: Wolfgang Schuster [mailto:wolfgang.schuste

Re: [NTG-context] TOC chapter and section numbering

2020-08-19 Thread Adrian
h appeared to generate the prefix correctly but it overlapped the > > title. > > \setuplabeltext > [en] [chapter=Chapter ] > > \defineresetset > [default] [0,0,0] [1] > > \defineconversionset > [section] [n,R,n] [n] > > \setuphead > [chapter] > [sectionconversio

Re: [NTG-context] TOC chapter and section numbering

2020-08-19 Thread Wolfgang Schuster
[default] [0,0,0] [1] \defineconversionset [section] [n,R,n] [n] \setuphead [chapter] [sectionconversionset=section, sectionstopper=.] \setuphead [section] [sectionsegments=section, sectionconversionset=section, sectionstopper=.] \setuphead [title] [alternative=middle,

[NTG-context] TOC chapter and section numbering

2020-08-18 Thread Adrian
Hello, I'm attempting to typeset a short book using ConTeXt (current version: 2020.08.09 22:03). EXAMPLE: \setuplist[content][alternative=c] \setuphead[title][alternative=middle,style=cap] \setuphead[chapter][number=no] \setuphead[section][sectionsegments=section] \setuplist[section][width

Re: [NTG-context] TOC chapter and section numbering

2020-08-18 Thread Taco Hoekwater
> On 18 Aug 2020, at 06:40, Adrian wrote: > > > I would like all the chapters to be prefixed with "Chapter RN." and the > sections to keep a single count, > for example: > \setuplabeltext[chapter=Chapter~] \definestructureresetset[default][1,1,0][1] % reset

Re: [NTG-context] Same counter for figures as theorems

2020-08-13 Thread Tim Steenvoorden
…) to be numbered consecutively prefixed by the chapter and section number, > so 1.1.1, 1.1.2, 1.2.1, ... > > I’ve managed to change figure/table captions to do this by: > > \setupcaptions[ >   way=bysection, >   prefixsegments=chapter:section, > ] > > And I’ve

Re: [NTG-context] \checkpage in the TOC

2020-08-12 Thread Willi Egger
gt;> inbetween={\checkpage[willi][lines=4]} >> Thank you for advice! >> Kind regards >> Willi >> ] > Here's an example of an actually already quite old mechanism .. > > \showinjector > > \setinjector[register][3][\column] > \setinjector[list][2][{\blank

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-12 Thread Nicola
fortunately. I have tried >> with `margin` and `aligntitle` as well: >> >> \setuplist[chapter][distance=1cm,aligntitle=yes] >> \startsectionblockenvironment[frontpart] >> \setuplist[chapter][aligntitle=yes,margin=2cm,distance=2cm] >> \stopsectionblockenvironment

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Wolfgang Schuster
] \setuplist[chapter][aligntitle=yes,margin=2cm,distance=2cm] \stopsectionblockenvironment I'll take a fresh look tomorrow. When you a unnumbered section with the list alternatives a-c your're out of luck with the regular \setuplist options because it always use a width of 0pt for regular

Re: [NTG-context] \checkpage in the TOC

2020-08-11 Thread Hans Hagen
][lines=4]} Thank you for advice! Kind regards Willi ] Here's an example of an actually already quite old mechanism .. \showinjector \setinjector[register][3][\column] \setinjector[list][2][{\blank[3*big]}] \starttext \placelist[section][criterium=text] \blank[3*big] \placeregister

[NTG-context] header text on final page of section

2020-08-11 Thread jbf
I am using \title within frontmatter for an introduction. The \setupheadertexts for title (recto and verso pages) is: \setupheadertexts   [{\hfill\getmarking[title]\hfill}][]   [{\hfill\documentvariable{metadata:title}\hfill}][] Now, that setup (this time for [chapter]) works correctly for

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-11 Thread Wolfgang Schuster
pages of section Mike Cooper schrieb am 10.08.2020 um 23:40: Thank you Wolfgang! I tried to change your code from chapters to sections (since that's what I was already using) but it didn't work. So, I switched my sections to chapters and it works great! But it also caused me to run

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-11 Thread Mike Cooper
> -Original Message- > From: Wolfgang Schuster [mailto:wolfgang.schuster.li...@gmail.com] > Sent: Tuesday, August 11, 2020 11:15 AM > To: mailing list for ConTeXt users > Cc: Mike Cooper > Subject: Re: [NTG-context] custom header/footer for 1st/other pages of sectio

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-11 Thread Mike Cooper
> -Original Message- > From: Wolfgang Schuster [mailto:wolfgang.schuster.li...@gmail.com] > Sent: Tuesday, August 11, 2020 10:07 AM > To: mailing list for ConTeXt users > Cc: Mike Cooper > Subject: Re: [NTG-context] custom header/footer for 1st/other pages of section &

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-11 Thread Wolfgang Schuster
/other pages of section One thing I *CANNOT* figure out: I've been using \doifoddpageelse to put in a blank/empty page at the end of a section (if needed) so that new sections always start on an odd page. This is still working with the change to chapters from sections, EXCEPT for the first chapter

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-11 Thread Mike Cooper
> -Original Message- > From: ntg-context [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Henning > Hraban Ramm > Sent: Tuesday, August 11, 2020 12:37 AM > To: mailing list for ConTeXt users > Subject: Re: [NTG-context] custom header/footer for 1st/other pages of sectio

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-11 Thread Wolfgang Schuster
pages of section Mike Cooper schrieb am 06.08.2020 um 17:15: Hola, I imagine this is probably simple but I can’t find it… I want the first page only of each section to have particular content in header/footer, then all the following pages to different specific content.Right now, I am manually

[NTG-context] Same counter for figures as theorems

2020-08-11 Thread Tim Steenvoorden
Hi all, I’ve a text where chapters are numbered 1, 2, 3, … and sections 1.1, 1.2, 1.3, … Now I’d like all elements (figures, tables, examples, definitions, theorems, …) to be numbered consecutively prefixed by the chapter and section number, so 1.1.1, 1.1.2, 1.2.1, ... I’ve managed to change

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-11 Thread Henning Hraban Ramm
> One thing I *CANNOT* figure out: I've been using \doifoddpageelse to put in > a blank/empty page at the end of a section (if needed) so that new sections > always start on an odd page. This is still working with the change to > chapters from sections, EXCEPT for the first chapte

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-10 Thread Mike Cooper
> -Original Message- > From: ntg-context [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Wolfgang > Schuster > Sent: Thursday, August 06, 2020 2:58 PM > To: mailing list for ConTeXt users > Subject: Re: [NTG-context] custom header/footer for 1st/other pages of sectio

[NTG-context] About the numbering of theorems

2020-08-07 Thread Fabrice Couvreur
,align=flushleft]{#1\blank#2}} \startbuffer[mybuffer] \starttheorem \input ward \stoptheorem \stopbuffer \setuphead [chapter] [style=\bfd, align={flushleft,broad}, command=\Title] \setuphead [section] [style=\bfc, distance=\zeropoint, sectionsegments=section, conversion

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-06 Thread Wolfgang Schuster
Mike Cooper schrieb am 06.08.2020 um 17:15: Hola, I imagine this is probably simple but I can’t find it… I want the first page only of each section to have particular content in header/footer, then all the following pages to different specific content.Right now, I am manually entering

[NTG-context] custom header/footer for 1st/other pages of section

2020-08-06 Thread Mike Cooper
Hola, I imagine this is probably simple but I can't find it... I want the first page only of each section to have particular content in header/footer, then all the following pages to different specific content. Right now, I am manually entering it in each section. I'm hoping there's a way

Re: [NTG-context] Placing a section ending depending on odd/even sectionnumber

2020-08-05 Thread Willi Egger
Willi Egger schrieb am 04.08.2020 um 18:56: >> Hi, >> now I have another hurdle to be taken :-) — Depending on the odd or even >> number of the section I have to place an ornament at the end of the section. >> I have sofar the following setup: >> [...] >> However

Re: [NTG-context] Placing a section ending depending on odd/even sectionnumber

2020-08-04 Thread Wolfgang Schuster
Willi Egger schrieb am 04.08.2020 um 18:56: Hi, now I have another hurdle to be taken :-) — Depending on the odd or even number of the section I have to place an ornament at the end of the section. I have sofar the following setup: [...] However the the evaluation of the sectionnumber

[NTG-context] Placing a section ending depending on odd/even sectionnumber

2020-08-04 Thread Willi Egger
Hi, now I have another hurdle to be taken :-) — Depending on the odd or even number of the section I have to place an ornament at the end of the section. I have sofar the following setup: \define\stopmysection {\setups{endsection}} \startsetups endsection \doifelse

Re: [NTG-context] About vertical typesetting in ConTeXt

2020-08-04 Thread Jairo A. del Rio
.stackexchange.com/a/140972/193767 >> > I reproduce the code (in XeLaTeX), just in case >> > >> > |% !TEX TS-program = >> > >> xelatex\documentclass{scrartcl}\usepackage{fontspec}\newfontfamily{\dcw}[]{DaicingWhite}%\begin{document}\noindentLine >> >>

Re: [NTG-context] Fwd: \emph not working in LMTX (bug?)

2020-08-03 Thread Jairo A. del Rio
w it crashes: > > > > > \setuphead[chapter][alternative=middle,textstyle=\cap,numbercommand=\WORDS] > > > \setuphead[section][sectionsegments=section,align=middle,textstyle={\bf},conversion=R,numbercommand={\bf}] > > > \setuphead[subsection][numbercommand=,textstyle={\it},sectionseg

Re: [NTG-context] Fwd: \emph not working in LMTX (bug?)

2020-08-03 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 04.08.2020 um 06:07: The following worked some days ago. Now it crashes: \setuphead[chapter][alternative=middle,textstyle=\cap,numbercommand=\WORDS] \setuphead[section][sectionsegments=section,align=middle,textstyle={\bf},conversion=R,numbercommand={\bf}] \setuphead

[NTG-context] Fwd: \emph not working in LMTX (bug?)

2020-08-03 Thread Jairo A. del Rio
,numbercommand=\WORDS] \setuphead[section][sectionsegments=section,align=middle,textstyle={\bf},conversion=R,numbercommand={\bf}] \setuphead[subsection][numbercommand=,textstyle={\it},sectionsegments=subsection,conversion=n] \starttext \startchapter[title=Dummy chapter] \startsection[title=Dummy

Re: [NTG-context] About testing rest of space on a page

2020-07-30 Thread Willi Egger
; >>> I use then instead of \stopsection the \stopmysection. This works except >>> that the ornament is in some cases placed on the next page. — My question >>> is whether it is possible to do a \testpage and evaluate the result hereof >>> and then using eith

Re: [NTG-context] ntg-context Digest, Vol 193, Issue 65

2020-07-30 Thread Jan Hansen
rate > > Aditya > > > -- > > Message: 7 > Date: Thu, 30 Jul 2020 21:25:28 +0200 > From: Wolfgang Schuster > To: mailing list for ConTeXt users > Subject: Re: [NTG-context] About testing rest of space on a page > Message-ID: > Cont

Re: [NTG-context] About testing rest of space on a page

2020-07-30 Thread Wolfgang Schuster
placed on the next page. — My question is whether it is possible to do a \testpage and evaluate the result hereof and then using either the placement of the ornament and stop the section or just end the section without ornament? You can put your setups *inside* the test: \definepagechecker

Re: [NTG-context] About testing rest of space on a page

2020-07-30 Thread Taco Hoekwater
is works except that > the ornament is in some cases placed on the next page. — My question is > whether it is possible to do a \testpage and evaluate the result hereof and > then using either the placement of the ornament and stop the section or just > end the section without orn

[NTG-context] About testing rest of space on a page

2020-07-29 Thread Willi Egger
the result hereof and then using either the placement of the ornament and stop the section or just end the section without ornament? Kind regards Willi ___ If your question is of interest to others as well, please add

[NTG-context] no reference output for \namedstructurevariable

2020-07-29 Thread Damien Thiriet
Hello, I am facing some issue with \usernamedvariable. Consider this MWE \starttext \startsection[title={Mammals and eggs},reference={mammals}] \namedstructurevariable{section}{title} \namedstructurevariable{section}{reference} and \currentstructurereference \stopsection \stoptext

Re: [NTG-context] Using variables and macros for styling of section title and line in table of contents

2020-07-22 Thread James Withers
-2DD7-40BB-A1B8-4E2AA1F9FDF2> On Wed, 22 Jul 2020 at 20:38, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > James Withers schrieb am 22.07.2020 um 21:20: > > Dear list > > > > I have a document with section headings which include a title, date and >

Re: [NTG-context] Using variables and macros for styling of section title and line in table of contents

2020-07-22 Thread Wolfgang Schuster
James Withers schrieb am 22.07.2020 um 21:20: Dear list I have a document with section headings which include a title, date and reference spread over two lines with different font style and justification, plus a slightly different text for the table of contents. So that I can alter

[NTG-context] Using variables and macros for styling of section title and line in table of contents

2020-07-22 Thread James Withers
Dear list I have a document with section headings which include a title, date and reference spread over two lines with different font style and justification, plus a slightly different text for the table of contents. So that I can alter the styling of the section headings without having

Re: [NTG-context] french translation of ConTeXt interface - progress (v3)

2020-07-19 Thread Garulfo
@Pablo Rodriguez Thanks, and indeed behavior changes with the following commands: \configurertête[section,chapitre,sujet] [couleur=couleurtitre, indenterensuite=oui] \configurerflottant[indenterensuite=oui] \configurerformule[indenterensuite=oui

Re: [NTG-context] french translation of ConTeXt interface - progress (v3)

2020-07-19 Thread Garulfo
de page \configurerpdp[style=\italique] \configurertextespdp[\date \hfill Modèle \ConTeXt] \configurernumérotationpage[emplacement={entête,droite}, style=gras] \configurerpolicedecorps[11pt] % 12pt par défaut \configurertête[section,chapitre,sujet][couleur=couleurtitre]

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

2020-07-15 Thread Lukas/ConTeXt
Hello Peter, playing with "grid" option within \setuplayout and \setuphead might help - see: \setuplayout[grid=no] \setuphead[section][grid=no] \starttext \startsection[title=Space is ok here] \input tufte \stopsection \blank \startcolumns[n=2] \startsection

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

[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 \startc

Re: [NTG-context] About alternative=middle in section heads

2020-07-12 Thread Jairo A. del Rio
Oh, I see. Thanks! Jairo :) El dom., 12 de jul. de 2020 a la(s) 22:56, Wolfgang Schuster ( wolfgang.schuster.li...@gmail.com) escribió: > Jairo A. del Rio schrieb am 12.07.2020 um 22:31: > > I've realized ConTeXt now puts the section label and section number > > above the se

Re: [NTG-context] About alternative=middle in section heads

2020-07-12 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 12.07.2020 um 22:31: I've realized ConTeXt now puts the section label and section number above the section title whe alternative=middle is set. How to disable this behavior so one can have a section label and number next to a centered section title? Thank you

[NTG-context] About alternative=middle in section heads

2020-07-12 Thread Jairo A. del Rio
I've realized ConTeXt now puts the section label and section number above the section title whe alternative=middle is set. How to disable this behavior so one can have a section label and number next to a centered section title? Thank you in advance. Sincerely, Jairo

Re: [NTG-context] About the table of contents

2020-07-11 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 11.07.2020 um 16:30: Hi Wolfgang, Sorry but i was wrong on what i want to get : 1  My first chapter     1.1 My first section   1.1.1 My first subsection Set the margin values: \setuplist [section][margin=1em] \setuplist [subsection] [margin=2em

Re: [NTG-context] About the table of contents

2020-07-11 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 11.07.2020 um 15:02: Hello, I would like to reduce the space between the numbering and the title of the chapters, sections and subsections. I would also like to have this: 1 My first chapter 1.1 My first section 1.1.1 My first subsection You can use \setuplist

[NTG-context] About the table of contents

2020-07-11 Thread Fabrice Couvreur
Hello, I would like to reduce the space between the numbering and the title of the chapters, sections and subsections. I would also like to have this: 1 My first chapter 1.1 My first section 1.1.1 My first subsection \setuplist [chapter] [style=bold,width=10mm] \starttext \placelist

Re: [NTG-context] Minimum METAPOST code produces problematic PDF

2020-07-09 Thread Gerben Wierda
0 9:08 AM, Taco Hoekwater wrote: >>> On 9 Jul 2020, at 08:32, Hans Hagen wrote: >>> >>> On 7/8/2020 8:14 PM, Gerben Wierda wrote: >>>> I found out this in the PDF spec: >>>> The minimum page size should be 3 by 3 units in default user space;

Re: [NTG-context] Minimum METAPOST code produces problematic PDF

2020-07-09 Thread Hans Hagen
On 7/9/2020 9:08 AM, Taco Hoekwater wrote: On 9 Jul 2020, at 08:32, Hans Hagen wrote: On 7/8/2020 8:14 PM, Gerben Wierda wrote: I found out this in the PDF spec: The minimum page size should be 3 by 3 units in default user space; the I never noticed that ... what section/paragraph

Re: [NTG-context] Minimum METAPOST code produces problematic PDF

2020-07-09 Thread Hans Hagen
On 7/8/2020 8:14 PM, Gerben Wierda wrote: I found out this in the PDF spec: The minimum page size should be 3 by 3 units in default user space; the I never noticed that ... what section/paragraph in the spec? maximum should be 14,400 by 14,400 units. So we should bump tex's maxima

Re: [NTG-context] lpath to select last item

2020-07-08 Thread Hans Hagen
\startxmlsetups xml:h2 \section{\xmlflush{#1}} \stopxmlsetups \startxmlsetups xml:ul \startitemize\xmlflush{#1}\stopitemize \stopxmlsetups \startxmlsetups xml:li \startitem\xmlflush{#1}\stopitem \stopxmlsetups \startxmlsetups xml:last:item \startitem

[NTG-context] lpath to select last item

2020-07-07 Thread Pablo Rodriguez
} % nothing changes \xmlsetsetup{#1}{h2/***/ul/li/!ul}{xml:last:item} % shouldn’t be this one? \stopxmlsetups \xmlregistersetup{xml:demo:base} \startxmlsetups xml:document \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:h2 \section{\xmlflush{#1}} \stopxmlsetups

Re: [NTG-context] About some deprecated commands

2020-07-05 Thread Wolfgang Schuster
it be mentioned on the Wiki or something like that? Thank you very much. Most of the pages in this section (https://wiki.contextgarden.net/System_Macros) are outdated and some parts either don't work anymore or there are better ways to do it. You should keep in mind the pages are based

[NTG-context] Which lua XML library is embedded in LMTX?

2020-06-25 Thread Gerben Wierda
o, maybe I misunderstand things and is the documentation in << 5.5 >> selectors and injectors This section describes a bit special feature, one that we needed for a project where we could not touch the original content but could add specific sections for our own purpose. Hopefully the

Re: [NTG-context] margin comment above heading

2020-06-18 Thread Pablo Rodriguez
t; \setupinterlinespace[1sp] >>\stopsetups This was from a previous form of the sample. If the paragraph is really tiny, it would be easier not to have a page break between that paragraph and the >>\setupinteraction[state=start] >>\showframe\showgrid >>

Re: [NTG-context] margin comment above heading

2020-06-17 Thread Henning Hraban Ramm
; \setupinterlinespace[1sp] >> \stopsetups > > ??? > >> \setupinteraction[state=start] >> \showframe\showgrid >> \starttext >> \blank[force, 10em] >> \section{Move comment above this heading} >> \startparagraph[setups=tinytiny]

Re: [NTG-context] margin comment above heading

2020-06-17 Thread Wolfgang Schuster
\blank[force, 10em] \section{Move comment above this heading} \startparagraph[setups=tinytiny] \dontleavehmode \comment[location={rightmargin}, color=orange] {comment} \stopparagraph \stoptext Is there a way to move the comment above the heading

Re: [NTG-context] spacing before items

2020-06-17 Thread Mike Cooper
(, right=), stopper=] > > \starttext > > \startsection{First Section} \startsection[title={...}] The first entry uses the "before" value while inner entries use "inbetween". \starttext \setupitemgroup [itemize][1] [ before={\endgraf{\ttbf[before]

Re: [NTG-context] spacing before items

2020-06-17 Thread Mike Cooper
Section} # #  # #\startmdshw # # \item Choose the correct answer. # #  \startmdshw # #  \item This one # #  \item This one # #  \item This one # #  \stopmdshw # #  # # \item Choose the correct answer

Re: [NTG-context] spacing before items

2020-06-17 Thread Mike Cooper
igure it out… > > (Please let me know where it is!) > > I want more space before each top-level item.MWE: > > \defineitemgroup[mdshw][levels=2] > > \setupitemgroup[mdshw][1][n] > > \setupitemgroup[mdshw][2][a, packed, 1*broad][left=(, right=), stopper=] >

[NTG-context] margin comment above heading

2020-06-16 Thread Pablo Rodriguez
Dear list, I have the following sample: \startsetups[tinytiny] \setupwhitespace[-2em] \setupbodyfont[0.01pt] \setupinterlinespace[1sp] \stopsetups \setupinteraction[state=start] \showframe\showgrid \starttext \blank[force, 10em] \section{Move comment above

Re: [NTG-context] spacing before items

2020-06-16 Thread Tomas Hala
] # # \setupitemgroup[mdshw][2][a, packed, 1*broad][left=(, right=), #stopper=] # #  # #  # #\starttext # #  # #\startsection{First Section} # #  # #\startmdshw # # \item Choose the correct answer. # #  \startmdshw # #  \item This one

Re: [NTG-context] spacing before items

2020-06-16 Thread Wolfgang Schuster
] \setupitemgroup[mdshw][1][n] \setupitemgroup[mdshw][2][a, packed, 1*broad][left=(, right=), stopper=] \starttext \startsection{First Section} \startsection[title={...}] The first entry uses the "before" value while inner entries use "inbetween". \starttext \setupite

[NTG-context] spacing before items

2020-06-16 Thread Mike Cooper
] \setupitemgroup[mdshw][2][a, packed, 1*broad][left=(, right=), stopper=] \starttext \startsection{First Section} \startmdshw \item Choose the correct answer. \startmdshw \item This one \item This one \item This one \stopmdshw \item Choose

Re: [NTG-context] wrong page for annotation and \pagenumber

2020-06-16 Thread Aditya Mahajan
simply think that it is misbehaving there). In your example you can add \testpage to \section to force a page break when there isn't enough space available to place the heading, this moves also the layer placement to the next page. I’m afraid this doesn’t work with my real document. I need

Re: [NTG-context] wrong page for annotation and \pagenumber

2020-06-16 Thread Pablo Rodriguez
n that case (or I simply think that it is misbehaving there). > In your example you can add \testpage to \section to force a page break > when there isn't enough space available to place the heading, this moves > also the layer placement to the next page. I’m afraid this doesn’t work with my real document

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