AUCTeX a zapnutí slovenštiny

marosh

AUCTeX a zapnutí slovenštiny
« kdy: 17. 12. 2010, 17:19:34 »
Uz nejaku dobu pouzivam emacs, preto, ked som mal vybrat v com budem pisat bakalarku, vybral som si AUCteX, tex rozsirenie emacsu.
NO, ked som stiahol sablonu zo skoly, vyskocila mi chyba. Bolo to v tom, ze namiesto \usepackage[slovak]{babel} mali \usepackage{slovak}....To som opravil. Vyskocili mi dalsie, no to budu zrejme iba detaily, v ktorych sa lisi LaTeX od AUCTeX-u.

Problem je v tom, ze neviem nastavit slovensku diakritiku.... vsadej je riesienie \usepackage[slovak]{babel} ... a nechapem, preco to nejde.... Aj ten slovak subor som kdesi v texu nasiel, takze tam je.... Neviete kde moze by problem, celkom mi z toho zacina sibat :)
« Poslední změna: 17. 12. 2010, 17:52:07 od Petr Krčmář »


wamba

Re: AUCTeX a zapnutí slovenštiny
« Odpověď #1 kdy: 17. 12. 2010, 18:16:21 »
mohl by jste uvést příklad, pro který to nefunguje,
problémů může být spoustu
chybí
\usepackage[utf8]{inputenc}
šablona není v unicode ...
je problém v latexu nebo emacsu?

Viktor

Re: AUCTeX a zapnutí slovenštiny
« Odpověď #2 kdy: 17. 12. 2010, 19:13:00 »
Já bych zkusil:


\usepackage[T1]{fontenc}
\usepackage[utf8x]{inputenc}

marosh

Re: AUCTeX a zapnutí slovenštiny
« Odpověď #3 kdy: 17. 12. 2010, 20:16:59 »
Vdaka za commenty, ale nepomohlo....
Problem je zrejme v latexe, len neviem kde a neviem preco.....

cast z logu. cely nepresiel :
Kód: [Vybrat]
Font Info:    Redeclaring font encoding OML on input line 567.
LaTeX Font Info:    Redeclaring font encoding OMS on input line 568.
\macc@depth=\count93
\c@MaxMatrixCols=\count94
\dotsspace@=\muskip10
\c@parentequation=\count95
\dspbrk@lvl=\count96
\tag@help=\toks16
\row@=\count97
\column@=\count98
\maxfields@=\count99
\andhelp@=\toks17
\eqnshift@=\dimen109
\alignsep@=\dimen110
\tagshift@=\dimen111
\tagwidth@=\dimen112
\totwidth@=\dimen113
\lineht@=\dimen114
\@envbody=\toks18
\multlinegap=\skip46
\multlinetaggap=\skip47
\mathdisplay@stack=\toks19
LaTeX Info: Redefining \[ on input line 2666.
LaTeX Info: Redefining \] on input line 2667.
) (./nicefrac.sty
Package: nicefrac 1998/08/04 v0.9b Nice fractions
\L@UnitsRaiseDisplaystyle=\skip48
\L@UnitsRaiseTextstyle=\skip49
\L@UnitsRaiseScriptstyle=\skip50

(/usr/share/texmf/tex/latex/base/ifthen.sty
Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
))
(/usr/share/texmf/tex/latex/was/upgreek.sty
Package: upgreek 2003/02/12 v2.0 (WaS)
Package upgreek Info: Using Euler Roman for upright Greek on input line 31.
\symugrf@m=\mathgroup5
LaTeX Font Info:    Overwriting symbol font `ugrf@m' in version `bold'
(Font)                  U/eur/m/n --> U/eur/b/n on input line 38.
)
(/usr/share/texmf/tex/latex/tools/showkeys.sty
Package: showkeys 2006/01/09 v3.13 Show cite and label keys (DPC)
) (./nomencl.sty
Package: nomencl 2000/12/03 v3.1a Nomenclature package (BS)
\nomlabelwidth=\dimen115
\nom@tempdim=\dimen116
\nomitemsep=\skip51
)
\@glossaryfile=\write3
\openout3 = `tukedip.glo'.


Writing glossary file tukedip.glo
(/usr/share/texmf/tex/latex/ltxmisc/parskip.sty
Package: parskip 2001/04/09 non-zero parskip adjustments
)
(/usr/share/texmf/tex/latex/graphics/graphicx.sty
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)

(/usr/share/texmf/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks20
)
(/usr/share/texmf/tex/latex/graphics/graphics.sty
Package: graphics 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)

(/usr/share/texmf/tex/latex/graphics/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
(/usr/share/texmf/tex/latex/config/graphics.cfg
File: graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
)
Package graphics Info: Driver file: pdftex.def on input line 90.

(/usr/share/texmf/tex/latex/pdftex-def/pdftex.def
File: pdftex.def 2007/01/08 v0.04d Graphics/color for pdfTeX
\Gread@gobject=\count100
))
\Gin@req@height=\dimen117
\Gin@req@width=\dimen118
) (./natbib.sty
Package: natbib 1999/05/28 7.0 (PWD)
\bibhang=\skip52
\bibsep=\skip53
LaTeX Info: Redefining \cite on input line 508.
\c@NAT@ctr=\count101
)
(/usr/share/texmf/tex/latex/hyperref/hyperref.sty
Package: hyperref 2007/02/07 v6.75r Hypertext links for LaTeX
\@linkdim=\dimen119
\Hy@linkcounter=\count102
\Hy@pagecounter=\count103

(/usr/share/texmf/tex/latex/hyperref/pd1enc.def
File: pd1enc.def 2007/02/07 v6.75r Hyperref: PDFDocEncoding definition (HO)
)
(/usr/share/texmf/tex/latex/config/hyperref.cfg
File: hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive
)
(/usr/share/texmf/tex/latex/oberdiek/kvoptions.sty
Package: kvoptions 2006/08/22 v2.4 Connects package keyval with LaTeX options (
HO)
)
Package hyperref Info: Option `unicode' set `true' on input line 2238.

(/usr/share/texmf/tex/latex/hyperref/puenc.def
File: puenc.def 2007/02/07 v6.75r Hyperref: PDF Unicode definition (HO)
)
Package hyperref Info: Option `bookmarksnumbered' set `true' on input line 2238
.
Package hyperref Info: Option `bookmarksopen' set `true' on input line 2238.
Package hyperref Info: Option `pdfmenubar' set `true' on input line 2238.
Package hyperref Info: Option `linktocpage' set `true' on input line 2238.
Package hyperref Info: Option `pageanchor' set `true' on input line 2238.
Package hyperref Info: Hyper figures OFF on input line 2288.
Package hyperref Info: Link nesting OFF on input line 2293.
Package hyperref Info: Hyper index ON on input line 2296.
Package hyperref Info: Plain pages OFF on input line 2303.
Package hyperref Info: Backreferencing OFF on input line 2308.

