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

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

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

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

2020-06-14 Thread Wolfgang Schuster
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=start

[NTG-context] Wrong page numbers in frontmatter

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

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

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

[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

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,

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

Re: [NTG-context] chapter numbers

2020-06-08 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

Re: [NTG-context] chapter numbers

2020-06-08 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

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

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

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

[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 rotati

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

[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 eac

[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

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; \stopcolumns >> \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: page 1

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

2019-11-15 Thread Oliver von Criegern
, 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 target

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

2019-11-12 Thread Oliver von Criegern
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 column

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

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

[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

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

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

2019-09-10 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] Cross references to column numbers

2019-09-10 Thread Hans Hagen
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 layout

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

2019-09-09 Thread Henri Menke
mn. 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

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
o “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 everyone, > &

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 lot but the

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

2019-07-05 Thread Zhichu
r 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. So

[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

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

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

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

2019-04-03 Thread Herbert Voss
. And for the 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

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

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

[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

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

2019-02-20 Thread Wolfgang Schuster
part[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 omit p

[NTG-context] Omitting part number in chapter numbers

2019-02-19 Thread Simon Collier
nput 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 displayed

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

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

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

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

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
the 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.

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]

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

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

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

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

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

2018-06-25 Thread Wolfgang Schuster
Idris Samawi Hamid ادريس سماوي حامد <mailto:idris.ha...@colostate.edu> 25. Juni 2018 um 00:46 Dear gang, mtx-context | current version: 2018.06.24 18:28 In the attached and below, we want sectioning numbers placed and naturally aligned in the margin: === \definecombin

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

2018-06-24 Thread Idris Samawi Hamid ادريس سماوي حامد
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 default fonts are loaded after \starttext. When you now put text in a box before \starttext a

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

2018-06-24 Thread Wolfgang Schuster
Idris Samawi Hamid ادريس سماوي حامد <mailto:idris.ha...@colostate.edu> 25. Juni 2018 um 00:46 Dear gang, mtx-context | current version: 2018.06.24 18:28 In the attached and below, we want sectioning numbers placed and naturally aligned in the margin: === \definecombin

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

2018-06-24 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, mtx-context | current version: 2018.06.24 18:28 In the attached and below, we want sectioning numbers placed and naturally aligned in the margin: === \definecombinedlist % \setuplist[] [content] [section] [level=section, alternative=c, criterium=local] \setuphead[section

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread MF
> This would be a solution: > > Index term, and some > text > 21, 34, 45, 72, 89, >101, 103, 109 > > where the rule is: when the numbers exceed the text width, close the > paragraph, then start a new, right a

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread MF
\wordright is ok until the numbers don't exceed the text width. It manages these two cases right: Index term, and some text 21, 34, 45, 72 Index term, and some text 21, 34, 45, 72, 89 When the numbers exceed the text width, it fails: Index term, and some text 21, 34, 45, 72, 89, 101, 103

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread Hans Hagen
On 5/10/2018 12:35 PM, MF wrote: This is a more polite version, that lets you restore the original macros. \let\origstartregisterpages=\startregisterpages% \let\origstopregisterpages=\stopregisterpages% \def\setupregisterpagescommand#1{%

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread Wolfgang Schuster
The following solution which adds two additional keys (pageleft and pageright) is cleaner because it doesn’t have to overload commands. \unprotect \unexpanded\def\startregisterpages {\begingroup \dostarttagged\t!registerpages\empty \useregisterstyleandcolor\c!pagestyle\c!pagecolor

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread MF
This is a more polite version, that lets you restore the original macros. \let\origstartregisterpages=\startregisterpages% \let\origstopregisterpages=\stopregisterpages% \def\setupregisterpagescommand#1{% \unexpanded\def\startregisterpages{\origstartregisterpages#1\bgroup }

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread MF
Thanks Wolfgang and sorry if i reply to my mail, since i've downloaded yours on another PC. I've found these macros in strc-reg.mkiv, that are called right before and after the page numbers: \unexpanded\def\startregisterpages {\begingroup \dostarttagged\t!registerpages\empty

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-09 Thread Wolfgang Schuster
There is no option to apply a command to all page numbers but you can add something after the register entry with the textcommand key. Be aware this solution isn’t perfect because in the worst case (narrow columns for the register or long entries) page numbers can be split on multiple lines

[NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-09 Thread MF
Hello list, i'd like moving the page numbers in my index to the right, with a \wordright. \setupregister[index][n=1,alternative=A] \starttext \CONTEXT\index{\ConTeXt} \page \LATEX\index{\LaTeX} \page \CONTEXT\index{\ConTeXt} \page \placeindex \stoptext The index is at page 4. I want to move

Re: [NTG-context] Missing Chapter Numbers

2017-10-22 Thread Pablo Rodriguez
On 10/22/2017 08:59 PM, Thangalin wrote: > The following code does not hide the headings: > [..] > The following code also does not hide the headings: > [...] > However, adding "section" makes the sub- and subsubsections hide as expected: > [...] Hi Thangalin, I’m afraid that it doesn’t work as

Re: [NTG-context] Missing Chapter Numbers

2017-10-22 Thread Thangalin
The following code does not hide the headings: \setuphead[subsection][ placehead=no, number=no, ] % placehead=hidden breaks the counters? \setuphead[subsubsection][ placehead=no, number=no, ] \starttext \chapter{chapter} chapter \section{section} section \section{subsection}

Re: [NTG-context] size of footnote numbers

2017-09-30 Thread Otared Kavian
typeset in a smaller type (via > \switchtobodyfont in a defined startstop). > > Now the author insists that their footnote numbers should have the same size > as in the body text. > Since the footnotes are mostly source annotations at the end, it makes some > sense. >

Re: [NTG-context] size of footnote numbers

2017-09-30 Thread Pablo Rodriguez
On 09/29/2017 01:34 PM, Henning Hraban Ramm wrote: > Ahoi, > > in my current book there are some quotations typeset in a smaller > type (via \switchtobodyfont in a defined startstop). > > Now the author insists that their footnote numbers should have the > same size as in t

[NTG-context] size of footnote numbers

2017-09-29 Thread Henning Hraban Ramm
Ahoi, in my current book there are some quotations typeset in a smaller type (via \switchtobodyfont in a defined startstop). Now the author insists that their footnote numbers should have the same size as in the body text. Since the footnotes are mostly source annotations at the end, it makes

Re: [NTG-context] Line numbers in output

2017-08-21 Thread Roger Mason
"Schmitz Thomas A." <thomas.schm...@uni-bonn.de> writes: > http://wiki.contextgarden.net/Command/startlinenumbering is what you > find when you search for “linenumbering” on the wiki. Thanks Thomas. I searched on 'context garden add line nu

Re: [NTG-context] Line numbers in output

2017-08-21 Thread Schmitz Thomas A.
> On 21. Aug 2017, at 16:25, Roger Mason <rma...@mun.ca> wrote: > > > Is there a switch to enable lines to be numbered in the output pdf > document? I have seen the garden entries on numbering for sections of > verbatim text but I would like the whole document to

[NTG-context] Line numbers in output

2017-08-21 Thread Roger Mason
Hello, Is there a switch to enable lines to be numbered in the output pdf document? I have seen the garden entries on numbering for sections of verbatim text but I would like the whole document to have line numbers. My ConTEXt version is 2016.01.04 15:47. Maybe it is time to update! Thanks

Re: [NTG-context] Formula numbers in RTL mode

2017-05-28 Thread Hans Hagen
On 5/26/2017 5:02 AM, Mohammad Hossein Bateni wrote: For the record, here is my solution until the issue is fixed for RTL. \setupformula[distance=0pt] This causes the formula numbers to be at the proper place for left/right as well as LTR/RTL. It prevents some custom placement of the formula

Re: [NTG-context] Formula numbers in RTL mode

2017-05-25 Thread Mohammad Hossein Bateni
For the record, here is my solution until the issue is fixed for RTL. \setupformula[distance=0pt] This causes the formula numbers to be at the proper place for left/right as well as LTR/RTL. It prevents some custom placement of the formula number, which I do not care about. —MHB On Mon, May

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