LateX#1
Joey pointed me out on using LateX to solve cross referencing problem... I found this problem really irritating when I have to improve my literature survey..
Here goes my LateX journey.. I did install this software years back but I never use it since the size is HUGE and I do not have any purpose to use it.
Penggunaan Latex amat popular di kalangan kawan-kawan yang giat menyiapkan tesis dan kertas persidangan mereka. Saya baru je nak guna latex ni so ada beberapa opsyen
1- Install Lyx, MikeTex dan sokongan kamus Aspell (ada BM, lama dulu MIMOS buat)
2- Install Latex guna cygwin
Saya menghadapi masalah guna GUI Latex (Lyx) pada 1) pada mulanya ... so pergi kepada opsyen baris arahan pada Cygwin. Kadang-kadang installer yang datang dengan bulk pada Lyx memerlukan anda memasang pakej satu persatu
$ latex.exe -v
pdfeTeX 3.141592-1.21a-2.2 (Web2C 7.5.4)
kpathsea version 3.5.4
Copyright (C) 1997-2004 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Kpathsea is copyright (C) 1997-2004 Free Software Foundation, Inc.
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfeTeX copyright and
the GNU General Public License.
For more information about these matters, see the files
named COPYING and the pdfeTeX source.
Primary author of pdfeTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Kpathsea written by Karl Berry and others.
Secara default Latex akan menghasilkan format DVI ... jadi jika anda menginginkan PDF contohnya... gunakan DVPDF.
Contoh saya ada satu fail (diubahsuai dari sampel di Internet)
$ cat test.tex
\documentclass{article}
\title{Jemputan Berbuka Puasa 1430H}
\author{Ahmad Albab}
\date{i13 September 2009}
\begin{document}
\maketitle
Buka Puasa Beramai-ramai!
\end{document}
Fail .tex ini adalah RAW macam raw meat, belum dikompil. Guna baris arahan latex;
$ latex test.tex
This is pdfeTeXk, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
file:line:error style messages enabled.
%&-line parsing enabled.
entering extended mode
(./test.tex
LaTeX2e <2003/12/01>
Babel and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
kish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo)) (./test.aux) [1] (./test.aux) )
Output written on test.dvi (1 page, 448 bytes).
Transcript written on test.log.
Maka akan terhasil test.dvi
$ ls *.dvi
test.dvi
Anda perlukan DVI reader untuk membaca terus.. tetapi kalau tak ada... macam saya sebut tadi... guna PDF reader selepas mengubah DVI ke PDF
$dvipdf test.dvi
(lebih mudah jika anda gunakan pdflatex disebabkan kebanyakan kita menggunakan PDF reader berbanding DVI)
Lyx:
Joey pointed me out on using LateX to solve cross referencing problem... I found this problem really irritating when I have to improve my literature survey..
Here goes my LateX journey.. I did install this software years back but I never use it since the size is HUGE and I do not have any purpose to use it.
Penggunaan Latex amat popular di kalangan kawan-kawan yang giat menyiapkan tesis dan kertas persidangan mereka. Saya baru je nak guna latex ni so ada beberapa opsyen
1- Install Lyx, MikeTex dan sokongan kamus Aspell (ada BM, lama dulu MIMOS buat)
2- Install Latex guna cygwin
Saya menghadapi masalah guna GUI Latex (Lyx) pada 1) pada mulanya ... so pergi kepada opsyen baris arahan pada Cygwin. Kadang-kadang installer yang datang dengan bulk pada Lyx memerlukan anda memasang pakej satu persatu
$ latex.exe -v
pdfeTeX 3.141592-1.21a-2.2 (Web2C 7.5.4)
kpathsea version 3.5.4
Copyright (C) 1997-2004 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Kpathsea is copyright (C) 1997-2004 Free Software Foundation, Inc.
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfeTeX copyright and
the GNU General Public License.
For more information about these matters, see the files
named COPYING and the pdfeTeX source.
Primary author of pdfeTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Kpathsea written by Karl Berry and others.
Secara default Latex akan menghasilkan format DVI ... jadi jika anda menginginkan PDF contohnya... gunakan DVPDF.
Contoh saya ada satu fail (diubahsuai dari sampel di Internet)
$ cat test.tex
\documentclass{article}
\title{Jemputan Berbuka Puasa 1430H}
\author{Ahmad Albab}
\date{i13 September 2009}
\begin{document}
\maketitle
Buka Puasa Beramai-ramai!
\end{document}
Fail .tex ini adalah RAW macam raw meat, belum dikompil. Guna baris arahan latex;
$ latex test.tex
This is pdfeTeXk, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
file:line:error style messages enabled.
%&-line parsing enabled.
entering extended mode
(./test.tex
LaTeX2e <2003/12/01>
Babel
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
kish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf/tex/late
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/share/texmf/tex/late
Output written on test.dvi (1 page, 448 bytes).
Transcript written on test.log.
Maka akan terhasil test.dvi
$ ls *.dvi
test.dvi
Anda perlukan DVI reader untuk membaca terus.. tetapi kalau tak ada... macam saya sebut tadi... guna PDF reader selepas mengubah DVI ke PDF
$dvipdf test.dvi
(lebih mudah jika anda gunakan pdflatex
Lyx:
Comments