old-www/HOWTO/Tamil-Linux-HOWTO/x372.html

258 lines
4.4 KiB
HTML

<HTML
><HEAD
><TITLE
>Printing</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="Tamil Linux HOWTO"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="GNOME"
HREF="x349.html"><LINK
REL="NEXT"
TITLE="Word Processors, Office Packages"
HREF="x402.html"></HEAD
><BODY
CLASS="sect1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Tamil Linux HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="x349.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x402.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="AEN372"
></A
>9. Printing</H1
><P
>This section is all about getting high-quality Tamil
output in printing. While it is one issue to load a binary font
and start using Tamil in Linux, if your work is
to destroy the forests, you need high-quality printing too!</P
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="AEN375"
></A
>9.1. L<SUP
>A</SUP
>T<SUB
>E</SUB
>X</H2
><P
>L<SUP
>A</SUP
>T<SUB
>E</SUB
>X
is perhaps the mother of all typographic systems. It frees the
author from the trivia of typesetting and concentrate on
the content. It does not use the <SPAN
CLASS="acronym"
>WYSWYG</SPAN
> input,
but the end result is great. Recent developments are centered
toward internationalization. Unfortunately lack of unicode
standard does not permit Tamil to be tried under the more
ambitious Omega Project. Once again, workaround is the only
way. A first step in Tamil has been attempted by Thuraiappah
Vaseeharan. You may get the the package from the tamillinux.org
site. The tar ball contains a great <TT
CLASS="filename"
>readme</TT
> file that
describes the installation and usage. The tamiltex package
does a short work by keeping all related stuff under one
directory (which means that you need to keep your work under
the same directory to compile your source files). But the great
thing about this package is that it is compatible with both
TSCII and TAB encodings and the results are just what you
would expect from a
L<SUP
>A</SUP
>T<SUB
>E</SUB
>X
package - great!</P
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="AEN386"
></A
>9.2. Postscript</H2
><P
>Many Linux applications use Ghostscript to print, which
means that you must have Ghostscript configured if you want
to use Tamil in printed documents. If
L<SUP
>A</SUP
>T<SUB
>E</SUB
>X
is there, can PostScript be far away? Not thanks to Vasee.
Set the environment variable <TT
CLASS="envar"
>GS_FONTPATH</TT
> to point
to your TrueType font directory. For example, I have:</P
><P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13; GS_FONTPATH=/usr/local/share/fonts/tamiltt
export GS FONTPATH
</PRE
></FONT
></TD
></TR
></TABLE
></P
><P
>You should be able to view Tamil PostScript files.</P
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="AEN395"
></A
>9.3. PDF</H2
><P
>As of now, the only source to create PDF files is the
PDF package. If you are able to successfully compile your
source with the tamiltex package, use</P
><P
><B
CLASS="command"
>pdflatex source.tex </B
></P
><P
>to generate the PDF file. You should be able to view it, using
<SPAN
CLASS="application"
>xdvi</SPAN
> or Adobe's Acroread for Linux.</P
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="x349.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="x402.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>GNOME</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Word Processors, Office Packages</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>