File: README

package info (click to toggle)
tkcdlayout 0.2-1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 120 kB
  • ctags: 2
  • sloc: sh: 437; makefile: 34
file content (72 lines) | stat: -rw-r--r-- 2,875 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72

This page is now online : check out
http://www.insa-lyon.fr/People/AEDI/dfaure/tkcdlayout.html

 TkCDLayout v0.2

David Faure, David.Faure@insa-lyon.fr, 1998

* What is TkCDLayout ?

TkCDLayout is a tk program to print CD jewel case inserts, its layout being
determined directly from the CD contents, and from your preferences.
I hope it would be integrated into xcdroast some day, but its author answered :
"I can offer to make link to it on my xcdroast-page, but because I have
a feature-freeze for xcdroast I wont be able to add it to the regular
distribution".

TkCDLayout is GPL : you can use it freely, distribute it, change it, provided
that you don't say you made it.

* What is a Jewel Case Insert?

A jewel case insert is a cover you can print and insert in the CD's jewel case
- the plastic case that holds the CD - to indicate the title and contents of
your CD. The cover is printed on one side of a sheet of paper and then folded.

* What do I need to make it run ?

You need the following programs:
- latex, the text formatting program (package 'tetex')
- dvips, in order to transform the dvi file, output of latex, to a ps file
- ghostview ('gv') to see the result, and eventually print it.
and the package 'graphics' for latex.

* How do I install it ?

Just run, as root, ./install.sh
It will install everything in /usr/local/lib/tkcdlayout-0.x/, except
the tk script, which will go to /usr/local/bin.
Don't move the tkcdlayout-0.x directory, because the script relies on it.

* How do I use it ?

[ X-based ]
Just run tkcdlayout, from any xterm/kvt/rxvt/whatever...
(better than running it from a menu or KDE's minicli, because in an xterm you
can see its output messages)

[ Text-based ]
Alternatively, you can edit your config file (~/.tkcdlayout/config), based
on the config.sample file provided in the tkcdlayout-0.x directory.
Then you can run the 'NewLayout' script, from the same dir.
But, of course, you won't be able to see the result : gv will output an error
about a display missing. If you're sure of what you're doing, you can print the
ps file directly, with "lp layoutxxx.ps". This way, you can print cd inserts
even away from home...

* How does it work ?

TkCDLayout is a tk program which enables you to set some parameters that will
be written in a config file (~/.tkcdlayout/config). Then a shell script
(/usr/local/lib/tkcdlayout-0.x/NewLayout) is run and produces a file named
.latex.middle, in your ~/.tkcdlayout/layouts directory.
Then the process of making a postscript file is run : latex, dvips, gv.

What's interesting in this program, is that it calculates automatically the
size of the fonts (title, subtitle and lines) depending on the size of the 
titles and on the number of lines. The user doesn't have to worry about this,
if everything works as expected.

Bug reports are welcome, just email to David.Faure@insa-lyon.fr