The following example fails with recent betas, but not with TL18: \setupinteraction [state=start] \setuptagging [state=start] \setupbackend [export=yes,xhtml=yes] \setupexport [title={Title}] \setupstructure [state=start] \starttext \startchapter[title={Chapter title}] \startparagraph Chapter introduction. \stopparagraph \startsection[title={Section 1 title}] \startparagraph Section one text. \stopparagraph \stopsection \startsection[title={Section 2 title}] \startparagraph Section two text. \stopparagraph \stopsection \startsection[title={Section 3 title}] \startparagraph Section three text. \stopparagraph \stopsection \startsection[title={Section 4 title}] \startparagraph Section four text. \stopparagraph \stopsection \startsection[title={Section 5 title}] \startparagraph Section five text. \stopparagraph \stopsection \startsection[title={Section 6 title}] \startparagraph Section six text. \stopparagraph \stopsection \startsection[title={Section 7 title}] \startparagraph Aaaa aaaaa aa aaaaaaa (aa aaaaaa) aaaaaaaa, aaa aa aaa aaaa aaaa aaaa aaaa aaa aaaaaaaaaa aa aaaaaaaa aaaa aaaa aa aa aaa aaaaaaaa. Aa aaaa aaaaaaaaaaa aaaaa, aaaa aaaaa aaaaaaaaaaaaaa aa aaaaaaaaa, aa aaaaa, aa aaaaaa aaa aaaa-aaaaaa. aaa’a aaaa aa aaaa aaa aa—aaaaa aaaaaa aaaa, aa aaa aaaaa. Aaaa aaaaa aa aaaaaaa aaaaaaaa, aaa aa aaa aaaa aaaa aaaa aaaa aaa aaaaaaaaaa aa aaaaaaaa aaaa aaaa aa aa aaa aaaaaaaa. Aaaa aaaaa aa aaaaaaa aaaaaaaa, aaa aa aaa aaaa aaaa aaaa aaaa aaa aaaaaaaaaa aa aaaaaaaa aaaa aaaa aa aa aaa aaaaaaaa. \stopparagraph \stopsection \startsection[title={Section 8 title}] \startparagraph Aaaa aaaaa aa aaaaaaa (aa aaaaaa) aaaaaaaa, aaa aa aaa aaaa aaaa aaaa aaaa aaa aaaaaaaaaa aa aaaaaaaa aaaa aaaa aa aa aaa aaaaaaaa. Aa aaaa aaaaaaaaaaa aaaaa, aaaa aaaaa aaaaaaaaaaaaaa aa aaaaaaaaa, aa aaaaa, aa aaaaaa aaa aaaa-aaaaaa. aaa’a aaaa aa aaaa aaa aa—aaaaa aaaaaa aaaa, aa aaa aaaaa aaaaaaaaaa aaaaaaa. \stopparagraph \stopsection \stopchapter \stoptext -- Rik
On 7/4/2018 3:17 PM, Rik Kabel wrote:
The following example fails with recent betas, but not with TL18: define fails
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
On 7/5/2018 10:27, Hans Hagen wrote:
On 7/4/2018 3:17 PM, Rik Kabel wrote:
The following example fails with recent betas, but not with TL18: define fails
Sorry to be so terse in the original note. By failure, I mean that the generated .epub document is incorrect; parts are out of order, as: (When one section is removed, the disorder is gone, so a smaller test file will not exhibit this problem.) In a larger document, endnotes are scrambled as well, with two index marks for some and none for others. The generated .pdf (which is a throw-away when trying to produce epub) does not show the same problems. The .epub file is attached. -- RIk
On 7/5/2018 4:47 PM, Rik Kabel wrote:
On 7/5/2018 10:27, Hans Hagen wrote:
On 7/4/2018 3:17 PM, Rik Kabel wrote:
The following example fails with recent betas, but not with TL18: define fails
Sorry to be so terse in the original note. By failure, I mean that the generated .epub document is incorrect; parts are out of order, as: new beta
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
On 7/5/2018 17:18, Hans Hagen wrote:
On 7/5/2018 4:47 PM, Rik Kabel wrote:
On 7/5/2018 10:27, Hans Hagen wrote:
On 7/4/2018 3:17 PM, Rik Kabel wrote:
The following example fails with recent betas, but not with TL18: define fails
Sorry to be so terse in the original note. By failure, I mean that the generated .epub document is incorrect; parts are out of order, as: new beta
Thank you, Hans, for the quick repair. I understand that ePub is not a priority (https://www.mail-archive.com/ntg-context@ntg.nl/msg87829.html) but I would like to make a request to put into the queue. Currently references (via \reference or \definelabel[xyz] ... \xyz, perhaps other mechanisms as well) do not generate ID attributes where they are created, and so references to them (which do generate href=#...) link to nothing. Even creating an empty div with an appropriate class (labelname, enumerationname, reference?) and the id attribute would help. Currently there is no placeholder in the html file to locate the proper place to insert this information with an external filter. Of course, once that is done, there are lots more. So it goes. -- Rik
On 7/6/2018 12:45 AM, Rik Kabel wrote:
On 7/5/2018 17:18, Hans Hagen wrote:
On 7/5/2018 4:47 PM, Rik Kabel wrote:
On 7/5/2018 10:27, Hans Hagen wrote:
On 7/4/2018 3:17 PM, Rik Kabel wrote:
The following example fails with recent betas, but not with TL18: define fails
Sorry to be so terse in the original note. By failure, I mean that the generated .epub document is incorrect; parts are out of order, as: new beta
Thank you, Hans, for the quick repair.
I understand that ePub is not a priority (https://www.mail-archive.com/ntg-context@ntg.nl/msg87829.html) but I would like to make a request to put into the queue. Currently references (via \reference or \definelabel[xyz] ... \xyz, perhaps other mechanisms as well) do not generate ID attributes where they are created, and so references to them (which do generate href=#...) link to nothing. Even creating an empty div with an appropriate class (labelname, enumerationname, reference?) and the id attribute would help. Currently there is no placeholder in the html file to locate the proper place to insert this information with an external filter.
i can add something for a reference (the problem with such things is that there is no real anchor for it and i don't want such features to (1) interfere with regular typesetting and (2) have even the least impact on performance of regular runs
Of course, once that is done, there are lots more. So it goes. hm, lots sounds bad ...
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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Rik Kabel