Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi Hans, On Mon, 03 Aug 2015 09:13:34 -0600, Hans Hagen pra...@wxs.nl wrote: On 8/3/2015 4:56 PM, Hans Hagen wrote: what would be the proper name for such a conversion? simplearabic? arabicdigits? [myconversion] [١,٢,٣,٤,٥,٦,٧,٨,٩,١٠, ١١,١٢,١٣,١٤,١٥,١٦,١٧,١٨,١٩,٢٠,

Re: [NTG-context] Numbering subformulas

2015-08-03 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, some more observation: It seems (sub)numbering (sub)formulas can be achieved enclosing expressions into \start/\stop-align. I wrote a code based on a test suite file: ...\test\doc\context\tests\mkiv\math\formulas-001.tex \starttext \startsubformulas[eq:sub1]

Re: [NTG-context] Colored descriptions

2015-08-03 Thread Eric Détrez
Le 03-08-2015 16:15, Procházka Lukáš Ing. - Pontex s. r. o. a écrit : Hello, On Mon, 03 Aug 2015 15:31:49 +0200, Eric Détrez i...@eric-detrez.fr wrote: I wish to write a text where there are definitions, theorems, ... I wish to get a table of definitions at the end so I think the right tool

Re: [NTG-context] No output for no apparent reason

2015-08-03 Thread Matt Gushee
Hi, Wolfgang-- On Mon, Aug 3, 2015 at 1:18 AM, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Is it possible that your main file of your document is a project? When this is the case change this file to a product and all subfiles into components. Yes, that was the problem. And I can

Re: [NTG-context] noheaderandfooterlines messes with colors

2015-08-03 Thread Aditya Mahajan
On Mon, 3 Aug 2015, Hans Hagen wrote: \hbox\bgroup\forcecolorhack\starttikzpicture \draw(0,2) node[color=red]{This should be red}; \draw(0,0) node[color=red]{This is red}; \stoptikzpicture\egroup Tikz colors are broken when using anything other than red, blue, or green. I know that

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread Hans Hagen
On 8/3/2015 5:42 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Hi Hans, On Mon, 03 Aug 2015 09:13:34 -0600, Hans Hagen pra...@wxs.nl wrote: On 8/3/2015 4:56 PM, Hans Hagen wrote: what would be the proper name for such a conversion? simplearabic? arabicdigits? [myconversion]

Re: [NTG-context] Colored descriptions

2015-08-03 Thread Hans Hagen
On 8/3/2015 3:31 PM, Eric Détrez wrote: I wish to write a text where there are definitions, theorems, ... I wish to get a table of definitions at the end so I think the right tool is description. But I want the head or/and the main text have colored background. Is it possible ? I tried

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread Idris Samawi Hamid ادريس سماوي حامد
On Mon, 03 Aug 2015 09:42:24 -0600, Idris Samawi Hamid ادريس سماوي حامد idris.ha...@colostate.edu wrote: U+: [0030-0039] - [0660-0669]: arabicdecimals U+: [0030-0039] - [06F0-06F9]: persiandecimals U+: [0030-0039]: latindecimals Just a reminder (and of course unicodedata.txt has this

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread Idris Samawi Hamid ادريس سماوي حامد
On Mon, 03 Aug 2015 09:56:33 -0600, Hans Hagen pra...@wxs.nl wrote: On 8/3/2015 5:42 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Hi Hans, On Mon, 03 Aug 2015 09:13:34 -0600, Hans Hagen pra...@wxs.nl wrote: On 8/3/2015 4:56 PM, Hans Hagen wrote: what would be the proper name for such a

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread tala...@fastmail.fm
Just to note: all numbers in the body text are having their digits placed individually right-to-left. Notice, in the attached PDF, how the ١٤ is displayed as ٤١, and how ١٨٧٢ is ٢٧٨١ … but also the footnote marker is ٣١ instead of ١٣ as it correctly is below in the footnote itself. Is there

Re: [NTG-context] Numbering subformulas

2015-08-03 Thread Aditya Mahajan
On Mon, 3 Aug 2015, Procházka Lukáš Ing. - Pontex s. r. o. wrote: So, finally, what is the PROPER way (if it really exists) in ConTeXt how to typeset subformulas? I am not sure when the subformula numbering broke, but I can confirm that it is not working with the latest beta. @Hans, what

[NTG-context] Label at start of paragraph suppresses indentation

2015-08-03 Thread Rik Kabel
A label at the start of a paragraph suppresses indentation. Should it? \setupindenting[yes,small] \definelabel[xx][text=,alternative=inright] Paragraph one. \xx{}Paragraph two. Paragraph\xx{} three. \stoptext -- Rik

[NTG-context] \defineprocessor and \at

2015-08-03 Thread Rik Kabel
Should processors work with references? I would think that they should, but the following fails. (My backmatter page numbers need to be marked to distinguish them from bodymatter pages. I can automate applying a processor based on the location for index register entries, but not for

[NTG-context] new beta

2015-08-03 Thread Hans Hagen
Hi, I uploaded a new beta. The reported bidi issue with footnotes had to do with some unhboxing that doesn't play well with the bidi analyzers, i.e. in case of new text unhboxed done text new text the done text is already treated. I now use a slightly different implementation. I also

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread Hans Hagen
On 8/3/2015 9:25 PM, Otared Kavian wrote: Hi Hans, Idris, Talal, Some years ago we had a discussion on the issue, but I don’t remember where we ended up… In my opinion, I think that the numberings should be maned as follows: arabicnumerals: should be ١,٢,٣,٤,٥,٦,٧,٨,٩,٠ persiannumerals:

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread tala...@fastmail.fm
Hans, the beta is a solid step forward regarding bidi and Arabic support, and not just in footnotes. Thank you. However, it appears that my earlier declarations of ‘problem solved’ were a bit premature. Footnotes display everything correctly, but not linenumber notes. Using the three bidi

[NTG-context] Formatting TOC

2015-08-03 Thread robheus
Hello list, I need some adjustments to my TOC and chapter titles. 1. The title and the title of every chapter need to be indented (leaving enough room 2. The title of part does not need to be indented, but uses two consecutive lines, preceded and followed with a blank line, as follows

Re: [NTG-context] Questions around my page design

2015-08-03 Thread Hans Hagen
On 8/3/2015 10:47 AM, Fabrice Couvreur wrote: Hi, I wish the numérotion pages is reversed at each new page: right left right pass two extra arguments \setuppagenumbering[alternative=doublesided] \setupheadertexts[a][b][c][d] I wish the bottom of the title page of each section of the

Re: [NTG-context] Formatting footnotes

2015-08-03 Thread Wolfgang Schuster
robheus mailto:robh...@xs4all.nl 3. August 2015 11:31 Hello list, I want some adjustments to my footnotes. 1. The note number in the footnote needs to be normal instead of superscript. 2. The placement of the number is now in the margin, but needs to be in the normal starting position of

[NTG-context] Formatting footnotes

2015-08-03 Thread robheus
Hello list, I want some adjustments to my footnotes. 1. The note number in the footnote needs to be normal instead of superscript. 2. The placement of the number is now in the margin, but needs to be in the normal starting position of body text. Of course the foot note texts then has to

Re: [NTG-context] noheaderandfooterlines messes with colors

2015-08-03 Thread Hans Hagen
On 8/3/2015 10:38 AM, Eric Détrez wrote: Le 01-08-2015 22:32, Aditya Mahajan a écrit : On Sat, 1 Aug 2015, Eric Détrez wrote: Here is a minimal example : \usemodule[tikz] \starttext \noheaderandfooterlines \starttikzpicture \draw(0,2) node[color=red]{This should be red}; \draw(0,0)

Re: [NTG-context] Questions around my page design

2015-08-03 Thread Wolfgang Schuster
Fabrice Couvreur mailto:fabrice1.couvr...@gmail.com 3. August 2015 10:47 Hi, I wish the numérotion pages is reversed at each new page: right left right ... ConTeXt documents are by default single sided with no distinction between left and right pages, when you want left/right pages you have to

[NTG-context] Numbering subformulas

2015-08-03 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, it seems this is a frequent thesis - in the mailing archive, stackoverflow... Anyway, I'm not able to find a valid way (MWE) how to number subformulas (with option to create a reference name, like 'eq:1a' and 'eq:1b', and to be able to refer to them, like \ineq[eq:1a] and

[NTG-context] Questions around my page design

2015-08-03 Thread Fabrice Couvreur
Hi, I wish the numérotion pages is reversed at each new page: right left right ... I wish the bottom of the title page of each section of the current page. Thanks for your help, Fabrice \setuppagenumbering [location=] \setupheadertexts [margin] [][\hfill\pagenumber\hfill]

Re: [NTG-context] No output for no apparent reason

2015-08-03 Thread Wolfgang Schuster
Matt Gushee mailto:m...@gushee.net 3. August 2015 07:52 Hello, ConTeXt people-- I am coming back to ConTeXt after a long absence (for about the 3rd or 4th time - maybe if I just stuck with it I wouldn't keep having these problems, eh?). I have a new installation of the standalone ConTeXt

Re: [NTG-context] noheaderandfooterlines messes with colors

2015-08-03 Thread Eric Détrez
Le 01-08-2015 22:32, Aditya Mahajan a écrit : On Sat, 1 Aug 2015, Eric Détrez wrote: Here is a minimal example : \usemodule[tikz] \starttext \noheaderandfooterlines \starttikzpicture \draw(0,2) node[color=red]{This should be red}; \draw(0,0) node[color=red]{This is red}; \stoptikzpicture

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread Hans Hagen
what would be the proper name for such a conversion? simplearabic? arabicdigits? [myconversion] [١,٢,٣,٤,٥,٦,٧,٨,٩,١٠, ١١,١٢,١٣,١٤,١٥,١٦,١٧,١٨,١٩,٢٠, ۲۱,۲۲,۲۳,۲٤,۲٥,۲٦,۲۷,۲۸,۲۹,۳۰, another million entries Hans -

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread Hans Hagen
On 8/3/2015 4:56 PM, Hans Hagen wrote: what would be the proper name for such a conversion? simplearabic? arabicdigits? [myconversion] [١,٢,٣,٤,٥,٦,٧,٨,٩,١٠, ١١,١٢,١٣,١٤,١٥,١٦,١٧,١٨,١٩,٢٠, ۲۱,۲۲,۲۳,۲٤,۲٥,۲٦,۲۷,۲۸,۲۹,۳۰, another million entries the next beta will have:

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread Hans Hagen
On 8/3/2015 3:54 PM, tala...@fastmail.fm wrote: I am having problems with the directionality of numbers and mirrored characters (like parentheses). When using bidi, the numbers are inverted (5102 instead of 2015); with the explicit commands, the mirrored characters are inverted as well. we

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread tala...@fastmail.fm
Well, I don’t know if ‘solves’ the underlying questions that Hans wrote about, but after some more fiddling, I now have all the numbers appearing as I expect them to. It required specifying `method=two` as part of `\setupdirections[bidi=global,method=two]`. That, along with the

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread Otared Kavian
Hi Hans, Idris, Talal, Some years ago we had a discussion on the issue, but I don’t remember where we ended up… In my opinion, I think that the numberings should be maned as follows: arabicnumerals: should be ١,٢,٣,٤,٥,٦,٧,٨,٩,٠ persiannumerals: should be ۱ ۲ ۳ ۴ ۵ ۶ ۷ ۸ ۹ ۰ abjadnumerals:

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-08-03 Thread tala...@fastmail.fm
In a separate thread ("r2l alignment and linenumbering conflict?"), we've gotten numerals in an Arabic RTL document to (a) display as Arabic numerals, and (b) to order their digits in the right order (e.g. 2015 instead of 5102). By defining the headstyle of linenotes, we can even get linenotes to

[NTG-context] Floating dimensions that adapts automaticall

2015-08-03 Thread Fabrice Couvreur
Hi, In the code below, we can see that the table overflows. Of course, one can play on the table dimensions to adjust its position. However it is possible to define a floating whose dimensions automatically adapt to the available space ? Thank you, Fabrice \definefloat [MyFloat] [figure]

Re: [NTG-context] Questions around my page design

2015-08-03 Thread Fabrice
Hi Hans and Wolfgang, Numbering and not Numérotion ! :-[ I already noticed that there are two suggestions for my first request, where the power of Context ! Sorry, but in my example, I do not see the difference between \setuppagenumbering [alternative = {singlesided, doublesided}] and

Re: [NTG-context] Arabic/Hindi numerals in layout structures (headers, page numbers, etc.)

2015-08-03 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 02 Aug 2015 20:24:50 -0600, tala...@fastmail.fm tala...@fastmail.fm wrote: But, in any case, the solution of Wolfgang solves my immediate problem. It would, of course, be nice not to have had to type out many lines of numbers (the Arabic edition has more than 250 sections, i.e.

Re: [NTG-context] Questions around my page design

2015-08-03 Thread Hans Hagen
On 8/3/2015 1:19 PM, Fabrice wrote: Hi Hans and Wolfgang, Numbering and not Numérotion ! :-[ I already noticed that there are two suggestions for my first request, where the power of Context ! Sorry, but in my example, I do not see the difference between \setuppagenumbering [alternative =

[NTG-context] Colored descriptions

2015-08-03 Thread Eric Détrez
I wish to write a text where there are definitions, theorems, ... I wish to get a table of definitions at the end so I think the right tool is description. But I want the head or/and the main text have colored background. Is it possible ? I tried

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread tala...@fastmail.fm
I am having problems with the directionality of numbers and mirrored characters (like parentheses). When using bidi, the numbers are inverted (5102 instead of 2015); with the explicit commands, the mirrored characters are inverted as well.For reasons I think I understand, this is only happening in

Re: [NTG-context] Colored descriptions

2015-08-03 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, On Mon, 03 Aug 2015 15:31:49 +0200, Eric Détrez i...@eric-detrez.fr wrote: I wish to write a text where there are definitions, theorems, ... I wish to get a table of definitions at the end so I think the right tool is description. But I want the head or/and the main text have colored