I'm trying to draw Syntax diagrams in LaTeX. I've tried both rail and syngen. However I can't get either to build properly. Are there any more modern alternatives?

closed as too broad by LaRiFaRi, Svend Tveskæg, Mico, user13907, Henri Menke May 12 '15 at 10:03

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    See section 5 Tutorial: Diagrams as Simple Graphs of the TikZ manual for a start. – percusse May 12 '15 at 2:02
  • 1
    Before this can be reopened I think more details need to be added describing both what you have tried and what you want to do -- the term "syntax diagram" is far too vague. – Andrew May 18 '15 at 3:15
  • @Andrew: railroad diagram is very specific, however. Example? The SQLite documentation has a great number of these to explain the syntax. They are really well suited to understand syntax: sqlite.org/syntaxdiagrams.html – 0xC0000022L Jun 19 '15 at 15:48
  • 1
    @Andrew "Syntax Diagrams" and "Railroad Diagrams" are both technical terms that are used interchangeably. Please see - en.wikipedia.org/wiki/Syntax_diagram. I don't know how much more specific the question could be. – ajnatural Jun 20 '15 at 8:40
  • 1
    This question seems perfectly clear to me. I feel it should be reopened. – Richard Aug 19 '17 at 4:29

Browse other questions tagged or ask your own question.