Hello, I am an occasional but avid user of asciidoc. I've begun generating PDF as well, using a2x. In one case, I was having XML validation problems with a bibliography entry that was generally like so:
Here is the bibliography reference <<2011-spec-document-X>>. And then at the bottom, where the bibliography list is, it has something like so: [bibliography] - [[[2011-spec-document-X]]] http://www.whatever.org/somespec-2011.pdf The failure was caused by xmllint not liking something about the bibliography entry. I resolved this problem by moving the "2011" to the end, so that the reference was now "spec-document-X-2011". I wanted to know if this was a known problem or limitation? I checked the list to see if this was discussed earlier but didn't see anything. I'm happy to file a bug but didn't want to if asciidoc / a2x was working as expected. I attached a file demonstrating the problem, with a comment that provides instructions, and another one where the problem is resolved. Thanks for any help, Smith -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To view this discussion on the web visit https://groups.google.com/d/msg/asciidoc/-/LK5hQ9gSXHwJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.
// -*- mode:adoc ; word-wrap:t ; eval: (auto-fill-mode -1) -*- Demonstrating the Asciidoc Bibliography Reference With Leading Numbers Problem ================================================================================ Smith Kennedy $Id$ :toc: :numbered: :data-uri: // running "asciidoc bibliogrphy-problem.txt" works fine // running "a2x -v -f pdf bibliography-problem.txt" fails in XML validation, // seemingly because the reference string begins with a number. == Body == Here is an example reference to the bibliography. <<2011-spec-document-X>> == Bibliography == [bibliography] - [[[2011-spec-document-X]]] http://www.whatever.org/somespec-2011.pdf
// -*- mode:adoc ; word-wrap:t ; eval: (auto-fill-mode -1) -*- Demonstrating the Asciidoc Bibliography Reference With Leading Numbers Problem ================================================================================ Smith Kennedy $Id$ :toc: :numbered: :data-uri: // running "asciidoc bibliogrphy-problem.txt" works fine // running "a2x -v -f pdf bibliography-problem.txt" works fine now that the // reference doesn't start with a number. == Body == Here is an example reference to the bibliography where the reference starts with a letter. No problems. <<spec-document-X-2011>> == Bibliography == [bibliography] - [[[spec-document-X-2011]]] http://www.whatever.org/somespec-2011.pdf