Implicit mode ON; LaTeX internals redefined
Package hyperref Info: Bookmarks ON on input line 2444.
(/usr/share/texmf/tex/latex/ltxmisc/url.sty
\Urlmuskip=\muskip11
Package: url 2005/06/27  ver 3.2  Verb mode for urls, etc.
)
LaTeX Info: Redefining \url on input line 2599.
\Fld@menulength=\count104
\Field@Width=\dimen120
\Fld@charsize=\dimen121
\Choice@toks=\toks21
\Field@toks=\toks22
Package hyperref Info: Hyper figures OFF on input line 3102.
Package hyperref Info: Link nesting OFF on input line 3107.
Package hyperref Info: Hyper index ON on input line 3110.
Package hyperref Info: backreferencing OFF on input line 3117.
Package hyperref Info: Link coloring OFF on input line 3122.
\Hy@abspage=\count105
\c@Item=\count106
\c@Hfootnote=\count107
)
*hyperref using driver hpdftex*
(/usr/share/texmf/tex/latex/hyperref/hpdftex.def
File: hpdftex.def 2007/02/07 v6.75r Hyperref driver for pdfTeX
\Fld@listcount=\count108
)
No file tukedip.aux.
\openout1 = `tukedip.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 92.
LaTeX Font Info:    ... okay on input line 92.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 92.
LaTeX Font Info:    ... okay on input line 92.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 92.
LaTeX Font Info:    ... okay on input line 92.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 92.
LaTeX Font Info:    ... okay on input line 92.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 92.
LaTeX Font Info:    ... okay on input line 92.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 92.
LaTeX Font Info:    ... okay on input line 92.
LaTeX Font Info:    Checking defaults for PD1/pdf/m/n on input line 92.
LaTeX Font Info:    ... okay on input line 92.
LaTeX Font Info:    Checking defaults for PU/pdf/m/n on input line 92.
LaTeX Font Info:    ... okay on input line 92.
LaTeX Font Info:    Try loading font information for OT1+lmr on input line 92.
(/usr/share/texmf/tex/latex/lm/ot1lmr.fd
File: ot1lmr.fd 2007/01/14 v1.3 Font defs for Latin Modern
)
Package hyperref Info: Link coloring OFF on input line 92.

(/usr/share/texmf/tex/latex/hyperref/nameref.sty
Package: nameref 2006/12/27 v2.28 Cross-referencing by name of section

(/usr/share/texmf/tex/latex/oberdiek/refcount.sty
Package: refcount 2006/02/20 v3.0 Data extraction from references (HO)
)
\c@section@level=\count109
)
LaTeX Info: Redefining \ref on input line 92.
LaTeX Info: Redefining \pageref on input line 92.
\@outlinefile=\write4
\openout4 = `tukedip.out'.

 [1

{/usr/share/texmf/fonts/map/pdftex/updmap/pdftex.map}]
Underfull \hbox (badness 10000) in paragraph at lines 99--99

 []


LaTeX Warning: No \dippraca given.

LaTeX Font Info:    Try loading font information for OML+lmm on input line 99.
(/usr/share/texmf/tex/latex/lm/omllmm.fd
File: omllmm.fd 2007/01/14 v1.3 Font defs for Latin Modern
)
LaTeX Font Info:    Try loading font information for OMS+lmsy on input line 99.


(/usr/share/texmf/tex/latex/lm/omslmsy.fd
File: omslmsy.fd 2007/01/14 v1.3 Font defs for Latin Modern
)
LaTeX Font Info:    Try loading font information for OMX+lmex on input line 99.


(/usr/share/texmf/tex/latex/lm/omxlmex.fd
File: omxlmex.fd 2007/01/14 v1.3 Font defs for Latin Modern
)
LaTeX Font Info:    External font `lmex10' loaded for size
(Font)              <14.4> on input line 99.
LaTeX Font Info:    External font `lmex10' loaded for size
(Font)              <10> on input line 99.
LaTeX Font Info:    External font `lmex10' loaded for size
(Font)              <7> on input line 99.
LaTeX Font Info:    Try loading font information for U+lasy on input line 99.

(/usr/share/texmf/tex/latex/base/ulasy.fd
File: ulasy.fd 1998/08/17 v2.2e LaTeX symbol font definitions
) [2]
LaTeX Font Info:    External font `lmex10' loaded for size
(Font)              <12> on input line 101.
LaTeX Font Info:    External font `lmex10' loaded for size
(Font)              <8> on input line 101.
LaTeX Font Info:    External font `lmex10' loaded for size
(Font)              <6> on input line 101.


LaTeX Warning: No \dippraca given.


