Re: [NTG-context] RTL problem with figure numbers

2016-01-17 Thread Mohammad Hossein Bateni
Thanks, this works for figures. I couldn't get the same to work for chapters, sections, etc. \setuphead[chapter,section][conversion=lefttorightnumber] This does not have any effect. The solution I had in the first email of this thread (see below) has another issue, which I discovered later.

Re: [NTG-context] RTL problem with figure numbers

2016-01-17 Thread Mohammad Hossein Bateni
I just found a solution to the last question: \defineseparatorset[dashsep][][{--}] \setuphead[section][sectionseparatorset=dashsep] On Mon, Jan 18, 2016 at 1:01 AM, Mohammad Hossein Bateni wrote: > Thanks, this works for figures. > > I couldn't get the same to work for

Re: [NTG-context] Arabic Letters are disjointed and reversed in headers and margin

2016-01-17 Thread Ibn Saeed
> > \setupmargindata > [margintext] > [align=r2l] > > use \setupalign[r2l] and \righttoleft and not the dir primitives > I did not understand how to use "use \setupalign[r2l] and \righttoleft and not the dir primitives" Do you mean that i should remove these lines ? \pagedir TRT

Re: [NTG-context] Arabic Letters are disjointed and reversed in headers and margin

2016-01-17 Thread Ibn Saeed
Ibn Saeed gmail.com> writes: > > > > > > \setupmargindata > > [margintext] > > [align=r2l] > > > > use \setupalign[r2l] and \righttoleft and not the dir primitives > > > > I did not understand how to use > > "use \setupalign[r2l] and \righttoleft and not the dir primitives" > > Do

Re: [NTG-context] \replaceword and \setreplacements with xml files

2016-01-17 Thread Jan U. Hasecke
Am 17.01.2016 um 20:05 schrieb Hans Hagen: > On 1/16/2016 3:58 PM, Jan U. Hasecke wrote: >> >> When I choose EB Garamond, it does not work. -- example-Garamond.tex >> >> I confirmed this behaviour in my real setup. > > don't assume that ligatures are always real ligatures ... in that font > it's

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-17 Thread Hans Hagen
On 1/16/2016 4:55 PM, Kate F wrote: On 16 January 2016 at 00:33, Hans Hagen wrote: On 1/15/2016 9:20 PM, Thomas A. Schmitz wrote: On 01/15/2016 06:58 PM, Kate F wrote: So I see! But many DTDs contain definitions for entities, which I would like to use, rather than repeating

Re: [NTG-context] \replaceword and \setreplacements with xml files

2016-01-17 Thread Hans Hagen
On 1/16/2016 3:58 PM, Jan U. Hasecke wrote: Am 16.01.2016 um 13:31 schrieb Schmitz Thomas A.: Please provide a minimal example of your problem. It’s impossible to help when we have no clue what you’re doing. Sorry, of course. After setting up a mwe I found that it is a font related issue.

Re: [NTG-context] pagereferences

2016-01-17 Thread Wolfgang Schuster
Meer, Hans van der 17. Januar 2016 um 20:43 Thanks Wolfgang. I am experimenting with your code and there has arisen a problem. The book I am typesetting has some pages before the text on page-1 starts (cover and so on). Therefore the code

Re: [NTG-context] TeX markup in \setupinteraction for PDF metadata fields

2016-01-17 Thread Wolfgang Schuster
Kate F 17. Januar 2016 um 18:53 On 17 January 2016 at 17:00, Wolfgang Schuster I don't know, actually. In this case these are values which remain constant throughout the document. So all I'm after here is a mechanism for storing variables by name. Is there something more

Re: [NTG-context] TeX markup in \setupinteraction for PDF metadata fields

2016-01-17 Thread Kate F
On 17 January 2016 at 18:27, Wolfgang Schuster wrote: > Kate F > 17. Januar 2016 um 18:53 > On 17 January 2016 at 17:00, Wolfgang Schuster > > I don't know, actually. In this case these are values which remain > constant throughout the document. So all I'm after here

Re: [NTG-context] TeX markup in \setupinteraction for PDF metadata fields

2016-01-17 Thread Alan BRASLAU
On Sun, 17 Jan 2016 20:09:56 +0100 Wolfgang Schuster wrote: > But, if I want to use the title etc. in the title page, should I do > something like: > > \starttitlepagemakeup > \getvariable{document}{metadata:title} > \stoptitlepagemakeup > It depends, when you want

Re: [NTG-context] hebrew

2016-01-17 Thread josephcanedo
For fonts I found this site : http://www.opensiddur.org. In particular http://opensiddur.org/tools/fonts/ Hope this helps a bit Joseph Canedo From: Meer, Hans van der Sent: ‎Saturday‎, ‎January‎ ‎16‎, ‎2016 ‎2‎:‎56‎ ‎PM To: ntg-context@ntg.nl I need to typeset the letters of the

Re: [NTG-context] TeX markup in \setupinteraction for PDF metadata fields

