Skip to content

Can't format console/ shell-session output that includes ANSI colors #1148

@Anteru

Description

@Anteru

(Original issue 1444 created by purplefishies on 2018-06-06T16:50:49.003688+00:00)

I'm trying to take log data from Tmux ( with capture-pane -e ) that includes ANSI color codes that colorize some of the output.

When I run pygmentize -f latex sample.shell-session it generates Latex with the ANSI codes still in the latex file.

This causes a latex compile failure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    S-majorseverity: majorT-bugtype: a bugX-importedimported from Bitbucket

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions