home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / mswindo / apps / 5029 < prev    next >
Encoding:
Text File  |  1992-11-18  |  2.9 KB  |  78 lines

  1. Newsgroups: comp.os.ms-windows.apps
  2. Path: sparky!uunet!mcsun!sunic!ugle.unit.no!DAHLS@FHYDRA.FYSEL.UNIT.NO
  3. From: dahls@fhydra.dnet.unit.no (Joern Yngve Dahl-Stamnes)
  4. Subject: Bug in W4W 2.0?
  5. Message-ID: <00963CD6.FD249760@FHYDRA.FYSEL.UNIT.NO>
  6. Sender: news@ugle.unit.no (NetNews Administrator)
  7. Reply-To: dahls@fhydra.dnet.unit.no (Joern Yngve Dahl-Stamnes)
  8. Organization: University of Trondheim, NORWAY
  9. Date: Wed, 18 Nov 92 14:34:17 EST
  10. Lines: 66
  11.  
  12. Hello.
  13.  
  14. I've just found a bug in the Norwegian version of W4W version 2.0 (all
  15. menues, field coded etc. are in Norwegians). The bug is related to
  16. bookmarks and reference (both reference and page reference). What I
  17. got is something like this:
  18.  
  19. --------------------- beginning of example:
  20. {autonumlev}Some title
  21.  
  22. some text, see {ref FOOBAR}.
  23. some more text.
  24. .
  25. .
  26. .
  27. {autonumlev}Another title
  28. ^^^^^^^^^^^^ Selecting this and insert an bookmark called FOOBAR
  29. --------------------- end of example
  30.  
  31. Everything work fine until I repaginate it and preview the document
  32. before printing it out. Since the "Another title" is placed at the
  33. bottom of a page while the text following it is on the next page, I
  34. therefor moved the page brake under the title up above the title. This
  35. cause a hard page break to be inserted just before the {autonumlev}
  36. field code.
  37.  
  38. But then things begin to mess up. The page break is "copied" to all
  39. references of the type {ref FOOBAR} in the document, causing unwanted
  40. page breaks elsewhere in the document.
  41.  
  42. Also, if I use the {pageref FOOBAR} field code, the page number is
  43. incorrect. The page number show in the document is the page before the
  44. bookmark (page number - 1).
  45.  
  46. It seems like the page break is inserted into area which the FOOBAR
  47. bookmark cover.
  48.  
  49. My question is: Is this bug fixed in the 2.0b version (or does it only
  50. exist in the Norwegian version of W4W). Is there any workarounds exept
  51. the one I have found?
  52.  
  53. I found one workaround which my help - inserting a soft hyphen (since
  54. it will not have any meaning, it will not be shown on the output) just
  55. before the {autonumlev} field code like this:
  56.  
  57. --------------------- beginning of example:
  58. {autonumlev}Some title
  59.  
  60. some text, see {ref FOOBAR}.
  61. some more text.
  62. .
  63. .
  64. .
  65. [soft hyphen]{autonumlev}Another title
  66.              ^^^^^^^^^^^^ Selecting this and insert an bookmark called FOOBAR
  67. --------------------- end of example.
  68.  
  69. Thanks in advance.
  70.  
  71. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--+-+-+-+-+-+-+-+
  72. * I went back to my mother,           * Joern Yngve Dahl-Stamnes             *
  73. * I said, "I'm crazy ma, help me!"    * University of Trondheim              *
  74. * She said, "I know how it feels son, * The Norwegian Institute of Tech.     *
  75. * 'cause it runs in the family."      * Division of Physical Electronics     *
  76. *       - The Who, Quadrophenia       * e-mail: dahl-stamnes@delab.sintef.no *
  77. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--+-+-+-+-+-+-+-+
  78.