LaTeX Warning: Reference `page:posledna' on page 3 undefined on input line 101.


LaTeX Font Info:    Try loading font information for OT1+lmtt on input line 101
.
(/usr/share/texmf/tex/latex/lm/ot1lmtt.fd
File: ot1lmtt.fd 2007/01/14 v1.3 Font defs for Latin Modern
)
Underfull \hbox (badness 10000) in paragraph at lines 101--101
[]|\OT1/lmr/m/n/12 Vyberte po-dµa []$\OT1/lmtt/m/n/12 http : / / www . lib . tu
ke . sk / ?page =
 []


LaTeX Warning: No \dippraca given.


LaTeX Warning: Reference `page:posledna' on page 3 undefined on input line 101.


[3]

Package natbib Warning: Citation `kat' on page 4 undefined on input line 108.

[4] [5] [6] [7] [8]

Package natbib Warning: Citation `gonda' on page 9 undefined on input line 166.


[9]

Package hyperref Warning: old toc file detected, not used; run LaTeX again.

\tf@toc=\write5
\openout5 = `tukedip.toc'.

[10]

Package hyperref Warning: old lof file detected, not used; run LaTeX again.

\tf@lof=\write6
\openout6 = `tukedip.lof'.

[11]

Package hyperref Warning: old lot file detected, not used; run LaTeX again.

