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

2015-08-03 Thread tala...@fastmail.fm
. Is there any temporary work around for this, until we sort out the underlying causes? Talal PastedGraphic-1.pdf Description: Adobe PDF document On 3 Aug 2015, at 16:19, Hans Hagen pra...@wxs.nl wrote: On 8/3/2015 3:54 PM, tala...@fastmail.fm wrote: I am having problems with the directionality

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

2015-07-30 Thread tala...@fastmail.fm
I wonder whether anyone might have any thoughts about the below? Many thanks. On 21 Jul 2015, at 20:56, tala...@fastmail.fm wrote: I’m reviving this old thread, as the problem appears to still exist. Consider the following: \starttext \showframe \definenote[afootnote][rule={on,right

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

2015-07-30 Thread tala...@fastmail.fm
On 30 Jul 2015, at 15:26, Pablo Rodriguez oi...@gmx.es wrote: On 07/30/2015 03:00 PM, tala...@fastmail.fm wrote: I wonder whether anyone might have any thoughts about the below? Many thanks. I wonder whether there is a bug somewhere in notes, because you may have r2l notations

[NTG-context] r2l alignment and linenumbering conflict?

2015-07-30 Thread tala...@fastmail.fm
There seems to be some limitation (or bug) in right-to-left (r2l) alignment, when used alongside linenumbering. Consider the following: \setuppapersize[A6] \starttext \showframe \section{Incorrect} \startlinenumbering \startalignment[r2l] Lorem ipsum dolor sit amet, consectetur

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

2015-08-01 Thread tala...@fastmail.fm
2015, at 16:30, tala...@fastmail.fm wrote:There seems to be some limitation (or bug) in right-to-left (r2l) alignment, when used alongside linenumbering. Consider the following:\setuppapersize[A6]\starttext \showframe\section{Incorrect}\startlinenumbering\startalignment[r2l]Lorem ipsum dolor sit

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

2015-08-02 Thread tala...@fastmail.fm
: On 08/02/2015 12:36 AM, tala...@fastmail.fm wrote: I’ve run into a hiccup. In the previous MWE that worked with Woflgang and Hans’ patch, the notes were footnotes. However, if make them into linenotes, we run into a strange problem: the first note is typeset correctly, but all the remaining

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

2015-08-02 Thread tala...@fastmail.fm
non congue. Integer ut dolor vel mi vestibulum molestie vel et nulla. Morbi id justo vitae quam rhoncus tincidunt ut adipiscing nisi. \stoplinenumbering \stoptext All the best, Talal On 1 Aug 2015, at 19:47, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: tala...@fastmail.fm

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

2015-08-01 Thread tala...@fastmail.fm
left corner of the page. See attached files. Best wishes, Talal linenotes r2l.tex Description: Binary data linenotes r2l.pdf Description: Adobe PDF document On 31 Jul 2015, at 12:07, tala...@fastmail.fm wrote: Excellent. This seems to solve the problem completely. I even tried mixing

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

2015-08-02 Thread tala...@fastmail.fm
Aug 2015 03:24:12 -0600, tala...@fastmail.fm tala...@fastmail.fm wrote: Thanks for that, Wolfgang. I can only hope that, as the culprit is known, it can be apprehended! Talal, here is a barbarous workaround using \thinrule: == \setuppapersize[A6] \starttext

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

2015-08-02 Thread tala...@fastmail.fm
...@gmx.es wrote:On 08/02/2015 12:02 PM, tala...@fastmail.fm wrote:Apologies: While the problem remains, I realise now that using "method=one"or "method=two" wasn’t having any effect because I had forgotten to addthe option "align=righttoleft,” to "\setupnotations[

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

2015-08-02 Thread tala...@fastmail.fm
: On Sun, 02 Aug 2015 07:31:37 -0600, tala...@fastmail.fm tala...@fastmail.fm wrote: Thank you very much for this, Idris. It works nicely in the sample file you sent. But it goes off again once you add \setupdirections[bidi=global]. Consider the following: == snip \setupdirections

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

2015-08-03 Thread tala...@fastmail.fm
ward\linenoteone{هذه تعليقة ثانية (٢٠١٤).} \input ward\linenotetwo{هذه تعليقة أولى كتبت عام ٢٠١٤.} \input ward\linenotetwo{هذه تعليقة ثانية (٢٠١٤).} \stoplinenumbering \stoptext \stoptext = num-ar.pdf Description: Adobe PDF document On 3 Aug 2015, at 17:52, tala...@fastmail.fm wrote

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

2015-07-30 Thread tala...@fastmail.fm
] \setupdirections[bidi=global] \stopsetups. On 30 Jul 2015, at 20:04, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: tala...@fastmail.fm mailto:tala...@fastmail.fm 30. Juli 2015 20:37 I’ve come across a snag. When using parentheses in Arabic footnotes, they are flipped. In any

[NTG-context] cross-references between documents in a project (using \useexternaldocument)

2015-08-05 Thread tala...@fastmail.fm
Dear all, I am trying to create cross references between two documents in my project. Links between the two are successfully made, but the actual page numbers are not being printed (which, for my purposes, are what I actually need, not links). Am I doing something wrong, or is this a known bug

Re: [NTG-context] local environment?

2015-08-05 Thread tala...@fastmail.fm
Hans, just to clarify (as I’m still new to the language of ConTeXt): - By ‘style’ you mean environment? - And by ‘common style’ you mean one, single environment document? - Finally, by ‘this assumes that settings are not global’: what settings — the environment? My apologies for the avalanche

[NTG-context] local environment?

2015-08-04 Thread tala...@fastmail.fm
Dear all, What is the replacement for `localenvironment` in project structures? The first part of my book has one layout; the second has another. I have designed one environment for the first part, and another environment for the second. I do not want the first environment to be used for the

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

2015-08-03 Thread tala...@fastmail.fm
عام ١٩٣٤. \footnote{تعليقة لطيفة.} \pagebreak } \stoptext == Best wishes, Talal On 3 Aug 2015, at 17:29, tala...@fastmail.fm wrote: 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

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

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

2015-08-02 Thread tala...@fastmail.fm
, at 00:32, tala...@fastmail.fm wrote: Dear all, When typesetting in Arabic (or, for that matter, other non-Latin scripts), how does one get numerals to appear ‘natively’ in layout structures such as headers, page numbers, line-numbering, and footnote numbers? In the case of Arabic, this means

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

2015-08-02 Thread tala...@fastmail.fm
Dear all, When typesetting in Arabic (or, for that matter, other non-Latin scripts), how does one get numerals to appear ‘natively’ in layout structures such as headers, page numbers, line-numbering, and footnote numbers? In the case of Arabic, this means using the so-called “mashriqi”, or

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

2015-08-02 Thread tala...@fastmail.fm
, and salam, Talal On 3 Aug 2015, at 03:04, Idris Samawi Hamid ادريس سماوي حامد idris.ha...@colostate.edu wrote: Salaam, Talal, See below: On Sun, 02 Aug 2015 17:32:44 -0600, tala...@fastmail.fm mailto:tala...@fastmail.fm tala...@fastmail.fm mailto:tala...@fastmail.fm wrote: Dear

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

2015-08-03 Thread tala...@fastmail.fm
لعالم. ولد عام١٩٣٤.\footnote{تعليقة لطيفة.}\pagebreak}\stoptext= num-ar.pdf Description: Adobe PDF document On 2 Aug 2015, at 18:15, Idris Samawi Hamid ادريس سماوي حامد idris.ha...@colostate.edu wrote:Dear Talal,Salaam. See below:On Sun, 02 Aug 2015 07:31:37 -0600, tala...@fastma

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

