Skip to content

Manual Bugs #206

Closed
Closed

Description

@greenwald

The updated manual system has some bugs that prevent me from building the manual:

  1. There are GNU-make commands in the Makefile.am files in doc/manual and doc/ref-guide that cause autogen to fail. They are both instances of addprefix. This can be fixed as such:

    • In doc/manual/Makefile.am on line 21, replace
      doxyinput += $(addprefix $(srcdir)/, $(input))
      
      with
      doxyinput += $(input:%=$(srcdir)/%)
      
    • In doc/ref-guide/Makefile.am on line 4, replace
      doxyinput = $(addprefix $(top_srcdir)/,src models BAT README.md)
      
      with
      doxyinput_raw = src models BAT README.md
      doxyinput = $(doxyinput_raw:%=$(top_srcdir)/%)
      
  2. I get this error: LaTeX Error: File dot_inline_dotgraph_1' not found.` when making.
    It appears to have something to do with the diagrams you spoke of adding, @fredRos.

I would make a pull request for my solution to the first problem (which was not a problem on my Mac, only on the linux installation I have), but I cannot test that it fully works, since I encountered problem 2.

Activity

  1. added this to the 1.0 milestone on Apr 13, 2017
  2. added a commit that references this issue on Apr 25, 2017
  3. fredRos commented on Apr 25, 2017

    @fredRos
    Contributor

    Part 1. is fixed, I cannot reproduce 2. on my Debian Jessie or Ubuntu 16.04. Please list the exact commands that led to the error. It sounds like it is caused by make -C manual pdf. I have the mentioned file in the manual/latex subfolder and it is automatically recreated.

    Please check if commenting or removing

    @dot
    ....
    @enddot
    

    in code-structure.md alleviates the problem. Do you have the dot executable? Is the package graphviz installed?

  4. added a commit that references this issue on Jun 21, 2017
  5. greenwald commented on Jul 7, 2017

    @greenwald
    ContributorAuthor

    Installing graphviz solves the problem. Please add any prerequisite software needed to compile the manual to the readme file in doc/manual. Also, we should list the commands for building the reference guide (and for building the manual) in the doc directory's readme, since that is the directory from which they are executed.

  6. added a commit that references this issue on Jul 7, 2017
    2ff70c2
  7. fredRos commented on Jul 7, 2017

    @fredRos
    Contributor

    Done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions