v te definici se pouziva znak @ ktery v dobe po nacteni stylu jiz nema kategorii pismene coz napravite tak, ze pred vlastni definici z nej pismeno udelate pomoci<br><br>\makeatletter<br><br>a po definici mu vratite puvodni kategorii pomoci
<br><br>\makeatother<br><br><br><br><div><span class="gmail_quote">On 8/9/06, <b class="gmail_sendername">"Procházka Lukáš Ing. - Pontex s. r. o."</b> <<a href="mailto:lpr@pontex.cz">lpr@pontex.cz</a>> wrote:
</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
<div><div bgcolor="#ffffff" text="#000066"> ... Snažím se vytvořit obsah bez čísel stránek podle "kuchařky" bul973.pdf (příklad napíše čísla stránek na začátek řádku, ale to - myslím - potom dokážu odstranit):<br>
<br><b>Test2.tex:</b><br><hr size="2" width="100%">\documentclass[11pt]{article}<br><br> \usepackage[cp1250]{inputenc}<br> \usepackage{czech}<br> \usepackage{a4wide}<br><br> \begin{document}<br><br> \renewcommand*\l@section[2]{\@tempdima 
1.5em\noindent\hb@xt@\@pnumwidth{\hss\bfseries #2:}\enspace \textbf{#1}\par}<br><br> \tableofcontents<br><br> \section{AAA}<br><br> \end{document}<br><hr size="2" width="100%"><br> Ale nedocházím ke kýženému výsledku (jsem začátečník; trochu chápu, jak by asi makro mohlo fungovat, ale ne dost na to, abych je uměl upravit). Objevuje se výpis:
<br><br><hr size="2" width="100%">This is pdfeTeXk, Version 3.141592-1.30.3-2.2 (Web2c 7.5.5)<br>  %&-line parsing enabled.<br> entering extended mode<br> (./Test2.tex<br> LaTeX2e <2003/12/01><br> Loading CZ hyphenation patterns: Pavel Sevecek, v3, 1995
<br> Loading SK hyphenation patterns: Jana Chlebikova, 1992<br> (c:/TeXLive2005/texmf-dist/tex/latex/base/article.cls<br> Document Class: article 2004/02/16 v1.4f Standard LaTeX document class<br> (c:/TeXLive2005/texmf-dist/tex/latex/base/size11.clo))
<br> (c:/TeXLive2005/texmf-dist/tex/latex/base/inputenc.sty<br> (c:/TeXLive2005/texmf-dist/tex/latex/base/cp1250.def))<br> (c:/TeXLive2005/texmf-dist/tex/csplain/base/czech.sty)<br> (c:/TeXLive2005/texmf-dist/tex/latex/ltxmisc/a4wide.sty
<br> (c:/TeXLive2005/texmf-dist/tex/latex/ntgclass/a4.sty)) (./Test2.aux)<br> ! Undefined control sequence.<br> l.9 ...*\l@section[2]{\@tempdima 1.5em\noindent\hb<br>                                                   @xt@\@pnumwidth{\hss\bfser...
<br><br> ?<br> ! You can't use `macro parameter character #' in horizontal mode.<br> l.9 ...\noindent\hb@xt@\@pnumwidth{\hss\bfseries #<br>                                                   2:}\enspace \textbf{#1}\par}<br>
 ?<br> ! Illegal parameter number in definition of \reserved@a.<br> <to be read again><br>                    1<br> l.9 ...idth{\hss\bfseries #2:}\enspace \textbf{#1}<br>                                                   \par}
<br> ?<br> ! Illegal parameter number in definition of \reserved@b.<br> <to be read again><br>                    }<br> l.9 ...idth{\hss\bfseries #2:}\enspace \textbf{#1}<br>                                                   \par}
<br> ?<br> ! You can't use `macro parameter character #' in horizontal mode.<br> <recently read> ##<br><br> l.9 ...idth{\hss\bfseries #2:}\enspace \textbf{#1}<br>                                                   \par}
<br> ?<br> ! Infinite glue shrinkage found in a paragraph.<br> <recently read> \par<br><br> l.9 ...{\hss\bfseries #2:}\enspace \textbf{#1}\par<br>                                                   }<br> ?<br> (./Test2.toc) [1{c:/TeXLive2005/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
<br> (./Test2.aux) )<c:/TeXLive2005/texmf-dist/fonts/type1/public/cs/csbx12.pfb><c:/<br> TeXLive2005/texmf-dist/fonts/type1/public/cs/csbx10.pfb><c:/TeXLive2005/texmf-d<br> ist/fonts/type1/public/cs/csr10.pfb>
<br> Output written on Test2.pdf (1 page, 14529 bytes).<br> Transcript written on Test2.log.<br><hr size="2" width="100%"><br> - Potřeboval bych poradit, co s makrem, aby se Test2.tex normálně přeložil.<br><br> Překládám pomocí 
pdfCSLaTeX.exe z TL 2005.<br><br> Děkuji.<br><br> Lukáš Procházka<br><br><br> Zdenek Wagner napsal(a): </div><div><span class="e" id="q_10cf2e8400e7deff_1"><blockquote cite="http://mid200608090957.k799vjiY027651@relay.felk.cvut.cz" type="cite">
<pre>On Wed, 9 Aug 2006, "Procházka Lukáš Ing. - Pontex s. r. o." wrote:    </pre><blockquote type="cite"><pre>Dobrý den,  potřeboval bych vytvořit obsah bez čísel stránek, resp. seznam kapitol. Lze to v LaTeXu nějak jednoduše?      
</pre></blockquote><pre>Ano, viz napr. muj clanek LaTeXova kucharka/3, Zpravodaj 3/1997, <a href="http://bulletin.cstug.cz/bul973.shtml" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://bulletin.cstug.cz/bul973.shtml
</a>    </pre><blockquote type="cite"><pre>Děkuji.  Lukáš Procházka        </pre></blockquote><pre>Zdenek Wagner e-mail: <a href="mailto:wagner@cesnet.cz" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
wagner@cesnet.cz</a>  see also <a href="http://hroch486.icpf.cas.cz/wagner/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://hroch486.icpf.cas.cz/wagner/</a>          <a href="http://icebearsoft.euweb.cz" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://icebearsoft.euweb.cz</a>    </pre></blockquote></span></div></div></blockquote></div><br><br clear="all"><br>-- <br>Arnost Stedry<br>Ustav Informatiky AVCR