Anonymous | Login | Signup for a new account | 2019-02-18 19:08 PST | ![]() |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||
ID | Project | Category | View Status | Date Submitted | Last Update | |
0000258 | Core Inform | Releasing, bibliographic data, cBlorb | public | 2010-08-20 16:01 | 2010-10-28 00:30 | |
Reporter | dchapes | |||||
Assigned To | graham | |||||
Priority | normal | Severity | cosmetic | Reproducibility | always | |
Status | closed | Resolution | fixed | |||
Platform | x86 | OS | Windows | OS Version | XP | |
Product Version | 6E72 | |||||
Target Version | Fixed in Version | 6F95 | ||||
Summary | 0000258: Released web source had duplicated index when a footnote occurs in the prefatory lines (with solution) | |||||
Description | If the prefatory lines (before the first heading) include a footnote comment then the first page of the website source contains a duplicate copy of the index in the footnote section. | |||||
Minimal Source Text To Reproduce | "Website Source Index Test" Release along with a website and source text.[*Footnote] Bedroom is a room. Chapter 1 Kitchen is a room.[*note 2] Chapter 2 Foyer is a room. | |||||
Additional Information | If for some reason this doesn't reproduce the problem for you or you don't know what I'm talking about; I've made the Release folder the above example produced accessible and you can view the problem index at: http://www.sentex.ca/~dchapes/I7/test/source.html [^] On a related note, the first page is labeled "1 of 2", as is the second page. The third page is labeled "2 of 2" (i.e. the first page with the index isn't being counted but yet numbers itself). | |||||
Tags | No tags attached. | |||||
Effect | (cosmetic) Index is created incorrectly | |||||
Attached Files | ![]() | |||||
![]() |
||||||
|
![]() |
|
(0000409) dchapes (reporter) 2010-08-21 03:04 |
For what it's worth, a one line changes seems to fix this for me. In cBlorb, at 3/web - Website Maker ยง36, in the <Filter out lines for the preface> section of the write_source_line() function; I put a condition to the call to typeset_contents_listing() like so: if (!SOURCENOTES_mode) typeset_contents_listing(TRUE); |
(0000424) EmacsUser (manager) 2010-08-24 12:17 |
Confirmed, though I haven't tried the patch in 0000258:0000409. |
(0000431) dchapes (reporter) 2010-08-25 03:35 edited on: 2010-08-25 03:40 |
I discovered and fixed several other bugs in cBlorb; rather than submit several small issues I'll just append to this issue. I don't know how to edit the source to reproduce field above or add an attachment file to mantis issues... this modified source demonstrates all the bugs and fixes. This source is also available at http://www.sentex.ca/~dchapes/I7/cBlorb-fixed/source.txt [^] "cBlorb Test" Release along with a website and source text.[*Standard Footnote] Bedroom is a room. [Comment with mismatched " is okay in the IDE but messes up cBlorb; note that it stops finding heading levels below this point and puts the rest of the source on this page.] Chapter 1 Kitchen is a room.[*note 2] Chapter 2 Foyer is a room.[*cBlorb gets confused by [nested comments] in footnote.] A book is here. A website generated with the built-in cBlorb is available at: http://www.sentex.ca/~dchapes/I7/cBlorb-fail/ [^] This can be compared to the results after my changes: http://www.sentex.ca/~dchapes/I7/cBlorb-fixed/ [^] A patch file for the *.w inweb source is at: http://www.sentex.ca/~dchapes/I7/patches/cBlorb-inweb-patch.txt [^] Note, I don't have tangle so that was generated by hand from the the following cBlorb.c patch: http://www.sentex.ca/~dchapes/I7/patches/cBlorb.c-patch.txt [^] The problems addressed are as follows:
|
(0000440) jmcgrew (administrator) 2010-08-26 12:03 |
I've attached the patch to this issue. (Only bug staff can do that - if you have an attachment to upload in the future, email bugs@inform7.com with the file and the issue number.) |
(0000486) graham (administrator) 2010-09-02 02:24 |
Many thanks to Dave Chapeskie for unpicking these little knots. I've adopted all of the patch except for the kB versus KB amendment: I think conventional usage is a large K, and SI be damned. (I cite, for instance, the Mac OS X Finder as evidence.) The back links from note to note-cue are a nice touch, even if they're not properly speaking a bug fix, and I've included them. |
![]() |
|||
Date Modified | Username | Field | Change |
2010-08-20 16:01 | dchapes | New Issue | |
2010-08-21 03:04 | dchapes | Note Added: 0000409 | |
2010-08-23 15:29 | jmcgrew | Status | new => acknowledged |
2010-08-24 12:17 | EmacsUser | Note Added: 0000424 | |
2010-08-24 12:17 | EmacsUser | Status | acknowledged => confirmed |
2010-08-25 03:35 | dchapes | Note Added: 0000431 | |
2010-08-25 03:40 | dchapes | Note Edited: 0000431 | View Revisions |
2010-08-25 08:23 | curiousdannii | Relationship added | related to 0000100 |
2010-08-26 12:01 | jmcgrew | File Added: cBlorb-inweb-patch.txt | |
2010-08-26 12:03 | jmcgrew | Note Added: 0000440 | |
2010-08-26 12:04 | jmcgrew | Priority | low => normal |
2010-08-26 12:04 | jmcgrew | Summary | Released web source had duplicated index when a footnote occurs in the prefatory lines => Released web source had duplicated index when a footnote occurs in the prefatory lines (with solution) |
2010-09-02 02:24 | graham | Note Added: 0000486 | |
2010-09-02 02:24 | graham | Status | confirmed => resolved |
2010-09-02 02:24 | graham | Resolution | open => fixed |
2010-09-02 02:24 | graham | Assigned To | => graham |
2010-10-25 21:14 | jmcgrew | Fixed in Version | => 6F95 |
2010-10-28 00:30 | jmcgrew | Status | resolved => closed |
Copyright © 2000 - 2010 MantisBT Group |