Re: [NTG-context] Ctx & XML

2014-12-10 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, On Thu, 11 Dec 2014 02:24:24 +0100, Hans Hagen wrote: On 12/10/2014 11:08 PM, Lukáš Procházka wrote: I assume that you also want the content of elements, not just the attributes. Yes... Or how to achieve this in a best way under Ctx: XML file -> Lua table/tree? It all depends on

Re: [NTG-context] Ctx & XML

2014-12-10 Thread Hans Hagen
On 12/10/2014 11:08 PM, Lukáš Procházka wrote: Hello, I'm having problem using LuaXml library with Ctx, both using Lua ver. 5.2. LuaXml works fine with Lua standalone programs/scripts; but something weird occurs when used from within Ctx (e.g. a .xml file can be read successfully from standalon

[NTG-context] Ctx & XML

2014-12-10 Thread Lukáš Procházka
Hello, I'm having problem using LuaXml library with Ctx, both using Lua ver. 5.2. LuaXml works fine with Lua standalone programs/scripts; but something weird occurs when used from within Ctx (e.g. a .xml file can be read successfully from standalone Lua with LuaXml lib; but the same code doesn'

Re: [NTG-context] two issues with new hyphenator

2014-12-10 Thread Hans Hagen
On 12/10/2014 8:15 PM, Pablo Rodriguez wrote: On 12/09/2014 12:07 AM, Hans Hagen wrote: On 12/8/2014 5:47 PM, Pablo Rodriguez wrote: [..] And sorry for asking this again, but I need underscore hyphenation with the underscore character from the font and only for the \tex and \hyphenatedurl comma

Re: [NTG-context] underscore hyphenation

2014-12-10 Thread Hans Hagen
On 12/10/2014 9:03 PM, Pablo Rodriguez wrote: Hans, the sample below hyphenates right what comes before \TexC in the paragraph. Also the contents of \TexC are hyphenated right. But hyphen is removed from standard text after the last \TexC command in the paragraph. I have just accidentally disc

[NTG-context] underscore hyphenation

2014-12-10 Thread Pablo Rodriguez
Hans, the sample below hyphenates right what comes before \TexC in the paragraph. Also the contents of \TexC are hyphenated right. But hyphen is removed from standard text after the last \TexC command in the paragraph. I have just accidentally discovered it. Many thanks for your help, Pablo

Re: [NTG-context] bug in latest beta?

2014-12-10 Thread Pablo Rodriguez
On 12/10/2014 08:14 PM, Hans Hagen wrote: > On 12/10/2014 7:51 PM, Pablo Rodriguez wrote: >> Hans, >> >> after updating to latest beta I get an error when compiling the sample >> bellow with beta from 2014.12.09 13:03: >> >> \setupitaliccorrection[global,always] >> \definefontfamily[mainfac

Re: [NTG-context] issue with t-scancsv.lua

2014-12-10 Thread Pablo Rodriguez
On 12/09/2014 12:45 AM, Jaroslav Hajtmar wrote: > Hi Pablo. > I am glad that my library for you to use ... > I noticed that you have in your CSV file header with column names (ie. > head of CSV document). I do not know if you noticed the option put this > information into scancsv.lua library. Thi

Re: [NTG-context] Problems with repeating layers

2014-12-10 Thread Pablo Rodriguez
On 12/09/2014 04:08 PM, Reza Housseini wrote: > > Thanks Pablo > > I already used this solution. For me it looks like a bug that the > "state" argument does not change anything because the manual clearly > states the expected behaviour of "state". > But anyhow I'll use the other solution. Hi Rez

Re: [NTG-context] two issues with new hyphenator

2014-12-10 Thread Pablo Rodriguez
On 12/09/2014 12:07 AM, Hans Hagen wrote: > On 12/8/2014 5:47 PM, Pablo Rodriguez wrote: >> [..] >> And sorry for asking this again, but I need underscore hyphenation with >> the underscore character from the font and only for the \tex and >> \hyphenatedurl commands (not for the rest of the text).

Re: [NTG-context] bug in latest beta?

2014-12-10 Thread Hans Hagen
On 12/10/2014 7:51 PM, Pablo Rodriguez wrote: Hans, after updating to latest beta I get an error when compiling the sample bellow with beta from 2014.12.09 13:03: \setupitaliccorrection[global,always] \definefontfamily[mainface][serif][TeX Gyre Pagella] \setupbodyfont[mainface,15pt]

Re: [NTG-context] two questions on the new simplefonts interface

2014-12-10 Thread Pablo Rodriguez
On 12/08/2014 09:43 PM, Wolfgang Schuster wrote: >> Am 08.12.2014 um 13:26 schrieb Pablo Rodriguez: >> >> Dear list, >> >> which are the replacements for \definesimplefont and >> \definesimplefonttypeface in the new simplefonts interface? >> >> I need the size option for \definesimplefont and the s

[NTG-context] bug in latest beta?

2014-12-10 Thread Pablo Rodriguez
Hans, after updating to latest beta I get an error when compiling the sample bellow with beta from 2014.12.09 13:03: \setupitaliccorrection[global,always] \definefontfamily[mainface][serif][TeX Gyre Pagella] \setupbodyfont[mainface,15pt] \def\ConTeXt{Con\-\TeX{}t} \starttext \

Re: [NTG-context] pagefigure & cow

2014-12-10 Thread Peter Münster
On Wed, Dec 10 2014, Procházka Lukáš Ing. - Pontex s. r. o. wrote: > the following code doesn't find "cow" image with the latest beta; what am I > doing wrong? > > local C = context C.setupexternalfigure{location = "default"} -- Peter

[NTG-context] pagefigure & cow

2014-12-10 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, the following code doesn't find "cow" image with the latest beta; what am I doing wrong? local C = context C.starttext() C("a") C.pagefigure{"cow"} C.stoptext() Best regards, Lukas -- Ing. Lukáš Procházka | mailto:l...@pontex.cz Pontex s. r. o. | mailto:pon...@pon