2015-07-30 Thread tala...@fastmail.fm
Indeed, that seems to do the trick, Wolfgang. On 30 Jul 2015, at 18:54, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Pablo Rodriguez mailto:oi...@gmx.es30. Juli 2015 16:26 I wonder whether there is a bug somewhere in notes, because you may have r2l notations, but the

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

2015-07-30 Thread tala...@fastmail.fm
I’ve come across a snag. When using parentheses in Arabic footnotes, they are flipped. In any earlier email (http://article.gmane.org/gmane.comp.tex.context/91501/match=setupdirections+bidi+global), you had advised adding the following: \startsetups[note:footnote]

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

2015-07-31 Thread tala...@fastmail.fm
: On 7/31/2015 1:51 AM, tala...@fastmail.fm wrote: You’re right. The patch gets us half way to the desired behaviour (namely, correct ordering of the footnotes within the paragraph). But it seems that the ‘paragraph’ option doesn’t play well with RTL generally, resulting in the second note

Re: [NTG-context] cross-references between documents in a project (using \useexternaldocument)

2015-08-11 Thread tala...@fastmail.fm
with the examples I had posted),but not in MkIV. He speculated that the numbers in the references were not appearing in MkIV due to a bug, or because the feature was not implemented. Best wishes, Talal On 11 Aug 2015, at 10:48, Hans Hagen pra...@wxs.nl wrote: On 8/11/2015 11:00 AM, tala

