-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validation failed: no DTD found ! #2
Comments
Seems I don't have docbook-xsl installed properly. Where do you put that directory? Is it invoked by something? I put it in /usr/local/etc/xml/docbook-xsl-1.79.1 then tried to run ./install.sh from inside that directory:
|
The guide is still generated by Asciidoc (Python). I am hoping to have a good HTML/PDF output from Asciideck (Erlang) in a couple weeks and just use that from that point onward. Much less dependencies. Asciidoc depends on a lot of stuff and I never installed from source. It does require docbook-xsl. On my system (Arch Linux) they are at |
I had to use asciideck as a dependency in erlang.mk Makefile to get it running. You are saying that the dependency will use a different generation method in a couple weeks and maybe all this docbook-xsl stuff will go away? |
Yes the idea is to have a path to HTML/PDF that doesn't use DocBook by default. I will spend the week between Xmas and New Year exclusively on that. I've probably put the Asciideck dependency requirement a bit early all things considered. |
Ok, thanks. Will focus on writing my docs over the holidays. Hopefully I can compile them in the New Year. It's looking to be a very useful addition to erlang.mk! |
I'll ping here when I've made (some) progress. It'll be useful to see what you use from Asciidoc, it's a big format and I won't have time to implement every little things in one week. :-) |
I just need basic outline include (overview like you do), paragraphs, source code quotes, numbered and bullet lists, maybe tables, and embedded images. The Notes, Warnings, etc would be embellishments, but don't need them necessarily. Later on I can add Table of Contents, page numbering, etc, just need to get some documentation in place right now that is organized. |
Don't let me stop you from using anything. I'll add as necessary. Most block constructs are easy to add, so it's not a problem. I'm actually looking forward to get documents that contain things I don't use myself. |
I've finished the rewrite of this project. I will soon update Erlang.mk to use it for generating the guide, but it'll take a bit more time. See https://ninenines.eu/articles/asciideck/ for the announcement. |
I'm certain this is some sort of installation error on my part, but I'm having trouble getting a document to compile on my Mac OS X 10.11.6 laptop. Here's the output:
I've been trying to install according to this http://stackoverflow.com/questions/13519203/git-compilingdocumentation-git-add-xml-does-not-validate
I don't have brew or fink, so I installed http://www.linuxfromscratch.org/blfs/view/cvs/pst/xmlto.html by hand doing the steps for docbook-xml-4.5, docbook-xsl-1.79.1, and libxslt-1.1.29. I built dblatex-0.3.9 and asciidoc-8.6.9 from source.
I installed the catalog stuff in /usr/local/etc/xml/catalog and /usr/local/etc/xml/docbook, updated the $XML_CATALOG_FILES env. Running 'xmllint --help' it said it looks in /etc/xml/catalog by default so I made that a symbolic link to my /usr/local/etc/xml/catalog just in case.
Any clues what else I need to do?
The text was updated successfully, but these errors were encountered: