Tex fórum

latex-suite binding életre keltése

Fórumok

Hali

Gvim-ben írom a házimat, de néhány makró nem működik, köztük az annyira sokat használt \cdot nem jön elő a `. parancsszóra, továbbá a `1 --> \mathrm{} sem működik. Ezeket hogy tudom működésre bírni, vagy lecserélni más binding-re?(ezt nem tudom hogy mondjuk magyarul.)

Leírás alapján próbálkoztam a tex.vim fájlba a következő beírásával, de nem működött:
call IMAP('ME', '\,\mathrm{<++>}<++>', 'tex')

Segítő válaszokat előre is köszi.

utf8 inputenc, magyar babel, t1enc, uppercase-ben mégis rossz ékezet

Fórumok

Van egy stílusfájlom, fontosabb elemei:
\RequirePackage[utf8]{inputenc}
\RequirePackage{t1enc}
\RequirePackage[english,magyar]{babel}
Adott ez a sor:
\uppercase{Budapesti Műszaki és Gazdaságtudományi Egyetem}
Amiből ez lesz:

Valami ötlet, hogy mitől lehet ez? Ha kiszedem az \uppercase-t, akkor rendesen megjelenik az ű.
A tex-ből a PDF-et a Kile segítségével PDFLatex-szel készítem.

kezdetek

Fórumok

Hol és/vagy hogyan érdemes elkezdeni LaTeX-et tanulni? Autodiktata módon elkezdtem, nagyon alap dolgok már mennek.
Viszont kérdéseim vannak, mint pl beállítsam a karakterkészletet
\RequirePackage[latin2]{inputenc}
sorral és használjam az ékezeteket vagy ajánlottabb-e kódolást használni, mint pl \"{o} vagy \H{o} az ö / ő betűkhöz? Legyen inkább
\usepackage[utf8]{inputenc}
az általánosság kedvéért?

Amit találtam: http://en.wikibooks.org/wiki/LaTeX

összetett szavak elválasztása

Fórumok

Adott egy csodálatos preambulum, benne ez:

\usepackage[T1]{fontenc}
\usepackage[latin2]{inputenc}
\usepackage[magyar]{babel}

meg ez:

