[NTG-context] btx problem with FILM

2017-02-25 Thread Rik Kabel
One more btx issue. The output from the following \startbuffer[TestBib] @FILM{Film1, producer = {Lasta, A.}, director = {Lastb, B.}, title= {Title1}, year = {2017}, publisher= {Publisher}, address = {Address}, }

Re: [NTG-context] xml in lua: how to say "ancestor"?

2017-02-25 Thread Thomas A. Schmitz
On 02/25/2017 09:49 PM, Hans Hagen wrote: xml.attribute(e,"..[tag()='section' or tag()='chapter']","title") with an optional default (there is also p = xml.parent(e) and then you can access p.at.title .. so there are several ways( Excellent, I can work with that! Thanks a lot Thomas

Re: [NTG-context] Question on "back" key in \blank

2017-02-25 Thread Hans Hagen
On 2/25/2017 7:04 PM, josephcan...@gmail.com wrote: Dear list, Sorry if question is trivial but I’d like to use « back » key in \blank to discard a \blank just before. The following MWE illustrates : it goes back when there's something to go back there is also \blank[disable] to disable

Re: [NTG-context] xml in lua: how to say "ancestor"?

2017-02-25 Thread Hans Hagen
On 2/25/2017 9:35 PM, Thomas A. Schmitz wrote: On 02/25/2017 09:10 PM, Hans Hagen wrote: then you can just use xml.attribute (or lxml.attribute) Yes, exactly: how does something like \xmlattribute{#1}{..[tag()='section' or tag()='chapter']}{title} translate into lua? such as

Re: [NTG-context] issue with OT feature lfbd

2017-02-25 Thread Hans Hagen
On 2/25/2017 5:14 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \showframe \definefontfeature[leftbounds][lfbd=yes] btw, that feature is not supposed to be set in otf rendering but is always indirect Hans

Re: [NTG-context] issue with OT feature lfbd

2017-02-25 Thread Hans Hagen
On 2/25/2017 5:14 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \showframe \definefontfeature[leftbounds][lfbd=yes] \definefontfamily[mainface][rm][Linux Libertine O] \setupbodyfont[mainface, 150pt] \starttext \startTEXpage[offset=1ex] Wer War?

Re: [NTG-context] xml in lua: how to say "ancestor"?

2017-02-25 Thread Thomas A. Schmitz
On 02/25/2017 09:10 PM, Hans Hagen wrote: then you can just use xml.attribute (or lxml.attribute) Yes, exactly: how does something like \xmlattribute{#1}{..[tag()='section' or tag()='chapter']}{title} translate into lua? such as xml.attribute(e, "../../chapter", "title", "")? Thomas

Re: [NTG-context] xml in lua: how to say "ancestor"?

2017-02-25 Thread Hans Hagen
On 2/25/2017 8:24 PM, Thomas A. Schmitz wrote: Hans, thanks for your efforts and your help - but I need a lua solution because I have to process my document in lua tables. then you can just use xml.attribute (or lxml.attribute) Thanks Thomas On 02/25/2017 07:30 PM, Hans Hagen wrote:

Re: [NTG-context] xml in lua: how to say "ancestor"?

2017-02-25 Thread Thomas A. Schmitz
Hans, thanks for your efforts and your help - but I need a lua solution because I have to process my document in lua tables. Thanks Thomas On 02/25/2017 07:30 PM, Hans Hagen wrote: \startbuffer[test] Text Text \stopbuffer

[NTG-context] issue with linenotes and columns

2017-02-25 Thread Pablo Rodriguez
Dear list, I have the following sample: http://www.ousia.tk/hippocratic-oath.tex After the fix from last beta, I’m afraid I’m still experiencing wrong column breaks, as displayed in http://www.ousia.tk/hippocratic-oath.pdf. Page 1: last line from first column should move to second column. Page

Re: [NTG-context] issue with linenotes and luatex-1.0.3

2017-02-25 Thread Hans Hagen
On 2/25/2017 4:56 PM, Pablo Rodriguez wrote: On 02/25/2017 04:19 PM, Hans Hagen wrote: On 2/25/2017 1:09 PM, Pablo Rodriguez wrote: [...] The spacebefore option from \setupnotes was intended to improve the situation. No matter whether \setupnotes is used or not, luatex-1.0.3 gets wrong

Re: [NTG-context] xml in lua: how to say "ancestor"?

2017-02-25 Thread Hans Hagen
On 2/25/2017 5:18 PM, Thomas A. Schmitz wrote: Hi all, no real example, just snippets, sorry: I need to process xml documents in lua (because I want to collect information in tables). The structure is a bit irregular: Text Text So

[NTG-context] Question on "back" key in \blank

2017-02-25 Thread josephcanedo
Dear list, Sorry if question is trivial but I’d like to use « back » key in \blank to discard a \blank just before. The following MWE illustrates : \starttext Title. \blank[none] \blank[back, -line] %% I’d expect this one to discard the \blank[none] (as if it was not present)

[NTG-context] xml in lua: how to say "ancestor"?

2017-02-25 Thread Thomas A. Schmitz
Hi all, no real example, just snippets, sorry: I need to process xml documents in lua (because I want to collect information in tables). The structure is a bit irregular: Text Text So chapters may or may not have sections. If, on

[NTG-context] issue with OT feature lfbd

2017-02-25 Thread Pablo Rodriguez
Dear list, I have the following sample: \showframe \definefontfeature[leftbounds][lfbd=yes] \definefontfamily[mainface][rm][Linux Libertine O] \setupbodyfont[mainface, 150pt] \starttext \startTEXpage[offset=1ex] Wer War? \addff{leftbounds} Wer War?

Re: [NTG-context] issue with linenotes and luatex-1.0.3

2017-02-25 Thread Pablo Rodriguez
On 02/25/2017 04:19 PM, Hans Hagen wrote: > On 2/25/2017 1:09 PM, Pablo Rodriguez wrote: >> [...] >> The spacebefore option from \setupnotes was intended to improve the >> situation. No matter whether \setupnotes is used or not, luatex-1.0.3 >> gets wrong results. >> >> Could anyone confirm the

Re: [NTG-context] issue with linenotes and luatex-1.0.3

2017-02-25 Thread Hans Hagen
On 2/25/2017 1:09 PM, Pablo Rodriguez wrote: Dear list, I have a text with two kinds of linenotes (http://www.ousia.tk/hefes.tex). If I compile with latest beta (2017.02.23 18:37), I get wrong separation from body in many pages (http://www.ousia.tk/hefes.pdf). Only page 5 might be be right in

Re: [NTG-context] issue with linenotes and luatex-1.0.3

2017-02-25 Thread Otared Kavian
Dear Pablo, For your information, I tested your file hefes.tex, and the only pages without the issue are pages 3 and 5, with LuaTeX, Version 1.0.3 and ConTeXt version 2017.02.23 18:37 (I am running MacOS 10.12). However with LuaTeX, Version 0.95.0 and ConTeXt version 2016.05.17 19:20 (from

[NTG-context] issue with linenotes and luatex-1.0.3

2017-02-25 Thread Pablo Rodriguez
Dear list, I have a text with two kinds of linenotes (http://www.ousia.tk/hefes.tex). If I compile with latest beta (2017.02.23 18:37), I get wrong separation from body in many pages (http://www.ousia.tk/hefes.pdf). Only page 5 might be be right in this point. But if I use beta from 2017.01.27