pycontribs / pycontribs/ansi2html

ansi colors are not defined in LaTeX output

Open
#77 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

fix
Dominant language
Python
Stars
425
Forks
85
Avg merge
7h 49m
Merged PRs (30d)
12

Description

When converting to LaTeX in non-inline mode, ansi2html produces commands like \textcolor{ansi33}, although ansi* colors are not defined.

Maybe just use \textcolor[HTML]{aa5500} like in inline mode?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing non-inline LaTeX conversion with the inline mode described in the issue. Check the generated \textcolor commands and confirm that the non-inline output no longer references undefined ansi* colors, using the inline color form or another defined representation as appropriate.

Written by the indexing model from the issue text.

Assessment

Tech stack
latex, python
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.