Re: [NTG-context] Continued chapter numbers

2021-01-06 Thread jbf
\defineresetset    [jbfreset] [] [0] \setuphead    [chapter]    [sectionresetset=jbfreset] That does indeed work for me. I had searched everywhere on the wiki and in the manuals for something like this, based on 'reset' but could not find it. While it is clearly something you knew (and I now k

Re: [NTG-context] Continued chapter numbers

2021-01-06 Thread denis.maier
Not tested, but what about this? \setupcounter[chapter][way=bytext] Best, Denis > -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von jbf > Gesendet: Mittwoch, 6. Januar 2021 10:24 > An: mailing list for ConTeXt users > Betreff: [NTG-context] Continued chapter

Re: [NTG-context] Continued chapter numbers

2021-01-06 Thread Marco Patzer
On Wed, 6 Jan 2021 20:24:07 +1100 jbf wrote: > I need chapter numbers to continue sequentially across several parts. > At the moment, when Part 2 begins, it begins with Chapter 1 once > more, while it should be (in continued sequence) Chapter 4. \defineresetset [jbfreset] [] [0] \

[NTG-context] Continued chapter numbers

2021-01-06 Thread jbf
I need chapter numbers to continue sequentially across several parts. At the moment, when Part 2 begins, it begins with Chapter 1 once more, while it should be (in continued sequence) Chapter 4. I know that I can achieve the desired result by including ownnumber=4, so: \startchapter[title={My

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

2021-01-04 Thread jbf
Indeed the no-break spaces were the problem, something I had quite overlooked (so have made a 'message to brain' not to overlook this in the future). I did know about the use of %, but if one searches on the Contextgarden Wiki for \nobreakspace, one finds nothing. Clearly a TeX command that one

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

2021-01-04 Thread Marco Patzer
On Tue, 5 Jan 2021 08:32:33 +1100 jbf wrote: > and apologies if you didn't think I provided an MWE. The idea is that people can just copy-paste the 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

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

2021-01-04 Thread Marco Patzer
e 'sections' are numbered in arabic numbers, Chapters > are meant to be in words. \setuplabeltext [chapter=Chapter\nobreakspace] \setuphead [chapter] [conversion=Words] > Issue 3 might already be solved once I resolve Issue 2! > > But given that I have parts, the

[NTG-context] Part label and chapter numbers

2021-01-03 Thread jbf
not 'Part', and the Chapter numbers need to be words and sequential throughout the book, not restarting at each part/section. Issue 1: Parts need to be called 'Section' (Section 1, section 2 etc.). I thought I could achieve this with: \setuphead   [part]   [   placehea

Re: [NTG-context] \setbreakpoints[compound] with numbers

2020-09-17 Thread Denis Maier
Am 17.09.2020 um 19:07 schrieb Hans Hagen: On 9/17/2020 4:54 PM, Denis Maier wrote: Hi, In the texts I'm currently typesetting, I occassionaly have to deal with ISBNs. So, e.g. 978-3-123456-78-9 \setbreakpoints[compound] does not enable automatic linebreaks after or before the hyphens. Is t

Re: [NTG-context] \setbreakpoints[compound] with numbers

2020-09-17 Thread Hans Hagen
On 9/17/2020 4:54 PM, Denis Maier wrote: Hi, In the texts I'm currently typesetting, I occassionaly have to deal with ISBNs. So, e.g. 978-3-123456-78-9 \setbreakpoints[compound] does not enable automatic linebreaks after or before the hyphens. Is there a way to deal with this? Perhaps someth

[NTG-context] \setbreakpoints[compound] with numbers

2020-09-17 Thread Denis Maier
Hi, In the texts I'm currently typesetting, I occassionaly have to deal with ISBNs. So, e.g. 978-3-123456-78-9 \setbreakpoints[compound] does not enable automatic linebreaks after or before the hyphens. Is there a way to deal with this? Perhaps something similar like \hyphenatedurl{} or an e

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

2020-08-13 Thread Nicola
On 2020-08-13, Pablo Rodriguez wrote: > On 8/13/20 6:06 PM, Nicola wrote: >> [...] >> Thanks. That works with my MWE, but in my document I actually have >> a chapter, and chapters start on the right page, even if I add page=no >> to \setuppagenumbering: >> [...] >> I have no idea how to allow chap

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

2020-08-13 Thread Wolfgang Schuster
Nicola schrieb am 13.08.2020 um 18:06: Thanks. That works with my MWE, but in my document I actually have a chapter, and chapters start on the right page, even if I add page=no to \setuppagenumbering: Can you start a new thread when you have a new question. When other people have the same probl

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

2020-08-13 Thread Pablo Rodriguez
On 8/13/20 6:06 PM, Nicola wrote: > [...] > Thanks. That works with my MWE, but in my document I actually have > a chapter, and chapters start on the right page, even if I add page=no > to \setuppagenumbering: > [...] > I have no idea how to allow chapters to start at arbitrary pages when > alterna

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

2020-08-13 Thread Nicola
On 2020-08-13, Pablo Rodriguez wrote: > On 8/13/20 5:17 PM, Nicola wrote: >> Hi, >> I still have an issue with blank pages... >> 2. Vertically center the ToC (wrt to the text area). >>> >>> Use a makeup for the TOC (if and only if it takes a single page). >> >> Yes, the ToC takes a single pag

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

2020-08-13 Thread Pablo Rodriguez
On 8/13/20 5:17 PM, Nicola wrote: > Hi, > I still have an issue with blank pages... > >>> 2. Vertically center the ToC (wrt to the text area). >> >> Use a makeup for the TOC (if and only if it takes a single page). > > Yes, the ToC takes a single page. The makeup seems to insert a blank > page afte

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

2020-08-13 Thread Nicola
Hi, I still have an issue with blank pages... >> 2. Vertically center the ToC (wrt to the text area). > > Use a makeup for the TOC (if and only if it takes a single page). Yes, the ToC takes a single page. The makeup seems to insert a blank page afterwards. MWE: \setuppagenumbering[alternati

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

2020-08-12 Thread Nicola
ment >> >> 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 section number. The aligntitle works only for

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

2020-08-11 Thread Wolfgang Schuster
. 2. Set the margin key to a value large enough to fit all numbers 3. Apply a command to the numbercommand key where you shift the number to the left in the margin area you set in the previous step begin example \define[1]\ChapterListNumbercommand {\offset[x=-1cm,width=0pt]{\simpl

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

2020-08-11 Thread Nicola
On 2020-08-11, Pablo Rodriguez wrote: > On 8/11/20 9:24 PM, Nicola wrote: >> Thank Pablo, Wolfgang, >> I have learned more by reading your replies than by myself in the rest >> of the afternoon. > > Hi Nicola, > > if you found replies useful, please update the wiki (this may help others). > >> Jus

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

2020-08-11 Thread Pablo Rodriguez
On 8/11/20 8:34 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 11.08.2020 um 14:53: >> On 8/11/20 1:32 PM, Nicola wrote: >> [...] >>> 3. Suppress page numbers and headers in all blank pages. >> >> Break pages with \page[yes, blank]. > > Not the

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

2020-08-11 Thread Pablo Rodriguez
On 8/11/20 9:24 PM, Nicola wrote: > Thank Pablo, Wolfgang, > I have learned more by reading your replies than by myself in the rest > of the afternoon. Hi Nicola, if you found replies useful, please update the wiki (this may help others). > Just one more thing: > [...] > I'd prefer all the title

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

2020-08-11 Thread Nicola
Thank Pablo, Wolfgang, I have learned more by reading your replies than by myself in the rest of the afternoon. Just one more thing: >>> 1. Increase the space between Roman numbers and titles in the ToC. >> >> distance with dimension is the key in \setuplist. > > Corr

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

2020-08-11 Thread Wolfgang Schuster
environment fits here better. \definemakeup [copyright] [page=yes, pagestate=start, doublesided=no, align=flushright, bottom=] \startmakeup[copyright] Copyright © 2020 Author \stopmakeup 1. Increase the space between Roman numbers and titles in the ToC. distance with dimension is

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

2020-08-11 Thread Pablo Rodriguez
some basic tasks (see the document > below): > > 0. Push text to the bottom of the text area (see copyright). Well, \setupalignment tweaks position in line (I’d rather say). Bottom isn’t an option there. Adding \null\vfill before the alignment does the job. > 1. Increase the space be

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

2020-08-11 Thread Nicola
struggling with some basic tasks (see the document below): 0. Push text to the bottom of the text area (see copyright). 1. Increase the space between Roman numbers and titles in the ToC. 2. Vertically center the ToC (wrt to the text area). 3. Suppress page numbers and headers in all blank pages. 4

Re: [NTG-context] Wrong page numbers in frontmatter

2020-06-14 Thread Jack Steyn
page number i instead of ii. It seems to have something to do > > with the use of makeup. I was using it to create a vertically centered > > title page. Is there a better way of doing this which will give the > > correct page numbers? > > > > Best, > > > >

Re: [NTG-context] Wrong page numbers in frontmatter

2020-06-14 Thread Wolfgang Schuster
ay of doing this which will give the correct page numbers? Best, Jack \definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber][][numbers] \definemakeup[titlepage][align=middle] \definemakeup[titlepage][align=middle,pagestate=

[NTG-context] Wrong page numbers in frontmatter

2020-06-14 Thread Jack Steyn
page numbers? Best, Jack \definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber][][numbers] \definemakeup[titlepage][align=middle] \starttext \startfrontmatter \startmakeup[titlepage] Title \stopmakeup test \stopfrontm

Re: [NTG-context] More funny numbers

2020-06-12 Thread Hans Hagen
On 6/12/2020 4:35 AM, Jairo A. del Rio wrote: Hi everyone! The following example shows that numerators of fractions inside math alignment environments appear with a funny size: \startTEXpage \startformula \startmathalignment[n=1,align=middle] \NC \frac{1351}{780}>\sqrt{3}>\frac{265}{153},  3013

Re: [NTG-context] More funny numbers

2020-06-12 Thread Hans Hagen
On 6/12/2020 4:35 AM, Jairo A. del Rio wrote: It's actually nice to find those bugs when one makes heavy use of math environments. For comparison, LuaTeX prints the correct output. Well, thanks for finding them! Normnally those bugs are easy to fix. Concerning math, there are no real fundamenta

[NTG-context] More funny numbers

2020-06-11 Thread Jairo A. del Rio
Hi everyone! The following example shows that numerators of fractions inside math alignment environments appear with a funny size: \startTEXpage \startformula \startmathalignment[n=1,align=middle] \NC \frac{1351}{780}>\sqrt{3}>\frac{265}{153}, 3013 \frac{3}{4}>\sqrt{9082321}, \quad 1838 \frac{9}{

Re: [NTG-context] chapter numbers

2020-06-08 Thread jbf
A useful distinction to know. Do you think this is made clear on the wiki? In fact I am sure that the information is there precisely as you have put it, but the challenge (for the wiki and the wiki user) is to find it. Your many brief and to-the-point explanations of these little matters, Wolfg

Re: [NTG-context] chapter numbers

2020-06-08 Thread Wolfgang Schuster
Duncan Hothersall schrieb am 08.06.2020 um 08:35: Use \setuplabeltext instead of \setupheadtext. I agree the documentation suggests \setupheadtext should work the same way, but it doesn't seem to. You might also want a space after the word Chapter. It works the same way but it's used for a dif

Re: [NTG-context] chapter numbers

2020-06-07 Thread jbf
Thanks Duncan. It can be quite a struggle working through potentially conflicting items in the documentation. I applaud the recent efforts to improve the overall presentation of the wiki, though. Your simple little change (plus the space!) works of course. Julian On 8/6/20 4:35 pm, Duncan Ho

Re: [NTG-context] chapter numbers

2020-06-07 Thread Duncan Hothersall
Use \setuplabeltext instead of \setupheadtext. I agree the documentation suggests \setupheadtext should work the same way, but it doesn't seem to. You might also want a space after the word Chapter. Duncan On Mon, 8 Jun 2020 at 05:38, jbf wrote: > I am attempting to get the word 'Chapter' to ap

[NTG-context] chapter numbers

2020-06-07 Thread jbf
I am attempting to get the word 'Chapter' to appear in the Chapter title, followed by its number, and I attempted to do it simply with: \setupheadtext[chapter=Chapter] \setuphead   [chapter]   [header=empty] What I get is simply the number, e.g. 1 My first chapter, 2 My second chapter etc. \se

Re: [NTG-context] Numbers inside \sqrt are small

2020-06-07 Thread Hans Hagen
On 6/6/2020 5:45 PM, Otared Kavian wrote: Hi Mikael, Thanks to your message I discovered that in all my recent documents typeset with lmtx the \sqrt has a bug… Indeed the argument under the square root is too small. (The version I have right now is 2020.05.25 23:39, after running sh install

Re: [NTG-context] Numbers inside \sqrt are small

2020-06-06 Thread Otared Kavian
Hi Mikael, Thanks to your message I discovered that in all my recent documents typeset with lmtx the \sqrt has a bug… Indeed the argument under the square root is too small. (The version I have right now is 2020.05.25 23:39, after running sh install.sh). It may be that it is related to the re

[NTG-context] Numbers inside \sqrt are small

2020-06-02 Thread Mikael Sundqvist
Hi, \starttext $2+\sqrt{2}$ \stoptext The output is attached. This happened with a release that are a bit old, as well as with the most recent upgrade. LMTX. /Mikael sqrt.pdf Description: Adobe PDF document ___ If

Re: [NTG-context] lmtx: rotation problem with float numbers

2020-05-27 Thread Peter Rolf
imension now >>> In which way? Did you get the desired result or was there just no >>> error message. >>>> \starttext >>>> \rotate[rotation=-0.2]{Rotation} >>>> \stoptext >>>> >>>> No such problems with integer rotation nu

Re: [NTG-context] lmtx: rotation problem with float numbers

2020-05-27 Thread Wolfgang Schuster
=-0.2]{Rotation} \stoptext No such problems with integer rotation numbers. ConTeXt expects a integer for the rotation value and decimals are only possible for a dimension. can you test with:    \clf_analyzerotate % rather accurate \p_rotation_rotation\space in grph-trf.mkiv It works

Re: [NTG-context] lmtx: rotation problem with float numbers

2020-05-27 Thread Hans Hagen
with integer rotation numbers. ConTeXt expects a integer for the rotation value and decimals are only possible for a dimension. can you test with: \clf_analyzerotate % rather accurate \p_rotation_rotation\space in grph-trf.mkiv Hans

Re: [NTG-context] lmtx: rotation problem with float numbers

2020-05-27 Thread Wolfgang Schuster
Peter Rolf schrieb am 27.05.2020 um 16:38: Hi, this used to work, but wants a dimension now In which way? Did you get the desired result or was there just no error message. \starttext \rotate[rotation=-0.2]{Rotation} \stoptext No such problems with integer rotation numbers. ConTeXt expects a

[NTG-context] lmtx: rotation problem with float numbers

2020-05-27 Thread Peter Rolf
Hi, this used to work, but wants a dimension now \starttext \rotate[rotation=-0.2]{Rotation} \stoptext No such problems with integer rotation numbers. Peter T:\tmp>context --version mtx-context | ConTeXt Process Management 1.03 mtx-context | mtx-context | main context file

[NTG-context] \setbreakpoints[compound] and numbers

2020-05-19 Thread Peter Münster
Hi, How could I get breaking lines with numbers please? Example: \setbreakpoints[compound] \setuplayout[width=1mm] \starttext xxx/xxx % line break is ok here xx1/xxx % I would like a linebreak here too \stoptext TIA for any help, -- Peter

[NTG-context] How to get page number as Burmese numbers?

2019-12-31 Thread Kyaw Myo Min
Hello Users, I am new to ConTeXt. Previously I used LaTeX. Can you help me how can I get page numbers in Burmese number. I found on ConTeXt wiki how to convert page number to words. But I don’t know how to modify it.Burmese language is not supported in ConTeXt

Re: [NTG-context] Adding line numbers to all pages?

2019-12-02 Thread Weber, Matthias
Now that is embarrassing finding my question answered in an earlier post by Oliver from today. Sorry for the noise. Matthias On Dec 2, 2019, at 17:49, Weber, Matthias mailto:matwe...@indiana.edu>> wrote: Dear All, Is there a simple way to add line numbers to the margin of each pag

[NTG-context] Adding line numbers to all pages?

2019-12-02 Thread Weber, Matthias
Dear All, Is there a simple way to add line numbers to the margin of each page of a document? They should recommence at 1 on every page, and either omit formulas or handle them “gracefully”. I’d be happy to have any ad-hoc solution. Thanks, Matthias \starttext \input tufte \startformula 1

[NTG-context] setup according to total numbers

2019-11-20 Thread Pablo Rodriguez
Hi Hans, this is related to a previous message (https://mailman.ntg.nl/pipermail/ntg-context/2019/096253.html). I don’t know how hard could to implement them, but it would be useful to be able to setup xtables and lists based on the total number of columns, rows and items. Some cases would be:

Re: [NTG-context] Cross references to column numbers

2019-11-16 Thread Hans Hagen
On 11/15/2019 8:22 PM, Pablo Rodriguez wrote: On 11/15/19 3:44 PM, Oliver von Criegern wrote: Could someone please take a look at this? Am 12.11.19 um 13:02 schrieb Oliver von Criegern: [...] As you will see, targets A, B and C are all in the first column, and targets D, E and F are all in the

Re: [NTG-context] Cross references to column numbers

2019-11-15 Thread Pablo Rodriguez
On 11/15/19 3:44 PM, Oliver von Criegern wrote: > Could someone please take a look at this? > > Am 12.11.19 um 13:02 schrieb Oliver von Criegern: >> [...] >> As you will see, targets A, B and C are all in the first column, and >> targets D, E and F are all in the second column. But the references >

Re: [NTG-context] Cross references to column numbers

2019-11-15 Thread Taco Hoekwater
> On 15 Nov 2019, at 16:31, Taco Hoekwater wrote: > > But that outer \numexpr rounds instead of truncates. so anything that > is past halfway of the column is rounded too far up. This fixes it ^ horizontally Taco __

Re: [NTG-context] Cross references to column numbers

2019-11-15 Thread Taco Hoekwater
gt; \stoptext >> >> As you will see, targets A, B and C are all in the first column, and targets >> D, E and F are all in the second column. But the references read as follows: >> >> A: page 1, column 1, line 29. >> B: page 1, column 1, line 29. >> C: p

Re: [NTG-context] Cross references to column numbers

2019-11-15 Thread Oliver von Criegern
mbers, how can I create cross references to column numbers? I have a two column layout with column numbers in the header instead of page numbers (actually, these column numbers are calculated from the page numbers). Now I want to create a cross reference that returns the column number of the t

Re: [NTG-context] Cross references to column numbers

2019-11-12 Thread Oliver von Criegern
right column. How to achieve this? This is the more simplified version of the my previous question cited below. Best regards, Oliver. Am 12.08.19 um 15:26 schrieb Oliver von Criegern: Dear list members, how can I create cross references to column numbers? I have a two column layout with c

Re: [NTG-context] Help wanted: index with chapter and section numbers

2019-11-10 Thread Wolfgang Schuster
Otared Kavian schrieb am 10.11.2019 um 10:38: Hi, In a math text book, I would like to create an index of some material where chapter and section numbers are given instead of a page number. For instance if the result « 3.2.5 Banach Fixed Point Theorem » is stated in section 2 of chapter 3

[NTG-context] Help wanted: index with chapter and section numbers

2019-11-10 Thread Otared Kavian
Hi, In a math text book, I would like to create an index of some material where chapter and section numbers are given instead of a page number. For instance if the result « 3.2.5 Banach Fixed Point Theorem » is stated in section 2 of chapter 3, and is the fifth numbered statement in that

Re: [NTG-context] index with chapter and section numbers

2019-11-07 Thread Hans Hagen
On 11/7/2019 10:25 AM, Otared Kavian wrote: Hi, In a math text book, I would like to create an index of some material where chapter and section numbers are given instead of a page number. For instance if the result « 3.2.5 Banach Fixed Point Theorem » is stated in section 2 of chapter 3, and

[NTG-context] index with chapter and section numbers

2019-11-07 Thread Otared Kavian
Hi, In a math text book, I would like to create an index of some material where chapter and section numbers are given instead of a page number. For instance if the result « 3.2.5 Banach Fixed Point Theorem » is stated in section 2 of chapter 3, and is the fifth numbered statement in that

Re: [NTG-context] Cross references to column numbers

2019-09-10 Thread Henning Hraban Ramm
Am 2019-09-10 um 13:16 schrieb Hans Hagen : > > On 9/9/2019 10:05 PM, Henri Menke wrote: >> Bump >> On 9/3/19 4:46 AM, Oliver von Criegern wrote: >>> Dear list members, >>> >>> is there any way to get a cross reference to a column in a two column >>> layout? > > yes and no: > > no : there is n

Re: [NTG-context] Cross references to column numbers

2019-09-10 Thread Oliver von Criegern
egern: Dear list members, how can I create cross references to column numbers? I have a two column layout with column numbers in the header instead of page numbers (actually, these column numbers are calculated from the page numbers). Now I want to create a cross reference that returns the c

Re: [NTG-context] Cross references to column numbers

2019-09-10 Thread Hans Hagen
left or in the right column. How to achieve this? This is the more simplified version of the my previous question cited below. Best regards, Oliver. Am 12.08.19 um 15:26 schrieb Oliver von Criegern: Dear list members, how can I create cross references to column numbers? I have a two column l

Re: [NTG-context] Cross references to column numbers

2019-09-09 Thread Henri Menke
ow to achieve this? > > This is the more simplified version of the my previous question cited below. > > Best regards, > Oliver. > > > Am 12.08.19 um 15:26 schrieb Oliver von Criegern: >> Dear list members, >> >> how can I create cross references to

Re: [NTG-context] Cross references to column numbers

2019-09-02 Thread Oliver von Criegern
question cited below. Best regards, Oliver. Am 12.08.19 um 15:26 schrieb Oliver von Criegern: Dear list members, how can I create cross references to column numbers? I have a two column layout with column numbers in the header instead of page numbers (actually, these column numbers are calculated

[NTG-context] Cross references to column numbers

2019-08-12 Thread Oliver von Criegern
Dear list members, how can I create cross references to column numbers? I have a two column layout with column numbers in the header instead of page numbers (actually, these column numbers are calculated from the page numbers). Now I want to create a cross reference that returns the column

Re: [NTG-context] I (metapost) can't handle numbers bigger than 32767.99998

2019-07-05 Thread Zhichu
oking forward to “some” module :-) -- From:Hans Hagen Send Time:2019 Jul. 5 (Fri.) 17:03 To:陈之初 ; mailing list for ConTeXt users Subject:Re: [NTG-context] I (metapost) can't handle numbers bigger than 32767.8 On 7/5/2019 8:32 AM, Zhichu wrote: > Hi

Re: [NTG-context] I (metapost) can't handle numbers bigger than 32767.99998

2019-07-05 Thread Hans Hagen
esn't make much sense I think, as the font stuff comes from mf which is 8 bit. So, these character numbers (and simensions) are not really saying much, other than that they're properties of a figure. (In context lmtx there will likely be some module for mp fonts. We can already do a l

[NTG-context] I (metapost) can't handle numbers bigger than 32767.99998

2019-07-04 Thread Zhichu
) withcolor darkred ; endglyph ; and I got: ! Enormous number has been reduced. l.60 beginzhglyph(38498 ); I can't handle numbers bigger than 32767.8; so I've changed your constant to that maximum amount. =

[NTG-context] chapter-number prefixes on figure, etc, numbers, even in unnumbered section appearing in TOC

2019-05-31 Thread Sanjoy Mahajan
Dear List, The following, it seems, is a recurring question, which I had hoped to solve by digging in the test suite -- but no luck. The problem is to have figures, list items, problems, etc. numbered with a chapter prefix (e.g. Figure 7.18) even in unn

Re: [NTG-context] index "compress" option / collapsing of page numbers

2019-04-03 Thread Henning Hraban Ramm
Am 2019-04-03 um 13:30 schrieb Hans Hagen : > On 4/3/2019 10:56 AM, Henning Hraban Ramm wrote: >> Am 2019-04-02 um 18:53 schrieb Hans Hagen : >>> On 4/2/2019 11:54 AM, Henning Hraban Ramm wrote: Ahoi, with \setupregister[compress=yes], index entries 1,2,3,4 become 1–4. That’s great

Re: [NTG-context] index "compress" option / collapsing of page numbers

2019-04-03 Thread Hans Hagen
On 4/3/2019 10:56 AM, Henning Hraban Ramm wrote: Am 2019-04-02 um 18:53 schrieb Hans Hagen : On 4/2/2019 11:54 AM, Henning Hraban Ramm wrote: Ahoi, with \setupregister[compress=yes], index entries 1,2,3,4 become 1–4. That’s great. But (at least in German publications) it’s usual that 1,2 beco

Re: [NTG-context] index "compress" option / collapsing of page numbers

2019-04-03 Thread Herbert Voss
record: “ff.” for page ranges is now discouraged in most scholarly publications; journals and publishers now say f. for x - x+1, or exact page numbers. it has nothing do do with "folgende", but it is often used because it means nearly the same. folium = { de = {”f”, ”ff”},

Re: [NTG-context] index "compress" option / collapsing of page numbers

2019-04-03 Thread Thomas A. Schmitz
or page ranges is now discouraged in most scholarly publications; journals and publishers now say f. for x - x+1, or exact page numbers. Thomas ___ If your question is of interest to others as well, please add

Re: [NTG-context] index "compress" option / collapsing of page numbers

2019-04-03 Thread Ulrike Fischer
Am Wed, 3 Apr 2019 10:56:21 +0200 schrieb Henning Hraban Ramm: > or is there a need to collapse pages in bibliographies? there can be such page ranges with ff both in the bibliography and the citation. But normally you input them hard coded as you know it in advance (in biblatex as 1\psq or 1\ps

Re: [NTG-context] index "compress" option / collapsing of page numbers

2019-04-03 Thread Henning Hraban Ramm
Am 2019-04-02 um 18:53 schrieb Hans Hagen : > On 4/2/2019 11:54 AM, Henning Hraban Ramm wrote: >> Ahoi, >> with \setupregister[compress=yes], index entries 1,2,3,4 become 1–4. That’s >> great. >> But (at least in German publications) it’s usual that 1,2 becomes 1f. and >> 1,2,3 becomes 1ff. >> I

Re: [NTG-context] index "compress" option / collapsing of page numbers

2019-04-02 Thread Hans Hagen
On 4/2/2019 11:54 AM, Henning Hraban Ramm wrote: Ahoi, with \setupregister[compress=yes], index entries 1,2,3,4 become 1–4. That’s great. But (at least in German publications) it’s usual that 1,2 becomes 1f. and 1,2,3 becomes 1ff. Is it possible to configure it that way? it should not be to

[NTG-context] index "compress" option / collapsing of page numbers

2019-04-02 Thread Henning Hraban Ramm
Ahoi, with \setupregister[compress=yes], index entries 1,2,3,4 become 1–4. That’s great. But (at least in German publications) it’s usual that 1,2 becomes 1f. and 1,2,3 becomes 1ff. Is it possible to configure it that way? Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden

Re: [NTG-context] Omitting part number in chapter numbers

2019-02-20 Thread Wolfgang Schuster
startpart[title={Part2}] \startchapter[title={Chapter3}] \input knuth \stopchapter \stoppart \stoptext I can make chapter numbers flow independently of parts, which is nice. But the numbering for chapters is like 1.1, 1.2, and 2.3, which is a good default, but not what I want. Is there any way to o

[NTG-context] Omitting part number in chapter numbers

2019-02-19 Thread Simon Collier
}] \input knuth \stopchapter \stoppart \stoptext I can make chapter numbers flow independently of parts, which is nice. But the numbering for chapters is like 1.1, 1.2, and 2.3, which is a good default, but not what I want. Is there any way to omit part number and get only the chapter number disp

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-06 Thread Hans Åberg
> On 6 Dec 2018, at 15:23, Wolfgang Schuster > wrote: > > The force key is valid for the \definefallbackfamily command, e.g. > > \definefallbackfamily [...] [...] [range={...},force=yes] I tried to test it with the code below, but then it selects the stixtwomath glyphs. So possibly the forc

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-06 Thread Wolfgang Schuster
Hans Åberg schrieb am 06.12.18 um 15:18: On 2 Dec 2018, at 19:01, Hans Hagen wrote: This super/supscript stuff is a bit more tricky because when a superscript 2 is in the font, and a superscript 3 isn't, using a fake ^3 alongside that ^2 quite certainly will look bad because the 2 is normal

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-06 Thread Hans Åberg
> On 2 Dec 2018, at 19:01, Hans Hagen wrote: > > This super/supscript stuff is a bit more tricky because when a superscript 2 > is in the font, and a superscript 3 isn't, using a fake ^3 alongside that ^2 > quite certainly will look bad because the 2 is normally of a different design > that a

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-02 Thread Hans Åberg
> On 2 Dec 2018, at 19:01, Hans Hagen wrote: > > On 12/2/2018 6:33 PM, Hans Åberg wrote: >> Maybe as a part of general features: A font fallback that selects the >> character from a sequence of fonts if not available, which could involve >> ranges, too, but not necessarily. And being able to h

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-02 Thread Hans Hagen
On 12/2/2018 6:33 PM, Hans Åberg wrote: On 2 Dec 2018, at 16:55, Hans Hagen wrote: On 12/2/2018 3:44 PM, Hans Åberg wrote: On 2 Dec 2018, at 10:19, Henning Hraban Ramm wrote: STIX fonts don’t contain super and subscript numbers. They are in STIX Two, so I can get them using

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-02 Thread Hans Åberg
> On 2 Dec 2018, at 16:55, Hans Hagen wrote: > > On 12/2/2018 3:44 PM, Hans Åberg wrote: >>> On 2 Dec 2018, at 10:19, Henning Hraban Ramm wrote: >>> >>> STIX fonts don’t contain super and subscript numbers. >> They are in STIX Two, so I can get t

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-02 Thread Hans Hagen
On 12/2/2018 3:44 PM, Hans Åberg wrote: On 2 Dec 2018, at 10:19, Henning Hraban Ramm wrote: STIX fonts don’t contain super and subscript numbers. They are in STIX Two, so I can get them using: \definefontfamily[stix-two][mono][Stix Two Text] \definefontfamily[stix-two][math][Stix Two

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-02 Thread Hans Åberg
> On 2 Dec 2018, at 10:19, Henning Hraban Ramm wrote: > > STIX fonts don’t contain super and subscript numbers. They are in STIX Two, so I can get them using: \definefontfamily[stix-two][mono][Stix Two Text] \definefontfamily[stix-two][math][Stix Two Math] \setupbodyfont[stix

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-02 Thread Henning Hraban Ramm
STIX fonts don’t contain super and subscript numbers. Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD Am 2018-12-01 um 23:30 schrieb Hans Åberg : > Only some of the Unicode subscript and superscript numbers and si

[NTG-context] Typing Unicode subscript and superscript numbers

2018-12-01 Thread Hans Åberg
Only some of the Unicode subscript and superscript numbers and signs show up in the example below in the typing and text environments, though all correct in the formula environment. — \setupbodyfont[stix,10pt] \starttext \startformula \startalign \NC 𝑨₀ 0 ₁ 1 ₂ 2 ₃ 3 ₄ 4 ₅ 5 ₆ 6

Re: [NTG-context] vertically centering line numbers

2018-12-01 Thread Pablo Rodriguez
On 12/1/18 9:49 AM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 30.11.18 um 19:29: >> [...] >> Is there a way to center vertically the line numbers? > > \defineshift [RaiseNumber] [dy=-0.25,style=\tfxx] > > \setuplinenumbering [step=3,command=\RaiseNumber

Re: [NTG-context] vertically centering line numbers

2018-12-01 Thread Wolfgang Schuster
line numbers? \defineshift [RaiseNumber] [dy=-0.25,style=\tfxx] \setuplinenumbering [step=3,command=\RaiseNumber] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki

[NTG-context] vertically centering line numbers

2018-11-30 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuplinenumbering[step=3, style=\tfxx] \starttext \startlinenumbering \dorecurse{40}{This is a verse.\\} \stoplinenumbering \stoptext Is there a way to center vertically the line numbers? Many thanks for your help, Pablo

Re: [NTG-context] Align TOC section numbers flushright

2018-06-26 Thread Idris Samawi Hamid ادريس سماوي حامد
On Mon, 25 Jun 2018 14:20:03 -0600, Wolfgang Schuster wrote: If one turns on \showframe, one sees that the width value does not prevent crossing the left side of the textblock (a good thing). OTOH, getting the TOC numerals to lineup with the left side is a matter of trial and error. [width=1.

Re: [NTG-context] Align TOC section numbers flushright

2018-06-25 Thread Wolfgang Schuster
Idris Samawi Hamid ادريس سماوي حامد 25. Juni 2018 um 21:42 On Mon, 25 Jun 2018 13:17:40 -0600, Wolfgang Schuster wrote: Idris Samawi Hamid ادريس سماوي حامد schrieb: \setuphead[chapter] [conversion=R] \setuplist[chapter][width=2.8em] \definecombinedl

Re: [NTG-context] Align TOC section numbers flushright

2018-06-25 Thread Idris Samawi Hamid ادريس سماوي حامد
On Mon, 25 Jun 2018 13:17:40 -0600, Wolfgang Schuster wrote: Idris Samawi Hamid ادريس سماوي حامد schrieb: \setuphead[chapter] [conversion=R] \setuplist[chapter][width=2.8em] \definecombinedlist [content] [chapter] [level=chapter, alternative=c, numberalign=flushright] Use \setuplist

Re: [NTG-context] Align TOC section numbers flushright

2018-06-25 Thread Wolfgang Schuster
Idris Samawi Hamid ادريس سماوي حامد schrieb: \setuphead[chapter] [conversion=R] \setuplist[chapter][width=2.8em] \definecombinedlist [content] [chapter] [level=chapter, alternative=c, numberalign=flushright] Use \setuplist to change the numeralign setting, you need also a distance value.

[NTG-context] Align TOC section numbers flushright

2018-06-25 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Trying to get the sectioning numerals in the left margin of the TOC to be fushright; by default they are flushleft; see attached and below: === \setuphead[chapter] [conversion=R] \setuplist[chapter][width=2.8em] \definecombinedlist [content] [chapter] [level=chapter, alternati

Re: [NTG-context] Table of Contents sectioning numbers in margin + oddity

2018-06-25 Thread Idris Samawi Hamid ادريس سماوي حامد
On Mon, 25 Jun 2018 01:10:18 -0600, Wolfgang Schuster wrote: Idris Samawi Hamid ادريس سماوي حامد 25. Juni 2018 um 01:17 On Sun, 24 Jun 2018 17:09:02 -0600, Wolfgang Schuster wrote: 2. Oddity: Why does the TOC in the attached example default to a monospa

Re: [NTG-context] Table of Contents sectioning numbers in margin + oddity

2018-06-25 Thread Wolfgang Schuster
Idris Samawi Hamid ادريس سماوي حامد 25. Juni 2018 um 01:17 On Sun, 24 Jun 2018 17:09:02 -0600, Wolfgang Schuster wrote: 2. Oddity: Why does the TOC in the attached example default to a monospaced font? You put \placecontent before \starttext but the defa

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