Lyx êáé åëëçíéêÜ ( =?iso-8859-1?Q?=F4=FC=ED=EF=E9?=)

Christos KK Loverdos (Ironman) loverdos at di.uoa.gr
Tue Jan 28 21:55:13 EET 2003


fateswarm wrote:
> 
> To lyx öáßíåôáé íá õðïóôçñßæåé åëëçíéêÜ
> «out of the box» ôåëåõôáßá, ôï 8Ýìá åßíáé
> üôé ðåñéÝ÷åé êÜðïéïõ åßäïõò åëëçíéêü
> «ðëçêôñïëüãéï» ðïõ óå áöÞíåé íá ãñÜøåéò
> åëëçíéêÜ áíåîÜñôçôá ôïõ locale êáé
> charset ôïõ óõóôÞìáôïò. Ôï 8Ýìá åéíáé
> ïôé ðáò íá ãñÜøåéò åëëçíéêÜ üôáí óôï
> õðüëïéðï óõóôçìá ãñÜöåéò áããëéêÜ êáé
> íáé ìåí ãñÜöåé åëëçíéêÜ áëëÜ áíôé ãéá
> ôüíïõò, üðïôå ðáôÜò ôï «;/:» êïõìðÜêé
> ãñÜöåé Ýíá «;». Áí êÜíù toggle óôá
> åëëçíéêÜ íáé ìåí ìðáßíïõí ôüíïé áëëÜ
> üëá ôá Üëëá ðëÞêôñá åðéóôñÝöïõí..
> êåíü.
> 
> Áêïëïýèçóá êÜôé áñ÷áßåò ïäçãßåò ðåñß
> babel êáé äå öÜíçêå íá áëëÜæåé ôßðïôá.
> 
> Åðßóçò ÷ñçóéìïðïéüíôáò «\usepackage
> [iso-8859-7]{inputenc}» óôá tex settings
> ðÜëé äå öáßíåôáé íá áëëÜæåé ç êáôÜóôáóç.
> MÜëéóôá, ôá settings ðïõ óõíÞèïò Ýâñéóêá
> óôá archives ôçò LGU Ýöåñíáí error óôï
> execution ãéá ìåôáôñïðÞ ôçò lyx/tex/latex
> óå dvi Þ pdf ùò «áõôü ôï option Ý÷åé îáíá-
> ÷ñçóéìïðïéåéèåß» (Ý÷åé Þäç åðéëïãÝò ãëþóóáò
> ôï lyx).
> 
> ÕðÜñ÷åé êÜðïéá ëýóç Þ ðáñáôÜù ôéò ðñïóðÜ-
> èéåò óå lyx;
> 
> -fw
> 
> õã. Ý÷ù qwerty âñåôáíéêü ðëçêôñïëüãéï. äå îÝñù
> áí áõôü ðáßæåé êÜðïéï ñüëï óôï «åíóùìáôïìÝíï»
> lyx ðëçêôñïëüãéï.
> 
> --
> linux-greek-users mailing list -- http://lists.hellug.gr

Geia xara file.

Den kserw ti akribws ginetai me to plhktrologio, alla
mporw na sou perigrapsw pws exw diamorfwsei to LyX
(meta apo arketh prospatheia) kai grafw arthra se mixed
Ellinika-Agglika xwris kanena apolytws problima.
Exoume kai leme

1. Exw egkatestimeno RedHat7.2 me ta paketa:
----------------------------------------
XFree86-ISO8859-7-100dpi-fonts-1.0-10
XFree86-ISO8859-7-75dpi-fonts-1.0-10
XFree86-ISO8859-7-Type1-fonts-1.0-10
----------------------------------------

2. Oi parakatw grammes einai meros to arxeioy ~/.lyx/lyxrc.defaults:
----------------------------------------
\latex_command "latex-EL"
\screen_font_roman "-*-grtex"
\screen_font_sans "-*-grarial"
\screen_font_typewriter "-*-grtt"
\screen_font_encoding iso8859-1
\screen_font_encoding_menu iso8859-7
\screen_font_popup "-*-grarial"

\bind "F8" "language english"
\bind "F12" "language greek"
----------------------------------------

3. Exw grapsei ena scriptaki, to opoio xrhsimopoiw ws
ektelesimo ANTI toy aploy 'latex' kai to opoio lew
'latex-EL' (tha parathrhses to onoma sthn epilogh
\latex_command "latex-EL" pio panw). To scriptaki afto
to xrhsimopoiw anti na peiraksw to LaTeX preamble apo
thn antistoixh epilogh toy LyX, gia na eisagw aftomata
to paketo "inputenc" me yposthriksh "iso-8859-7" encoding:
----------------------------------------
#!/bin/sh

# $Log: latex-EL,v $
# Revision 1.1  2001/02/18 17:44:27  loverdos
# *** empty log message ***
#

echo
echo "***********************************************"
echo "* Automatic loading of [iso-8859-7]{inputenc} *"
echo "*  -- Modelled after pslatex.                 *"
echo "*  -- For use with Lyx, to support docs with  *"
echo "*  -- greek text.                             *"
echo "* By Christos KK Loverdos (2001/02/18)        *"
echo "***********************************************"
echo

latex \
    "\AtBeginDocument{\RequirePackage[iso-8859-7]{inputenc}}"\
    "\def\ENCODINGTMP{\futurelet\ENCODINGTMP\ENCODINGTMPB}"\
    "\def\ENCODINGTMPB{\ifx\ENCODINGTMP\nonstopmode\else\input\fi}"\
    "\ENCODINGTMP" ${1+"$@"}

----------------------------------------

4. Otan grafw ena neo document sta ellhnika, apo thn epilogh
Layout/Document orizw th glwssa ws greek. Prosoxh sto oti den
 vazw tipota sto LaTeX preamble.

5. Gia na grafw kai agglika se ellhniko keimeno, exw kanei bind
to plhktro F8 sthn antistoixh entolh allaghs glwssas (sto lyxrc.defaults):
----------------------------------------
\bind "F8" "language english"
----------------------------------------
Apla, mesa sto LyX, epilegw o,ti einai sta Agglika kai pataw F8,
opote o LyX allazei gia to epilegmeno kommati th glwssa sta Agglika.


6. H olh diadikasia doulevei sxetika me tis glvsses kai antistrofa
kai etsi dikaiologeitai kai to allo binding:
----------------------------------------
\bind "F12" "language greek"
----------------------------------------

Elpizw na voithisa.

(Ironman) Christos KK Loverdos



More information about the Linux-greek-users mailing list