Re: [NTG-context] Heading for endnotes / grouped by chapter endnotes

2021-07-02 Thread denis.maier
> improve the overall approach. I welcome suggestions. > > %--% > % Endnote apparatus adapted for parts > % > \mainlanguage  [en] > \language  [en] > \setupinteraction  [state=start] > \setuppagenumbering[alternative=doublesided] > > \setuphea

Re: [NTG-context] Heading for endnotes / grouped by chapter endnotes

2021-06-30 Thread Rik Kabel
. %--% % Endnote apparatus adapted for parts % \mainlanguage  [en] \language  [en] \setupinteraction  [state=start] \setuppagenumbering[alternative=doublesided] \setupheadertexts [{\it\getmarking[part]}][{\it\getmarking[section]}] [{\it\getmarking[chapter]}][{\it\getmarking

Re: [NTG-context] First line of larger font paragraph on grid

2021-06-28 Thread denis.maier
]{#2}% } \setuphead [section] [ style=\bfe, %style={\bfe\setupinterlinespace[line=17.5pt]}, style={\bfe\setuplocalinterlinespace[line=17.5pt]}, after=, before=, command=\section_command, ] \protect \defineframed[myframed][ width=\textwidth,

Re: [NTG-context] First line of larger font paragraph on grid

2021-06-27 Thread denis.maier
frame=off, > rulethickness=0pt, > offset=0pt, > loffset=-0pt, > before=, > location=top, > align=flushleft,]{#2}% > } > > > \setuphead [section] [ > style=\bfe, >

Re: [NTG-context] Soft-hyphen in Antykwa.

2021-06-26 Thread Rik Kabel
remove the line, and the hyphen appears. 2. When HeadFont is libertinus, there is no problem. Sample document: \definefontfamily [HeadFont] [rm] [Antykwa Torunska Cond] \setuphead [chapter] [style=\HeadFont\tfa] \setuphead [s

Re: [NTG-context] First line of larger font paragraph on grid

2021-06-26 Thread Garulfo
et=0pt, loffset=-0pt, before=, location=top, align=flushleft,]{#2}% } \setuphead [section] [ style=\bfe, after=, before={\blank[1*line]}, command=\section_command, ] \protect \defineframed[myframed][ width=\tex

Re: [NTG-context] First line of larger font paragraph on grid

2021-06-26 Thread Garulfo
, offset=0pt, loffset=-0pt, before=, location=top, align=flushleft,]{#2}% } \setuphead [section] [ style={\BigFont}, after=, before={\blank[1*line]}, command=\section_command, ] \protect \definefontsize[e

Re: [NTG-context] ntg-context Digest, Vol 204, Issue 76

2021-06-26 Thread Kirkham, Robin (Mineral Resources, Clayton)
is no key > "align". > > juh > > > > > From: > Subject: [NTG-context] First line of larger font paragraph on grid > Date: 25 June 2021 at 20:30:29 AEST > To: > > > Hi, > > I have some text in a larger font where the first

Re: [NTG-context] injectors not working in LMTX?

2021-06-25 Thread Hans Hagen
[register][3][\column] \setinjector[list][2][{\blank[3*big]}] \starttext \placelist[section][criterium=text] \blank[3*big] \placeregister[index][criterium=text] \page \startsection[title=Alpha] first \index{first} \startsection[title

[NTG-context] First line of larger font paragraph on grid

2021-06-25 Thread denis.maier
Hi, I have some text in a larger font where the first line should be on the grid. Therefore, I've tried to adapt the solution from the wiki: https://wiki.contextgarden.net/Grid_typesetting#Placing_titles_on_the_grid The interesting thing is that the section command indeed places the first line

Re: [NTG-context] injectors not working in LMTX?

2021-06-24 Thread Rik Kabel
][{\blank[3*big]}] \starttext \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

Re: [NTG-context] Trying to make all links in my document blue instead of red or green

2021-06-21 Thread Adam Reviczky
gt; ] > > > \starttext > \completecontent > \section{Section A} > \subsection{SubSection A.A} > \pagebreak[yes] > \section {Section B — on another page} > \subsection {SubSection B.A — on another page} > \stoptext > > When I format it with ConTeXt (ConTeXt ver: 2021.06.

[NTG-context] Trying to make all links in my document blue instead of red or green

2021-06-21 Thread T. Kurt Bond
I'm trying to make all the hyperlinks in my document blue. Here's my example: \setupinteraction [state=start, color=blue, contrastcolor=blue ] \starttext \completecontent \section{Section A} \subsection{SubSection A.A} \pagebreak[yes] \section {Section B — on another page} \subsection

[NTG-context] named § symbol

2021-06-17 Thread Jan U. Hasecke
Hi all, I use this for legal documents: \setuplabeltext[section=§~] But I wonder if there is a named command like \letterhash for this. TIA juh ___ If your question is of interest to others as well, please add

Re: [NTG-context] named § symbol

2021-06-17 Thread Hans Hagen
On 6/17/2021 1:28 PM, Jan U. Hasecke wrote: Hi all, I use this for legal documents: \setuplabeltext[section=§~] But I wonder if there is a named command like \letterhash for this. \sectionmark \paragraphmark

[NTG-context] A not so short introduction to ConTeXt - French version - progress report.

2021-06-16 Thread Garulfo
provide "ready to go .tex for beginners" Some thoughs: - to move "page break section" from Part I section 5.5 to something like Part III 11.x - Once the translation finished, to simplify some explanations. Garulfo ___

Re: [NTG-context] randomizer line-breaking

2021-06-08 Thread Steffen Wolfrum
uctures.references.collected={ ["02"]={ ["*101"]={ ["metadata"]=678, ["references"]={ ["block"]="bodypart", ["internal"]=102, ["prefix"]="02

Re: [NTG-context] where to break a long header

2021-06-06 Thread Steffen Wolfrum
> \starttext > > \placecontent > > \section{First section \\ with a line break} > > \section{Second section\\ with a line break} > > \section{Third section \\with a line break} > > \secti

Re: [NTG-context] where to break a long header

2021-06-05 Thread Wolfgang Schuster
\placecontent \section{First section \\ with a line break} \section{Second section\\ with a line break} \section{Third section \\with a line break} \section{Fourth section\\with a line break} \stoptext Wolfgang

[NTG-context] different prefixsegments for \in

2021-06-04 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupreferencestructureprefix [default] [prefixsegments=*:*] \starttext \section{One Section} \subsection[sec0]{Subsection} As told in \in[sec0] and \in[sec1]… \section{Another Section} \subsection[sec1]{Subsection} … \stoptext

Re: [NTG-context] chapter number sought

2021-05-30 Thread Hans van der Meer
Thanks. This helps. dr. Hans van der Meer > On 30 May 2021, at 13:40, Adam Reviczky wrote: > > Hi Hans, > > Does this help: > https://tex.stackexchange.com/questions/134474/context-part-chapter-section-and-subsection-names > > <https://tex.stackexchange.com/qu

Re: [NTG-context] chapter number sought

2021-05-30 Thread Adam Reviczky
Hi Hans, Does this help: https://tex.stackexchange.com/questions/134474/context-part-chapter-section-and-subsection-names ? \starttext \startchapter[title={First chapter}] \structurenumber\ - \structuretitle \stopchapter \stoptext Although getmarking is probably what you're really after

Re: [NTG-context] One chapter with different heading settings

2021-05-23 Thread Rik Kabel
On 5/23/2021 07:43, Jeroen wrote: In the preamble I have the following setup for the chapter header setup. There is one chapter I want to have a different heading setup with some less spacing, what would be the easiest way to achieve this? \setuphead [section] [style=bold, before={\vskip4mm

[NTG-context] One chapter with different heading settings

2021-05-23 Thread Jeroen
In the preamble I have the following setup for the chapter header setup. There is one chapter I want to have a different heading setup with some less spacing, what would be the easiest way to achieve this? \setuphead [section] [style=bold, before={\vskip 4mm}, after={\vskip 1.5mm

Re: [NTG-context] xtable in def or setups

2021-05-18 Thread Werner Hennrich
] \stopxcell \startxcell #2 \stopxcell \stopxrow *\stopembeddedxtable* \removeunwantedspaces } that did the job. Thanks a lot Adam! Cheers, W Am 18.05.21 um 20:17 schrieb Adam Reviczky: Hi Werner, Did you try startembeddedxtable ? See Section 5 in the manual (https://www.pragma-ade.com

Re: [NTG-context] xtable in def or setups

2021-05-18 Thread Adam Reviczky
Hi Werner, Did you try startembeddedxtable ? See Section 5 in the manual ( https://www.pragma-ade.com/general/manuals/xtables-mkiv.pdf). Adam On Tue, May 18, 2021 at 6:38 PM Werner Hennrich wrote: > Hello everyone, > > I'm trying to create an xtable from within a \def (or within

Re: [NTG-context] TeX capacity exceeded

2021-05-18 Thread Hans Hagen
On 5/17/2021 11:43 PM, Thomas A. Schmitz wrote: Is texmfcnf.lua still the configuration file I need to look at for this kind of problem? Which variable could I change? Normally not needed but this is the section for luatex: ["luatex.errorline"] =250, -- no need

[NTG-context] Fwd: Fuzzy lines

2021-05-12 Thread Jairo A. del Rio
gt; 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 com

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 > somet

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 ugly

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,notcollapsed

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][align

[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][aftersection

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

2021-05-04 Thread denis.maier
, 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

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

2021-04-23 Thread denis.maier
},] \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\par \stoptext

[NTG-context] Page building and vertical stretching

2021-04-22 Thread denis.maier
? 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,flexible

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
. 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 (file not found). The mystery of th

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] \stopplacefigure >

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
, 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 \starttext \installstruct

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 test

[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, Denis

[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 not good. I

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
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 first i

[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

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" counter

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

[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. Wolfgang

Re: [NTG-context] Continued chapter numbers

2021-01-06 Thread Wolfgang Schuster
“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. I assume

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 Numbering”:

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

2021-01-04 Thread jbf
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 difference, or put another way

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

2021-01-04 Thread Marco Patzer
ely 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. My title' but simpl

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 above 'sect

[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' not 'Part

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
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ópez Derecho Civil

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

2021-01-03 Thread BPJ
w 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 >> >> Soon I w

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

2021-01-03 Thread Joaquín Ataz López
ebs.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 Universidad

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

2021-01-03 Thread BPJ
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 repository.

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

[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

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
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 -1cm wit

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

2020-12-09 Thread Fabrice L
on of 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
ss-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 which is

Re: [NTG-context] Placing extra bookmarks?

2020-12-02 Thread Bruce Horrocks
in 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 future, here is

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

2020-11-27 Thread Jano Kula
\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[doc] section

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

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

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, I ha

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

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

Re: [NTG-context] 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

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