recentpopularlog in


« earlier   
gpic Manual
This manual page describes the GNU version of pic, which is part of the groff document formatting system. pic compiles descriptions of pic- tures embedded within troff or TeX input files into commands that are understood by TeX or troff. Each picture starts with a line beginning with .PS and ends with a line beginning with .PE. Anything outside of .PS and .PE is passed through without change. It is the user's responsibility to provide appropriate definitions of the PS and PE macros. When the macro package being used does not sup- ply such definitions (for example, old versions of -ms), appropriate definitions can be obtained with -mpic: These will center each picture.
pictures  diagram  graph  terminal  documentation 
54 minutes ago by dusko
[Groff] Perspective in Pic
[Groff] Perspective in Pic

Ted Harding Mon, 16 Oct 2006 16:48:32 -0700

Hi Folks,

A little project I just completed prompts me to
raise a question which may be worth discussing.

Tha background is that I've been making an
indexed catalogue of some 200+ papers (journal
articles and similar documents) for a friend of
mine. These were passed to me in a cardboard box.

Using groff, of course ...

To round it off, I set about making a suitable
title page, done in pic.

Here is the pic code in a groff wrapper -- run it
and you'll see what I'm leading up to. Put it in
file "", say. (There's some redundancy
in the code, because of how I built it up, but
I haven't yet got round to eliminating that.)
diagram  graph  terminal  documentation 
54 minutes ago by dusko
LaTeXDraw - A vector drawing editor for LaTeX
LaTeXDraw is a graphical drawing editor for LaTeX. LaTeXDraw can be used to 1) generate PSTricks code; 2) directly create PDF or PS pictures. LaTeXDraw is developed in Java and thus runs on top of Linux, Windows, and Mac OS X. You need Java 8 to launch LaTeXDraw.
tex  latex  diagram  documentation  svg 
1 hour ago by dusko
LINUX free software download - EDASCII ASCII art editor
EDASCII is an ASCII art editor for Linux written in Tcl/Tk (Tcl 7.5 / Tk 4.1). It allow a fast and easy manipulation of ASCII drawings.

8 color images
Cut, copy and paste part of the image
Scale image
Rotate image
Flip image
Insert rows or columns
Search and replace characters
Many exportation options
diagram  ascii  terminal  cli  documentation 
1 hour ago by dusko
libcaca – Caca Labs
libcaca is a graphics library that outputs text instead of pixels, so that it can work on older video cards or text terminals. It is not unlike the famous ​AAlib library, with the following improvements:

Unicode support
2048 available colours (some devices can only handle 16)
dithering of colour images
advanced text canvas operations (blitting, rotations)

Libcaca works in a text terminal (and should thus work on all Unix systems including Mac OS X) using the S-Lang or ncurses libraries. It also works natively on DOS and Windows.
terminal  shell  documentation  images  plaintext  commandline  cli 
1 hour ago by dusko
asciinema - Record and share your terminal sessions, the right way
Record and share your terminal sessions, the right way.
Forget screen recording apps and blurry video. Enjoy a lightweight, purely text-based approach to terminal recording.
terminal  ascii  plaintext  cli  tool  visualization  documentation 
1 hour ago by dusko
What nobody tells you about documentation - Blog - Divio
However hard you work on documentation, it won't work for your software - unless you do it the right way.
documentation  best-practices 
6 hours ago by vipom
PEP 274 -- Dict Comprehensions |
>>> print {i : chr(65+i) for i in range(4)}
{0 : 'A', 1 : 'B', 2 : 'C', 3 : 'D'}
>>> print {k : v for k, v in someDict.iteritems()} == someDict.copy()
>>> print {x.lower() : 1 for x in list_of_email_addrs}
{'' : 1, '' : 1, '' : 1}
>>> def invert(d):
... return {v : k for k, v in d.iteritems()}
>>> d = {0 : 'A', 1 : 'B', 2 : 'C', 3 : 'D'}
>>> print invert(d)
{'A' : 0, 'B' : 1, 'C' : 2, 'D' : 3}
>>> {(k, v): k+v for k in range(4) for v in range(4)}
... {(3, 3): 6, (3, 2): 5, (3, 1): 4, (0, 1): 1, (2, 1): 3,
(0, 2): 2, (3, 0): 3, (0, 3): 3, (1, 1): 2, (1, 0): 1,
(0, 0): 0, (1, 2): 3, (2, 0): 2, (1, 3): 4, (2, 2): 4, (
2, 3): 5}
python  syntax  documentation 
18 hours ago by dicewitch

Copy this bookmark:

to read