Next Previous Contents

6. Editors gia to LaTeX kai h Xrhsh twn Ellhnikwn

Sto PC toy paradeigmatos gia allagh plhktrologioy xrhsimopoieitai to grkbd toy Giannh Tsakirh. Odhgies xrhshs gia to grkbd sto idio to paketo poy 8a to katebasete apo to ftp://argeas.cs-net.gr/pub/unix/linux/GREEK/.

8ymizoyme jana edw oti den arkei h allagh plhktrologioy gia na katalabei ta Ellhnika to LaTeX. 8a prepei na dhlwnete thn allagh glwssas me tis TeX entoles opws aytes perigrafontai sta arxeia toy ypokatalogoy doc toy Texgreek.

6.1 Emacs

Ston Emacs, yparxei h dynatothta Ellhnikwn kai me ena eidiko mode gia ton Emacs, to greek-mode.el. Einai protimotero giati, ka8ws einai ftiagmeno eidika gia ton Emacs, katalabainei pote plhktrologeite entolh toy LaTeX kai gyrizei aytomata to plhktrologio sta Agglika.

Gia na to sthsete kanete ta ejhs. Afou fortwsete ston Emacs to arxeio greek-mode.el 8a prepei na to metaglwttisete dinontas Alt-x byte-compile-file kai na swsete to arxeio greek-mode.elc poy 8a prokucei, ston katalogo, p.x., /usr/lib/emacs/site-lisp/. Katopin, pros8este sto arxeio .emacs poy exete ston proswpiko sas katalogo thn parakatw grammh:

(load "/usr/lib/emacs/site-lisp/greek-mode.elc")

Telos trejte ton Emacs me kapoia ellhnikh grammatoseira h akomh kalutera dhmioyrghste ena script me onoma p.x. gremacs poy 8a periexei kati san to parakatw kai 8a to trexete ka8e fora poy 8a 8elete ton Emacs me Ellhnika.


#! /bin/sh
# gremacs

emacs -fn -etl-fixed-medium-r-normal--0-0-100-100-c-0-iso8859-7

Meta apo ola ayta ta fobera kai tromera 8a mporeite na grafete Ellhnika keimena, LaTeX kai mh, ston Emacs. H allagh toy plhktrologioy 8a ginetai me alt-g. Ajizei ton kopo, mia kai o Emacs prosferei ena polu euxrhsto periballon gia th syggrafh keimenwn se (La)TeX, to TeX mode. Ayto perilambanei elegxo twn entolwn, diaforetiko xrwmatismo gia tis entoles kai to kyriws keimeno k.l.p.

6.2 LyX

Gia na gracete ellhnika sto LyX, 8a prepei na pate sto menu Screen Options kai na allajete to pedio font-norm apo iso8859-1 se iso8859-7. Efoson exete sthsei to grkbd, me alt-shift 8a mporeite na grafete ellhnika. 8a exete ena sxedon WYSIWYG editor poy 8a sas boh8hsei arketa sto na gracete keimena gia to LaTeX. Sigoyra omws, otan 8a 8elhsete kati pio periploko, 8a xreiastei na xrhsimopoihsete kwdika LaTeX. To LyX parexei th dynatothta proepiskophshs toy keimenoy sas se dvi h postscript morfh, copy paste kai polla alla. Einai mia efarmogh poy synexws ejelissetai me kainourgies ekdoseis, me o,ti ayto synepagetai.


Next Previous Contents