<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-2" http-equiv="Content-Type">
  <title></title>
</head>
<body 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>
<div class="moz-signature">
<div
 style="font-family: Tahoma; font-size: 10pt; color: rgb(0, 0, 128); background-position: left top; background-repeat: no-repeat;">
<!--
  <hr width="50%" align = "left" />
  --> <i> <b></b></i></div>
</div>
Děkuji.<br>
<br>
Lukáš Procházka<br>
<br>
<br>
Zdenek Wagner napsal(a):
<blockquote cite="mid200608090957.k799vjiY027651@relay.felk.cvut.cz"
 type="cite">
  <pre wrap="">On Wed, 9 Aug 2006, "Procházka Lukáš Ing. - Pontex s. r. o." wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">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 wrap=""><!---->Ano, viz napr. muj clanek LaTeXova kucharka/3, Zpravodaj 3/1997,
<a class="moz-txt-link-freetext" href="http://bulletin.cstug.cz/bul973.shtml">http://bulletin.cstug.cz/bul973.shtml</a>

  </pre>
  <blockquote type="cite">
    <pre wrap="">Děkuji.

Lukáš Procházka



    </pre>
  </blockquote>
  <pre wrap=""><!---->
Zdenek Wagner
e-mail: <a class="moz-txt-link-abbreviated" href="mailto:wagner@cesnet.cz">wagner@cesnet.cz</a>

see also <a class="moz-txt-link-freetext" href="http://hroch486.icpf.cas.cz/wagner/">http://hroch486.icpf.cas.cz/wagner/</a>
         <a class="moz-txt-link-freetext" href="http://icebearsoft.euweb.cz">http://icebearsoft.euweb.cz</a>

  </pre>
</blockquote>
</body>
</html>