Re: [NTG-context] Fuzzy lines

2021-05-12 Thread Henning Hraban Ramm
Hi Jairo, thank you for the suggestion. > Am 11.05.2021 um 14:56 schrieb Jairo A. del Rio : > > For simple pens, you may define your own (section 9.7 of MetaPost manual). Unfortunately, pens don’t work as patterns but only as outlines. > For complicated strokes, something along

Re: [NTG-context] Fuzzy lines

2021-05-11 Thread Aditya Mahajan
On Tue, 11 May 2021, Jairo A. del Rio wrote: > For simple pens, you may define your own (section 9.7 of MetaPost manual). > For complicated strokes, something along these lines could be useful as a > starting point (I'm not taking cyclic paths in consideration, btw). I did >

Re: [NTG-context] Fuzzy lines

2021-05-11 Thread Jairo A. del Rio
For simple pens, you may define your own (section 9.7 of MetaPost manual). For complicated strokes, something along these lines could be useful as a starting point (I'm not taking cyclic paths in consideration, btw). I did something similar with duck footprints some weeks ago: %Sorry for the

Re: [NTG-context] Hyphen collapsing

2021-05-07 Thread Hans Hagen
On 5/7/2021 7:15 PM, Thangalin wrote: \setuphead[chapter][align={nothyphenated,notcollapsed}] Would that mean there's no way to collapse the hyphenation throughout the entire document from a single location? That is: \nohyphencollapsing \setuphead[section][align={nothyphenated,notcoll

Re: [NTG-context] Hyphen collapsing

2021-05-07 Thread Thangalin
\setuphead[chapter][align={nothyphenated,notcollapsed}] Would that mean there's no way to collapse the hyphenation throughout the entire document from a single location? That is: \nohyphencollapsing \setuphead[section][align={nothyphenated,notcollapsed}] \setuphead[subsection][

[NTG-context] setupalign[line]/setupalign[height] break \testpage

2021-05-06 Thread denis.maier
Hi everyone, I've recently asked this question: https://www.mail-archive.com/ntg-context@ntg.nl/msg98293.html To reiterate: Is there any way to add a \vfill on a page immediately before a section heading? On the mailing list I then found a possible solution : \setuphead[section][afterse

[NTG-context] conditionally add \vfill before section if at end of page

2021-05-04 Thread denis.maier
0.001, shrink=0.001, ] \showframe \starttext \section{Section} \input knuth\par \input knuth\par \input knuth\par \input ward \input ward \input ward %\vfill % can a \vfill be added automatically here? \section{Section} \input knuth\par % here we don't have a \vfill as this

[NTG-context] setupalign[height] vs setupalign[line] in MKIV

2021-04-23 Thread denis.maier
m,flexible},] \starttext \setupalign[line] % this here causes the last page to be filled \section{A section heading} \input knuth\par \page \setupalign[height] %this here doesn't \section{A section heading} \input knuth

[NTG-context] Page building and vertical stretching