2016-01-17 Thread Wolfgang Schuster
Alan BRASLAU 17. Januar 2016 um 23:39 On Sun, 17 Jan 2016 20:09:56 +0100 Thanks, again, these are useful pointers. In conclusion, good practice could be (but would this work?): \startdocument [title=My title, metadata:title=\documentvariable{title}, author=Me,

Re: [NTG-context] TeX markup in \setupinteraction for PDF metadata fields

2016-01-17 Thread Kate F
On 17 January 2016 at 17:00, Wolfgang Schuster wrote: > Kate F > 17. Januar 2016 um 17:56 > Hi, > > Is it possible to have TeX markup executed in the text fields for > \setupinteraction? > I would like to do something like: > > \definemarking[xyz] >

Re: [NTG-context] Supported architectures for minimals (any ppc users out there?)

2016-01-17 Thread Mojca Miklavec
Hi, Thomas A. S. was (again) wondering if there were (still) any users of linux-ppc binaries out there. We'll probably remove them otherwise (not sure why we didn't do that yet, but well ...) Mojca On 16 April 2014 at 13:55, Mojca Miklavec wrote: > Hi, > > I would suggest dropping support for

Re: [NTG-context] TeX markup in \setupinteraction for PDF metadata fields

2016-01-17 Thread Wolfgang Schuster
Alan BRASLAU 17. Januar 2016 um 19:55 On Sun, 17 Jan 2016 19:27:31 +0100 How does this play with \startdocument [title=Document title, author=Me] It doesn’t matter if you set the values with \setupdocument or \startdocument. Here, I learn about metadata:title=

Re: [NTG-context] Arabic Letters are disjointed and reversed in headers and margin

2016-01-17 Thread Hans Hagen
On 1/17/2016 7:47 PM, Ibn Saeed wrote: I have also made a post at tex.stackexchange.com I am trying to get Arabic Chapter Name in the header and some arabic text in the margins using ConTeXt MarkIV Here is the code: \mainlanguage[arabic] \setupdirections[bidi=global] \definefontfeature

Re: [NTG-context] pagereferences

2016-01-17 Thread Meer, Hans van der
Thanks Wolfgang. I am experimenting with your code and there has arisen a problem. The book I am typesetting has some pages before the text on page-1 starts (cover and so on). Therefore the code \def\mypageref[#1]{\setpagestate[hvdm][#1]\color[red]{page=\pagenumber\ and

Re: [NTG-context] TeX markup in \setupinteraction for PDF metadata fields

2016-01-17 Thread Alan BRASLAU
On Sun, 17 Jan 2016 19:27:31 +0100 Wolfgang Schuster wrote: > > Kate F > > 17. Januar 2016 um 18:53 > > On 17 January 2016 at 17:00, Wolfgang Schuster > > > > I don't know, actually. In this case these are values which remain > > constant

Re: [NTG-context] pagereferences

2016-01-17 Thread Meer, Hans van der
Thanks Wolfgang. I am afraid, however, your answer inspires me to a subsequent question. In order to customize the reference myself my idea is something along the line of: \def\myatpage[#1]{ \scratchcounter=\at[#1]\relax\ifnum=\pagenumber etcetera. But this gives an error, as dus

Re: [NTG-context] Automatic negative tracking to prevent slight overfull hbox's

2016-01-17 Thread Hans Hagen
On 1/16/2016 6:57 PM, Aditya Mahajan wrote: On Thu, 14 Jan 2016, Alexander Dyomin wrote: Dear list, when I stumble upon a slightly overhanging line (where it's not allowed to hyphenate the hanging word and putting it on next line leaves huge whitespaces), decreasing letterspacing in that line

Re: [NTG-context] pagereferences

2016-01-17 Thread Wolfgang Schuster
Meer, Hans van der 17. Januar 2016 um 19:03 Thanks Wolfgang. I am afraid, however, your answer inspires me to a subsequent question. In order to customize the reference myself my idea is something along the line of: \def\myatpage[#1]{

[NTG-context] Arabic Letters are disjointed and reversed in headers and margin

2016-01-17 Thread Ibn Saeed
I have also made a post at tex.stackexchange.com I am trying to get Arabic Chapter Name in the header and some arabic text in the margins using ConTeXt MarkIV Here is the code: \mainlanguage[arabic] \setupdirections[bidi=global] \definefontfeature [arabic]

Re: [NTG-context] \quote inside \emph

2016-01-17 Thread Hans Hagen
On 1/16/2016 6:55 PM, Aditya Mahajan wrote: On Sat, 16 Jan 2016, Alan Bowen wrote: When used in inside \emph, \quote puts the words cited into roman face. Thus, \starttext \emph{The \quote{Problemata} in Medieval Times} \emph{The \quote{\emph{Problemata}} in Medieval Times} \stoptext This

Re: [NTG-context] \quote inside \emph

2016-01-17 Thread Wolfgang Schuster
Hans Hagen 18. Januar 2016 um 00:56 we could change it (i don't care too much as i've never use them nested) up to you/wolfgang/... to decide Remove the default setting and for completeness sake add style/color settings to the paragraph alternative.

Re: [NTG-context] \quote inside \emph

2016-01-17 Thread Aditya Mahajan
On Mon, 18 Jan 2016, Wolfgang Schuster wrote: Hans Hagen 18. Januar 2016 um 00:56 we could change it (i don't care too much as i've never use them nested) up to you/wolfgang/... to decide Remove the default setting and for completeness sake add style/color settings to

[NTG-context] Instalation ConTeXt to MAC - newbie problem

2016-01-17 Thread Jaroslav Hajtmar
Hello ConTeXist. I am trying to install a standalone ConTeXt on MacBook. I am doing everything exactly as instructed on contextgarden.net, but the installation will fail. It seems that the problem is with rsync, with copying the installation script first-setup.sh into my Mac. Since I am a

Re: [NTG-context] Instalation ConTeXt to MAC - newbie problem

2016-01-17 Thread Weber, Matthias
Hi Jaroslav, could you explain a bit more what you mean by "the installation will fail”? What error message do you get at what stage? You need to make sure that you have write permission to the installation directory; anything inside your home directory should be safe. Also, as a general

Re: [NTG-context] Instalation ConTeXt to MAC - newbie problem

2016-01-17 Thread Jaroslav Hajtmar
Hello Matthias. Thank you for the quick response. During installation, no error occurs, even seems that rsync copied without error message first-setup.sh to my %HOME/context directory. When then I look into this directory, then there is no file. Subsequently command sudo sh ./first-setup.sh

Re: [NTG-context] Instalation ConTeXt to MAC - newbie problem

2016-01-17 Thread Weber, Matthias
Here is what I do: Tetrahedron:ConTeXt matthias$ mkdir ~/context Tetrahedron:ConTeXt matthias$ cd ~/context Tetrahedron:context matthias$ rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh . first-setup.sh sent 38 bytes received 3636 bytes 1469.60 bytes/sec total size is 3525

Re: [NTG-context] Instalation ConTeXt to MAC - newbie problem

2016-01-17 Thread Otared Kavian
Hello Jaroslav, Here is what I do on my Mac: 1) While in the Finder, create a folder named Context-standalone 2) Put the attached file « first-setup.sh » in the folder Context-standalone 3) Open Terminal and issue the command cd [Path-to-the-folder-Context-standalone] 4) Then in

