Docbook 5 apparently supports EBNF. But it doesn’t output a railroad diagram. Is it possible to make it output a railroad diagram (AKA syntax diagram)?
Docbook 5 apparently supports EBNF. But it doesn’t output a railroad diagram. Is it
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The DocBook schema includes XML elements for representing EBNF production rules, and HTML/FO output can be generated using the DocBook XSL stylesheets. However, there is no direct support for producing railroad diagrams. There are tools for creating railroad diagrams from plaintext EBNF sources, but I am not aware of any programs that do the same based on DocBook EBNF markup.