Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Witam
Mam problem z wygenerowaniem dokumetnu firmowego, w którym piszę dokumentację. Podczas generowania pdf'a wywala mi następująće błędy:
grzeslaw@f1rma:/home/doc/tex/test2/pyk_ready$ xelatex pyk_example.tex This is XeTeXk, Version 3.141592-2.2-0.996-patch2 (Web2C 7.5.6) %&-line parsing enabled. entering extended mode (./pyk_example.tex LaTeX2e <2005/12/01> Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh yphenation, arabic, farsi, croatian, ukrainian, russian, bulgarian, czech, slov ak, danish, dutch, finnish, basque, french, german, ngerman, ibycus, greek, mon ogreek, ancientgreek, hungarian, italian, latin, mongolian, norsk, icelandic, i nterlingua, turkish, coptic, romanian, welsh, serbian, slovenian, estonian, esp eranto, uppersorbian, indonesian, polish, portuguese, spanish, catalan, galicia n, swedish, ukenglish, pinyin, loaded. (./pyk.cls Document Class: pyk 2008/06/04 v1.00, (/usr/share/texmf-texlive/tex/latex/base/report.cls Document Class: report 2005/09/16 v1.4f Standard LaTeX document class (/usr/share/texmf-texlive/tex/latex/base/size12.clo)) (/usr/share/texmf-texlive/tex/generic/ifxetex/ifxetex.sty) (/usr/share/texmf-texlive/tex/latex/base/fontenc.sty (/usr/share/texmf-texlive/tex/xelatex/euenc/eu1enc.def) (/usr/share/texmf-texlive/tex/xelatex/euenc/lm/eu1lmr.fd)) (/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty (/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty) (/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty (/usr/share/texmf-texlive/tex/latex/graphics/trig.sty) (/etc/texmf/tex/latex/config/graphics.cfg) (/usr/share/texmf-texlive/tex/xelatex/graphics/xetex.def))) (/usr/share/texmf-texlive/tex/latex/platex/polski.sty Document Language Style `polski' v1.3.1 <2003/05/09> ) (/usr/share/texmf-texlive/tex/latex/hyperref/hyperref.sty (/usr/share/texmf-texlive/tex/latex/hyperref/pd1enc.def) (/etc/texmf/tex/latex/config/hyperref.cfg) (/usr/share/texmf-texlive/tex/latex/oberdiek/kvoptions.sty) Implicit mode ON; LaTeX internals redefined (/usr/share/texmf-texlive/tex/xelatex/xetexurl/url.sty)) *hyperref using default driver hdvipdfm* (/usr/share/texmf-texlive/tex/latex/hyperref/hdvipdfm.def) (/usr/share/texmf-texlive/tex/latex/fancyhdr/fancyhdr.sty) (/usr/share/texmf/tex/latex/xcolor/xcolor.sty (/etc/texmf/tex/latex/config/color.cfg) (/usr/share/texmf-texlive/tex/latex/colortbl/colortbl.sty (/usr/share/texmf-texlive/tex/latex/tools/array.sty))) (/usr/share/texmf-texlive/tex/latex/tools/tabularx.sty) (./eu1verdana.fd)) (./pyk_example.aux LaTeX Warning: Label `pic:birgenair' multiply defined. ) (/usr/share/texmf-texlive/tex/latex/hyperref/nameref.sty (/usr/share/texmf-texlive/tex/latex/oberdiek/refcount.sty)) (./pyk_example.out) (./pyk_example.out) <use "logotype/pyk_logo.png" > [1] LaTeX Font Warning: Font shape `OT1/verdana/m/n' undefined (Font) using `OT1/cmr/m/n' instead on input line 5. (./pyk_example.toc) [2] <use "pyk_example_images/RugbyPitchMetricDetailed.pdf" > [3] Underfull \vbox (badness 1231) has occurred while \output is active [4] [5] <use "pyk_example_images/American_Airlines_Flight_1420_seat_injury_char t.pdf" > Underfull \vbox (badness 1466) has occurred while \output is active [6] [7] <use "pyk_example_images/Birgenair_tcgen.jpg" > [8] [9] LaTeX Font Warning: Font shape `OMS/verdana/m/n' undefined (Font) using `OMS/cmsy/m/n' instead (Font) for symbol `textbullet' on input line 353. LaTeX Font Warning: Font shape `OT1/verdana/bx/n' undefined (Font) using `OT1/verdana/m/n' instead (Font) for symbol `textendash' on input line 358. [10] [11] [12] (./eu1courier.fd) [13] (./pyk_example.aux) LaTeX Font Warning: Some font shapes were not available, defaults substituted. LaTeX Warning: There were multiply-defined labels. ) (see the transcript file for additional information) Output written on pyk_example.pdf (13 pages). Transcript written on pyk_example.log.
Dokument generuje sie ale nie dokonca ;) Spis treści nie lapie odnośników, a przy tytule jest "**TYTUŁ DOKUMENTU**" :)
Oto paczki do LaTeXa które instalowałem
ii dblatex 0.2.9-2 Produces DVI, PostScript, PDF documents from ii feynmf 1.08-5 set of LaTeX macros for creating Feynman dia ii hlatex-fonts-base 1.0-6 basic HLaTeX fonts files ii hlatex-fonts-extra 1.0-6 extra HLaTeX fonts files ii kile 1:2.0.1-1ubuntu1 KDE Integrated LaTeX Environment ii ko.tex-extra-hlfont 0.1.0-1 Korean TeX: Extra HLaTeX fonts ii lacheck 1.26-11.1 A simple syntax checker for LaTeX ii latex-beamer 3.07-1ubuntu1 LaTeX class to produce presentations ii latex-cjk-all 4.7.0+git20080122-1 installs all LaTeX CJK packages ii latex-cjk-chinese 4.7.0+git20080122-1 Chinese module of LaTeX CJK ii latex-cjk-chinese-arphic-bkai00mp 1.18 traditional Chinese KaiTi fonts for CJK ii latex-cjk-chinese-arphic-bsmi00lp 1.18 traditional Chinese KaiTi fonts for CJK ii latex-cjk-chinese-arphic-gbsn00lp 1.18 traditional Chinese KaiTi fonts for CJK ii latex-cjk-chinese-arphic-gkai00mp 1.18 traditional Chinese KaiTi fonts for CJK ii latex-cjk-common 4.7.0+git20080122-1 LaTeX macro package for CJK (Chinese/Japanes ii latex-cjk-japanese 4.7.0+git20080122-1 Japanese module of LaTeX CJK ii latex-cjk-japanese-wadalab 0.20050817-14 type1 and tfm DNP Japanese fonts for latex-c ii latex-cjk-korean 4.7.0+git20080122-1 Korean module of LaTeX CJK ii latex-cjk-thai 4.7.0+git20080122-1 Thai module of LaTeX CJK ii latex-make 2.1.11-2 easy compiling of complex (and simple) LaTeX ii latex-mk 1.9.1-4 tool for managing LaTeX projects ii latex-sanskrit 2.2-4 pre-processor and fonts to typeset Sanskrit ii latex-source2e-doc 3.0.dfsg.2-1 source2e.pdf, the documentation of the LaTeX ii latex-xcolor 2.11-1 Easy driver-independent TeX class for color ii latex-xft-fonts 0.1-8 Xft-compatible versions of some LaTeX fonts ii preview-latex-style 11.84-0ubuntu2 LaTeX style files for editor embedded previe ii prosper 1.00.4+cvs.2007.05.01-3 LaTeX class for writing transparencies ii tex-chess 1.2-4 Chess fonts for TeX/LaTeX ii tex-skak 1.2-6 Chess fonts for TeX/LaTeX ii tex4ht 20080614-1 LaTeX and TeX for Hypertext (HTML) - executa ii tex4ht-common 20080614-1 LaTeX and TeX for Hypertext (HTML) - support ii texlive 2007.dfsg.1-2 TeX Live: A decent selection of the TeX Live ii texlive-base 2007.dfsg.1-2 TeX Live: Essential programs and files ii texlive-base-bin 2007.dfsg.2-3ubuntu1 TeX Live: Essential binaries ii texlive-base-bin-doc 2007.dfsg.2-3ubuntu1 TeX Live: Documentation files for texlive-ba ii texlive-bibtex-extra 2007.dfsg.2-1ubuntu1 TeX Live: Extra BibTeX styles ii texlive-common 2007.dfsg.1-2 TeX Live: Base component ii texlive-doc-base 2007.dfsg.1-1 TeX Live: Base documentation ii texlive-doc-bg 2007.dfsg.1-1 TeX Live: Bulgarian documentation ii texlive-doc-cs+sk 2007.dfsg.1-1 TeX Live: Czechslovak documentation ii texlive-doc-de 2007.dfsg.1-1 TeX Live: German documentation ii texlive-doc-el 2007.dfsg.1-1 TeX Live: Greek documentation ii texlive-doc-en 2007.dfsg.1-1 TeX Live: English documentation ii texlive-doc-es 2007.dfsg.1-1 TeX Live: Spanish documentation ii texlive-doc-fi 2007.dfsg.1-1 TeX Live: Finnish documentation ii texlive-doc-fr 2007.dfsg.1-1 TeX Live: French documentation ii texlive-doc-it 2007.dfsg.1-1 TeX Live: Italian documentation ii texlive-doc-ja 2007.dfsg.1-1 TeX Live: Japanese documentation ii texlive-doc-ko 2007.dfsg.1-1 TeX Live: Korean documentation ii texlive-doc-mn 2007.dfsg.1-1 TeX Live: Mongolian documentation ii texlive-doc-nl 2007.dfsg.1-1 TeX Live: Dutch documentation ii texlive-doc-pl 2007.dfsg.1-1 TeX Live: Polish documentation ii texlive-doc-pt 2007.dfsg.1-1 TeX Live: Portuguese documentation ii texlive-doc-ru 2007.dfsg.1-1 TeX Live: Russian documentation ii texlive-doc-th 2007.dfsg.1-1 TeX Live: Thai documentation ii texlive-doc-tr 2007.dfsg.1-1 TeX Live: Turkish documentation ii texlive-doc-uk 2007.dfsg.1-1 TeX Live: Ukrainian documentation ii texlive-doc-vi 2007.dfsg.1-1 TeX Live: Vietnamese documentation ii texlive-doc-zh 2007.dfsg.1-1 TeX Live: Chinese documentation ii texlive-extra-utils 2007.dfsg.2-3ubuntu1 TeX Live: TeX auxiliary programs ii texlive-font-utils 2007.dfsg.2-3ubuntu1 TeX Live: TeX font-related programs ii texlive-fonts-extra 2007.dfsg.2-1ubuntu1 TeX Live: Extra fonts ii texlive-fonts-extra-doc 2007.dfsg.2-1ubuntu1 TeX Live: Documentation files for texlive-fo ii texlive-fonts-recommended 2007.dfsg.1-2 TeX Live: Recommended fonts ii texlive-fonts-recommended-doc 2007.dfsg.1-2 TeX Live: Documentation files for texlive-fo ii texlive-formats-extra 2007.dfsg.2-1ubuntu1 TeX Live: Extra formats ii texlive-full 2007.dfsg.1-2 TeX Live: metapackage pulling in all compone ii texlive-games 2007.dfsg.2-1ubuntu1 TeX Live: Games typesetting (chess, etc) ii texlive-generic-extra 2007.dfsg.2-1ubuntu1 TeX Live: Miscellaneous extra generic macros ii texlive-generic-recommended 2007.dfsg.1-2 TeX Live: Miscellaneous generic macros ii texlive-humanities 2007.dfsg.2-1ubuntu1 TeX Live: LaTeX support for the humanities ii texlive-humanities-doc 2007.dfsg.2-1ubuntu1 TeX Live: Documentation files for texlive-hu ii texlive-lang-african 2007.dfsg.3-2 TeX Live: African scripts ii texlive-lang-all 2007.dfsg.3-2 TeX Live: Meta package depending on all TeX ii texlive-lang-arab 2007.dfsg.3-2 TeX Live: Arabic ii texlive-lang-armenian 2007.dfsg.3-2 TeX Live: Armenian ii texlive-lang-croatian 2007.dfsg.3-2 TeX Live: Croatian ii texlive-lang-cyrillic 2007.dfsg.3-2 TeX Live: Cyrillic ii texlive-lang-czechslovak 2007.dfsg.3-2 TeX Live: Czech/Slovak ii texlive-lang-danish 2007.dfsg.3-2 TeX Live: Danish ii texlive-lang-dutch 2007.dfsg.3-2 TeX Live: Dutch ii texlive-lang-finnish 2007.dfsg.3-2 TeX Live: Finnish ii texlive-lang-french 2007.dfsg.3-2 TeX Live: French ii texlive-lang-german 2007.dfsg.3-2 TeX Live: German ii texlive-lang-greek 2007.dfsg.3-2 TeX Live: Greek typesetting ii texlive-lang-hebrew 2007.dfsg.3-2 TeX Live: Hebrew ii texlive-lang-hungarian 2007.dfsg.3-2 TeX Live: Hungarian ii texlive-lang-indic 2007.dfsg.2-3ubuntu1 TeX Live: Indic ii texlive-lang-italian 2007.dfsg.3-2 TeX Live: Italian ii texlive-lang-latin 2007.dfsg.3-2 TeX Live: Latin ii texlive-lang-manju 2007.dfsg.3-2 TeX Live: Manju ii texlive-lang-mongolian 2007.dfsg.3-2 TeX Live: Mongolian ii texlive-lang-norwegian 2007.dfsg.3-2 TeX Live: Norwegian ii texlive-lang-other 2007.dfsg.3-2 TeX Live: Other hyphenation files ii texlive-lang-polish 2007.dfsg.3-2 TeX Live: Polish ii texlive-lang-portuguese 2007.dfsg.3-2 TeX Live: Portuguese ii texlive-lang-spanish 2007.dfsg.3-2 TeX Live: Spanish ii texlive-lang-swedish 2007.dfsg.3-2 TeX Live: Swedish ii texlive-lang-tibetan 2007.dfsg.3-2 TeX Live: Tibetan ii texlive-lang-ukenglish 2007.dfsg.3-2 TeX Live: UK English ii texlive-lang-vietnamese 2007.dfsg.3-2 TeX Live: Vietnamese ii texlive-latex-base 2007.dfsg.1-2 TeX Live: Basic LaTeX packages ii texlive-latex-base-doc 2007.dfsg.1-2 TeX Live: Documentation files for texlive-la ii texlive-latex-extra 2007.dfsg.2-1ubuntu1 TeX Live: LaTeX supplementary packages ii texlive-latex-extra-doc 2007.dfsg.2-1ubuntu1 TeX Live: Documentation files for texlive-la ii texlive-latex-recommended 2007.dfsg.1-2 TeX Live: LaTeX recommended packages ii texlive-latex-recommended-doc 2007.dfsg.1-2 TeX Live: Documentation files for texlive-la ii texlive-latex3 2007.dfsg.2-1ubuntu1 TeX Live: LaTeX3 packages ii texlive-math-extra 2007.dfsg.2-1ubuntu1 TeX Live: Advanced math typesetting ii texlive-metapost 2007.dfsg.2-3ubuntu1 TeX Live: MetaPost (and Metafont) drawing pa ii texlive-metapost-doc 2007.dfsg.2-3ubuntu1 TeX Live: Documentation files for texlive-me ii texlive-music 2007.dfsg.2-3ubuntu1 TeX Live: Music typesetting ii texlive-omega 2007.dfsg.2-3ubuntu1 TeX Live: Omega ii texlive-pictures 2007.dfsg.1-2 TeX Live: Packages for drawings graphics ii texlive-pictures-doc 2007.dfsg.1-2 TeX Live: Documentation files for texlive-pi ii texlive-plain-extra 2007.dfsg.2-1ubuntu1 TeX Live: Plain TeX supplementary packages ii texlive-pstricks 2007.dfsg.2-1ubuntu1 TeX Live: PSTricks packages ii texlive-pstricks-doc 2007.dfsg.2-1ubuntu1 TeX Live: Documentation files for texlive-ps ii texlive-publishers 2007.dfsg.2-1ubuntu1 TeX Live: Support for publishers ii texlive-publishers-doc 2007.dfsg.2-1ubuntu1 TeX Live: Documentation files for texlive-pu ii texlive-science 2007.dfsg.2-1ubuntu1 TeX Live: Typesetting for natural and comput ii texlive-science-doc 2007.dfsg.2-1ubuntu1 TeX Live: Documentation files for texlive-sc ii texlive-xetex 2007.dfsg.2-3ubuntu1 TeX Live: XeTeX macros ii untex 9210-10 Remove LaTeX commands from input
Fonty są dobrze poinstalowane i system je widzi. W pliku konfiguracyjnym i tak mam ustawione pare różnych scieżek, więc jak nie znajdzie w jednym to szuka w drugim miejscu, Zreszta doskonale obrazuje to listing fontów:
root@f1rma:~# fc-list | grep -i verdana Verdana:style=Normalny,Normal,obyčejné,Standard,Κανονικά,Regular,Normaali,Normál,Normale,Standaard,Обычный,Normálne,Navadno,Arrunta Verdana:style=Pogrubiona kursywa,Negreta cursiva,tučné kurzíva,fed kursiv,Fett Kursiv,Έντονα Πλάγια,Bold Italic,Negrita Cursiva,Lihavoitu Kursivoi,Gras Italique,Félkövér dőlt,Grassetto Corsivo,Vet Cursief,Halvfet Kursiv,Negrito Itálico,Полужирный Курсив,Tučná kurzíva,Fet Kursiv,Kalın İtalik,Krepko poševno,Lodi etzana Verdana:style=Pogrubiony,Negreta,tučné,fed,Fett,Έντονα,Bold,Negrita,Lihavoitu,Gras,Félkövér,Grassetto,Vet,Halvfet,Negrito,Полужирный,Fet,Kalın,Krepko,Lodia Verdana:style=Kursywa,Cursiva,kurzíva,kursiv,Πλάγια,Italic,Kursivoitu,Italique,Dőlt,Corsivo,Cursief,Itálico,Курсив,İtalik,Poševno,Etzana root@f1rma:~#root@f1rma:~# locate verdana /usr/share/fonts/truetype/msttcorefonts/verdana.ttf /usr/share/fonts/truetype/msttcorefonts/verdanab.ttf /usr/share/fonts/truetype/msttcorefonts/verdanai.ttf /usr/share/fonts/truetype/msttcorefonts/verdanaz.ttf root@f1rma:~# root@f1rma:~# cat /etc/fonts/fonts.conf|grep "Font directory list " -A5 <!-- Font directory list --> <dir>/usr/share/fonts</dir> <dir>/usr/share/X11/fonts</dir> <dir>/usr/local/share/fonts</dir> <dir>~/.fonts</dir> root@f1rma:~# ls /usr/share/fonts/ cmap truetype type1 X11 root@f1rma:~#
Dopiero zaczynam przygote z TEXem i może nie wszystko dobrze rozumiem, także proszę o wyrozumiałość :)
Pozdr.
Offline
Grzeslaw napisał(-a):
Dopiero zaczynam przygote z TEXem
Wychodzi, że z Latex-em jest duża różnica :D
Wklej preambułę dokumentu.
Jakie masz locale w systemie. Widzę, że zainstalowałeś wszystko łącznie z dokumentacją w atrakcyjnych językach.
W tym wątku masz wykaz do pracy z językiem polskim (siedemnasty post).
http://forum.dug.net.pl/viewtopic.php?pid=107611#p107611
Porównaj sobie czego brakuje u Ciebie, a co jest mało przydatne.
Ostatnio edytowany przez fnmirk (2009-01-09 14:02:54)
Offline
to że mam za dużo poinstalowane to nie powinno wpłynąc na ten błąd, fakt poinstalowałem wszystko co jest możliwe ;) plus te pakiety których nie miałem z listy którą wylistowałeś w ww poście, niestety ciągle mam ten sam błąd.
Doszukałem się w nim, że są odwołania, które wymuszają korzystanie z tej czcionki wyglądają tak:
%%\RequirePackage{verdana} \renewcommand{\rmdefault}{verdana}
A nawet prosty dokuemnt typu:
%% -*- coding: utf-8 -*- \documentclass[english]{mojszablon} \author{Pan Kleks} \title{CHARACTER 2.0 - API} \setlength{\parindent}{20pt} \setlength{\parskip}{1ex plus 0.5ex minus 0.2ex} \begin{document} \maketitle \section{a} a \subsection{b} bb \subsubsection{ccc} ccc \section{test} hyyc \end{document}
Wywala wciąż ten błąd:
LaTeX Font Warning: Font shape `EU1/verdana/m/n' undefined (Font) using `EU1/lmr/m/n' instead on input line 375.
Coś nie halo z tym fontem, jakich defautlowych fontów używacie?
BTW: fnmirk spróbuj u siebie wykorzysatać ten font i jak zadziałą to pokaż gdzie go masz.
Ostatnio edytowany przez Grzeslaw (2009-01-09 16:30:39)
Offline
Zacznijmy od początku chcesz wygenerować dokument korzystając z Latex-a?
Grzeslaw napisał(-a):
A nawet prosty dokument typu:
Takiego dokumentu w Latex-u nie wygenerujesz?
\documentclass[english]{mojszablon}
To jest błędny i bezsensowny zapis.
Co to jest za klasa dokumentu ,,mojszablon''? Do jakiej klasy się odwołuje?
Opcja [english] w tym miejscu nie występuje?
Pobierz ten dokument i najlepiej wydrukuj: ftp://ftp.gust.org.pl/../tex-archive/info/lshort/polish.zip
Poniżej masz najprostrzy dokument do wygenerowania:
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\documentclass[a4paper,12pt,oneside]{article}
\usepackage[utf8]{inputenc}
\usepackage{polski}
\begin{document}
Wpisz dowolny tekst z klawiatury z polskimi znakami.
\end{document}
Sprawdź.
Ostatnio edytowany przez fnmirk (2009-01-09 16:50:21)
Offline
Już poradziłem sobie. Gościu co pisał nam szablon, (mojszablon.cls), przerobił go, aby korzystał z innego fonta.
fnmirk sory za zawracanie gitary [; Za to przyda się manual który podesłałeś :)
Pozdr
Offline
Nic się nie dzieje. Dobrze jest czasem potrenować - przypominając sobie pewne kwestie :)
Edit:
verdana to czcionka ttf w dodatku chyba Microsoftu. Autor szablonu powinien poinformować, że włączył czcionki ttf i podać sposób w jaki należy z nich korzystać.
Ostatnio edytowany przez fnmirk (2009-01-14 00:55:03)
Offline
fnmirk napisał(-a):
verdana to czcionka ttf w dodatku chyba Microsoftu. Autor szablonu powinien poinformować, że włączył czcionki ttf i podać sposób w jaki należy z nich korzystać.
Ano własnie to czcionka MS'owa, i to ten ból ;/ W firmie jestem pierwszą osobą korzystającą z linuxa, no i wyszło kuku ;) Ważne że rozwiązane.
Offline