Re: [NTG-context] Converting normal font into bold

2013-11-25 Thread Hans Hagen
On 11/25/2013 12:34 AM, H. Özoguz wrote: Thanks, that works fine: \definefont[arabicamiri][file:amiri-regular.ttf*arabic at 15pt] \definefont[arabicuth][file:UthmanicHafs1Ver09.ttf*arabic at 17pt] \def\eoa#1{#1\char06DD} \starttext \setupalign[r2l] \arabicuth لأَفَبِهَـٰذَا ٱلْحَدِيثِ أَنتُم

Re: [NTG-context] Converting normal font into bold

2013-11-25 Thread Khaled Hosny
On Sun, Nov 24, 2013 at 10:18:47PM +0100, H. Özoguz wrote: It is my believe that Unicode has the wrong properties for Arabic standalone Hamza; in short you should just type a regular Hamza in the middle of the word and it will get positioned correctly. Placing a combining Hamza over a Tatweel

[NTG-context] large delimiters for equation

2013-11-25 Thread Roger Mason
Hello, I'd like to have delimiters that match the height of the fraction in an expression like this: \startformula c\Delta T = t\big{(} \frac{c}{v_s} - \frac{c}{v_f} \big{)}. \stopformula I looked in the docs and tried a few likely solutions without luck. Please accept my apologies if

Re: [NTG-context] large delimiters for equation

2013-11-25 Thread Aditya Mahajan
Hello, I'd like to have delimiters that match the height of the fraction in an expression like this: \startformula c\Delta T = t\big{(} \frac{c}{v_s} - \frac{c}{v_f} \big{)}. \stopformula I looked in the docs and tried a few likely solutions without luck. \left( \frac \right) Aditya

[NTG-context] pstrics module again

2013-11-25 Thread DesdeChaves
Dear sirs The pstrics module don't work anymore. I tried to run this simple code but I found a lot of errors. \usemodule[pstric] \starttext \startPSTRICKS \pspicture(0,0)(20,20) \psline(0,0)(20,20) \psline(1,1)(10,10) \endpspicture \stopPSTRICKS \stoptext This module is no longer supported?

Re: [NTG-context] pstrics module again

2013-11-25 Thread Aditya Mahajan
On Mon, 25 Nov 2013, DesdeChaves wrote: Dear sirs The pstrics module don't work anymore. I tried to run this simple code but I found a lot of errors. \usemodule[pstric] \starttext \startPSTRICKS \pspicture(0,0)(20,20) \psline(0,0)(20,20) \psline(1,1)(10,10) \endpspicture \stopPSTRICKS

Re: [NTG-context] Converting (a not so) normal font into bold

2013-11-25 Thread Hans Hagen
On 11/25/2013 12:20 PM, H. Özoguz wrote: i tried to reproduce your issue but gave up because of the fact that it's unclear what (version) of the font is used ... you switched from 10 to 09 and in 09 i see no 'big circular thing' so your version is different from the one i donwload ... so, i

Re: [NTG-context] pstrics module again

2013-11-25 Thread Herbert Voss
Am 25.11.2013 19:55, schrieb Aditya Mahajan: This is what I did. 1. Compile the file. You get an error that some pstrick file is missing. Locate that file in the texlive directory and copy it to the current directory. 2. Repeat until you get an error that \ifx! is not a valid control

Re: [NTG-context] Converting (a not so) normal font into bold

2013-11-25 Thread Hans Hagen
On 11/25/2013 8:18 PM, Hans Hagen wrote: yes, but calling this a normal font is somewhat over-the-top (1) the left/right () are not part of the lookup, and they are not even in the font: imo they should be, and also be part of the lookup then (2) you cannot expect other digits to work well as

Re: [NTG-context] Intermediate format

2013-11-25 Thread Jan Tosovsky
On 2013-11-25 Hans Hagen wrote: On 11/24/2013 8:32 PM, Jan Tosovsky wrote: is it possible to get the complete representation of the layout that is processed in the luatex PDF generator? I mean coordinations of individual text boxes, their dimensions etc. Actually, I'd like to

Re: [NTG-context] pstrics module again

2013-11-25 Thread Aditya Mahajan
On Mon, 25 Nov 2013, Herbert Voss wrote: Am 25.11.2013 19:55, schrieb Aditya Mahajan: This is what I did. 1. Compile the file. You get an error that some pstrick file is missing. Locate that file in the texlive directory and copy it to the current directory. 2. Repeat until you get an error

Re: [NTG-context] pstrics module again

2013-11-25 Thread Herbert Voss
Am 25.11.2013 21:25, schrieb Aditya Mahajan: \unprotect \input pstricks \protect and therefore when ConTeXt sees \ifx!#1 it thinks that \ifx! is a csname. Adding a space after \ifx avoids that. As I said in my previous message, this is easy to fix at ConTeXt end defining an appropriate

Re: [NTG-context] Intermediate format

