[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},
   }
   @FILM{Film2,
  producer = {Lasta, A.},
  director = {Lastc, C.},
  title= {Title2},
  year = {2017},
  publisher= {Publisher},
  address  = {Address},
   }
   \stopbuffer
 \loadbtxdefinitionfile[apa]
 \usebtxdefinitions[apa]
 \usebtxdataset[TestBib.buffer]
 \definebtxrendering   [Pubs][apa]
   \enabletrackers[publications.authorhash]
   \starttext
   \placelistofpublications[Pubs][method=dataset]
   \stoptext

is incorrect. The director of the second film is lost, and the use of a 
bib dash makes it look like Film1 director is associated with Film2. 
There should be two separate entries:


   Lasta, A. (Producer), & Lastb, B. (Director) (2017). /Title1./
   [Motion picture]. Address: Publisher.
   Lasta, A. (Producer), & Lastc, C. (Director) (2017). /Title2./
   [Motion picture]. Address: Publisher.


--
Rik
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

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
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

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 the next one


\starttext



Title.

\blank[none]

\blank[back, -line] %% I’d expect this one to discard the \blank[none]
(as if it was not present)

\startalignment[broad, flushright, hanging]Right.\stopalignment



\stoptext



I’d expect that Title and Right words to be on the same line, but they
are not. Did I misunderstood the meaning of ‘back’ key ?

Thanks a lot for help and time,



Best regards



Joseph Canedo







___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___




--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

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

