Minted Package does not allow Captions with Package lstlisting #2

Closed
opened 2020-02-08 13:12:11 +01:00 by zenon · 2 comments
Owner

When trying to add a caption and a label to a code listing with minted, pdflatex throws an error saying "Document can't be opened" and "\addvspace{10pt} maybe an \item is missing?".

Every listing and figure should have a caption and should be mentionend in the text (with ~\ref{}).

When trying to add a caption and a label to a code listing with minted, pdflatex throws an error saying "Document can't be opened" and "`\addvspace{10pt}` maybe an `\item` is missing?". Every listing and figure should have a caption and should be mentionend in the text (with `~\ref{}`).
Author
Owner

Finding the responsible part seems to be difficult. In order to stop wasting more time, it is probably best to ditch the current template and reconstruct the layout on my own.

Have to ask advisor about using my own template designed to look the same way (or at least similar).

Finding the responsible part seems to be difficult. In order to stop wasting more time, it is probably best to ditch the current template and reconstruct the layout on my own. Have to ask advisor about using my own template designed to look the same way (or at least similar).
Author
Owner

Fixed by manually rebuilding the template and getting rid of unnecessary stuff. Using the LaTeX package subfiles now to facilitate better inclusion of figures and code in different directories.

Fixed by manually rebuilding the template and getting rid of unnecessary stuff. Using the LaTeX package `subfiles` now to facilitate better inclusion of figures and code in different directories.
zenon closed this issue 2020-02-27 12:46:01 +01:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: zenon/bachelorarbeit#2
No description provided.