2013-11-25 Thread Aditya Mahajan
On Mon, 25 Nov 2013, Jan Tosovsky wrote: On 2013-11-25 Hans Hagen wrote: On 11/24/2013 8:32 PM, Jan Tosovsky wrote: is it possible to get the complete representation of the layout that is processed in the luatex PDF generator? I mean coordinations of individual text boxes, their dimensions

Re: [NTG-context] Intermediate format

2013-11-25 Thread Hans Hagen
On 11/25/2013 9:07 PM, Jan Tosovsky wrote: On 2013-11-25 Hans Hagen wrote: On 11/24/2013 8:32 PM, Jan Tosovsky wrote: is it possible to get the complete representation of the layout that is processed in the luatex PDF generator? I mean coordinations of individual text boxes, their dimensions

Re: [NTG-context] Intermediate format

2013-11-25 Thread Jan Tosovsky
On 2013-11-25 Aditya Mahajan wrote: On 11/24/2013 8:32 PM, Jan Tosovsky wrote: is it possible to get the complete representation of the layout that is processed in the luatex PDF generator? I mean coordinations of individual text boxes, their dimensions etc. Actually, I'd like to

Re: [NTG-context] Converting (a not so) normal font into bold

2013-11-25 Thread H. Özoguz
test code: \starttext \showotfcomposition{file:uthmanichafs1ver09.ttf*arabic}{r2l}{١} \page \showotfcomposition{file:uthmanichafs1ver09.ttf*arabic}{r2l}{١ ١} \page \showotfcomposition{file:uthmanichafs1ver09.ttf*arabic}{r2l}{١١} \page % \usemodule[fonts-coverage]

Re: [NTG-context] large delimiters for equation

2013-11-25 Thread Roger Mason
Thanks Aditya. Roger On 11/25/2013 12:21 PM, Aditya Mahajan wrote: \left( \frac \right) Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] Intermediate format

2013-11-25 Thread Hans Hagen
On 11/25/2013 9:54 PM, Jan Tosovsky wrote: On 2013-11-25 Aditya Mahajan wrote: On 11/24/2013 8:32 PM, Jan Tosovsky wrote: is it possible to get the complete representation of the layout that is processed in the luatex PDF generator? I mean coordinations of individual text boxes, their

Re: [NTG-context] ToC - right-alignment of roman numerals

2013-11-25 Thread Hans Hagen
On 11/24/2013 10:49 PM, Jan Tosovsky wrote: On 2013-11-18 Jan Tosovsky wrote: On 2013–06–03 Jan Tosovsky wrote: in fresh MkIV I use the following commands for building ToC, but I have no idea how to align the label (roman numeral) to the right. I am almost there, but things get complicated

Re: [NTG-context] Intermediate format

2013-11-25 Thread Aditya Mahajan
On Mon, 25 Nov 2013, Jan Tosovsky wrote: On 2013-11-25 Aditya Mahajan wrote: On 11/24/2013 8:32 PM, Jan Tosovsky wrote: is it possible to get the complete representation of the layout that is processed in the luatex PDF generator? I mean coordinations of individual text boxes, their

Re: [NTG-context] ToC - right-alignment of roman numerals

2013-11-25 Thread Jan Tosovsky
On 2013-11-25 Hans Hagen wrote: On 11/24/2013 10:49 PM, Jan Tosovsky wrote: On 2013-11-18 Jan Tosovsky wrote: On 2013–06–03 Jan Tosovsky wrote: in fresh MkIV I use the following commands for building ToC, but I have no idea how to align the label (roman numeral) to the right. I am

Re: [NTG-context] pstrics module again

2013-11-25 Thread DesdeChaves
I d'ont know how to fix the picture size. No errors at all, but the figure size isn't correct. \usemodule[pstric] \starttext Hydrogen spectrum \startPSTRICKS \input pst-spectra.tex \input pstricks-add.tex \pspicture(0,-2.5)(\textwidth,1.6) \psspectrum[element=H, emission](0,0)(\textwidth,1.5)

Re: [NTG-context] pstrics module again

2013-11-25 Thread Aditya Mahajan
On Mon, 25 Nov 2013, DesdeChaves wrote: I d'ont know how to fix the picture size. No errors at all, but the figure size isn't correct. Confirmed. \usemodule[pstric] \starttext Hydrogen spectrum \startPSTRICKS \input pst-spectra.tex \input pstricks-add.tex

Re: [NTG-context] pstrics module again

2013-11-25 Thread Aditya Mahajan
On Mon, 25 Nov 2013, Aditya Mahajan wrote: It has been years since I used dvips, so I don't remember how to correct that. Basically, the bug is with the following file: \starttext \startTEXpage What will happen now \stopTEXpage \stoptext Process using mtxrun --script test --dvips and then

[NTG-context] Calculating with variables

2013-11-25 Thread H. Özoguz
Hello there, I am new in variables in ConTeXt, so I tried the the following example of two font-sizes wich should have a ratio of 0.7: \setvariables[fontsize][bigsize=17pt] \setvariables[fontsize][smallsize=0.7\getvariable{fontsize}{size}] \definefont[big][name:arial at