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 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94
|
This page is now online : check out
http://www.insa-lyon.fr/People/AEDI/dfaure/tkcdlayout.html
for new versions.
TkCDLayout v0.5
David Faure, David.Faure@insa-lyon.fr, faure@kde.org, 1998
Q1 - 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.
TkCDLayout is GPL : you can use it freely, distribute it, change it, provided
that you don't say you made it.
Q2 - 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.
Q3 - What do I need to make it run ?
You need the following programs:
- perl, probably version 5 (not tested with perl 4).
- 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.
Q4 - How do I install it ?
Just copy the three executables to a directory in your PATH. They are :
tkcdlayout
NewCDLayout.pl
GetCDTitle
Q5 - 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 a config file, based on the config.sample file
provided. Then run the 'NewCDLayout.pl' script, using '-config=myfile'.
Use also -update to prevent it from trying to launching ghostview.
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, provided that your printer is on...
Q6 - 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 perl script
NewCDLayout.pl is run and produces a latex file and to run the process of
making a postscript file : latex, dvips, gv.
Q7 - Why isn't part of xcdroast ?
I would have like to, 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". He also plans a gtk version of xcdroast one day.
Q8 - What is KCDRoast ?
It's *vaporware* ! It's just an idea I have about converting tkcdlayout to use
the KDE librairies, because I'm a KDE developer. One day I'll do that.
Q9 - Nice, but now how do I add pictures in my inserts ?
Ok, you can't do that with only TkCdLayout. But I supplied two jpeg files
which are empty inserts, so that you can open them with an image editor, gimp
for instance, and add whatever you want into it.
Under gimp, open the image(s) you want to insert, copy & paste them into the
new image, and resize them if necessary. Don't forget to "flatten" the image
before you save it (if you don't use the .xcf format).
I've done very nice inserts this way (gimp is really excellent) and hope you'll
work this out too !
Q10 - How do I exclude several patterns from the list of files ?
Use the syntax (pattern1|pattern2|pattern3)
More generally, any perl regexp syntax can be used.
Q11 - I have a trouble with tkcdlayout
See README.Troubleshooting
Bug reports and suggestions are welcome, simply email to faure@kde.org
|