almost 1 ½ years after DAPS 2.4 it is time for a new major release: DAPS 3.0.
With this release we are proud to announce a significant addition to the DAPS feature set: AsciiDoc support. In addition to creating your documens from DocBook, you can now also create them from AsciiDoc sources. And it does not stop here: you will be able to use your existing DocBook stylesheets with your AsciiDoc sources!
I'm guessing I'm missing a build dependency or something? I'm running Linux Mint 19.1, based on Ubuntu 18.04. Also, how do I enable docbook 5.1 support - whatever I do it doesn't seem to enable it?
Thanks,
Hamish
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Do you have asciidoctor or asciidoc as a build requirement? Looks like it builds the asciidoc documentation and fails to generate valid XML. I assume that this is caused by asciidoc. Can you try asciidoctor instead and see if it works?
If not, try to remove asciidoc/asciidoctor from the build dependencies. In that case the asciidoc document will not be built and the error should go away (the resulting DAPS will, nevertheless support ASCIIDoc).
Looks like I should work on https://github.com/openSUSE/daps/issues/486
What do you mean with docbook 5.1 support is not enabled? Does configure report this during build or are you not able to process DocBook 5.1 documents with a compiled DAPS?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for quick reply. I have asciidoctor installed, but not asciidoc. It works now I've removed it - thanks :)
Yeah, when I run the configure script, I get this:
DocBook 5.1 support | no | install DocBook 5.1, the
| | DocBook 5 XSL stylesheets,
| | and jing
jing is installed, so I'm assuming one of the others isn't, or it's not being detected that they are. I don't know how to install them though. It's always said this, so not new, but I have a different issue that I think might be related to this, so I want to fix it now.
Last edit: Hamish McIntyre-Bhatty 2019-01-17
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm running Linux Mint 19.1, based on Ubuntu 18.04. Also, how do I enable docbook 5.1 support - whatever I do it doesn't seem to enable it?
I'm not very familiar with Ubunut or Linux Mint. For Ubuntu, however, I've found there is the docbook5-xml package. Try to install that the configure script will find the DocBook schema.
Hope that will help. :-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Nope, still not working. A package search doesn't yield any docbook 5.1 - specific things, so I think there probably just isn't a package for the docbook 5.1 stuff. Thanks anyway :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The lack of DocBook 5(.1) is most likely also the reason why building the AsciiDoc manual fails during compilation. AsciiDoctor produces a DB 5 XML file from the AsciiDoc sources that gets validated afterwards. And that validation step fails in the example you posted above.
Hi,
almost 1 ½ years after DAPS 2.4 it is time for a new major release: DAPS 3.0.
With this release we are proud to announce a significant addition to the DAPS feature set: AsciiDoc support. In addition to creating your documens from DocBook, you can now also create them from AsciiDoc sources. And it does not stop here: you will be able to use your existing DocBook stylesheets with your AsciiDoc sources!
Want to know more details? See the AsciiDoc Quickstart (which, of course, was generated from AsciiDoc sources, using the same stylesheets as for the rest of the DAPS documentation, which is still DocBook-based).
Eighteen months is a long time and so there are more features/changes/bugfixes that went into the new release. here is the Changelog:
New Features
*.odg
)(with
--config
)allows to have identical IDs in parts that get profiled)
--dcfiles
option)xslt parameters
converter.name
andconverter.version
and maintainability
Bugfixes
images/src
xep-daps.xml
configuration fromstylesheets
of xml:ids
and Callout Images
--xmlonly
/--imgonly
switchesfor the list-srcfiles subcommand
(usually the result of a failed FOP build)
improved its debugging output
Documentation
Removed support for:
Misc
dependencies to python3
This looks great, but unfortunately I can't compile this. When I try, this is the output I get:
I'm guessing I'm missing a build dependency or something? I'm running Linux Mint 19.1, based on Ubuntu 18.04. Also, how do I enable docbook 5.1 support - whatever I do it doesn't seem to enable it?
Thanks,
Hamish
Do you have asciidoctor or asciidoc as a build requirement? Looks like it builds the asciidoc documentation and fails to generate valid XML. I assume that this is caused by asciidoc. Can you try asciidoctor instead and see if it works?
If not, try to remove asciidoc/asciidoctor from the build dependencies. In that case the asciidoc document will not be built and the error should go away (the resulting DAPS will, nevertheless support ASCIIDoc).
Looks like I should work on https://github.com/openSUSE/daps/issues/486
What do you mean with docbook 5.1 support is not enabled? Does
configure
report this during build or are you not able to process DocBook 5.1 documents with a compiled DAPS?Thanks for quick reply. I have asciidoctor installed, but not asciidoc. It works now I've removed it - thanks :)
Yeah, when I run the configure script, I get this:
jing is installed, so I'm assuming one of the others isn't, or it's not being detected that they are. I don't know how to install them though. It's always said this, so not new, but I have a different issue that I think might be related to this, so I want to fix it now.
Last edit: Hamish McIntyre-Bhatty 2019-01-17
I'm not very familiar with Ubunut or Linux Mint. For Ubuntu, however, I've found there is the
docbook5-xml
package. Try to install that the configure script will find the DocBook schema.Hope that will help. :-)
I forgot to mention, check also if you have installed the
docbook-xsl-ns
anddocbook-xsl
packages.Fair enough :)
Nope, still not working. A package search doesn't yield any docbook 5.1 - specific things, so I think there probably just isn't a package for the docbook 5.1 stuff. Thanks anyway :)
The lack of DocBook 5(.1) is most likely also the reason why building the AsciiDoc manual fails during compilation. AsciiDoctor produces a DB 5 XML file from the AsciiDoc sources that gets validated afterwards. And that validation step fails in the example you posted above.
I have created an issue for this: https://github.com/openSUSE/daps/issues/488
Good idea. I know docbook 5.0 works, because that's what I used to write my documentation that I process with DAPS.