home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.apps
- Path: sparky!uunet!mcsun!sunic!ugle.unit.no!DAHLS@FHYDRA.FYSEL.UNIT.NO
- From: dahls@fhydra.dnet.unit.no (Joern Yngve Dahl-Stamnes)
- Subject: Bug in W4W 2.0?
- Message-ID: <00963CD6.FD249760@FHYDRA.FYSEL.UNIT.NO>
- Sender: news@ugle.unit.no (NetNews Administrator)
- Reply-To: dahls@fhydra.dnet.unit.no (Joern Yngve Dahl-Stamnes)
- Organization: University of Trondheim, NORWAY
- Date: Wed, 18 Nov 92 14:34:17 EST
- Lines: 66
-
- Hello.
-
- I've just found a bug in the Norwegian version of W4W version 2.0 (all
- menues, field coded etc. are in Norwegians). The bug is related to
- bookmarks and reference (both reference and page reference). What I
- got is something like this:
-
- --------------------- beginning of example:
- {autonumlev}Some title
-
- some text, see {ref FOOBAR}.
- some more text.
- .
- .
- .
- {autonumlev}Another title
- ^^^^^^^^^^^^ Selecting this and insert an bookmark called FOOBAR
- --------------------- end of example
-
- Everything work fine until I repaginate it and preview the document
- before printing it out. Since the "Another title" is placed at the
- bottom of a page while the text following it is on the next page, I
- therefor moved the page brake under the title up above the title. This
- cause a hard page break to be inserted just before the {autonumlev}
- field code.
-
- But then things begin to mess up. The page break is "copied" to all
- references of the type {ref FOOBAR} in the document, causing unwanted
- page breaks elsewhere in the document.
-
- Also, if I use the {pageref FOOBAR} field code, the page number is
- incorrect. The page number show in the document is the page before the
- bookmark (page number - 1).
-
- It seems like the page break is inserted into area which the FOOBAR
- bookmark cover.
-
- My question is: Is this bug fixed in the 2.0b version (or does it only
- exist in the Norwegian version of W4W). Is there any workarounds exept
- the one I have found?
-
- I found one workaround which my help - inserting a soft hyphen (since
- it will not have any meaning, it will not be shown on the output) just
- before the {autonumlev} field code like this:
-
- --------------------- beginning of example:
- {autonumlev}Some title
-
- some text, see {ref FOOBAR}.
- some more text.
- .
- .
- .
- [soft hyphen]{autonumlev}Another title
- ^^^^^^^^^^^^ Selecting this and insert an bookmark called FOOBAR
- --------------------- end of example.
-
- Thanks in advance.
-
- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--+-+-+-+-+-+-+-+
- * I went back to my mother, * Joern Yngve Dahl-Stamnes *
- * I said, "I'm crazy ma, help me!" * University of Trondheim *
- * She said, "I know how it feels son, * The Norwegian Institute of Tech. *
- * 'cause it runs in the family." * Division of Physical Electronics *
- * - The Who, Quadrophenia * e-mail: dahl-stamnes@delab.sintef.no *
- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--+-+-+-+-+-+-+-+
-