latex rendering hanging on table caption

Anonymous avatarAnonymous created an issue

I have a large table with a standard caption

.. list-table:: Protocols and Ports used by MBG :header-rows: 1

When I render the latex and then try to build the pdf, latex hangs

LaTeX Warning: Hyper reference `enterprise:performance-limitations' on page 27 undefined on input line 1594.

[27] ! Undefined control sequence. <argument> c@\@captype

l.1700 \capstart \caption{Protocols and Ports used by MBG}

It seems to have something to do with the caption being inside of a longtable environment.

Comments (6)

  1. Johannes Bornhold

    I did some research and found the following fragments in the generated latex sources:

    \capstart\caption{The Caption} \\

    At this point latex will complain about capstart beeing unknown. This seems to work in other places, but not in longtable

    Headline Col1
    } & \textbf{
    Headline Col2
    } & \textbf{
    Headline Col1

    After removing the whitespace in the contents of the textbf command, it works. Else it will complaint about runaway Arguments.

    I also noticed some whitespace in the content of the table.

    My table has been generated by the following sphinx snippet:

    .. csv-table:: The Caption
       :header-rows: 1
       :file: src/table.csv

    Hope this helps to solve this issue.

  2. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.