Re: [NTG-context] Set layout for the first page of Chapters

2013-05-09 Thread Wolfgang Schuster
Am 10.05.2013 um 03:42 schrieb Tim Li : > Hi, Wolfgang, > > I am reading a book desinged by Springer-Verlag, whose size if 152mm X 226mm. > Its backspace is 25mm, width 107mm, topspace 20mm, height 181 mm, this is the > global layout. And the page number lies in the header, but no footers. >

Re: [NTG-context] Set layout for the first page of Chapters

2013-05-09 Thread Tim Li
Hi, Wolfgang, I am reading a book desinged by Springer-Verlag, whose size if 152mm X 226mm. Its backspace is 25mm, width 107mm, topspace 20mm, height 181 mm, this is the global layout. And the page number lies in the header, but no footers. The chapter page in this book has a different layout,

Re: [NTG-context] Obtaining the current font

2013-05-09 Thread Marco Patzer
On 2013–05–10 Mojca Miklavec wrote: > > What are \font`0 and font`g? AFAIK the backtick converts the > > character to the character code, which means it yields \font48 and > > \font103. The goal is to get the current font, right? > > I believe it gives you width/height/depth of character 48/103 i

Re: [NTG-context] Obtaining the current font

2013-05-09 Thread Mojca Miklavec
On Thu, May 9, 2013 at 11:58 PM, Marco Patzer wrote: > Hi, > > in the gnuplot module the following macro is used for the TikZ > terminal: > > \def\calculateGNUPLOTcharsize{% > \global\GNUPLOThcharsize=1.05\fontcharwd\font`0% > \global\GNUPLOTvcharsize=1.05\fontcharht\font`0% > \global

[NTG-context] Obtaining the current font

2013-05-09 Thread Marco Patzer
Hi, in the gnuplot module the following macro is used for the TikZ terminal: \def\calculateGNUPLOTcharsize{% \global\GNUPLOThcharsize=1.05\fontcharwd\font`0% \global\GNUPLOTvcharsize=1.05\fontcharht\font`0% \global\advance\GNUPLOTvcharsize by 1.05\fontchardp\font`g% } What are \f

Re: [NTG-context] font-age vs. font-agl

2013-05-09 Thread Philipp Gesang
· > On 5/7/2013 1:47 PM, Philipp Gesang wrote: > >Hi all, > > > >the glyph list is a bit of a conundrum. > > > >Context (font-enc.lua) will build its glyph list from > >font-agl.lua and char-def.lua. Luatex-Fonts reads a file named > >font-age.lua, which is, however, some 500 character def

Re: [NTG-context] Set layout for the first page of Chapters

2013-05-09 Thread Wolfgang Schuster
Am 09.05.2013 um 13:45 schrieb Tim Li : > Hi, > > when designing some documents, I hope I can set a global layout and another > layout for the first page of all chapters. I have defined two layouts as > follows: What’t the purpose of the different layout for the chapter pages, the only diff

Re: [NTG-context] Installing an arabic font

2013-05-09 Thread H. Özoguz
I uploaded a beta that might fix it, but it needs more testing. The issue might have been introduced when support was added for more complex ligature building, compare for instance this: Thanks Hans! Indeed, it was a fix, but there are still problems I find in further testing, see attachment fo

Re: [NTG-context] mpgraphics confusion

2013-05-09 Thread Marco Patzer
On 2013–05–09 Meer, H. van der wrote: > I am a bit confused about the metafum graphis. In the manual (2012) I read > (screen version after page 203 section 3.3) the following. > > \startuseMPgraphic-\useMPgraphic "this graphic is calculated each time it is > placed". > \startreusableMPgraphic-\

[NTG-context] mpgraphics confusion

2013-05-09 Thread Meer, H. van der
I am a bit confused about the metafum graphis. In the manual (2012) I read (screen version after page 203 section 3.3) the following. \startuseMPgraphic-\useMPgraphic "this graphic is calculated each time it is placed". \startreusableMPgraphic-\reuseMPgraphic "for graphics that don't change". \s

[NTG-context] Set layout for the first page of Chapters

2013-05-09 Thread Tim Li
Hi, when designing some documents, I hope I can set a global layout and another layout for the first page of all chapters. I have defined two layouts as follows: \setuppagenumbering [alternative=doublesided, location=] % global layout for the whole document \setuplayout [backspace=2.5cm, wi

Re: [NTG-context] missing chars in cid-keyed font table

2013-05-09 Thread Hans Hagen
On 5/9/2013 7:29 AM, Dohyun Kim wrote: > Hi, > > With AdobeMyungjoStd-Medium.otf, I cannot typeset some chinese > characters. Here is a simple tex source: > > \starttext > \definedfont[name:adobemyungjostdmedium] > 黃金빛 > \stoptext are you sure the font has chinese characters at all? \starttext

Re: [NTG-context] Installing an arabic font

2013-05-09 Thread Hans Hagen
On 5/9/2013 9:45 AM, "H. Özoguz" wrote: The font is fine with other OpenType engines as well, e.g. HarfBuzz, so it is probably a ConTeXt issue. Yes, the font is fine with OpenOffice, too. It would be really great, if this could be fixed in context, so one could typeset quran (and other traditio

Re: [NTG-context] Installing an arabic font

2013-05-09 Thread H. Özoguz
The font is fine with other OpenType engines as well, e.g. HarfBuzz, so it is probably a ConTeXt issue. Yes, the font is fine with OpenOffice, too. It would be really great, if this could be fixed in context, so one could typeset quran (and other traditional arabic) professionally. Would be ve

Re: [NTG-context] Installing an arabic font

2013-05-09 Thread Khaled Hosny
On Wed, May 08, 2013 at 11:03:28PM +0200, Hans Hagen wrote: > On 5/8/2013 10:58 PM, "H. Özoguz" wrote: > >>seems like an issue with liga ... i'm not sure if that's a context > >>problem > > > >Hmm, see in the attachment the output of MS-Word, with activated > >ligatures. So it has to do anything wi