#1109 callout on line ending

open
nobody
5
2010-06-03
2010-06-03
No

...
I infer that this change fixed the problem of the last callout not appearing. From that I would also infer that the Java extension code that places the callouts based on the areaspec is counting line ending characters to place a callout. That works for all lines except the last if it has no line ending. Since a line ending is not required in the last line of a screenco, I would classify that as a bug in the Java code. Would you mind filing a bug report on the DocBook SourceForge site about this?
...

Discussion

  • Mathieu Malaterre

    Input docbook

     
  • Mathieu Malaterre

    Missing callout on line ending

     
  • Mauritz Jeanson

    Mauritz Jeanson - 2010-07-20

    You are right (it is also a problem with the Xalan extension). A callout placed on the last line of a verbatim environment will not be rendered. There must be a line break after the last callout. In the example, there are 14 lines in the <screen> element, but the line count in the extension source code stops at 13, because that's the number of line breaks ('\n'). I have tinkered a bit with the code, but I have no solution at this time.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks