Δημοσιεύτηκε: 21 Οκτ 2011, 13:47
από XlapatsaS
Η locate μου επιστρέφει τις διαδρομές οπότε έχω τα τρία αυτά πακέτα (fontspec, xgreek, xltxtra).
Τα ελληνικά όμως δεν εμφανίζονται.

Ας παραθέσω τα λάθη που έχω βρει μήπως και βγάλουμε άκρη.

Δίνω την εντολή sudo apt-get install texlive στην κονσόλα για να κάνω αναβάθμιση το texlive.
Και επιστρέφει αρκετά λάθη.
Το παραθέτω από την αρχή ... όχι από εκεί που αρχίζουν τα λάθη ...

Κώδικας: Επιλογή όλων
Reading package lists... Done
Building dependency tree
Reading state information... Done
texlive is already the newest version.
texlive set to manually installed.
The following packages were automatically installed and are no longer required:
libboost-regex1.42.0 linux-headers-2.6.35-22 linux-headers-2.6.35-22-generic
libboost-signals1.42.0
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
11 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up tex-common (2.08ubuntu0.1) ...
Running mktexlsr. This may take some time... done.
Running updmap-sys. This may take some time... done.
Building format(s) --all.
This may take some time...
fmtutil-sys failed. Output has been stored in
/tmp/fmtutil.gNjGNPvS
Please include this file if you report a bug.

dpkg: error processing tex-common (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of cm-super:
cm-super depends on tex-common (>= 1.18); however:
Package tex-common is not configured yet.
dpkg: error processing cm-super (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of context:
context depends on tex-common (>= 2.00); however:
Package tex-common is not configured yet.
dpkg: error processing context (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of latex-cjk-xcjk:
latex-cjk-xcjk depends on tex-common (>= 2.04); however:
Package tex-common is not configured yet.
dpkg: error processing latex-cjk-xcjk (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of latex-cjk-chinese:
latex-cjk-chinese depends on tex-common (>= 2.04); however:
Package tex-common is not configured yet.
dpkg: error processing latex-cjk-chinese (--configure):
dependency proNo apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
blems - leaving unconfigured
dpkg: dependency problems prevent configuration of latex-cjk-japanese:
latex-cjk-japanese depends on tex-common (>= 2.04); however:
Package tex-common is not configured yet.
dpkg: error processing latex-cjk-japanese (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of latex-cjk-korean:
latex-cjk-korean depends on tex-common (>= 2.04); however:
Package tex-common is not configured yet.
dpkg: error processing latex-cjk-korean (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of latex-cjk-thai:
latex-cjk-thai depends on tex-common (>= 2.04); however:
Package tex-common is not configured yet.
dpkg: error processing latex-cjk-thai (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of latex-cjk-all:
latex-cjk-all depends on latex-cjk-xcjk (= 4.8.2+git20090105-5); however:
Package latex-cjk-xcjk is not configured yet.
latex-cjk-all depends on latex-cjk-chinese (>= 4.8.2+git20090105-5); however:
Package latex-cjk-chinese is not configured yet.
latex-cjk-all depends on latex-cjk-japanese (>= 4.8.2+git20090105-5); however:
Package latex-cjk-japanese is not configured yet.
latex-cjk-all depends on latex-cjk-korean (= 4.8.2+git20090105-5); however:
Package latex-cjk-korean is not configured yet.
latex-cjk-all depends on latex-cjk-thai (= 4.8.2+git20090105-5); however:
Package latex-cjk-thai is not configured yet.
dpkg: error processing latex-cjk-all (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-music:
texlive-music depends on tex-common (>= 2.00); however:
Package tex-common is not configured yet.
dpkg: error processing texlive-music (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-full:
texlive-full depends on cm-super (>= 0.3.3-3); however:
Package cm-super is not configured yet.
texlive-full depends on texlive-music (>= 2009-1); however:
Package texlive-music is not configured yet.
texlive-full depends on context; however:
Package context is not configured yet.
dpkg: error processing texlive-full (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
tex-common
cm-super
context
latex-cjk-xcjk
latex-cjk-chinese
latex-cjk-japanese
latex-cjk-korean
latex-cjk-thai
latex-cjk-all
texlive-music
texlive-full
E: Sub-process /usr/bin/dpkg returned an error code (1)



Αν εξαιρέσουμε αυτό που επειδή είμαι και λίγο άσχετος δεν μπορώ να εντοπίσω και να διορθόσω το λάθος ώστε να εγκαταστίσω το νέο texlive ... προσπαθώ να τρέξω το παράδειγμα που από το λινκ που μου έδωσες.

Στην αρχή λειτουργεί σωστά και εμφανίζει το pdf χωρίς τα ελληνικά (οπότε το TexMaker 2.0 που έχω δουλεύει κανονικά) ... όταν όμως φορτώνω το πακέτο μου πετάει error ...


Κώδικας: Επιλογή όλων
LOG FILE :
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) (format=pdflatex 2011.10.21) 21 OCT 2011 13:41
entering extended mode
%&-line parsing enabled.
**deuteri_dokimi.tex
(./deuteri_dokimi.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, farsi, arabic, croatian, bulgarian, ukrainian, russian, czech, slov
ak, danish, dutch, finnish, french, basque, ngerman, german, german-x-2009-06-1
9, ngerman-x-2009-06-19, ibycus, monogreek, greek, ancientgreek, hungarian, san
skrit, italian, latin, latvian, lithuanian, mongolian2a, mongolian, bokmal, nyn
orsk, romanian, irish, coptic, serbian, turkish, welsh, esperanto, uppersorbian
, estonian, indonesian, interlingua, icelandic, kurmanji, slovenian, polish, po
rtuguese, spanish, galician, catalan, swedish, ukenglish, loaded.
(/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size10.clo
File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/share/texmf-texlive/tex/xelatex/fontspec/fontspec.sty
Package: fontspec 2008/08/09 v1.18 Advanced font selection for XeLaTeX
(/usr/share/texmf-texlive/tex/generic/ifxetex/ifxetex.sty
Package: ifxetex 2009/01/23 v0.5 Provides ifxetex conditional
)
!
********************************************
* XeTeX is required to compile this document.
* Sorry!
********************************************.
\RequireXeTeX ...********************************}
\endgroup \fi
l.18 \RequireXeTeX
This error message was generated by an \errmessage
command, so I can't give any explicit help.
Pretend that you're Hercule Poirot: Examine all clues,
and deduce the truth by order and method.
\c@zf@newff=\count87
\c@zf@index=\count88
\c@zf@script=\count89
\c@zf@language=\count90
!
********************************************
* XeTeX is required to compile this document.
* Sorry!
********************************************.
\RequireXeTeX ...********************************}
\endgroup \fi
l.63 \RequireXeTeX
(That was another \errmessage.)
(/usr/share/texmf-texlive/tex/latex/tools/calc.sty
Package: calc 2007/08/22 v4.3 Infix arithmetic (KKT,FJ)
\calc@Acount=\count91
\calc@Bcount=\count92
\calc@Adimen=\dimen103
\calc@Bdimen=\dimen104
\calc@Askip=\skip43
\calc@Bskip=\skip44
LaTeX Info: Redefining \setlength on input line 76.
LaTeX Info: Redefining \addtolength on input line 77.
\calc@Ccount=\count93
\calc@Cskip=\skip45
)
(/usr/share/texmf-texlive/tex/latex/xkeyval/xkeyval.sty
Package: xkeyval 2008/08/13 v2.6a package option processing (HA)
(/usr/share/texmf-texlive/tex/generic/xkeyval/xkeyval.tex
\XKV@toks=\toks14
\XKV@tempa@toks=\toks15
\XKV@depth=\count94
File: xkeyval.tex 2008/08/13 v2.6a key=value parser (HA)
(/usr/share/texmf-texlive/tex/generic/xkeyval/keyval.tex)))
(/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
(/usr/share/texmf-texlive/tex/xelatex/euenc/eu1enc.def
File: eu1enc.def 2008/03/08 v0.1d Experimental unicode font encoding
)
LaTeX Font Info: Try loading font information for EU1+lmr on input line 100.
(/usr/share/texmf-texlive/tex/xelatex/euenc/eu1lmr.fd
File: eu1lmr.fd 2007/01/14 v1.3 Font defs for Latin Modern
)
! Font EU1/lmr/m/n/10=[lmroman10-regular]:mapping=tex-text at 10.0pt not loadab
le: Metric (TFM) file not found.
<to be read again>
relax
l.100 \fontencoding\encodingdefault\selectfont
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\font<same font id>=<substitute font name>'.
)
LaTeX Info: Redefining \itshape on input line 1163.
LaTeX Info: Redefining \slshape on input line 1166.
LaTeX Info: Redefining \scshape on input line 1169.
LaTeX Info: Redefining \upshape on input line 1172.
fontspec.cfg loaded.
(/usr/share/texmf-texlive/tex/xelatex/fontspec/fontspec.cfg))
! Undefined control sequence.
\zf@set@font@type ...false \ifcase \XeTeXfonttype
\zf@basefont \zf@tfm \or \...
l.3 \setmainfont{Kerkis}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Missing number, treated as zero.
<to be read again>
\zf@basefont
l.3 \setmainfont{Kerkis}
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)
! Undefined control sequence.
\zf@set@font@type ...onttype \zf@basefont \zf@tfm
\or \zf@atsuitrue \ifnum \...
l.3 \setmainfont{Kerkis}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
\c@zf@famc@Kerkis=\count95
Package fontspec Info: Defining font family for 'Kerkis' with options [] on inp
ut line 3.
! Font \@tempfontb=Kerkis/B at 10.0pt not loadable: Metric (TFM) file not found
.
\\zf@make@font@shapes ...f@suffix " at \f@size pt
\edef \@tempb {\fontname \...
l.3 \setmainfont{Kerkis}
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\font<same font id>=<substitute font name>'.
! Font \@tempfontb=Kerkis/I at 10.0pt not loadable: Metric (TFM) file not found
.
\\zf@make@font@shapes ...f@suffix " at \f@size pt
\edef \@tempb {\fontname \...
l.3 \setmainfont{Kerkis}
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\font<same font id>=<substitute font name>'.
! Font \@tempfontb=Kerkis/BI at 10.0pt not loadable: Metric (TFM) file not foun
d.
\\zf@make@font@shapes ...f@suffix " at \f@size pt
\edef \@tempb {\fontname \...
l.3 \setmainfont{Kerkis}
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\font<same font id>=<substitute font name>'.
! Font EU1/Kerkis(0)/m/n/10=Kerkis: at 10.0pt not loadable: Metric (TFM) file n
ot found.
<to be read again>
relax
l.3 \setmainfont{Kerkis}
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\font<same font id>=<substitute font name>'.
(./deuteri_dokimi.aux)
\openout1 = `deuteri_dokimi.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for EU1/lmr/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
Package fontspec Info: Adjusting the maths setup (use [no-math] to avoid this).
on input line 4.
\symlegacymaths=\mathgroup4
LaTeX Font Info: Overwriting symbol font `legacymaths' in version `bold'
(Font) OT1/cmr/m/n --> OT1/cmr/bx/n on input line 4.
LaTeX Font Info: Redeclaring math accent \acute on input line 4.
LaTeX Font Info: Redeclaring math accent \grave on input line 4.
LaTeX Font Info: Redeclaring math accent \ddot on input line 4.
LaTeX Font Info: Redeclaring math accent \tilde on input line 4.
LaTeX Font Info: Redeclaring math accent \bar on input line 4.
LaTeX Font Info: Redeclaring math accent \breve on input line 4.
LaTeX Font Info: Redeclaring math accent \check on input line 4.
LaTeX Font Info: Redeclaring math accent \hat on input line 4.
LaTeX Font Info: Redeclaring math accent \dot on input line 4.
LaTeX Font Info: Redeclaring math accent \mathring on input line 4.
LaTeX Font Info: Redeclaring math symbol \colon on input line 4.
LaTeX Font Info: Redeclaring math symbol \Gamma on input line 4.
LaTeX Font Info: Redeclaring math symbol \Delta on input line 4.
LaTeX Font Info: Redeclaring math symbol \Theta on input line 4.
LaTeX Font Info: Redeclaring math symbol \Lambda on input line 4.
LaTeX Font Info: Redeclaring math symbol \Xi on input line 4.
LaTeX Font Info: Redeclaring math symbol \Pi on input line 4.
LaTeX Font Info: Redeclaring math symbol \Sigma on input line 4.
LaTeX Font Info: Redeclaring math symbol \Upsilon on input line 4.
LaTeX Font Info: Redeclaring math symbol \Phi on input line 4.
LaTeX Font Info: Redeclaring math symbol \Psi on input line 4.
LaTeX Font Info: Redeclaring math symbol \Omega on input line 4.
LaTeX Font Info: Redeclaring math symbol \mathdollar on input line 4.
LaTeX Font Info: Redeclaring symbol font `operators' on input line 4.
LaTeX Font Info: Encoding `OT1' has changed to `EU1' for symbol font
(Font) `operators' in the math version `normal' on input line 4.
LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
(Font) OT1/cmr/m/n --> EU1/Kerkis(0)/m/n on input line 4.
LaTeX Font Info: Encoding `OT1' has changed to `EU1' for symbol font
(Font) `operators' in the math version `bold' on input line 4.
LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
(Font) OT1/cmr/bx/n --> EU1/Kerkis(0)/m/n on input line 4.
LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
(Font) EU1/Kerkis(0)/m/n --> EU1/Kerkis(0)/m/n on input line 4
.
LaTeX Font Info: Overwriting math alphabet `\mathrm' in version `normal'
(Font) EU1/Kerkis(0)/m/n --> EU1/Kerkis(0)/m/n on input line 4
.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal'
(Font) OT1/cmr/m/it --> EU1/Kerkis(0)/m/it on input line 4.
LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `normal'
(Font) OT1/cmr/bx/n --> EU1/Kerkis(0)/bx/n on input line 4.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `normal'
(Font) OT1/cmss/m/n --> EU1/lmss/m/n on input line 4.
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `normal'
(Font) OT1/cmtt/m/n --> EU1/lmtt/m/n on input line 4.
LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
(Font) EU1/Kerkis(0)/m/n --> EU1/Kerkis(0)/bx/n on input line
4.
LaTeX Font Info: Overwriting math alphabet `\mathrm' in version `bold'
(Font) EU1/Kerkis(0)/m/n --> EU1/Kerkis(0)/bx/n on input line
4.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold'
(Font) OT1/cmr/bx/it --> EU1/Kerkis(0)/bx/it on input line 4.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold'
(Font) OT1/cmss/bx/n --> EU1/lmss/bx/n on input line 4.
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `bold'
(Font) OT1/cmtt/m/n --> EU1/lmtt/bx/n on input line 4.
Missing character: There is no I in font nullfont!
Missing character: There is no t in font nullfont!
Missing character: There is no ' in font nullfont!
Missing character: There is no s in font nullfont!
Missing character: There is no m in font nullfont!
Missing character: There is no e in font nullfont!
Missing character: There is no ! in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no ! in font nullfont!
Missing character: There is no 1 in font nullfont!
[1
] (./deuteri_dokimi.aux) )
Here is how much of TeX's memory you used:
2209 strings out of 493853
44539 string characters out of 1153186
121711 words of memory out of 3000000
5529 multiletter control sequences out of 15000+50000
4363 words of font info for 15 fonts, out of 3000000 for 9000
714 hyphenation exceptions out of 8191
27i,4n,27p,460b,147s stack positions out of 5000i,500n,10000p,200000b,50000s
Output written on deuteri_dokimi.pdf (1 page, 914 bytes).
PDF statistics:
6 PDF objects out of 1000 (max. 8388607)
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)



Έχω αλλάξει την ρύθμιση LaTeX σε "xelatex -interaction=nonstopmode %.tex" ... αλλά το ίδιο μου βγάζει και όταν είναι η προεπιλογή "latex -interaction=nonstopmode %.tex".
Καταλαβαίνω ότι δεν βρίσκει το χετεχ αλλά η locate μου δείχνει ότι υπάρχει στο σύστημα μου.
Για αυτό ήθελα να δοκιμάσω αυτές τις οδηγίες και να συνδέσω από την αρχή το χετεχ ...

Sorry για την έκταση του ποστ μου και ευχαριστώ για την εως τώρα βοήθεια!!!!