xml.attribute(e, "../../chapter", "title", "")?


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(


Hans



Thomas
___

If your question is of interest to others as well, please add an entry
to the Wiki!

maillist : ntg-context@ntg.nl /
http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___



--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

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

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

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?

\addff{leftbounds}
Wer War?

Wer\subff{leftbounds} War?
\stopTEXpage
\stoptext

I’m afraid that the OT feature lfbd is applied in all the line.
Otherwise, the second and the third lines would have the same spacing
between words.

Could anyone confirm this or am I missing something?


the fact that it won't work as you expect ... in fact there is some 
experimental code that was never adapted to the new font reader ... i'll 
fix that .. then you can do


\definefontfeature[default][default][protrusion=yes,opbd=yes]

\definefontfamily[mainface][rm][Linux Libertine O]
\setupbodyfont[mainface]

\setupalign[hanging]

\showframe

\starttext
\definedfont[linlibertine_r.otf*default]
\input tufte
\stoptext

as it needs it hook into protrusion (be dealt with in line breaking)

But still it's useless as that font only has left W V - and right v - 
defined so rather minimalistic and incomplete. Probably a left over from 
some experiment.


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

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
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

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:


\startbuffer[test]

  

  
Text
  

  
  

  Text

  

\stopbuffer

\startxmlsetups xml:test:setups
\xmlsetsetup{\xmldocument}{*}{xml:*}
\stopxmlsetups

\xmlregistersetup{xml:test:setups}

\startxmlsetups xml:document
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:chapter
\blank[2*big] CHAPTER: \xmlattribute{#1}{.}{title}\blank
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:section
\blank SECTION: \xmlattribute{#1}{.}{title} \blank\relax
(previous:\xmlattribute{#1}{..[tag()='chapter']}{title})
\blank
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:subsection
\blank SUBSECTION: \xmlattribute{#1}{.}{title} \blank\relax
\blank
(previous:\xmlattribute{#1}{..[tag()='section' or
tag()='chapter']}{title})
\blank
\xmlflush{#1}
\stopxmlsetups

\xmlprocessbuffer{main}{test}{}

\stoptext


___

If your question is of interest to others as well, please add an entry
to the Wiki!

maillist : ntg-context@ntg.nl /
http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___



--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

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

\startxmlsetups xml:test:setups
\xmlsetsetup{\xmldocument}{*}{xml:*}
\stopxmlsetups

\xmlregistersetup{xml:test:setups}

\startxmlsetups xml:document
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:chapter
\blank[2*big] CHAPTER: \xmlattribute{#1}{.}{title}\blank
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:section
\blank SECTION: \xmlattribute{#1}{.}{title} \blank\relax
(previous:\xmlattribute{#1}{..[tag()='chapter']}{title})
\blank
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:subsection
\blank SUBSECTION: \xmlattribute{#1}{.}{title} \blank\relax
\blank
(previous:\xmlattribute{#1}{..[tag()='section' or
tag()='chapter']}{title})
\blank
\xmlflush{#1}
\stopxmlsetups

\xmlprocessbuffer{main}{test}{}

\stoptext


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[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 2: totally unbalanced columns.

Page 3: first line from second column should be moved to first column.

Page 4: I wonder why there is so much spaceinbetween notes (more than a
line, as far as I can tell) and no spacebefore.

For all pages: if setups are exactly the same, why does the first group
of linenotes (dict) have a bigger interlinespace than the second group?

Another question is how I should get columns for \placelist[dict]?

Is the columnn breaking issue a bug or am I missing something?

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

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 results.

Could anyone confirm the bug or tell me what I’m doing wrong?


fixed in next beta


Many thanks for the fix, Hans.


actually one can expect differences because in the case of multiple note
classes spacing is done better when there's nothing (basically we have
better control over the main before and individual befores


Sorry, I don’t get it. Does ConTeXt have better control over the main
before than the individual ones? (I’m only guessing.)


you only want a larger (when set) space before the first flushed set of 
notes but still control spacing between sets of notes ... anyway, if you 
never noticed that problem you probably also won't notice the difference 
so don't worry (this was most noticeable in grids)



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

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 chapters may or may not have sections. If, on the level of my
subscetions, I want to extract the information of the chapter title, in
a ConTeXt environment, I could say
\xmlattribute{#1}{ancestor::chapter}{title}. How could I do the same in
lua? I have something like
xml.attribute(e, "../../chapter", "title", "")
but that only works for the first case, not the second one. I tried to
understand the lpegs in lxml-lpt.lua, but didn't succeed.

Thanks, and best wishes

\starttext

\startbuffer[test]

  

  
Text
  

  
  

  Text

  

\stopbuffer

\startxmlsetups xml:test:setups
\xmlsetsetup{\xmldocument}{*}{xml:*}
\stopxmlsetups

\xmlregistersetup{xml:test:setups}

\startxmlsetups xml:document
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:chapter
\blank[2*big] CHAPTER: \xmlattribute{#1}{.}{title}\blank
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:section
\blank SECTION: \xmlattribute{#1}{.}{title} \blank\relax
(previous:\xmlattribute{#1}{..[tag()='chapter']}{title})
\blank
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:subsection
\blank SUBSECTION: \xmlattribute{#1}{.}{title} \blank\relax
\blank
(previous:\xmlattribute{#1}{..[tag()='section' or 
tag()='chapter']}{title})

\blank
\xmlflush{#1}
\stopxmlsetups

\xmlprocessbuffer{main}{test}{}

\stoptext

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[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)
\startalignment[broad, flushright, hanging]Right.\stopalignment

\stoptext

I’d expect that Title and Right words to be on the same line, but they are not. 
Did I misunderstood the meaning of ‘back’ key ? 
Thanks a lot for help and time,

Best regards

Joseph Canedo


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[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 the level of my 
subscetions, I want to extract the information of the chapter title, in 
a ConTeXt environment, I could say 
\xmlattribute{#1}{ancestor::chapter}{title}. How could I do the same in 
lua? I have something like

xml.attribute(e, "../../chapter", "title", "")
but that only works for the first case, not the second one. I tried to 
understand the lpegs in lxml-lpt.lua, but didn't succeed.


Thanks, and best wishes

Thomas
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

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

Wer\subff{leftbounds} War?
\stopTEXpage
\stoptext

I’m afraid that the OT feature lfbd is applied in all the line.
Otherwise, the second and the third lines would have the same spacing
between words.

Could anyone confirm this or am I missing something?

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

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 bug or tell me what I’m doing wrong?
> 
> fixed in next beta

Many thanks for the fix, Hans.

> actually one can expect differences because in the case of multiple note 
> classes spacing is done better when there's nothing (basically we have 
> better control over the main before and individual befores

Sorry, I don’t get it. Does ConTeXt have better control over the main
before than the individual ones? (I’m only guessing.)

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

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 this point.

But if I use beta from 2017.01.27 14:39 (which comes with luatex-1.0.0
[at least in Linux 32bit]), linenote separation from body is much better
(http://www.ousia.tk/hefes-nospacebefore.pdf).

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 bug or tell me what I’m doing wrong?


fixed in next beta

actually one can expect differences because in the case of multiple note 
classes spacing is done better when there's nothing (basically we have 
better control over the main before and individual befores


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

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 
TeXLive 2016), the result is as expected.

Best regards: OK

> On 25 Feb 2017, at 13:09, 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 this point.
> 
> But if I use beta from 2017.01.27 14:39 (which comes with luatex-1.0.0
> [at least in Linux 32bit]), linenote separation from body is much better
> (http://www.ousia.tk/hefes-nospacebefore.pdf).
> 
> 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 bug or tell me what I’m doing wrong?
> 
> Many thanks for your help,
> 
> Pablo
> -- 
> http://www.ousia.tk
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[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 14:39 (which comes with luatex-1.0.0
[at least in Linux 32bit]), linenote separation from body is much better
(http://www.ousia.tk/hefes-nospacebefore.pdf).

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 bug or tell me what I’m doing wrong?

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___