[NTG-context] blank lines above accentuated capital letter

2012-10-02 Thread Stéphanie Vilayphiou
Hello, I'm typesetting a French brochure with a typeface created for this project But everytime I have an É (or any diacritic on a capital letter), it creates a blank line above) here's a screenshot of what it produces:

Re: [NTG-context] blank lines above accentuated capital letter

2012-10-02 Thread Wolfgang Schuster
Am 01.10.2012 um 14:34 schrieb Stéphanie Vilayphiou stephanie.vilayph...@gmail.com: Hello, I'm typesetting a French brochure with a typeface created for this project But everytime I have an É (or any diacritic on a capital letter), it creates a blank line above) here's a

[NTG-context] Wrong results for chemical structures and reactions

2012-10-02 Thread Marco Patzer
Hi, chemical structures and reactions produce wrong results. Here is one example from the wiki and two from the manual. \starttext %% does not typeset the reaction, prints the commas, wrong spacing %% and no arrow \startformula \chemical{2H_2,+,O_2,-,2H_2O} \stopformula %% same here, GIVES is

Re: [NTG-context] blank lines above accentuated capital letter

2012-10-02 Thread Alan BRASLAU
On Tue, 2 Oct 2012 09:18:48 +0200 Wolfgang Schuster wolfgang.schus...@gmail.com wrote: Am 01.10.2012 um 14:34 schrieb Stéphanie Vilayphiou stephanie.vilayph...@gmail.com: Hello, I'm typesetting a French brochure with a typeface created for this project But everytime I have an É (or

Re: [NTG-context] Frozen callback.

2012-10-02 Thread Hans Hagen
On 2-10-2012 02:30, Andre Caldas wrote: I am trying to redefine the ’open_read_file’ callback. [...] direct callback access is disabled. There are usually some layers of abstraction on top of them, different ones for different callbacks. Mapping them all is a huge effort, so best refer to the

Re: [NTG-context] Wrong results for chemical structures and reactions

2012-10-02 Thread Alan BRASLAU
On Tue, 2 Oct 2012 09:40:35 +0200 Marco Patzer home...@lavabit.com wrote: Hi, chemical structures and reactions produce wrong results. Here is one example from the wiki and two from the manual. \starttext %% does not typeset the reaction, prints the commas, wrong spacing %% and no

Re: [NTG-context] Wrong results for chemical structures and reactions

2012-10-02 Thread Marco Patzer
2012-10-02 Alan BRASLAU alan.bras...@cea.fr: Hi Alan chemical structures and reactions produce wrong results. Here is one example from the wiki and two from the manual. […] \startchemicalformula not \startformula \startchemicalformula \chemical{2H_2}

Re: [NTG-context] Header-Footer-Layout

2012-10-02 Thread Wolfgang Schuster
Am 23.09.2012 um 16:07 schrieb Arne Runge arne_ru...@gmx.de: Hi, I would like to have a doublesided layout with: - a titlepage with neither header nor footer, - a frontpart with pagesnumbers(left/right) in roman - a bodypart with pagesnumbers(left/right) in arabic - an appendix with

Re: [NTG-context] Wrong results for chemical structures and reactions

2012-10-02 Thread Marco Patzer
2012-10-02 Alan BRASLAU alan.bras...@cea.fr: Try the following: \starttext \startchemicalformula \chemical{2H_2} \chemical{+} \chemical{O_2} \chemical{-} \chemical{2H_2O} \stopchemicalformula \chemical{-} is not rendered correctly. \startchemicalformula \chemical{2H_2}

Re: [NTG-context] Frozen callback.

2012-10-02 Thread Andre Caldas
Hello, Hans! Shall I simply do something like this? [...] this is not the recommended way .. better do somethign like this: [...] function document.MyCharacterMess(str,filename) Loved your function naming! :-) What is this str? if file.nameonly(filename) == ward then

Re: [NTG-context] Frozen callback.

2012-10-02 Thread Andre Caldas
I am trying to redefine the ’open_read_file’ callback. [...] utilities.sequencers.appendaction(textfileactions, system,document.MyCharacterMess) All I want is to get the full path (or path relative to lfs.currentdir()). Is textfileactions the action I should trap? Also, shall I use after or

Re: [NTG-context] Frozen callback.

