Re: section und includegraphics

2001-02-12 Thread Bernd Raichle

Hi Andrea,

the teTeX mailing list is a list with international subscribers, thus
it's best to use english if you to be understood.



On Monday, 12 February 2001 13:42:53 +0100,
[EMAIL PROTECTED] [EMAIL PROTECTED] writes:
  Hi,
  
  ich habe folgendes Problem, vielleicht weiss jemand Rat.
  Ich mchte in einer Kapitelberschrift eine kleine Grafik anzeigen,
  leider habe ich dann mit dem Inhaltsverzeichnis ein Problem.
  
  \section {nderungen} \includegraphics{new.eps}
  
  zeigt die Grafik nach der Zeile 'nderungen' an


The teTeX mailing list is also no list for LaTeX problems...



  \section {nderungen\includegraphics{new.eps}}
  
  liefert beim 'bersetzen' folgendes Problem
  
  [1] new.eps
  ! Argument of \@sect has an extra }.
  inserted text
  \par
  l.41 ...n {nderungen\includegraphics{new.eps}}
  
  
  anschliessen  ist die Numerierung das INHALTSverzecihnis durcheinander, im Text
  steht die Grafik wie erwartet hinter dem Text 'nderungen'?

Use \protect  to avoid the error message:

  \section{"Anderungen\protect\includegraphics{new.eps}}


If you want to suppress the eps graphic in the table of contents, use
the optional argument of \section to tell LaTeX what to use for the
toc entry:

  \section["Anderungen]{"Anderungen\protect\includegraphics{new.eps}}

(If exists, the optional argument of \section gets the moving
argument, thus \protect is not needed in the mandatory argument of
\section.  Nonetheless I suggest to use \protect...)


Best wishes,
  -bernd


To remember:
28.02.-03.03.2001: DANTE 2001 and 24. membership meeting of DANTE e.V.
   FH Rosenheim, Germany
   12.-15.08.2001: TeX 2001 und 22. MV von TUG -- ``A TeX Odyssey''
   Univ. of Newark, Delaware, USA
   23.-27.09.2001: EuroTeX 2001
   Kerkrade, Niederlande
_
Bernd Raichle  "Le langage est source
Autor des `german.sty' (aktuell: v2.5e) de malentendus"
DE-TeX-FAQ: http://www.dante.de/faq/de-tex-faq/ (A. de Saint-Exupery)



Re: section und includegraphics

2001-02-12 Thread Eckhard Hoeffner

* [EMAIL PROTECTED] [EMAIL PROTECTED] [12 02 01 13:42]:

Hi,

ich habe folgendes Problem, vielleicht weiss jemand Rat.
Ich möchte in einer Kapitelüberschrift eine kleine Grafik anzeigen,
leider habe ich dann mit dem Inhaltsverzeichnis ein Problem.

\section {Änderungen} \includegraphics{new.eps}

zeigt die Grafik nach der Zeile 'Änderungen' an


\section {Änderungen\includegraphics{new.eps}}

liefert beim 'Übersetzen' folgendes Problem

[1] new.eps
! Argument of \@sect has an extra }.
inserted text
\par
l.41 ...n {Änderungen\includegraphics{new.eps}}


anschliessen  ist die Numerierung das INHALTSverzecihnis durcheinander, im Text
steht die Grafik wie erwartet hinter dem Text 'Änderungen'?

Gruss Andre
Vieleicht hilft folgendes: 
\section*{7. Änderungen\includegraphics{new.eps}} 
%% ggfs.
%%\setcounter{section}{7}
Also die Ueberschrift ohne automatische Nummerierung, sondern 
per Hand eintragen. 


--
E-Mail: [EMAIL PROTECTED]
Date: 12-Feb-01
Time: 13:41:05

This message was sent by XFMail
--


-- 
--//--\\--
Eckhard Hoeffner
[EMAIL PROTECTED]
--//--\\--