Skip to main content
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/late
x/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:

Comments

Popular posts from this blog

Danga Bay, Chevrolet Optra and bio...(eh?) I thought it was Debian(haha). My colleague point me to the AirAsia flight turbin and he told me, "Macam debian punya logo" I saw a spiral on top the turbin blades. Pretty much like Debian Logo That's spark me to shoot for a pix. And I was warned by the airport staff. Uh,uh. Flash lamp will spark burst,eh? I was presented my "mock" research proposal. Suggested "Profiling Bioinformatics Application Behavior on Distributed Computing Architecture". Eh, will this gonna be bioinformatics specific or hardware optimization specific.or? Flashback: I spent almost a week at the office. When it's Subh azan,went back to my house for bath and pray. Reading all the journals and papers was not funny,really. Tough eye balls. No world cup. Ewh. And have some VCD lure. Uh,uh. you gonna be kidding. Anyway, I learned a lot and UTM SLAB Research Course is no joke. Really. My proposal has been corrected with comments so I have

How to connect Virtualbox's host-only-adaptor to the Internet

I could do the setup quite simple in CentOS, but that's not the case for Ubuntu and Debian. For Debian, I just followed this tutorial. We need to add an extra network card virtually as noted here For Ubuntu that I used (Ubuntu 16.04 LTS) it seems that I had another problem, there was no eth0....but renamed to enp0s3 etc which quite yucky... So I need to get back the eth0 convention, hence I need to this first, refer here  .. then only I could proceed with the manual network card assignment as in here