Re: [NTG-context] cross-references between documents in a project (using \useexternaldocument)

2015-08-11 Thread tala...@fastmail.fm
Schuster schuster.wolfg...@gmail.com wrote: tala...@fastmail.fm mailto:tala...@fastmail.fm 6. August 2015 19:00 Perhaps I might ask a more preliminary question: when using project structure, is cross-document referencing possible between two product files, or only between two component files

Re: [NTG-context] Can \getmarking take more than one argument?

2015-08-09 Thread tala...@fastmail.fm
Many thanks, Hans, as that seems to have done the trick! On 9 Aug 2015, at 11:59, Hans Hagen pra...@wxs.nl wrote: On 8/9/2015 2:42 AM, tala...@fastmail.fm mailto:tala...@fastmail.fm wrote: Hello, I currently use the following to define my even and odd page headers. — \startsetups

Re: [NTG-context] cross-references between documents in a project (using \useexternaldocument)

2015-08-06 Thread tala...@fastmail.fm
Perhaps I might ask a more preliminary question: when using project structure, is cross-document referencing possible between two product files, or only between two component files within a single product file? Kind regards, Talal On 5 Aug 2015, at 13:15, tala...@fastmail.fm wrote: Dear

[NTG-context] Can \getmarking take more than one argument?

2015-08-08 Thread tala...@fastmail.fm
Hello, I currently use the following to define my even and odd page headers. — \startsetups[header] {\doifoddpageelse {\getmarking[section]} {\getmarking[chapter]} } \doiftextelse {\getmarking[chapter]} \stopsetups — The

[NTG-context] reverse page order and reverse page numbering in one part of a book

2015-07-22 Thread tala...@fastmail.fm
Dear all, I am producing a book that is divided into two sections. The book is published in English, and thus it runs left to right. Part one is an academic study in English. Part two is a critical edition of an Arabic text. The book is exactly 100 pages long, with fifty pages going to the

Re: [NTG-context] Critical editions with ConTeXt

2015-07-22 Thread tala...@fastmail.fm
Dear Pablo, Thank you very much for what you proposed — it did work indeed. I tried to achieve the same at some length this afternoon. I think I understand what is going on in the first macro, but wouldn’t have been able to arrive at the the second one for \variant, or the counter (and still

Re: [NTG-context] Upgrade to 2015.11.19 breaks OTF reader?

2015-12-11 Thread tala...@fastmail.fm
verything worked fine. [The source of this discovery was http://tex.stackexchange.com/questions/65038/luatex-cannot-find-existing-font <http://tex.stackexchange.com/questions/65038/luatex-cannot-find-existing-font> ] Talal > On 10 Dec 2015, at 23:10, tala...@fastmail.fm wrote: > > I am

Re: [NTG-context] Upgrade to 2015.11.19 breaks OTF reader?

2015-12-11 Thread tala...@fastmail.fm
read: aḥwāl) > On 10 Dec 2015, at 23:10, tala...@fastmail.fm wrote: > > I am having the same problem as the OP. I have manually edited the > font-otr.lua file as per the patch below, and I deleted the font cache. But > all to no avail. I still get: > > !LuaTeX error: cann

[NTG-context] has the bidi mechanism been changed?

2015-12-11 Thread tala...@fastmail.fm
Has the bidi mechanism (method=one, or method=two, etc.) been changed or redefined? My RTL brackets and numbers are being inverted. As of the beta operative in September 2015, these were working. In the present beta, it reads: While it should read (notice the ordering of the numbers as well

Re: [NTG-context] Upgrade to 2015.11.19 breaks OTF reader?

2015-12-10 Thread tala...@fastmail.fm
I am having the same problem as the OP. I have manually edited the font-otr.lua file as per the patch below, and I deleted the font cache. But all to no avail. I still get: !LuaTeX error: cannot find OpenType font file for reading () ==> Fatal error occurred, no output PDF file produced! Is