[NTG-context] No output for no apparent reason

2015-08-02 Thread Matt Gushee
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 package on an Arch Linux system. I obtained the 'first-setup.sh'

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

2015-08-02 Thread tala...@fastmail.fm
Thank you for that, Idris. I had tried those earlier, but both of them gave me not digits but the Arabic equivalents of roman numerals — letters, used in the Arabic language, to denote enumeration (as you know). In fact, I have now settled on using those for my front matter in the Arabic critica

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

2015-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد
Salaam, Talal, See below: On Sun, 02 Aug 2015 17:32:44 -0600, 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-numberin

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

2015-08-02 Thread tala...@fastmail.fm
Never mind. After more word combinations when searching the archives, I came across Wolfgang’s answer here: gmane.comp.tex.context/85673 , in which he says to use the \defineconversion command. E.g.: \defineconversion [myconversion] [۱,

[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 “Ar

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

2015-08-02 Thread tala...@fastmail.fm
Thank you very much for this, Idris. What with the other bugs and problems I’ve faced with R2L (in footnotes, etc.), I was starting to wonder whether a more explicit, rather than global, use of RTL might be a better approach. I’m going to experiment with them, at least to learn how to use them w

Re: [NTG-context] Process contents of xmlflush in context

2015-08-02 Thread Xan
Thanks, a lot. On Sun, 02 Aug 2015 11:56:31 +0200 Hans Hagen ha escrit: > \xmlflushcontext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / htt

Re: [NTG-context] ending every paragraph

2015-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 02 Aug 2015 11:40:59 -0600, Wolfgang Schuster wrote: Idris Samawi Hamid ادريس سماوي حامد 2. August 2015 19:34 On Sun, 02 Aug 2015 11:25:01 -0600, Wolfgang Schuster wrote: Alan BRASLAU 2. August 2015 09:11 On Sat, 1 Aug

Re: [NTG-context] ending every paragraph

2015-08-02 Thread Wolfgang Schuster
Idris Samawi Hamid ادريس سماوي حامد 2. August 2015 19:34 On Sun, 02 Aug 2015 11:25:01 -0600, Wolfgang Schuster wrote: Alan BRASLAU 2. August 2015 09:11 On Sat, 1 Aug 2015 17:35:38 -0600 Hello Idris, I would think that your only

Re: [NTG-context] ending every paragraph

2015-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 02 Aug 2015 11:25:01 -0600, Wolfgang Schuster wrote: Alan BRASLAU 2. August 2015 09:11 On Sat, 1 Aug 2015 17:35:38 -0600 Hello Idris, I would think that your only hope in this case would be through the use of \startparagraph \stopparagraph, for otherwise

Re: [NTG-context] ending every paragraph

2015-08-02 Thread Wolfgang Schuster
Alan BRASLAU 2. August 2015 09:11 On Sat, 1 Aug 2015 17:35:38 -0600 Hello Idris, I would think that your only hope in this case would be through the use of \startparagraph \stopparagraph, for otherwise TeX does not know where a paragraph is to end (only where one beg

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

2015-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear Talal, Salaam. See below: On Sun, 02 Aug 2015 07:31:37 -0600, 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: == \setu

Re: [NTG-context] ending every paragraph

2015-08-02 Thread Aditya Mahajan
On Sun, 2 Aug 2015, Idris Samawi Hamid ادريس سماوي حامد wrote: But I'll bet Hans could figure out a way to do it in lua. If you need this to happen before macro expansion, then there are two options: use input translation (see, for example, the m-translate module) or capture the entire conte

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

2015-08-02 Thread tala...@fastmail.fm
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: == \setuppapersize[A6] \definefontfamily[mainface][serif][ALMFixed][% features=arabic, range=arabic,

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

2015-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 02 Aug 2015 03:24:12 -0600, 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 \showframe \setupth

Re: [NTG-context] ending every paragraph

2015-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi Alan, On Sun, 02 Aug 2015 01:11:38 -0600, Alan BRASLAU wrote: On Sat, 1 Aug 2015 17:35:38 -0600 Idris Samawi Hamid ادريس سماوي حامد wrote: Suppose I want to end the last line of every paragraph with a command, say, \thinrule, or a string of dots. Is there a straightforward way to do t

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

2015-08-02 Thread Pablo Rodriguez
On 08/02/2015 12:47 PM, Pablo Rodriguez wrote: > [...] > Hi Talal, > > replace you bidi settings with these ones: > [...] > At least, they work for me. Talal, sorry for the noise, the first linenote has the problem you described. I thought it belonged to the second linenote. Pablo -- http://

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

2015-08-02 Thread tala...@fastmail.fm
Thanks for the help, Pablo, but, unfortunately, this is not solving the problem (at least over here): The beginning of the third footnote/linenote is still missing. It should read (at the end of line one and at the beginning of line two of the notes):0 وهذهتعليقةThe end of line one is dropped. I ha

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

2015-08-02 Thread Pablo Rodriguez
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 add > the option "align=righttoleft,” to "\setupnotations[lnote]”. Having done > so, adding the meth

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

2015-08-02 Thread talazem
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 add the option "align=righttoleft,” to "\setupnotations[lnote]”. Having done so, adding the method options do have an effect. But the output is still fl

Re: [NTG-context] Process contents of xmlflush in context

2015-08-02 Thread Hans Hagen
On 8/1/2015 9:13 PM, Xan wrote: Hi, I use MKIV. I want to follow Schmitz tutorial [http://www.ntg.nl/maps/42/12.pdf]. My problem is that when my xml contents has ConTeXt commands, it are ignored (printing as verbose not interpreted). How can I achieve that: La fitxa blava i la f

Re: [NTG-context] Using JDF w/in ConTeXt?

2015-08-02 Thread Hans Hagen
On 8/1/2015 8:10 PM, William Adams wrote: Is this possible? I need to make a .pdf to print specific pages of a .pdf to specific trays. looks like it is some additional file in xml format so you should be able to create such a file alongside the pdf .. it all depends on needs Hans -

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

2015-08-02 Thread tala...@fastmail.fm
Thanks for that, Wolfgang. I can only hope that, as the culprit is known, it can be apprehended! Idris: here is the document that I had sent (and many thanks to you and to Pablo for the more general advice): > \unexpanded\def\doVariant#1#2#3% > {\startlinenote[#1]{#2] #3}#2\stoplinenote[

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

2015-08-02 Thread tala...@fastmail.fm
Thank you, Pablo, for bringing method=two to my attention. I’ve read what has been written about in on the mailing list. However, in my case, it does not solve the problem. On the document I’ve attached: - using method=default produces the error I raised yesterday; - using method=one (or method=t

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

2015-08-02 Thread Pablo Rodriguez
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] ending every paragraph

2015-08-02 Thread Alan BRASLAU
On Sat, 1 Aug 2015 17:35:38 -0600 Idris Samawi Hamid ادريس سماوي حامد wrote: > Suppose I want to end the last line of every paragraph with a > command, say, \thinrule, or a string of dots. Is there a > straightforward way to do that? TeX has \everypar but I'm not aware > of any, say, \endeverypar