Repository navigation
Releases
ansi2pdf 0.1.6
A border of half blocks no longer shows a seam where it meets a board of the same color.
- A border of half blocks around a board of the same color, as
--green-boardof nup draws, showed a faint seam where it meets the board, because the two were painted as separate paths. A block element in a cell without a background is now painted with the backgrounds of its color.
Install:
npm install -g github:tecolicom/App-ansi2pdf
# or
brew install tecolicom/tap/app-ansi2pdfThe version is before 1.0, and incompatible changes may be made.
ansi2pdf 0.1.5
A kanji with an ideographic variation selector is no longer reported as a missing character.
- The selectors U+E0100 to U+E01EF were looked for in the fonts as characters, so that a kanji with one, as
葛with U+E0100, gave the messageno font has. The character was drawn correctly, and only the message was wrong.
Install:
npm install -g github:tecolicom/App-ansi2pdf
# or
brew install tecolicom/tap/app-ansi2pdfThe version is before 1.0, and incompatible changes may be made.
ansi2pdf 0.1.4
The margin can be given with the paper name, and the default margin is 5 mm.
-p a4p:m10is A4 in portrait with a margin of 10 mm, and-p a4:m0is A4 without a margin. The margin follows the paper name after:m, the same as-m, and the last of-mand such a paper name is used.- The default margin is 5 mm. It was 10 mm, which is for printing and binding, and is too wide to read the PDF on a screen. The same options now give a slightly larger font and fewer columns; give
-m 10for the margin of the earlier versions.
With the orientation (a4p, a4l), this tells how to use the paper in one word, which nup -T of App-nup gives to ansi2pdf as it is.
Install:
npm install -g github:tecolicom/App-ansi2pdf
# or
brew install tecolicom/tap/app-ansi2pdfThe version is before 1.0, and incompatible changes may be made.
ansi2pdf 0.1.3
The orientation can be given with the paper name.
-p a4pis A4 in portrait and-p a4lis A4 in landscape, the same as-p a4 -Pand-p a4 -L. A hyphen may be put before the letter, as-p letter-l.- It counts with
-Land-P, the last of which decides the orientation. A name without the letter leaves the orientation as it was.
This lets a program give the paper and its orientation in one word. The next version of App-nup uses it for its -T option, as nup -T a4p.
Install:
npm install -g github:tecolicom/App-ansi2pdf
# or
brew install tecolicom/tap/app-ansi2pdfThe version is before 1.0, and incompatible changes may be made.
ansi2pdf 0.1.2
First public release of ansi2pdf, which renders terminal output with ANSI sequences to PDF.
- Colors, bold, faint, italic, underlines of every style and color, reverse video, strikethrough and overline are kept. Box drawing characters and block elements are drawn as lines and rectangles, so that tables and borders are connected on paper.
- The input is interpreted by xterm.js, so cursor movement, background fill, wide characters and line wrapping come out as on a terminal.
- Logical pages are arranged on a sheet with
-C C[,R]. The lines (-l), the columns (-w) and the font size (-s) follow each other to fill the page. --geometrytells the size of a page to a program that formats text for it;nup --pdfof App-nup 1.11 uses it.
Install:
npm install -g github:tecolicom/App-ansi2pdf
# or
brew install tecolicom/tap/app-ansi2pdfThe version is before 1.0, and incompatible changes may be made.