old-www/HOWTO/Danish-HOWTO-4.html

85 lines
2.8 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>The Linux Danish/International HOWTO: Miscellaneous problems</TITLE>
<LINK HREF="Danish-HOWTO-5.html" REL=next>
<LINK HREF="Danish-HOWTO-3.html" REL=previous>
<LINK HREF="Danish-HOWTO.html#toc4" REL=contents>
</HEAD>
<BODY>
<A HREF="Danish-HOWTO-5.html">Next</A>
<A HREF="Danish-HOWTO-3.html">Previous</A>
<A HREF="Danish-HOWTO.html#toc4">Contents</A>
<HR>
<H2><A NAME="s4">4. Miscellaneous problems</A><!--Danish!miscellaneous problems--><!--Danish!problems--></H2>
<H2><A NAME="ss4.1">4.1 Time zone</A>
<!--Danish!problems!time zone--></H2>
<P>Denmark is placed in the Central European Time zone (CET or MET,) which (in
the winter) is equivalent to Greenwich Mean Time plus 1 (GMT+1.) You set
the time zone on a Linux system by making a symbolic link between
<CODE>/usr/lib/zoneinfo/localtime</CODE> and the file in
<CODE>/usr/lib/zoneinfo/</CODE> with a name corresponding to your zone or
country. Danes will want to execute one of the commands
<PRE>
ln -sf /usr/lib/zoneinfo/MET /etc/localtime
</PRE>
or
<PRE>
ln -sf /usr/lib/zoneinfo/Europe/Copenhagen /etc/localtime
</PRE>
<P>This automatically sets Daylight Saving Time (GMT+2) in the summer.
<P>You synchronize the system time with the CMOS clock by issuing the command
<CODE>clock</CODE> as root. If your CMOS clock is set to GMT (a.k.a. UTC --- the
standard on proper Unix systems) use
<PRE>
clock -u -s
</PRE>
or if your CMOS clock is set to local time use
<PRE>
clock -s
</PRE>
<P>
<H2><A NAME="ss4.2">4.2 A4 papersize</A>
<!--Danish!problems!paper size--><!--Danish!problems!A4-sized paper--></H2>
<P>
<UL>
<LI><CODE>ghostscript</CODE>:
Add the command line option <CODE>-sPAPERSIZE=a4</CODE>.
</LI>
<LI><CODE>ghostview</CODE>: Define the following Xresource:
<PRE>
Ghostview.pageMedia: A4
</PRE>
</LI>
<LI><CODE>TeX/LaTeX</CODE>, <CODE>dvips</CODE>, <CODE>xdvi</CODE>: See the entry for
TeX/LaTeX in section
<A HREF="Danish-HOWTO-3.html#latex">International character sets in specific applications</A>.</LI>
</UL>
<P>
<H2><A NAME="ss4.3">4.3 Text file formats for other platforms</A>
<!--Danish!problems!text file formats--><!--Danish!problems!DOS file formats--></H2>
<P>You can translate files between an ISO-8859-1 formatted text file and
e.g. a DOS text file using codepage 850 with the <CODE>recode</CODE> package. A
DOS file called <CODE>foo.txt</CODE> would be translated into a proper Unix
file with the command
<PRE>
recode cp850:latin1 foo.txt
</PRE>
<P><CODE>recode</CODE> is available as <CODE>recode-3.4.tar.gz</CODE> from all mirrors of
<A HREF="ftp://sunsite.auc.dk/pub/gnu/">the GNU archive</A>.
<P>
<HR>
<A HREF="Danish-HOWTO-5.html">Next</A>
<A HREF="Danish-HOWTO-3.html">Previous</A>
<A HREF="Danish-HOWTO.html#toc4">Contents</A>
</BODY>
</HTML>