\hyphenation{\'ert\'ek-k\'esz-le-te Guinness-rekordokat n\'ev-re
pol\'ar-koor-di-n\'a-ta-rend-szert sz\'arny-bor-da-pro-fil h\"o-ke-ze-l\'e-si}

Az összetett szavak elválasztása meg csak akkor működik, ha beírom a szót a \hyphenation{} közé...
\figure környezetnél ugyanez a helyzet, ott még bosszantóbb.

Szerintetek hogyan lehet ékezetes vagy ékezetlen' összetett szavakat elválasztódásra bírni a szövegtükör jobb szélén?

pl.
Ranschburg-féle
nyúlmentesítés-mentesen
BOEING-szerű
stb.
(hejjes irásra a fentiekben nem néztem a szavakat, légből kapottan jobban esett ezen példákat leírni, tex-nek amúgy is mindegy...)

fejléc és lábléc latexben

Fórumok

Sziasztok.

Adott egy jóóóóó nagy írás (100 oldal feletti), és most alakítom át divatossá.

\documentclass[a4paper,12pt]{book}-ot választottam, telepítettem latex3 mellé a BME magyarlatex készletét is. (már nem tudom honnan, 6 éve volt)

A fejécet szeretném átalakítani.
Azt szeretném, hogy {book} esetén alul középen legyen oldalszámozásom (magyarlatex felrakása után ez megszűnt nekem!!!)

\section-oknál meg mivel szép színes átmenetes eps csíkkal oldottam meg az indításokat, nem szeretnék fejlécet.
A \section-t így oldottam meg (paraméteres indítással):

\def\inditas#1#2{
\hsize = 14cm
\newpage % ez teszi lehetővé, hogy ezek mindig uj oldalon legyenek, ergo nem kell fejlec
\section { #1 }
\hrule
\begin{flushright}
\vspace{2mm}
\bf { #2 }
\includegraphics[width=\hsize]{csik.eps}
\end{flushright}
}

Valamiért az üres oldalakra is tesz alapból fejlécet a fordító (book-nál ez természetes), ezt sem tudom kikapcsolni, bár tettem rá próbákat anno a láblécnél, pl. ezzel:

\footline={
\ifnum\pageno=1\hss
\else\hss\tenrm\folio\hss\fi
}
...és semmi eredmény.

Kínomban ideiglenesen kőbaltás módszerrel egyszerűen kitolom a fejlécet a papíron kívülre, így:

%%%%%%%%%
% az 1 cm-es fejlec feljebb tolasa a lapon kivulre
\setlength{\topmargin}{-5cm}
\setlength{\headsep}{5cm}
%%%%%%%%%

Előfordulhat, hogy abszolút triviálisat kérdezek?
De legalább kész a mű, bekezdéseket nem tör csúnya helyen sehol, mindennel meg vagyok elégedve, csak alul meg fölül nem\dots

kößmindentelőre..

LaTeX verbatim és llap

Fórumok

Sziasztok!

Segítségeteket szeretném kérni.
Természetesen a szakdolgozat írás finishében járunk, viszont van egy gondunk, amivel nem boldogulunk.


\newenvironment*{pld}[1]{%
\ifthen{\equal{#1}{}}{\smallskip\par\noindent\llap{\color{black}\textsc{Példa:\ \ }}}{\smallskip\par\noindent\llap{\color{black}\textsc{Példa:\ \ }\emph{#1}}}
\endgraf\noindent\verbatim}%
{\endverbatim}

Az említett környezetet arra használnák, hogy forráskódokat jelenítsünk meg, de úgy, hogy a "Példa: " a bal margóra kerüljön a kód mellé.
A gond az, hogy ha nincs opcionális paraméter adva a környezet meghívásakor, akkor egy sorral lentebb kezdődik a forrás. Nagyon favágó módszernek tűnik a \vspace{-xxpt} alkalmazása és úgy is néz ki... . Tudtok javasolni erre egy elfogadható, szép megoldást?

Köszönöm.

Mi a hiba? MikTex+TeXnicCenter

Fórumok

Most telepítettem a MikTex 2.9 + TeXnicCenter1.0 kombót egy Novell NetWare hálózaton csücsükélő windowsxp-re. Sajnos a legprimitívebb tesztfájlocska is 70 hibával fut le. A tesztfájl:


\documentclass[a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[latin2]{inputenc}
\usepackage[magyar]{babel}
\begin{document}
	Valami
\end{document}

A hibák szerint már valami makró is beteg, billentyűzetkiosztást nem lele usw. A log:


This is pdfTeX, Version 3.1415926-1.40.11 (MiKTeX 2.9) (preloaded format=latex 2011.3.29)  5 APR 2011 09:04
entering extended mode
**teszt.tex
("C:\Documents and Settings\Tamás\Dokumentumok\teszt.tex"
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, afrikaans, ancientgreek, ar
abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic, 
croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
lician, german, german-x-2009-06-19, greek, gujarati, hindi, hungarian, iceland
ic, indonesian, interlingua, irish, italian, kannada, kurmanji, lao, latin, lat
vian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerm
an, ngerman-x-2009-06-19, nynorsk, oriya, panjabi, pinyin, polish, portuguese, 
romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swis
sgerman, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, u
senglishmax, welsh, loaded.
("C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
("C:\Program Files\MiKTeX 2.9\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
)
("C:\Program Files\MiKTeX 2.9\tex\latex\base\fontenc.sty"
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package

("C:\Program Files\MiKTeX 2.9\tex\latex\base\t1enc.def"
File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
LaTeX Font Info:    Redeclaring font encoding T1 on input line 43.
))
("C:\Program Files\MiKTeX 2.9\tex\latex\base\inputenc.sty"
Package: inputenc 2008/03/30 v1.1d Input encoding file
\inpenc@prehook=\toks14
\inpenc@posthook=\toks15

("C:\Program Files\MiKTeX 2.9\tex\latex\base\latin2.def"
File: latin2.def 2008/03/30 v1.1d Input encoding file
))
("C:\Program Files\MiKTeX 2.9\tex\generic\babel\babel.sty"
Package: babel 2008/07/06 v3.8l The Babel package

*************************************
* Local config file bblopts.cfg used
*
("C:\Program Files\MiKTeX 2.9\tex\latex\00miktex\bblopts.cfg"
File: bblopts.cfg 2006/07/31 v1.0 MiKTeX 'babel' configuration
)
("C:\Program Files\MiKTeX 2.9\tex\generic\babel\magyar.ldf"
Language: magyar 2005/03/30 v1.4j Magyar support from the babel system

("C:\Program Files\MiKTeX 2.9\tex\generic\babel\babel.def"
File: babel.def 2008/07/06 v3.8l Babel common definitions
\babel@savecnt=\count87
\U@D=\dimen103
)
Package babel Info: Making ` an active character on input line 597.
))
("C:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! You can't use `macro parameter character #' in vertical mode.
l.8 ... }{{I}{1}}}}\relax \begingroup \let \def ##
                                                  1{0##1}\def ##1{0##1}{\tok...
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.


! You can't use `macro parameter character #' in horizontal mode.
\GenericError  ...mmediate \write \@unused   \def 
                                                  \MessageBreak  
 \set@disp...
l.8 ...}{{I}{1}}}}\relax \begingroup \let \def ##1
                                                  {0##1}\def ##1{0##1}{\toks...
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.

! You can't use `macro parameter character #' in horizontal mode.
\GenericError  ...                   \@empty \def 
                                                  \MessageBreak  
#1 \def   ...
l.8 ...}{{I}{1}}}}\relax \begingroup \let \def ##1
                                                  {0##1}\def ##1{0##1}{\toks...
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.

! You can't use `macro parameter character #' in horizontal mode.
\GenericError  ...ty \def \MessageBreak  
#1 \def 
                                                    \errmessage  #2.

#3
Typ...
l.8 ...}{{I}{1}}}}\relax \begingroup \let \def ##1
                                                  {0##1}\def ##1{0##1}{\toks...
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
\GenericError  ...                                
                                                    \endgroup 
l.8 ...}{{I}{1}}}}\relax \begingroup \let \def ##1
                                                  {0##1}\def ##1{0##1}{\toks...

You're in trouble here.  Try typing  <return>  to proceed.\MessageBreak If that
 doesn't work, type  X <return>  to quit.

! You can't use `macro parameter character #' in horizontal mode.
l.8 ...I}{1}}}}\relax \begingroup \let \def ##1{0#
                                                  #1}\def ##1{0##1}{\toks 0=...
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.

