asciidocfx / AsciidocFX

Asciidoc Editor and Toolchain written with JavaFX 21 (Build PDF, Epub, Mobi and HTML books, documents and slides)
http://www.asciidocfx.com/
Apache License 2.0
1.9k stars 299 forks source link

v1.3.7-RC5: booksample/chapter-08.adoc is not rendered correctly. #126

Closed wfouche closed 9 years ago

wfouche commented 9 years ago

Appears as follows in AsciiDocFX.

image

rahmanusta commented 9 years ago

@wfouche Documentation updated, can you try with @startditaa and @endditaa ?

https://github.com/asciidocfx/AsciidocFX/blob/master/README.asc#ditaa-extension

wfouche commented 9 years ago

@rahmanusta The Java extension created by @joemat is not activated although it has been integrated into the code base. See change https://github.com/asciidocfx/AsciidocFX/commit/1fbb1f089c8a855ec2932614e0cf2dcf50fcda3d

Change https://github.com/asciidocfx/AsciidocFX/blob/master/README.asc#ditaa-extension is not required in this case and should best be reverted and @joemat's extension activated / fixed.

rahmanusta commented 9 years ago

This is my sorry @wfouche . I forgot to add ditaa-block.js script after some changes. I'll release RC5 again with this hotfix.

wfouche commented 9 years ago

@rahmanusta Do you have a pre-release check list for AsciidoxFX? If not, it would be beneficial to create one and then before each release just run through the check list to see that key bits of functionality still work. Here's my attempt at a pre-release Check List:

wfouche commented 9 years ago

@rahmanusta issue resolved in latest build of 1.3.7 RC5. Thanks!

joemat commented 9 years ago

There is a similar problem with the README.asc in the project root folder in the chapter "ditaa Extension" :

The block:

.ditaa Diagram Example
[ditaa,file="images/ditaa-example.png"]
--
@startditaa
    +--------+   +-------+    +-------+
    |        |---+ ditaa +--->|       |
    |  Text  |   +-------+    |diagram|
    |Document|   |!magic!|    |       |
    |     {d}|   |       |    |       |
    +---+----+   +-------+    +-------+
        :                         ^
        |       Lots of work      |
        +-------------------------+
@endditaa
--

should be written without the @startditaa and @endditaa tags:

.ditaa Diagram Example
[ditaa,file="images/ditaa-example.png"]
--
    +--------+   +-------+    +-------+
    |        |---+ ditaa +--->|       |
    |  Text  |   +-------+    |diagram|
    |Document|   |!magic!|    |       |
    |     {d}|   |       |    |       |
    +---+----+   +-------+    +-------+
        :                         ^
        |       Lots of work      |
        +-------------------------+
--
rahmanusta commented 9 years ago

Yes, can you make a pull request for readme ?