2021-04-22 Thread denis.maier
mehow? Best, Denis \setuppapersize[A5][A5] \showframe \setupblank[big,flexible] \setupinterlinespace[stretch=0.03] \setuptolerance[vertical,stretch] \setupalign[height] \setuphead [section,subject] [ before={\blank[2*big,fle

Re: [NTG-context] nbsp in XML (S01E01)

2021-04-21 Thread denis.maier
Re tilde: maybe the answer is in the entities section of the xml mkiv manual. Denis Von: ntg-context im Auftrag von Jano Kula Gesendet: Mittwoch, 21. April 2021 23:09:55 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] nbsp in XML

Re: [NTG-context] files not readable

2021-04-10 Thread Jano Kula
fference in log files. That's why I became interested in "file not readable" information, which seems to be misleading. In the end all files are are listed in system > start used files section and context doesn't complain it cannot open or read those files (

Re: [NTG-context] Ligature suppression word list

2021-04-03 Thread Thangalin
Untested. Lists are not subject to copyright, so public domain should be legal, even though SE posts are CC-BY-SA. When a word has a single suffix or prefix (e.g., safflower/s), the two words are listed together, rather than using an explicit suffix/prefix section. return { name

[NTG-context] injectors not working in LMTX?

2021-03-25 Thread Pablo Rodriguez
\placelist[section][criterium=text] \blank[3*big] \placeregister[index][criterium=text] \page \startsection[title=Alpha] first \index{first} \startsection[title=Beta] second \index{second} \startsection[title=Gamma] third \index{third} \startsection[title=Delta] fourth \index

Re: [NTG-context] Formula numbering including all prefix segments

2021-03-21 Thread Adam Reviczky
gt; > \starttext > > \setupcaption[figure][way=bytext,prefixsegments=1:*] > > \setupformulas[way=bytext,prefixsegments=1:*] > > \startsection[title=Section] > > \startsubsection[title=SubSection] > > \startplacefigure[list=cow] \externalfigure[cow] \stopplacefigur

Re: [NTG-context] Formula numbering including all prefix segments

2021-03-21 Thread Hans Hagen
,prefixsegments=1:*] \setupformulas[way=bytext,prefixsegments=1:*] \startsection[title=Section] \startsubsection[title=SubSection] \startplacefigure[list=cow] \externalfigure[cow] \stopplacefigure \startplaceformula[reference=eq1] \startformula c^2 = a^2 + b^2 \stopformula \stopplaceformula \stopsubsection

[NTG-context] Formula numbering including all prefix segments

2021-03-20 Thread Adam Reviczky
,prefixsegments=1:*] \startsection[title=Section] \startsubsection[title=SubSection] \startplacefigure[list=cow] \externalfigure[cow] \stopplacefigure \startplaceformula[reference=eq1] \startformula c^2 = a^2 + b^2 \stopformula \stopplaceformula \stopsubsection \stopsection \placelistoffigures[criterium=all

[NTG-context] (no subject)

2021-03-20 Thread Adam Reviczky
,prefixsegments=1:*] \startsection[title=Section] \startsubsection[title=SubSection] \startplacefigure[list=cow] \externalfigure[cow] \stopplacefigure \startplaceformula[reference=eq1] \startformula c^2 = a^2 + b^2 \stopformula \stopplaceformula \stopsubsection \stopsection \placelistoffigures[criterium=all

Re: [NTG-context] Add items to list with arbitrary page number

2021-03-18 Thread denis.maier
I have a multivolume book, and I want to add > information about the other books to the TOC) > > I know about this: > > \writetolist[section]{}{It's a test} > > But how can you add an arbitrary page number ? It all depends on what you want to do ...

Re: [NTG-context] Add items to list with arbitrary page number

2021-03-17 Thread Hans Hagen
On 3/17/2021 6:19 PM, denis.ma...@ub.unibe.ch wrote: Hi, I need to add an item to a list with an arbitrary page number. (The reason is that I have a multivolume book, and I want to add information about the other books to the TOC) I know about this: \writetolist[section]{}{It's a

[NTG-context] Add items to list with arbitrary page number

2021-03-17 Thread denis.maier
Hi, I need to add an item to a list with an arbitrary page number. (The reason is that I have a multivolume book, and I want to add information about the other books to the TOC) I know about this: \writetolist[section]{}{It's a test} But how can you add an arbitrary page number ? Best,

[NTG-context] Chemical reaction formulas

2021-03-17 Thread David van Diepen
Dear list, According to the information on contextgarden (section chemistry) chemical reactions should be entered as follows: \usemodule[chemic] \startformula \chemical{CaCO_3(s),+,HCl(g),->,CaCl(HCO_3)(s)} \stopformula That produces a formula with the comma's in it, so that's n

Re: [NTG-context] (no subject)

2021-03-13 Thread Jano Kula
Hello! On Sat, Mar 13, 2021 at 6:09 PM Jeroen wrote: > I have the following document, but I want a different > \setuplayout[backspace] for the titlepage and copyright space. What is > the best way to achieve this? > https://wiki.contextgarden.net/Layout section Multipl

[NTG-context] Multiple Layouts

2021-03-13 Thread Jeroen
=3mm, height=middle, footerdistance=5mm, footer=9mm, bottomspace=11mm] \setuphead [chapter] [style={\bfb}, before={\vskip 0mm}, after={\vskip-\parskip}] \setuphead [section] [style=bold, before={\vskip 6mm}, after={\vskip 2mm}] \setuppagenumbering [alternative

[NTG-context] (no subject)

2021-03-13 Thread Jeroen
=3mm, height=middle, footerdistance=5mm, footer=9mm, bottomspace=11mm] \setuphead [chapter] [style={\bfb}, before={\vskip 0mm}, after={\vskip-\parskip}] \setuphead [section] [style=bold, before={\vskip 6mm}, after={\vskip 2mm}] \setuppagenumbering [alternative

Re: [NTG-context] bug in \headnumber[section] in LMTX?

2021-03-07 Thread Pablo Rodriguez
On 3/7/21 1:21 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 07.03.2021 um 10:49: >> Dear list, >> >> I have the following sample: >> >>\starttext >> \section{Section} >>\currentheadnumber\\ > > You ne

Re: [NTG-context] bug in \headnumber[section] in LMTX?

2021-03-07 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 07.03.2021 um 10:49: Dear list, I have the following sample: \starttext \section{Section} \currentheadnumber\\ You need \determineheadnumber[section] before you can use \currentheadnumber. \headnumbercontent\\ You can use

[NTG-context] bug in \headnumber[section] in LMTX?

2021-03-07 Thread Pablo Rodriguez
Dear list, I have the following sample: \starttext \section{Section} \currentheadnumber\\ \headnumbercontent\\ \headnumber[section] \stoptext In LMTX, \headnumber[section] triggers an error message about missing number. BTW, \currentheadnumber outputs 0 in both MkIV

Re: [NTG-context] Help figuring why long document stops short in xml export

2021-02-24 Thread Christoph Hintermüller
Hi On Wed, 2021-02-24 at 15:16 +0100, Christoph Hintermüller wrote: > > > I hoped so too. But the only i figured that it stops between two > sections. If i comment the whole set of sections which seem to > contain > offending content. Than it simply stops at some later s

Re: [NTG-context] Help figuring why long document stops short in xml export

2021-02-24 Thread Christoph Hintermüller
too. But the only i figured that it stops between two sections. If i comment the whole set of sections which seem to contain offending content. Than it simply stops at some later section. And if i remove the set before the one seemingly offending it still stops at the section it stopped in the fi

[NTG-context] issue with references

2021-02-19 Thread Pablo Rodriguez
Hans, I have the following sample: \setuphead[chapter][sectionsegments=chapter] \setuphead[section][sectionsegments=section] \setupreferencestructureprefix [default] [prefixsegments=*:*] \starttext \startTEXpage[offset=1em] \chapter{Chapter} \section[sec]{Section} As

Re: [NTG-context] style option not working for headings

2021-02-12 Thread Hans Hagen
On 2/13/2021 12:13 AM, Pablo Rodriguez wrote: Dear Hans, I’m afraid that style doesn’t work for headings in current latest (2021.02.12 18:49): \setuphead[chapter][style=\it] \setuphead[section][style=\it] \starttext \chapter{Chapter} \section{Section} \input zapf \stoptext

Re: [NTG-context] style option not working for headings

2021-02-12 Thread Pablo Rodriguez
On 2/13/21 12:13 AM, Pablo Rodriguez wrote: > Dear Hans, > > I’m afraid that style doesn’t work for headings in current latest > (2021.02.12 18:49): Hans, it might be that the style option doesn’t work in other commands (or at all): \setuphead[section][style=\it] \setuplist[se

[NTG-context] style option not working for headings

2021-02-12 Thread Pablo Rodriguez
Dear Hans, I’m afraid that style doesn’t work for headings in current latest (2021.02.12 18:49): \setuphead[chapter][style=\it] \setuphead[section][style=\it] \starttext \chapter{Chapter} \section{Section} \input zapf \stoptext Many thanks for your help, Pablo -- http

Re: [NTG-context] [passing parameter into MPpage]

2021-02-12 Thread Hans Hagen
On 2/12/2021 12:42 PM, Floris van Manen wrote: What is the correct ways to pass parameters into a \startMPpage section? This does not produce a page (obviously if you know how it works) But how to get the intende output? \def\blz[#1][#2][#3]{ \startMPpage draw thefmttext(#1) shifted(10mm, 20mm

[NTG-context] [passing parameter into MPpage]

2021-02-12 Thread Floris van Manen
What is the correct ways to pass parameters into a \startMPpage section? This does not produce a page (obviously if you know how it works) But how to get the intende output? \def\blz[#1][#2][#3]{ \startMPpage draw thefmttext(#1) shifted(10mm, 20mm); draw thefmttext(#2) shifted(10mm, 205m); draw

[NTG-context] Table of Content

2021-02-11 Thread Ursula Hermann
Dear List! I did this example, which works perfect. If i would like to take a new page after the Table of Content, is \page the right way? % mode=mkiv \setuppapersize[A7][A7] \language[de] %list the "subject" sections in the ToC but don't modify the "section" co

Re: [NTG-context] expansion of xml userdata

2021-01-17 Thread Wolfgang Schuster
Jano Kula schrieb am 17.01.2021 um 21:22: Hello to everybody! \setuphead[section][expansion=yes] expands xml reference to the actual content in TUC file: \xmlatt {xml:name::4}{title} → First section for titles & bookmarks. The same is not true for userdata (mkiv & mkxl). Do you kno

[NTG-context] expansion of xml userdata

2021-01-17 Thread Jano Kula
Hello to everybody! \setuphead[section][expansion=yes] expands xml reference to the actual content in TUC file: \xmlatt {xml:name::4}{title} → First section for titles & bookmarks. The same is not true for userdata (mkiv & mkxl). Do you know how to force expansion of userdata? MWE

Re: [NTG-context] Hatch a cell : meta:hash:left

2021-01-16 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 16.01.2021 um 16:58: Hi, I seem to have seen a method for hatching the cell of a table, but maybe it's my imagination.The following code does not work. Thanks for your help. Look into section 7.4 (Shape libraries) of the metafun manual. Wol

Re: [NTG-context] Continued chapter numbers

2021-01-06 Thread Wolfgang Schuster
is on the wiki “Independent Section Numbering”: https://wiki.contextgarden.net/Titles \definestructureresetset [default][1,1,0][1] %% reset part, chapter, but not section \setuphead [sectionresetset=default] \definestructureresetset is the same as \defineresetset

Re: [NTG-context] Continued chapter numbers

2021-01-06 Thread Marco Patzer
On Thu, 7 Jan 2021 07:09:46 +1100 jbf wrote: > I had searched everywhere on the wiki and in the manuals for > something like this, based on 'reset' but could not find it. AFAIK it's not mentioned in the manuals. But a variant is on the wiki “Independent Section

Re: [NTG-context] Part label and chapter numbers

2021-01-04 Thread jbf
he code into an editor and keep tweaking. It doesn't have to produce the correct output, but it should compile. If you add an MWE you're more likely to get a response. Of the three issues below, only the first is not resolved, meaning that part=Section\nobreakspace does not make any diffe

Re: [NTG-context] Part label and chapter numbers

2021-01-04 Thread Marco Patzer
x27;re more likely to get a response. > Of the three issues below, only the first is not resolved, meaning > that part=Section\nobreakspace does not make any difference, or put > another way, at least it stops things from throwing an error, but the > result I get is not 'Section 1.

Re: [NTG-context] A not so short introduction to ConTeXt Mark IV

2021-01-04 Thread Aditya Mahajan
Spanish: https://webs.um.es/jal/docs/introCTX_esp.pdf > > - Engilish: https://webs.um.es/jal/docs/introCTX_eng.pdf > > Soon I will send both texts, with their source files, to the > documentation section of the CTAN repository. This is an excellent and detailed introduction. I had briefl

Re: [NTG-context] Part label and chapter numbers

2021-01-04 Thread Marco Patzer
On Mon, 4 Jan 2021 13:22:55 +1100 jbf wrote: > Issue 1: > > Parts need to be called 'Section' (Section 1, section 2 etc.). \setuphead [part] [placehead=yes, bodypartlabel=part] \setuplabeltext [part=Section\nobreakspace] > Issue 2: > > While the abov

[NTG-context] Part label and chapter numbers

2021-01-03 Thread jbf
This is a Mark IV issue rather than LMTX, and while it is almost certainly simple enough, I seem to have got myself confused and am not getting the results I need. essentially I am dealing with a book that is divided into parts and chapter, but the parts need to be called 'Section'

Re: [NTG-context] A not so short introduction to ConTeXt Mark IV

2021-01-03 Thread denis.maier
introCTX_esp.pdf > > - Engilish: https://webs.um.es/jal/docs/introCTX_eng.pdf > > Soon I will send both texts, with their source files, to the documentation > section of the CTAN repository. > > > -- > Joaquín Ataz López > Derecho Civil > Universidad de Murcia >

Re: [NTG-context] A not so short introduction to ConTeXt Mark IV

2021-01-03 Thread denis.maier
ks - Spanish: https://webs.um.es/jal/docs/introCTX_esp.pdf - Engilish: https://webs.um.es/jal/docs/introCTX_eng.pdf Soon I will send both texts, with their source files, to the documentation section of the CTAN repository. -- Joaquín Ataz Lópe

Re: [NTG-context] A not so short introduction to ConTeXt Mark IV

2021-01-03 Thread BPJ
he new version: >> >> Both versions are available at the following links >> >> - Spanish: https://webs.um.es/jal/docs/introCTX_esp.pdf >> >> - Engilish: https://webs.um.es/jal/docs/introCTX_eng.pdf >> >> Soo

Re: [NTG-context] A not so short introduction to ConTeXt Mark IV

2021-01-03 Thread Joaquín Ataz López
s://webs.um.es/jal/docs/introCTX_esp.pdf - Engilish: https://webs.um.es/jal/docs/introCTX_eng.pdf Soon I will send both texts, with their source files, to the documentation section of the CTAN repository. -- Joaquín Ataz López Derecho Civil Univers

Re: [NTG-context] A not so short introduction to ConTeXt Mark IV

2021-01-03 Thread BPJ
wing links > > - Spanish: https://webs.um.es/jal/docs/introCTX_esp.pdf > > - Engilish: https://webs.um.es/jal/docs/introCTX_eng.pdf > > Soon I will send both texts, with their source files, to the > documentation section of the CTAN reposit

Re: [NTG-context] A not so short introduction to ConTeXt Mark IV

2021-01-03 Thread Alain Delmotte
/jal/docs/introCTX_eng.pdf Soon I will send both texts, with their source files, to the documentation section of the CTAN repository. ___ If your question is of

[NTG-context] A not so short introduction to ConTeXt Mark IV

2021-01-03 Thread Joaquín Ataz López
, with their source files, to the documentation section of the CTAN repository. -- Joaquín Ataz López Derecho Civil Universidad de Murcia ___ If your question is of interest to others as well, please add an entry to

Re: [NTG-context] Unnecessary page break, leaving lines empty

2020-12-11 Thread Wolfgang Schuster
,   topspace=17mm,   header=0mm,   footer=12mm,   bottomspace=15mm,   width=middle,   cutspace=20mm,   backspace=19mm,   grid=yes grid=yes, (missing comma after the setting)  ] \showgrid \starttext \chapter{Überschrift} \dorecurse{260}{hallo wie geht es? } \section{Überschrift}Text. \stoptext

[NTG-context] Unnecessary page break, leaving lines empty

2020-12-11 Thread Huseyin Özoguz
,   bottomspace=15mm,   width=middle,   cutspace=20mm,   backspace=19mm,   grid=yes  ] \showgrid \starttext \chapter{Überschrift} \dorecurse{260}{hallo wie geht es? } \section{Überschrift}Text. \stoptext The problem seems to be the combination of the layout, bodyfontsize and interlinespace. If I

Re: [NTG-context] Metafun: how to draw a straight line past the end points

2020-12-09 Thread Otared Kavian
points, but I think there is a simpler >> way in Metafun to do this. > > The shortened operation is the solution ! See MetaFun manual section 1.18 > > \starttext > \startMPpage > z1 = (1cm,3cm) ; > z2 = (5cm, 9cm) ; > draw (z1--z2) shortened -1cm wit

Re: [NTG-context] Metafun: how to draw a straight line past the end points

2020-12-09 Thread Fabrice L
f the line and then compute by > hand the coordinates of the new end points, but I think there is a simpler > way in Metafun to do this. The shortened operation is the solution ! See MetaFun manual section 1.18 \starttext \startMPpage z1 = (1cm,3cm) ; z2 = (5cm, 9cm) ; draw (z1--z2) shortened -1

[NTG-context] Parallelizing typesetting of large documents with lots of cross-references

2020-12-03 Thread Stephen Gaito
y cross-referenced documents, - with embedded literate-programmed code (which needs concurrent compiling and execution), - containing multiple MetaFun graphics, all based upon ConTeXt-LMTX. "In theory", it should be possible to typeset individual "sub-documents" (any section whi

Re: [NTG-context] Placing extra bookmarks?

2020-12-02 Thread Bruce Horrocks
the test suite (sections/bookmarks-*.tex) > > You can specify bookmarks when you use \startsection etc an dalso add them > any place to named lists. Thanks Hans - I never thought to look in the test cases (d'oh!). For the benefit of those searching the archives in the f

Re: [NTG-context] Setting and measuring boxes TeX/Lua

2020-11-27 Thread Jano Kula
lign={flushleft}]% \bgroup% \vbox\bgroup} \def\StopBox{\egroup\egroup\egroup}% close vbox, framed, hbox \def\MeasureBuffer[#1]{\setbox0\hbox{\getbuffer[#1]}% ht: \the\ht0\par} % XML \startbuffer[

Re: [NTG-context] Unexpected underbar behaviour in sections

2020-11-24 Thread Bruce Horrocks
> On 24 Nov 2020, at 22:26, Aditya Mahajan wrote: > > On Tue, 24 Nov 2020, Bruce Horrocks wrote: > >> The following is giving me a section title with triple underbars instead of >> single. >> >> \definehead [Heading] [section] >> \setuphead [Headin

Re: [NTG-context] Unexpected underbar behaviour in sections

2020-11-24 Thread Aditya Mahajan
On Tue, 24 Nov 2020, Bruce Horrocks wrote: > The following is giving me a section title with triple underbars instead of > single. > > \definehead [Heading] [section] > \setuphead [Heading] [style={\underbar}] Change this to: \setuphead [Heading] [textcommand={\underbar}

[NTG-context] Unexpected underbar behaviour in sections

2020-11-24 Thread Bruce Horrocks
The following is giving me a section title with triple underbars instead of single. \definehead [Heading] [section] \setuphead [Heading] [style={\underbar}] \starttext \Heading{First level section heading} \underbar{This is single underlined as expected} \stoptext (Same with \startHeading

Re: [NTG-context] Adding Custom PDF Property

2020-11-23 Thread Ramkumar KB
Hans, Thank you very much! I will update a section in the Wiki with this information. Best regards, On Mon, Nov 23, 2020 at 8:21 PM Hans Hagen wrote: > On 11/23/2020 11:26 AM, Ramkumar KB wrote: > > Hello List, > > > > I am looking for a way to add custom PDF prope

[NTG-context] markings in lmtx and luatex

2020-11-23 Thread Thomas A. Schmitz
Hi all, something has changed in the way markings are handled. Consider the following example: \definemarking[Section] \setupheadertexts[{\getmarking[Section][top]–\getmarking[Section][bottom]}] \starttext A\marking[Section]{A} B\marking[Section]{B} C\marking[Section]{C} \page D

[NTG-context] LMTX update 2020.11.17 ----> 11.19 | Paragraph indenting

2020-11-21 Thread Richard Mahoney
Hello, I noticed yesterday that paragraph indenting appears to have changed between LMTX 2020.11.17 & 11.19. Usually the first paragraph after a section heading does not indent, as it does with all subsequent paragraphs. With 11.19 the first paragraph does have an indent. I've had to

Re: [NTG-context] LMTX update 2020.11.17 ----> 11.19 | Paragraph indenting

2020-11-21 Thread Pablo Rodriguez
On 11/21/20 10:44 PM, Richard Mahoney wrote: > Hello, > > I noticed yesterday that paragraph indenting appears to have changed between > LMTX 2020.11.17 & 11.19. Usually the first paragraph after a section heading > does not indent, as it does with all subsequent paragraphs. Wit

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,

[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] new upload

2020-11-18 Thread Hans Hagen
introduced ... thanks for testing. Many thanks for the new upload, Hans. 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

Re: [NTG-context] new upload

2020-11-18 Thread Wolfgang Schuster
for the new upload, Hans. 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. Minimal example

Re: [NTG-context] new upload

2020-11-18 Thread Pablo Rodriguez
en 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, the section

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 be

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 to adjus

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
ng 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 t

[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: > > > > \st

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

2020-11-08 Thread Denis Maier
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 sect

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] Wol

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 t

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

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