! You can't use `macro parameter character #' in horizontal mode.
l.8 ...}{1}}}}\relax \begingroup \let \def ##1{0##
                                                  1}\def ##1{0##1}{\toks 0={...
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.

! You can't use `macro parameter character #' in horizontal mode.
l.8 ...}\relax \begingroup \let \def ##1{0##1}\def
                                                   ##1{0##1}{\toks 0={\noexp...
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.

! You can't use `macro parameter character #' in horizontal mode.
l.8 ...relax \begingroup \let \def ##1{0##1}\def #
                                                  #1{0##1}{\toks 0={\noexpan...
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.

! You can't use `macro parameter character #' in horizontal mode.
l.8 ...elax \begingroup \let \def ##1{0##1}\def ##
                                                  1{0##1}{\toks 0={\noexpand...
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.

! You can't use `macro parameter character #' in horizontal mode.
l.8 ... \begingroup \let \def ##1{0##1}\def ##1{0#
                                                  #1}{\toks 0={\noexpand \nu...
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.

! You can't use `macro parameter character #' in horizontal mode.
l.8 ...\begingroup \let \def ##1{0##1}\def ##1{0##
                                                  1}{\toks 0={\noexpand \num...
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.

! You can't use `macro parameter character #' in horizontal mode.
l.8 ... ##1{0##1}{\toks 0={\noexpand \number }\def
                                                   0##1{##1}\xdef {1}}\edef ...
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.

! You can't use `macro parameter character #' in horizontal mode.
l.8 ...1{0##1}{\toks 0={\noexpand \number }\def 0#
                                                  #1{##1}\xdef {1}}\edef dvi...
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.

! You can't use `macro parameter character #' in horizontal mode.
l.8 ...{0##1}{\toks 0={\noexpand \number }\def 0##
                                                  1{##1}\xdef {1}}\edef dvip...
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.

! You can't use `macro parameter character #' in horizontal mode.
l.8 ...#1}{\toks 0={\noexpand \number }\def 0##1{#
                                                  #1}\xdef {1}}\edef dvips##...
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.

! You can't use `macro parameter character #' in horizontal mode.
l.8 ...1}{\toks 0={\noexpand \number }\def 0##1{##
                                                  1}\xdef {1}}\edef dvips##1...
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.

! Missing control sequence inserted.
<inserted text> 
                \inaccessible 
l.8 ...0={\noexpand \number }\def 0##1{##1}\xdef {
                                                  1}}\edef dvips##1{\protect...
Please don't say `\def cs{...}', say `\def\cs{...}'.
I've inserted an inaccessible control sequence so that your
definition will be completed without mixing me up too badly.
You can recover graciously from this error, if you're
careful; see exercise 27.2 in The TeXbook.

! Missing control sequence inserted.
<inserted text> 
                \inaccessible 
l.8 ...nd \number }\def 0##1{##1}\xdef {1}}\edef d
                                                  vips##1{\protected@write \...
Please don't say `\def cs{...}', say `\def\cs{...}'.
I've inserted an inaccessible control sequence so that your
definition will be completed without mixing me up too badly.
You can recover graciously from this error, if you're
careful; see exercise 27.2 in The TeXbook.

! Parameters must be numbered consecutively.
<to be read again> 
                   ##
l.8 ...mber }\def 0##1{##1}\xdef {1}}\edef dvips##
                                                  1{\protected@write \@auxou...
I've inserted the digit you should have used after the #.
Type `1' to delete what you did use.

! Parameters must be numbered consecutively.
<to be read again> 
                   1
l.8 ...ber }\def 0##1{##1}\xdef {1}}\edef dvips##1
                                                  {\protected@write \@auxout...
I've inserted the digit you should have used after the #.
Type `1' to delete what you did use.

("C:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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:\Documents and Settings\Tamás\Dokumentumok\teszt.aux"
! Undefined control sequence.
\noextrasmagyar ->\let \ontoday \@undefined 
                                            \let \label \old@label \bbl@deac...
l.4 \select@language{magyar}
                            
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.

! TeX capacity exceeded, sorry [text input levels=50].
\@filef@und ->teszt.aux 
                        
l.4 \select@language{magyar}
                            
If you really absolutely need more capacity,
you can ask a wizard to enlarge me.

 
Here is how much of TeX's memory you used:
 920 strings out of 494054
 14030 string characters out of 3148572
 61218 words of memory out of 3000000
 4177 multiletter control sequences out of 15000+200000
 4403 words of font info for 15 fonts, out of 3000000 for 9000
 715 hyphenation exceptions out of 8191
 391i,0n,292p,2790b,118s stack positions out of 5000i,500n,10000p,200000b,50000s
No pages of output.

A magyar nyelv a kimenet szerint telepítve vagyon, úgyhogy végképp nem értem. :(

MikTeX szívás Windows 7-en

Fórumok

Helló!

Olyan problémám van, hogy a telepítésnél összesírja magát a telepítő a következő hibára hivatkozva:


fc-cache.EXE: Windows API error 1113: A több bájtos célkódlapban nem létezik leképezés a Unicode-karakterhez.

mkfntmap.EXE: The operation failed for some reason.
mkfntmap.EXE: Data: D:\temp\MikTeX\miktex\bin\fc-cache.EXE
initexmf.exe: The operation failed for some reason.
initexmf.exe: Data: D:\temp\MikTeX\miktex\bin\mkfntmap.EXE

An error occurred:
source file: Libraries\MiKTeX\Core\Process.cpp
source line: 296
message: The operation failed for some reason.
info: D:\temp\MikTeX\miktex/bin\initexmf.exe

Valaki közületek találkozott már hasonlóval, ha igen azt hogyan sikerült megoldania. Válaszaitokat előre is köszönöm.

LaTeX + listings + ékezet

Fórumok

Szeretnék írni egy LaTeX példákból álló dokumentumot, aminek függelékében ott lenne a doksi forrása. Ezt a listings segítségével ágyaznám be, hogy a kódkiemelés meglegyen. A probléma az, hogy az ékezeteket nem igazán úgy kezeli a listings, ahogy én azt szeretném.Az idevágó kódrészletek:


% Ez a doksi első sora.

\usepackage[utf8]{inputenc}
\usepackage[magyar]{babel}

\usepackage{listings}

\lstinputlisting[language=TeX]{doksi.tex}

Ha így probálom lefordítani ( PDF-be ), akkor ezzel a hibaüzenettel szembesülök:


! Package inputenc Error: Unicode char \u8:�\expandafter not set up for use with LaTeX.

See the inputenc package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.1 % Ez a doksi első 
                       sora.
? 

Ha beállítom az \lstset{extendedchars=false} opciót, akkor a PDF ugyan legenerálódik, de pl. az 'első' helyett 'őels' jelenik meg, és minden egyéb ékezetes betűt tartalmazó szóban a szó elejére kerülnek az ékezetesek.

Ugyan a listings leírásában olvastam az \escapebegin \escapeend párosról, de ezekkel az a baj, hogy ( ha jól értem ) csak a doksi adott blokkjában ( pl. kommentek ) értelmezi a különleges karaktereket. Nekem olyan megoldás kellene, ami az egész forráskódban normálisan írja ki az ékezetes karaktereket.