Re: [NTG-context] Fractions and binomial inlined in text ($n \choose \frac{n}2$): Parentheses not scaled

2011-12-04 Thread Wolfgang Schuster
Am 03.12.2011 um 19:56 schrieb Paul Menzel: Dear ConTeXt folks, using the following minimal example \starttext Using \type{\choose} in text $n \choose \frac{n}2$. \startformula n \choose \frac{n}2 \stopformula \CONTEXT\ \contextmark\

Re: [NTG-context] Saving module data in tuc file

2011-12-04 Thread Wolfgang Schuster
Am 04.12.2011 um 01:20 schrieb Aditya Mahajan: Hi, How does one save and read third-party data in tuc file at the lua end? I am trying to write a module t-ifchanged that defines a \doiffilechanged macro that provides the functionality of mtxrun --ifchanged without calling an external

Re: [NTG-context] Saving module data in tuc file

2011-12-04 Thread Hans Hagen
On 4-12-2011 01:20, Aditya Mahajan wrote: Hi, How does one save and read third-party data in tuc file at the lua end? I am trying to write a module t-ifchanged that defines a \doiffilechanged macro that provides the functionality of mtxrun --ifchanged without calling an external program (This

Re: [NTG-context] Title page for diploma thesis

2011-12-04 Thread Hans Hagen
On 3-12-2011 16:40, Paul Menzel wrote: Dear ConTeXt folks, I am trying to format the title page for a diploma thesis. Looking at the Wiki most of the title or cover pages just have the title centered and maybe a subtitle right below [1]. \starttext

Re: [NTG-context] Title page for diploma thesis

2011-12-04 Thread Wolfgang Schuster
Am 03.12.2011 um 16:40 schrieb Paul Menzel: Dear ConTeXt folks, I am trying to format the title page for a diploma thesis. Looking at the Wiki most of the title or cover pages just have the title centered and maybe a subtitle right below [1]. \starttext

Re: [NTG-context] Title page for diploma thesis

2011-12-04 Thread Willi Egger
On 3 Dec 2011, at 16:40, Paul Menzel wrote: Dear ConTeXt folks, I am trying to format the title page for a diploma thesis. Looking at the Wiki most of the title or cover pages just have the title centered and maybe a subtitle right below [1]. \starttext

Re: [NTG-context] Title page for diploma thesis

2011-12-04 Thread Willi Egger
Sorry for the wrong statement about the centered page on the paper. - Humble I use often width=middle and height=middle ;-) and end up with setting up the parameters indvidually. Willi On 4 Dec 2011, at 12:24, Willi Egger wrote: On 3 Dec 2011, at 16:40, Paul Menzel wrote: Dear ConTeXt

[NTG-context] issue with logo and aalt

2011-12-04 Thread Pablo Rodríguez
Hi there, the following minimal sample shows one problem I have when using all small caps (all lowercase and small caps) in titles. \setuppapersize[A4,landscape] \setuppagenumbering[location=] \usemodule[simplefonts][size=200pt] \setmainfont[TeX Gyre Pagella]

Re: [NTG-context] issue with logo and aalt

2011-12-04 Thread Khaled Hosny
On Sun, Dec 04, 2011 at 05:46:03PM +0100, Pablo Rodríguez wrote: \definefontfeature[allcaps][default][aalt=yes] A bit off topic, but aalt stands for access all alternates and just lists all alternates of a given glyph with no semantics at all, and is there for GUI apps that present a glyph

Re: [NTG-context] issue with logo and aalt

2011-12-04 Thread Pablo Rodríguez
On 12/04/2011 07:19 PM, Khaled Hosny wrote: On Sun, Dec 04, 2011 at 05:46:03PM +0100, Pablo Rodríguez wrote: \definefontfeature[allcaps][default][aalt=yes] A bit off topic, but aalt stands for access all alternates Thanks, I knew it, Khaled. aalt is not the best way to do it, but I

Re: [NTG-context] issue with logo and aalt

2011-12-04 Thread Wolfgang Schuster
Am 04.12.2011 um 20:07 schrieb Pablo Rodríguez: On 12/04/2011 07:19 PM, Khaled Hosny wrote: On Sun, Dec 04, 2011 at 05:46:03PM +0100, Pablo Rodríguez wrote: \definefontfeature[allcaps][default][aalt=yes] A bit off topic, but aalt stands for access all alternates Thanks, I knew it,

Re: [NTG-context] Saving module data in tuc file

2011-12-04 Thread Aditya Mahajan
On Sun, 4 Dec 2011, Hans Hagen wrote: On 4-12-2011 01:20, Aditya Mahajan wrote: Hi, How does one save and read third-party data in tuc file at the lua end? I am trying to write a module t-ifchanged that defines a \doiffilechanged macro that provides the functionality of mtxrun --ifchanged

Re: [NTG-context] issue with logo and aalt

2011-12-04 Thread Pablo Rodríguez
On 12/04/2011 08:17 PM, Wolfgang Schuster wrote: [...] \setuphead[chapter][style=\WORD\tfb] \starttext \chapter{This was done with \CONTEXT!} \stoptext Thanks, Wolfgang, it fixed my ignorance. I'm afraid I still have the problem reported before. I have no idea on how the \TeX logo is

Re: [NTG-context] [solved] Parse error when using `\define`

2011-12-04 Thread Paul Menzel
Am Samstag, den 03.12.2011, 20:09 +0100 schrieb Wolfgang Schuster: Am 03.12.2011 um 20:06 schrieb Paul Menzel: could some please try to parse the following minimal example and report back if a parse problem occurs. Please find the protocols attached. \define[1]\abs{\lvert #1

Re: [NTG-context] [solved] Fractions and binomial inlined in text ($n \choose \frac{n}2$): Parentheses not scaled

2011-12-04 Thread Paul Menzel
Am Sonntag, den 04.12.2011, 09:52 +0100 schrieb Wolfgang Schuster: Am 03.12.2011 um 19:56 schrieb Paul Menzel: using the following minimal example \starttext Using \type{\choose} in text $n \choose \frac{n}2$. \startformula n \choose \frac{n}2

Re: [NTG-context] Saving module data in tuc file

2011-12-04 Thread Aditya Mahajan
On Sun, 4 Dec 2011, Aditya Mahajan wrote: \def\executeCommand {\doifmode{*first} {\ctxlua{job.files.run(\!!bs\externalfiter::input_file\!!es, \!!bs\externalfiltercommand\!!es)}}} The solution is to remove the test for the first mode. Needs a bit of

[NTG-context] Interlinespace in layers

2011-12-04 Thread Jan Heinen
Hello, I am struggling with interlinespace and layers. With the help of this mailinglist I managed to use layers and to format the text in the layers. There is only one error I can't get rid of: before and after the first line of my text in a layer there ist a bigger space. In all the other

Re: [NTG-context] Interlinespace in layers

2011-12-04 Thread Jan Heinen
I solved the problem myself: First I used \showstruts to se struts - and only before and after the first line there were struts. Then I added the following argument into the \setlayerframed: strut=no \setlayerframed [Kontaktdaten] [ width=80mm, height=180mm,