\tf@lot=\write7
\openout7 = `tukedip.lot'.

[12] (./tukedip.gls) [13] [14]
\openout2 = `uvod.aux'.

 (./uvod.tex

Package natbib Warning: Citation `kat' on page 1 undefined on input line 15.

)pdfTeX warning (ext4): destination with the same identifier (name{page.1}) has
 been already used, duplicate ignored
<to be read again>
                   \relax
l.220 \include{uvod}
                   
LaTeX Font Info:    Try loading font information for OT1+lmss on input line 220
.
 (/usr/share/texmf/tex/latex/lm/ot1lmss.fd
File: ot1lmss.fd 2007/01/14 v1.3 Font defs for Latin Modern
) [1

]
\openout2 = `formulacia.aux'.


(./formulacia.tex)pdfTeX warning (ext4): destination with the same identifier (
name{page.2}) has been already used, duplicate ignored
<to be read again>
                   \relax
l.222 \include{formulacia}
                           [2


]
\openout2 = `analyza.aux'.

 (./analyza.tex

LaTeX Warning: Reference `o:1' on page 3 undefined on input line 23.


LaTeX Warning: Reference `t:1' on page 3 undefined on input line 40.


LaTeX Warning: Reference `o:1' on page 3 undefined on input line 44.


LaTeX Warning: Reference `o:2' on page 3 undefined on input line 49.

pdfTeX warning (ext4): destination with the same identifier (name{page.3}) has
been already used, duplicate ignored
<to be read again>
                   \relax
l.55 \end{equation}
                    [3


]

LaTeX Warning: Reference `r:1' on page 4 undefined on input line 60.

<figures/tlmosc.pdf, id=102, 375.4025pt x 309.155pt>
File: figures/tlmosc.pdf Graphic file (type pdf)
 <use figures/tlmosc.pdf>

LaTeX Warning: Reference `r:1' on page 4 undefined on input line 67.

)pdfTeX warning (ext4): destination with the same identifier (name{page.4}) has
 been already used, duplicate ignored
<to be read again>
                   \relax
l.224 \include{analyza}
                        [4 <./figures/tlmosc.pdf>]
\openout2 = `jadroprace.aux'.

 (./jadroprace.tex

LaTeX Warning: Reference `o:2' on page 5 undefined on input line 10.

<figures/relaxcas.pdf, id=116, 386.44376pt x 307.1475pt>
File: figures/relaxcas.pdf Graphic file (type pdf)

<use figures/relaxcas.pdf>
LaTeX Font Info:    External font `lmex10' loaded for size
(Font)              <5> on input line 24.
)pdfTeX warning (ext4): destination with the same identifier (name{page.5}) has
 been already used, duplicate ignored
<to be read again>
                   \relax
l.226 \include{jadroprace}
                           [5


 <./figures/relaxcas.pdf>]
\openout2 = `zaver.aux'.

 (./zaver.tex)pdfTeX warning (ext4): destination with the same identifier (name
{page.6}) has been already used, duplicate ignored
<to be read again>
                   \relax
l.228 \include{zaver}
                      [6


]
\openout2 = `literatura.aux'.

 (./literatura.tex)pdfTeX warning (ext4): destination with the same identifier
(name{page.7}) has been already used, duplicate ignored
<to be read again>
                   \relax
l.230 \include{literatura}
                           [7


]
\openout2 = `prilohy.aux'.

 (./prilohy.tex)pdfTeX warning (ext4): destination with the same identifier (na
me{page.8}) has been already used, duplicate ignored
<to be read again>
                   \relax
l.232 \include{prilohy}
                        [8


]
\openout2 = `prilohaa.aux'.

 (./prilohaa.tex)pdfTeX warning (ext4): destination with the same identifier (n
ame{page.9}) has been already used, duplicate ignored
<to be read again>
                   \relax
l.234 \include{prilohaa}
                         [9


]
\openout2 = `prilohab.aux'.

 (./prilohab.tex
Overfull \hbox (1.56755pt too wide) in paragraph at lines 15--19
\OT1/lmr/m/n/12 1998, s. 21. Pod-rob-ne-j¹ie in-for-má-cie náj-de-te na strán-k
e \OT1/lmtt/m/n/12 http://www.tuke.sk/anta/
 []

LaTeX Font Info:    Try loading font information for OMS+lmr on input line 23.
(/usr/share/texmf/tex/latex/lm/omslmr.fd
File: omslmr.fd 2007/01/14 v1.3 Font defs for Latin Modern
)
LaTeX Font Info:    Font shape `OMS/lmr/m/n' in size <12> not available
(Font)              Font shape `OMS/lmsy/m/n' tried instead on input line 23.


Package natbib Warning: Citation `kat' on page 10 undefined on input line 29.


Package natbib Warning: Citation `gonda' on page 10 undefined on input line 29.



Package natbib Warning: Citation `steinerova' on page 10 undefined on input lin
e 36.

pdfTeX warning (ext4): destination with the same identifier (name{page.10}) has
 been already used, duplicate ignored
<to be read again>
                   \relax
l.50
      [10


]pdfTeX warning (ext4): destination with the same identifier (name{page.11}) ha
s been already used, duplicate ignored
<to be read again>
                   \relax
l.94 \item D
            lhý názov sa mô¾e skráti»\/ v~prípade, ak sa tým nestratí [11]
! Undefined control sequence.
l.96 ...reba oznaèi»\/ znamienkami vypustenia  \uv
                                                  {\dots}
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.

! Undefined control sequence.
l.113 zápis \uv
               {klasických}. Navy¹e treba uvies»\/ tieto údaje:
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.

)pdfTeX warning (ext4): destination with the same identifier (name{page.12}) ha
s been already used, duplicate ignored
<to be read again>
                   \relax
l.236 \include{prilohab}
                         [12]
\openout2 = `prilohac.aux'.

 (./prilohac.tex
! Undefined control sequence.
l.18 a dokument \uv
                   {pre\LaTeX{}ujeme}.
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.


Overfull \hbox (10.58255pt too wide) in paragraph at lines 19--24
[]\OT1/lmr/m/n/12 Z prí-ka-zo-vé-ho riad-ka spus-tí-me prog-ram []\OT1/lmtt/m/n
/12 makeindex \OT1/lmr/m/n/12 s pre-pí-na-èmi po-dµa pou¾itého
 []

! Undefined control sequence.
l.24 \item Po opätovnom \uv
                           {pre\LaTeX{}ovaní} dokumentu sa na
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.

)pdfTeX warning (ext4): destination with the same identifier (name{page.13}) ha
s been already used, duplicate ignored
<to be read again>
                   \relax
l.238 \include{prilohac}
                         [13


]pdfTeX warning (ext4): destination with the same identifier (name{page.14}) ha
s been already used, duplicate ignored
<to be read again>
                   \relax
l.246 \kcurriculumvitae
                        [14

]

Package natbib Warning: There were undefined citations.

(./tukedip.aux (./uvod.aux) (./formulacia.aux) (./analyza.aux)
(./jadroprace.aux) (./zaver.aux) (./literatura.aux

Package natbib Warning: Citation(s) may have changed.
(natbib)                Rerun to get citations correct.

) (./prilohy.aux) (./prilohaa.aux) (./prilohab.aux) (./prilohac.aux))

LaTeX Warning: There were undefined references.


LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.

 )
(\end occurred inside a group at level 2)

### simple group (level 2) entered at line 142 ({)
### simple group (level 1) entered at line 101 ({)
### bottom level
Here is how much of TeX's memory you used:
 5233 strings out of 256217
 65115 string characters out of 1917095
 129903 words of memory out of 1500000
 8315 multiletter control sequences out of 10000+200000
 70498 words of font info for 64 fonts, out of 1200000 for 2000
 645 hyphenation exceptions out of 8191
 27i,15n,41p,290b,471s stack positions out of 5000i,500n,6000p,200000b,15000s
{/usr/share/texmf/fonts/enc/dvips/lm/lm-mathsy.enc}{/usr/share/
texmf/fonts/enc/dvips/lm/lm-rm.enc}{/usr/share/texmf/fonts/enc/dvips/lm/lm-math
it.enc}</usr/share/texmf/fonts/type1/bluesky/ams/eurm10.pfb></usr/share/texmf/f
onts/type1/public/lm/lmbx10.pfb></usr/share/texmf/fonts/type1/public/lm/lmbx12.
pfb></usr/share/texmf/fonts/type1/public/lm/lmmi10.pfb></usr/share/texmf/fonts/
type1/public/lm/lmmi12.pfb></usr/share/texmf/fonts/type1/public/lm/lmr10.pfb></
usr/share/texmf/fonts/type1/public/lm/lmr12.pfb></usr/share/texmf/fonts/type1/p
ublic/lm/lmr7.pfb></usr/share/texmf/fonts/type1/public/lm/lmr8.pfb></usr/share/
texmf/fonts/type1/public/lm/lmri10.pfb></usr/share/texmf/fonts/type1/public/lm/
lmri12.pfb></usr/share/texmf/fonts/type1/public/lm/lmss10.pfb></usr/share/texmf
/fonts/type1/public/lm/lmsy10.pfb></usr/share/texmf/fonts/type1/public/lm/lmsy8
.pfb></usr/share/texmf/fonts/type1/public/lm/lmtt12.pfb>
Output written on tukedip.pdf (28 pages, 324501 bytes).
PDF statistics:
 250 PDF objects out of 1000 (max. 8388607)
 58 named destinations out of 1000 (max. 131072)
 27 words of extra memory for PDF output out of 10000 (max. 10000000)


marosh

Re: AUCTeX a zapnutí slovenštiny
« Odpověď #4 kdy: 17. 12. 2010, 21:19:06 »
hm, velmi vela indicii som vam asi nedal :)...sorry, ale bol som utahany a ten ehm latex ma nastval....poslednu dobu mam pocit, ze nic, co spustim nefunguje :/....
whatever, zajtra to urcite rozchodim... :)


Michal.H21

Re: AUCTeX a zapnutí slovenštiny
« Odpověď #5 kdy: 18. 12. 2010, 14:02:02 »
Problém s diakritikou bude nejsíš tím, že buď nepoužíváš balíček inputenc, nebo uvádíš jiné kódování, než v jakém dokument skutečně je.
Pošli celou hlavičku dokumentu před \begin{document}. Používáš pdflatex nebo jiný engine? Jakou používáš distribuci TeXu?