[NTG-context] pagereferences

2016-01-17 Thread Meer, Hans van der
Defining \pagereference[xyz] en calling this some pages later with \atpage[xyz] I get as reference "at a previous page" (perhaps not exactly, the typesetting is done in dutch). This an unwanted result, that previous page is 7 pages before. How can I restrict this to either "on this page" or to

Re: [NTG-context] Instalation ConTeXt to MAC - newbie problem

2016-01-17 Thread Jaroslav Hajtmar
Hello. Thanks to Otared and Matthias too for their solutions. Otared's method is working, Mathias method unfortunaly not working. ConTeXt is already installed on my MacBookAir. I dont know why, but It seems that for some reason rsync does not download the first-setup.sh file into my

Re: [NTG-context] pagereferences

2016-01-17 Thread Wolfgang Schuster
Meer, Hans van der 17. Januar 2016 um 16:58 Defining \pagereference[xyz] en calling this some pages later with \atpage[xyz] I get as reference "at a previous page" (perhaps not exactly, the typesetting is done in dutch). The english text is “on a preceding page”.

[NTG-context] TeX markup in \setupinteraction for PDF metadata fields

2016-01-17 Thread Kate F
Hi, Is it possible to have TeX markup executed in the text fields for \setupinteraction? I would like to do something like: \definemarking[xyz] \marking[xyz]{Hello} \setupinteraction[state=start] \setupinteraction[title={\getmarking[xyz][current]}]

Re: [NTG-context] Instalation ConTeXt to MAC - newbie problem

2016-01-17 Thread Otared Kavian
Hi Jaroslav, On Mac, you can use TeXShop and your standalone Context very easily. First create a specific « .engine » file for this and then in TeXShop use that engine. Here is what I have when I typeset a file in TeXShop using mkiv ConTeXt: % begin file mkiv.engine #!/bin/bash export

Re: [NTG-context] TeX markup in \setupinteraction for PDF metadata fields

2016-01-17 Thread Wolfgang Schuster
Kate F 17. Januar 2016 um 17:56 Hi, Is it possible to have TeX markup executed in the text fields for \setupinteraction? I would like to do something like: \definemarking[xyz] \marking[xyz]{Hello} \setupinteraction[state=start]

Re: [NTG-context] Instalation ConTeXt to MAC - newbie problem

2016-01-17 Thread Jaroslav Hajtmar
Hello Otared. Thanks for inspiring advice. Be sure that I will try everything setting up so that I ConTeXt work as on my PC and Windows. After 25 years of using Windows, I would never say that I will experiment with MacBook and OS-X. At the moment, I am pleased that I cease to be dependent on