Re: [SLUG] Pretty Output -- TeX? PS?

From: Derek Glidden (dglidden@illusionary.com)
Date: Fri Sep 20 2002 - 11:01:49 EDT


On Thu, 2002-09-19 at 22:04, Paul M Foster wrote:
> I'm looking to be able to create nice looking output on a laser printer
[snip]
> In any case, do you think TeX is the best tool, or is something better?

You got it. TeX is specifically designed for making print-ready
output. And unfortunately, YES it's pretty arcane. There used to be a
nice word processor/editor type dealie that was specifically designed
for working with TeX though. lemme see if I can dig up the name...

Right: LyX. It's part of most distros. It's a word-processor type
thing though. If you have a bunch of text files and just want to
"convert" to TeX, you'll probably have to learn some TeX and write some
Perl scripts.

TeX and Postscript are orthogonal, because you can run your TeX through
a processor to output Postscript that you can then send to a postscript
printer. (TeX is to postscript output what HTML is to the browser.)

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#!/usr/bin/perl -w
$_='while(read+STDIN,$_,2048){$a=29;$b=73;$c=142;$t=255;@t=map
{$_%16or$t^=$c^=($m=(11,10,116,100,11,122,20,100)[$_/16%8])&110;
$t^=(72,@z=(64,72,$a^=12*($_%16-2?0:$m&17)),$b^=$_%64?12:0,@z)
[$_%8]}(16..271);if((@a=unx"C*",$_)[20]&48){$h=5;$_=unxb24,join
"",@b=map{xB8,unxb8,chr($_^$a[--$h+84])}@ARGV;s/...$/1$&/;$d=
unxV,xb25,$_;$e=256|(ord$b[4])<<9|ord$b[3];$d=$d>>8^($f=$t&($d
>>12^$d>>4^$d^$d/8))<<17,$e=$e>>8^($t&($g=($q=$e>>14&7^$e)^$q*
8^$q<<6))<<9,$_=$t[$_]^(($h>>=8)+=$f+(~$g&$t))for@a[128..$#a]}
print+x"C*",@a}';s/x/pack+/g;eval 

usage: qrpff 153 2 8 105 225 < /mnt/dvd/VOB_FILENAME \ | extract_mpeg2 | mpeg2dec -

http://www.cs.cmu.edu/~dst/DeCSS/Gallery/ http://www.eff.org/ http://www.anti-dmca.org/



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:53:37 EDT