[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: https://www.dropbox.com/s/l7xuiuesba5lb9e/Capture%20d%E2%80%99

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 : > 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:

[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 wrote: > > Am 01.10.2012 um 14:34 schrieb 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 cr

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 s

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 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 arrow > \start

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

2012-10-02 Thread Marco Patzer
2012-10-02 Alan BRASLAU : 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} > \chemical{PL

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

2012-10-02 Thread Wolfgang Schuster
Am 23.09.2012 um 16:07 schrieb Arne Runge : > 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 pagesnumbers

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

2012-10-02 Thread Marco Patzer
2012-10-02 Alan BRASLAU : > 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} > \chemi

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) == "war

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

Re: [NTG-context] Frozen callback.

2012-10-02 Thread Wolfgang Schuster
Am 02.10.2012 um 13:41 schrieb 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

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 no

Re: [NTG-context] Frozen callback.

2012-10-02 Thread Philipp Gesang
· > > 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: ··· \startluacode document.arg_test = function (s,

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 act

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, n

[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 chara

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 : > 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 > compo

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] \setupTABLE[column][4][align

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] \set

Re: [NTG-context] Some align observations

2012-10-02 Thread Wolfgang Schuster
Am 02.10.2012 um 17:56 schrieb Aditya Mahajan : >> 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 flushleft and flush

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 : 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

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,

[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 \centerline{Scribus

[NTG-context] Split \starttabulates

2012-10-02 Thread Malte Stien
Dear all, I have a number of tables defined like this: \placetable[here][tab:some-table]{Some Table} \starttabulate[|w(.30\textwidth)p|w(.70\textwidth)p|] \HL \NC {\bf Animal} \NC {\bf Comment} \NC\FR \HL \NC Cat\NC Pretty cool \NC\MR \NC Bear \NC Kind of lazy

[NTG-context] Problem with new version

2012-10-02 Thread pavel
Hello, yesterday I upgraded my debian and I found out that my previsously prepared publication cannot be compiled with the new version of ConTeXt. The publication looks like: * main file "ausgewaehlte.tex" \startproject ausgewaehlte \environment ausgewaehlte_environme