Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: TeX [vyřešeno]  (Přečteno 2200 krát)

premet

  • Host
TeX [vyřešeno]
« kdy: 23 Září 2009, 18:38:34 »
Zdravím,

Ve škole začínáme s TeXem, no spíš to máme takovou dobrovolnou přípravu na bakalářskou práci, ale to je jedno. Řekl sem si, že si to vyzkouším, ale bohužel se nemůžu dopracovat žádnýho výstupu. Mám nainstalován Texlive a píšu to v Texmakeru, kód mám zatím jen na zkoušku tohle, co máme v textu ze cvičení
Kód: [Vybrat]
\documentclass[a4paper,twoside]{article}

 \usepackage{czech}
 \usepackage{a4wide}

 \pagestyle{plain}

 \begin{document}
   Toto je můj první, filologicky nenáročný,
   dokument v~\LaTeX u.
 \end{document}
ale jak v Ubuntu tak ve Fedoře to při překladu do PDF  skončí chybou
Kód: [Vybrat]
(/usr/share/texmf/tex/generic/babel/czech.sty
! Package babel Error: You have used an old interface to call babel
(babel) You may expect compatibility problems wit other packages
dělá to v Texmakeru i při ručním přeložení přes pdflatex  :-\

Přiznávám se, že Tex vidím dnes prvně, takže s ním nemám žádný zkušenosti ani jsem to zatím moc nestudoval, protože potom co sem to měl celej den ve škole se mi už doma moc nechce, ale určitě je tady dost lidí co s ním pracují tak mi snad někdo píchne  :) díky !
« Poslední změna: 23 Září 2009, 18:56:07 od Premet »

premet

  • Host
Re: TeX
« Odpověď #1 kdy: 23 Září 2009, 18:52:50 »
Tak jsem zjistil, že PDF to vytvoří, ale nezobrazí to český znaky  
Kód: [Vybrat]
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=pdflatex 2009.9.23)  23 SEP 2009 18:50
entering extended mode
 %&-line parsing enabled.
**foo.tex
(./foo.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, arabic, basque, bulgarian, coptic, welsh, czech, slovak, german, ng
erman, danish, esperanto, spanish, catalan, galician, estonian, farsi, finnish,
 french, greek, monogreek, ancientgreek, croatian, hungarian, interlingua, ibyc
us, indonesian, icelandic, italian, latin, mongolian, dutch, norsk, polish, por
tuguese, pinyin, romanian, russian, slovenian, uppersorbian, serbian, swedish,
turkish, ukenglish, ukrainian, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo
File: size10.clo 2005/09/16 v1.4f 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/tex/generic/babel/czech.sty

! Package babel Error: You have used an old interface to call babel
(babel)                You may expect compatibility problems wit other packages
.

See the babel package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                             
                                                 
l.73     \bblstyerror
                     
You could proceed but don't complain if you run into errors

(/usr/share/texmf/tex/generic/babel/czech.ldf
Language: czech 2005/03/29 v1.3k Czech support from the babel system

(/usr/share/texmf/tex/generic/babel/babel.def
File: babel.def 2005/11/23 v3.8h Babel common definitions
\babel@savecnt=\count87
\U@D=\dimen103
)))
No file foo.aux.
\openout1 = `foo.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 6.
LaTeX Font Info:    ... okay on input line 6.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 6.
LaTeX Font Info:    ... okay on input line 6.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 6.
LaTeX Font Info:    ... okay on input line 6.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 6.
LaTeX Font Info:    ... okay on input line 6.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 6.
LaTeX Font Info:    ... okay on input line 6.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 6.
LaTeX Font Info:    ... okay on input line 6.
Missing character: There is no Ĺ in font cmr10!
Missing character: There is no Ż in font cmr10!
Missing character: There is no Ă in font cmr10!
Missing character: There is no ­ in font cmr10!
Missing character: There is no Ă in font cmr10!
Missing character: There is no Ą in font cmr10!
Missing character: There is no Ä in font cmr10!
Missing character: There is no  in font cmr10!
Missing character: There is no Ă in font cmr10!
Missing character: There is no ˝ in font cmr10!
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <7> on input line 8.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <5> on input line 8.
[1

{/usr/share/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./foo.aux) )
Here is how much of TeX's memory you used:
 428 strings out of 256216
 4710 string characters out of 1917072
 53641 words of memory out of 1500000
 3792 multiletter control sequences out of 10000+200000
 3640 words of font info for 14 fonts, out of 1200000 for 2000
 645 hyphenation exceptions out of 8191
 23i,4n,19p,148b,123s stack positions out of 5000i,500n,6000p,200000b,15000s
</usr/share
/texmf/fonts/type1/bluesky/cm/cmr10.pfb></usr/share/texmf/fonts/type1/bluesky/c
m/cmr7.pfb>
Output written on foo.pdf (1 page, 10917 bytes).
PDF statistics:
 14 PDF objects out of 1000 (max. 8388607)
 0 named destinations out of 1000 (max. 131072)
 1 words of extra memory for PDF output out of 10000 (max. 10000000)

premet

  • Host
Re: TeX
« Odpověď #2 kdy: 23 Září 2009, 18:55:52 »
OMG zapoměl jsem a stačí hledat  
Kód: [Vybrat]
\usepackage[utf8]{inputenc}
\usepackage[czech]{babel}

díky Přemetovi za vyřešení  ;D
« Poslední změna: 23 Září 2009, 18:58:03 od Premet »

Kedrigern

Re: TeX [vyřešeno]
« Odpověď #3 kdy: 23 Září 2009, 23:01:19 »
Kdyžtak http://anilinux.org/~keddie/index.php?page=LaTeX

Začal jsem aktivně TeXovat před měsícem, tedy vše je aktuální a funguje :)

 

Provoz zaštiťuje spolek OpenAlt.