Skip to content

HTML tutorial has breaklines=true,breaksymbolleft=]{pycon} #4228

Closed

Description

@peterjc

The PDF is fine, but the HTML has this at the start of some of the examples:

breaklines=true,breaksymbolleft=]{pycon}

e.g. from:

%cont-doctest
\begin{minted}[breaklines=true,breaksymbolleft=]{pycon}
>>> record.id
'gi|45478711|ref|NC_005816.1|'
>>> record.name
'gi|45478711|ref|NC_005816.1|'
>>> record.description
'gi|45478711|ref|NC_005816.1| Yersinia pestis biovar Microtus str. 91001 plasmid pPCP1, complete sequence'
\end{minted}

This might be a bug in hevea, or something we need to special case?

Workaround: Remove the options (but could downgrade the PDF output?)

Workaround: Move to Sphinx, see #907

Activity

  1. JoaoRodrigues commented on Feb 8, 2023

    @JoaoRodrigues
    Member

    Linking to #4227

  2. JoaoRodrigues commented on Feb 12, 2023

    @JoaoRodrigues
    Member

    This has been there for quite a while I suppose? I didn't update my hevea or minted installation since last time I built the release and I ran into the same issue with the output. I ran the docs building with Python 3.10 and Python 3.8, no change either.

    Are those "directives" being respected at all?

  3. peterjc commented on Feb 17, 2023

    @peterjc
    MemberAuthor

    I'm guessing they worked on the PDF output, we can try removing them and comparing by eye?

  4. added a commit that references this issue on Jan 3, 2024
    e020d8d
  5. added a commit that references this issue on Jan 3, 2024
    5760b3a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions