LaTex+ Slovencina

Sekcia: Aplikácie & Desktop 18.03.2007 | 14:07
diablik   Návštevník
Hello world,
mam taky maly problem. Nemozem nic tvorit v Tex-u pretoze ked zadam prikaz \usepackage{slovak}, tak mi vyhodi chybovu hlasku:

line 73 -> ! Package babel Error: You have used an old interface to call babel. \bblstyerror

co ma pomerne prekvapilo, pretoze ked som to pouzival minule na wine, tak vsetko bolo v poriadku. ak viete niekto co s tym prosim poradte...
dik
Este pridam kombinaciu:
openSUSE10.2+Texmaker+pdflatex a vsetko ostatne z repositories....
    • Re: LaTex+ Slovencina 18.03.2007 | 14:36
      Avatar uid0 Debian  Používateľ
      chybovu hlasku si necital pozorne. trosku samostatnosti, uz si na to mohol prijst aj sam

      \usepackage[slovak]{babel}
      Debian. apt-get into it…
      • Re: LaTex+ Slovencina 18.03.2007 | 18:27
        diablik   Návštevník
        dakujem za kritiku, ale aj tak to nic neriesi....rovnaka chybova hlaska
        takze ja tu hodim cely log file...:


        ************** SUMMARY ************** :
        line 73 -> ! Package babel Error: You have used an old interface to call babel. \bblstyerror
        line 2 -> ! Missing number, treated as zero. \usepackage{slovak}[babel]
        ************** LOG FILE *************** :
        This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) (format=pdflatex 2006.11.27) 18 MAR 2007 17:26
        entering extended mode
        **"curriculum vitae.tex"
        (./curriculum vitae.tex
        LaTeX2e <2003/12/01>
        Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b
        ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
        stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
        h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
        kish, ukrainian, nohyphenation, loaded.
        (/usr/share/texmf/tex/latex/base/article.cls
        Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
        (/usr/share/texmf/tex/latex/base/size10.clo
        File: size10.clo 2004/02/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/slovak.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/slovak.ldf
        Language: slovak 2004/02/20 v1.3a Slovak support from the babel system
        (/usr/share/texmf/tex/generic/babel/babel.def
        File: babel.def 2004/11/20 v3.8d Babel common definitions
        \babel@savecnt=\count87
        \U@D=\dimen103
        )
        Package babel Info: Making ^ an active character on input line 86.
        Package babel Info: Making " an active character on input line 89.
        Package babel Info: Making ' an active character on input line 92.
        ))
        ! Missing number, treated as zero.
        <to be read again>
        b
        l.2 \usepackage{slovak}[babel]
        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.)
        (./curriculum vitae.aux)
        \openout1 = `"curriculum vitae.aux"'.
        LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 3.
        LaTeX Font Info: ... okay on input line 3.
        LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 3.
        LaTeX Font Info: ... okay on input line 3.
        LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 3.
        LaTeX Font Info: ... okay on input line 3.
        LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 3.
        LaTeX Font Info: ... okay on input line 3.
        LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 3.
        LaTeX Font Info: ... okay on input line 3.
        LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 3.
        LaTeX Font Info: ... okay on input line 3.
        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!
        Missing character: There is no in font cmr10!
        [1
        {/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./curriculum vitae.aux) )
        Here is how much of TeX's memory you used:
        499 strings out of 94499
        5831 string characters out of 1172809
        54469 words of memory out of 3500000
        3742 multiletter control sequences out of 10000+50000
        3640 words of font info for 14 fonts, out of 500000 for 2000
        580 hyphenation exceptions out of 1000
        23i,4n,17p,192b,109s stack positions out of 1500i,500n,5000p,200000b,5000s
        PDF statistics:
        7 PDF objects out of 300000
        0 named destinations out of 131072
        1 words of extra memory for PDF output out of 65536
        </usr/share/texmf/fonts/type1/bluesky/cm/cmr10.pfb>
        Output written on curriculum vitae.pdf (1 page, 4339 bytes).
        • Re: LaTex+ Slovencina 18.03.2007 | 19:57
          Avatar uid0 Debian  Používateľ
          len sa na to dobre pozri co si tam zadal. ma to byt:

          \usepackage[slovak]{babel}
          Debian. apt-get into it…
          • Re: LaTex+ Slovencina 18.03.2007 | 20:07
            diablik   Návštevník
            ale ono to tak nefunguje. nezobrazi sa mi sice ziadna chybova hlaska, ale jednoducho s mi nezobrazia na vystupe ani ziadne narodne znaky....
            • Re: LaTex+ Slovencina 18.03.2007 | 20:17
              Avatar uid0 Debian  Používateľ
              babel nie je na kodovanie ale hyphenation a podobne srandy. v akom kodovani pises? daj tam nieco ako toto:

              \usepackage[utf8]{inputenc}
              Debian. apt-get into it…
              • Re: LaTex+ Slovencina 18.03.2007 | 20:23
                diablik   Návštevník
                okej uz to mam v pohode....inak hmm toto je nejake nove znacenie? lebo co mam taku knizku ze Latex pre zaciatocnikov...tak tam sa doslova pise tak ako som to mal....
                • Re: LaTex+ Slovencina 18.03.2007 | 20:51
                  Avatar uid0 Debian  Používateľ
                  neviem, som v LaTeXe noob, len v nom pisem vzorce (navyse z abiwordu :))
                  Debian. apt-get into it…
    • Re: LaTex+ Slovencina 18.03.2007 | 21:57
      Avatar Michal Sekletár Arch Linux  Používateľ
      tu je moj postup(pre istotu som si ho zapisal lebo som vedel ze sa bude este hodit)
      #instalacia LaTeXu
      apt-get install tetex-base tetex-bin tetex-extra
      
      #nastavenie csLaTeXu + nastavenie pisania s diakritikou
      1. v subore /etc/texmf/fmt.d/00tetex.cnf je treba odkomentovat riadky:
          * cont-cz
          * csplain
          * cslatex
          * pdfcsplain
          * pdfcslatex
      2. spustit prikaz update-fmtutil
      3. spustit texconfig => FORMATS => o otvorenom subore odkomentovat riadky pod polozkou Czech / Slovak:
          * csplain pdfetex
          * cslatex pdfetex
          * pdfcsplain
          * in.ini
          * pdfcslatex
        po ukonceni editacie ulozit pomocou :wq (edituje sa vo Vi)
      4. prejst do adresara /usr/share/texmf-tetex/tex a spustit prikaz: tex -ini cslatex cslatex.ini
      #potom som pre istotu spustil este raz prikaz update-fmtutil
      5. prejst do adresara /usr/share/texmf-tetex/tex/generic/babel a zmazat subory czech.sty a slovak.sty
      #v pripade ze by to vypisovalo chybu je treba subor slovak.sty z adresara /usr/share/texmf-tetex/tex/csplain skopirovat
       do pracovneho adresara kde pracujem so suborom *.tex.
      #pri troche stastia by to tak malo fungovat :-D
      potom uz len v dokumente nastavit \usepackage{slovak} a malo by to fungovat aspon mne to tak funguje :)
      dufam ze pomoze
      DON'T FEAR THE PENGUINS Jabber: seki@jabbim.sk
      • Re: LaTex+ Slovencina 18.03.2007 | 22:04
        Avatar uid0 Debian  Používateľ
        ty asi nebudes vediet odpoved na tieto dve otazky, co?

        1. ako sa toto nastavenie lisi od toho co som pisal ja? mozes nejake PDF s diakritikou uploadnut?
        2. a texlive sa nastavuje rovnako? (narozdiel od tetex)
        Debian. apt-get into it…
        • Re: LaTex+ Slovencina 18.03.2007 | 22:12
          Avatar Michal Sekletár Arch Linux  Používateľ
          1. pdf mozem uploadnut v poho. export so pdf funguje s diakritikou uplne bez chyby.
          2. tetex nie je editor. na tvorbu dokumentov pouzivam kde-ckovy Kile(pod gnome som nic poriadne nenasiel), takze s texlive neporadim.
          DON'T FEAR THE PENGUINS Jabber: seki@jabbim.sk
          • Re: LaTex+ Slovencina 18.03.2007 | 22:23
            Avatar uid0 Debian  Používateľ
            1. aj mne to dava diakritiku, len to chcem vidiet co ti ta heavy customizacia pluje za PDF :)

            2. viem ze tetex nie je editor. tetex aj texlive su distribucie texu. inac ako editor jedine emacs alebo texmacs :)
            Debian. apt-get into it…
            • Re: LaTex+ Slovencina 18.03.2007 | 22:44
              Avatar Michal Sekletár Arch Linux  Používateľ
              TU je nejake pdf co som len tak narychlo "nacmaral"
              DON'T FEAR THE PENGUINS Jabber: seki@jabbim.sk
              • Re: LaTex+ Slovencina 18.03.2007 | 22:48
                Avatar uid0 Debian  Používateľ
                z rapidshare to nestiahnem ani za 100 rokov. keby aspon megaupload...

                sendspace.com
                edisk.cz
                yousendit.com
                files.to
                Debian. apt-get into it…
                • Re: LaTex+ Slovencina 18.03.2007 | 22:59
                  Avatar Michal Sekletár Arch Linux  Používateľ
                  Nech sa paci.Tu to je (edisk.cz).
                  DON'T FEAR THE PENGUINS Jabber: seki@jabbim.sk
                  • Re: LaTex+ Slovencina 18.03.2007 | 23:12
                    Avatar uid0 Debian  Používateľ
                    uaaa. ja ten computer modern proste milujem :D skuste precitat knihu v tomto fonte a nasledne citajte knihu s Garamondom alebo Times. to je hotove utrpenie :)
                    Debian. apt-get into it…
          • Re: LaTex+ Slovencina 18.03.2007 | 22:31
            Avatar uid0 Debian  Používateľ
            BTW. nevie niekto ci sa daju Computer Modern fonty so sloveskymi znakmi zohnat ako TrueType fonty?

            ...alebo ci niekto dokaze generovat PDF z XSL-FO (uz transformovany a nastylovany DocBook s LaTeX vzorcami) TeXom? ale tak aby to vyzeralo tak ako ma. pise to chyby a PDF ma zle nadpisy, titulnu stranu a dalsie veci...
            Debian. apt-get into it…
            • Re: LaTex+ Slovencina 01.10.2011 | 15:20
              milos   Návštevník
              ja mam trochu iny problem. sice mi to pise s diakritikou ale pismena ako ľ ť ď vyzeraju smiesne. teda vlozi mi to obcajny mäkcen ˇ nad l t d. dufam ze chapete. nevie niekto pomoct s tymto?
              • Re: LaTex+ Slovencina 01.10.2011 | 16:57
                Avatar dusan Arch Linux + Openbox  Používateľ
                \usepackage[T1]{fontenc}
                • Re: LaTex+ Slovencina 01.10.2011 | 19:17
                  milos   Návštevník
                  super. dakujem velmi pekne
    • Re: LaTex+ Slovencina 12.11.2011 | 18:42
      Julia   Návštevník
      viem, ze pisem neskoro, ale mal si namiesto pdflatexu pouzit cslatex a islo by to :)