2012-10-02 Thread Wolfgang Schuster
Am 02.10.2012 um 13:41 schrieb Andre Caldas andre.em.cal...@gmail.com: I am trying to redefine the ’open_read_file’ callback. [...] utilities.sequencers.appendaction(textfileactions, system,document.MyCharacterMess) All I want is to get the full path (or path relative to

Re: [NTG-context] Frozen callback.

2012-10-02 Thread Sietse Brouwer
Hello, Andre! Andre Caldas wrote: function document.MyCharacterMess(str,filename) What is this str? This is a function that takes two variables; the first one it calls 'str', the second one 'filename'. Example: function f(a, b) return a/b end function(8,2) -- 4, not 0.25 I do not know

Re: [NTG-context] Frozen callback.

2012-10-02 Thread Philipp Gesang
···date: 2012-10-02, Tuesday···from: Andre Caldas··· function document.MyCharacterMess(str,filename) What is this str? The raw file content as a Lua string. You can examine the arguments you get like so: ···

Re: [NTG-context] Frozen callback.

2012-10-02 Thread Hans Hagen
On 2-10-2012 13:41, Andre Caldas wrote: I am trying to redefine the ’open_read_file’ callback. [...] utilities.sequencers.appendaction(textfileactions, system,document.MyCharacterMess) All I want is to get the full path (or path relative to lfs.currentdir()). Is textfileactions the action I

Re: [NTG-context] Frozen callback.

2012-10-02 Thread Hans Hagen
On 2-10-2012 14:13, Philipp Gesang wrote: Why is document.MyCharacterMess a string? The sequencers use loadstring() internally (util-seq.lua), so you need to supply the namespace as a string. This happens all over the place with action/callbacks. more flexible this way (one can redefine,

[NTG-context] disable expansion for one single component

2012-10-02 Thread Thomas A. Schmitz
Hi all, for a book I'm typesetting, I use adobe minion and have enabled protrusion=pure,expansion=quality in the typescript and then \setupalign[hanging,hz] in the main environment. Now it turns out that in one of the components/chapters of the book, this messes up the spacing of some

Re: [NTG-context] disable expansion for one single component

2012-10-02 Thread Wolfgang Schuster
Am 02.10.2012 um 15:24 schrieb Thomas A. Schmitz thomas.schm...@uni-bonn.de: Hi all, for a book I'm typesetting, I use adobe minion and have enabled protrusion=pure,expansion=quality in the typescript and then \setupalign[hanging,hz] in the main environment. Now it turns out that in

Re: [NTG-context] disable expansion for one single component

2012-10-02 Thread Thomas A. Schmitz
On 10/02/2012 03:31 PM, Wolfgang Schuster wrote: Put \setupalign[nohz] before and \setupalign[hz] after your chapter. Ah, that's it! Thanks Wolfgang, precise and quick, as always! Thomas ___ If your question is of

[NTG-context] Some align observations

2012-10-02 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I'm just curious: I tried to apply align specification to \b/e-TABLE, inframed, \start/stop-alignment and \start/stop-tabulate: \setupbodyfont[11pt] \starttext \bTABLE \setupTABLE[width=4cm,align=middle] \setupTABLE[column][1][align=left]

Re: [NTG-context] Some align observations

2012-10-02 Thread Aditya Mahajan
On Tue, 2 Oct 2012, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, I'm just curious: I tried to apply align specification to \b/e-TABLE, inframed, \start/stop-alignment and \start/stop-tabulate: \setupbodyfont[11pt] \starttext \bTABLE \setupTABLE[width=4cm,align=middle]

Re: [NTG-context] Some align observations

2012-10-02 Thread Wolfgang Schuster
Am 02.10.2012 um 17:56 schrieb Aditya Mahajan adit...@umich.edu: Wouldn't be nice to unite it? This is for historic reasons, (I think that there is a wiki FAQ on this). The easiest solution is to forget about left and right and use leftflushed and right flushed. The keywords are

Re: [NTG-context] Some align observations

2012-10-02 Thread Aditya Mahajan
On Tue, 2 Oct 2012, Wolfgang Schuster wrote: Am 02.10.2012 um 17:56 schrieb Aditya Mahajan adit...@umich.edu: Wouldn't be nice to unite it? This is for historic reasons, (I think that there is a wiki FAQ on this). The easiest solution is to forget about left and right and use leftflushed

Re: [NTG-context] xits font: some spacing and scaling problems

2012-10-02 Thread Andreas Mang
Hi, yet another one: \setupbodyfont[xits] \starttext $A \setminus B$ \stoptext looks strange to me. Cheers, Andreas Am Sep 27, 2012 um 7:01 PM schrieb Aditya Mahajan: On Thu, 27 Sep 2012, Khaled Hosny wrote: On Thu, Sep 27, 2012 at 04:58:11PM +0200, Andreas Mang wrote: Hi there, Not

[NTG-context] Defining a title font.

2012-10-02 Thread john Culleton
Trying to use an OTF font just for the title page. Ran mkluatexfontdb Used the name as defined in ../otfl-names.lua Here is my actual code: -- \usemodule[simplefonts] \definefont [titlefont][MyriadPro-Bold at 50bp] \startstandardmakeup \titlefont