Re: Minitoc for Appendix

2001-02-23 Thread Dekel Tsur

On Thu, Feb 22, 2001 at 11:48:19AM +0100, Martin Adorni wrote:
  Instead of using \part{} at the beginning of the appendix,
  use "\addtocounter{part}{1}"
 
 Good idea. I've tried this but it doesn't work. I've received an empty
 TOC. Don't know why. Another suggestion?

Put the following line in the begining of the appendix:

\addtocounter{part}{1}
\addtocontents{toc}{\protect\contentsline{part}{}{}}
\parttoc



Re: Minitoc for Appendix

2001-02-23 Thread Dekel Tsur

On Thu, Feb 22, 2001 at 11:48:19AM +0100, Martin Adorni wrote:
  Instead of using \part{} at the beginning of the appendix,
  use "\addtocounter{part}{1}"
 
 Good idea. I've tried this but it doesn't work. I've received an empty
 TOC. Don't know why. Another suggestion?

Put the following line in the begining of the appendix:

\addtocounter{part}{1}
\addtocontents{toc}{\protect\contentsline{part}{}{}}
\parttoc



Re: Minitoc for Appendix

2001-02-23 Thread Dekel Tsur

On Thu, Feb 22, 2001 at 11:48:19AM +0100, Martin Adorni wrote:
> > Instead of using \part{} at the beginning of the appendix,
> > use "\addtocounter{part}{1}"
> 
> Good idea. I've tried this but it doesn't work. I've received an empty
> TOC. Don't know why. Another suggestion?

Put the following line in the begining of the appendix:

\addtocounter{part}{1}
\addtocontents{toc}{\protect\contentsline{part}{}{}}
\parttoc



Re: Minitoc for Appendix

2001-02-22 Thread Martin Adorni

Herbert Voss wrote:
 
 Martin Adorni wrote:
 
  Here's the problem:
  * The listing of chapters with minitoc can only be done if I define the
  appendix being a part and use \parttoc. The definition part* didn't work
  - empty minitoc.
  * That part definition results in an entry of the 'normal' TOC in a more
  emphasised way than a chapter what I don't like (The appendix is really
  not of major importance). Furthermore, the words 'Part I.' are written
  above 'Appendix' :-(
 
  What can I do?
  Is there another way to have a minitoc with chapters listed?
  Or do I have to redefine the part environment to get rid of 'Part I.'
  and have a TOC entry like a chapter -- in this case what are the
  commands?
 
 try the following chaptoc.sty. i adopted it from a texbook,
 but can't remeber if it worked with appendix.
 put it in ~/.TeX and add in latex preamble \usepackage{chaptoc}
 
 Herbert

I've looked into the *.sty document. I know some LateX commands, but
that's too much. So, before using it I've some questions:

1) % erweitere Mini-TOC bei jeder \section
   \renewcommand{\sectionmark}[1]
   ...
   % Aus LaTeX.ltx mit nderungen fr Mini-TOC
   \renewcommand{\@makechapterhead}[1]
   ...
   % Sternform ohne TOC
   \renewcommand{\@makeschapterhead}[1]
   ...
   ?? As far as I know this would change the previous layout. Is it
necessary?

2) Final question -- sounds very silly -- how to work with it? The
following commands are new:
- \newcommand{\@mystarttoc}[1] ...
- \newcommand{\myaddtocont}[1] ...
Does \myaddtocont add a chapter to a new TOC which can be listed with
\mystarttoc?

Thanks for help.
Martin



Re: Minitoc for Appendix

2001-02-22 Thread Dekel Tsur

On Wed, Feb 21, 2001 at 07:09:59PM +0100, Martin Adorni wrote:
 What I want to do:
 I would like to have table of contents (TOC) for the chapters and
 sections of the appendix. It should be at the beginning of the appendix.
 I've tried to manage it with the minitoc package but failed as I didn't
 find a suitable solution.
 
 Here's the problem:
 * The listing of chapters with minitoc can only be done if I define the
 appendix being a part and use \parttoc. The definition part* didn't work
 - empty minitoc.
 * That part definition results in an entry of the 'normal' TOC in a more
 emphasised way than a chapter what I don't like (The appendix is really
 not of major importance). Furthermore, the words 'Part I.' are written
 above 'Appendix' :-(

Instead of using \part{} at the beginning of the appendix,
use "\addtocounter{part}{1}"



Re: Minitoc for Appendix

2001-02-22 Thread Martin Adorni

Dekel Tsur wrote:
 
 On Wed, Feb 21, 2001 at 07:09:59PM +0100, Martin Adorni wrote:
  What I want to do:
  I would like to have table of contents (TOC) for the chapters and
  sections of the appendix. It should be at the beginning of the appendix.
  I've tried to manage it with the minitoc package but failed as I didn't
  find a suitable solution.
 
  Here's the problem:
  * The listing of chapters with minitoc can only be done if I define the
  appendix being a part and use \parttoc. The definition part* didn't work
  - empty minitoc.
  * That part definition results in an entry of the 'normal' TOC in a more
  emphasised way than a chapter what I don't like (The appendix is really
  not of major importance). Furthermore, the words 'Part I.' are written
  above 'Appendix' :-(
 
 Instead of using \part{} at the beginning of the appendix,
 use "\addtocounter{part}{1}"

Good idea. I've tried this but it doesn't work. I've received an empty
TOC. Don't know why. Another suggestion?

Martin



Re: Minitoc for Appendix

2001-02-22 Thread Martin Adorni

Herbert Voss wrote:
 
 Martin Adorni wrote:
 
  Here's the problem:
  * The listing of chapters with minitoc can only be done if I define the
  appendix being a part and use \parttoc. The definition part* didn't work
  - empty minitoc.
  * That part definition results in an entry of the 'normal' TOC in a more
  emphasised way than a chapter what I don't like (The appendix is really
  not of major importance). Furthermore, the words 'Part I.' are written
  above 'Appendix' :-(
 
  What can I do?
  Is there another way to have a minitoc with chapters listed?
  Or do I have to redefine the part environment to get rid of 'Part I.'
  and have a TOC entry like a chapter -- in this case what are the
  commands?
 
 try the following chaptoc.sty. i adopted it from a texbook,
 but can't remeber if it worked with appendix.
 put it in ~/.TeX and add in latex preamble \usepackage{chaptoc}
 
 Herbert

I've looked into the *.sty document. I know some LateX commands, but
that's too much. So, before using it I've some questions:

1) % erweitere Mini-TOC bei jeder \section
   \renewcommand{\sectionmark}[1]
   ...
   % Aus LaTeX.ltx mit nderungen fr Mini-TOC
   \renewcommand{\@makechapterhead}[1]
   ...
   % Sternform ohne TOC
   \renewcommand{\@makeschapterhead}[1]
   ...
   ?? As far as I know this would change the previous layout. Is it
necessary?

2) Final question -- sounds very silly -- how to work with it? The
following commands are new:
- \newcommand{\@mystarttoc}[1] ...
- \newcommand{\myaddtocont}[1] ...
Does \myaddtocont add a chapter to a new TOC which can be listed with
\mystarttoc?

Thanks for help.
Martin



Re: Minitoc for Appendix

2001-02-22 Thread Dekel Tsur

On Wed, Feb 21, 2001 at 07:09:59PM +0100, Martin Adorni wrote:
 What I want to do:
 I would like to have table of contents (TOC) for the chapters and
 sections of the appendix. It should be at the beginning of the appendix.
 I've tried to manage it with the minitoc package but failed as I didn't
 find a suitable solution.
 
 Here's the problem:
 * The listing of chapters with minitoc can only be done if I define the
 appendix being a part and use \parttoc. The definition part* didn't work
 - empty minitoc.
 * That part definition results in an entry of the 'normal' TOC in a more
 emphasised way than a chapter what I don't like (The appendix is really
 not of major importance). Furthermore, the words 'Part I.' are written
 above 'Appendix' :-(

Instead of using \part{} at the beginning of the appendix,
use "\addtocounter{part}{1}"



Re: Minitoc for Appendix

2001-02-22 Thread Martin Adorni

Dekel Tsur wrote:
 
 On Wed, Feb 21, 2001 at 07:09:59PM +0100, Martin Adorni wrote:
  What I want to do:
  I would like to have table of contents (TOC) for the chapters and
  sections of the appendix. It should be at the beginning of the appendix.
  I've tried to manage it with the minitoc package but failed as I didn't
  find a suitable solution.
 
  Here's the problem:
  * The listing of chapters with minitoc can only be done if I define the
  appendix being a part and use \parttoc. The definition part* didn't work
  - empty minitoc.
  * That part definition results in an entry of the 'normal' TOC in a more
  emphasised way than a chapter what I don't like (The appendix is really
  not of major importance). Furthermore, the words 'Part I.' are written
  above 'Appendix' :-(
 
 Instead of using \part{} at the beginning of the appendix,
 use "\addtocounter{part}{1}"

Good idea. I've tried this but it doesn't work. I've received an empty
TOC. Don't know why. Another suggestion?

Martin



Re: Minitoc for Appendix

2001-02-22 Thread Martin Adorni

Herbert Voss wrote:
> 
> Martin Adorni wrote:
> >
> > Here's the problem:
> > * The listing of chapters with minitoc can only be done if I define the
> > appendix being a part and use \parttoc. The definition part* didn't work
> > -> empty minitoc.
> > * That part definition results in an entry of the 'normal' TOC in a more
> > emphasised way than a chapter what I don't like (The appendix is really
> > not of major importance). Furthermore, the words 'Part I.' are written
> > above 'Appendix' :-(
> >
> > What can I do?
> > Is there another way to have a minitoc with chapters listed?
> > Or do I have to redefine the part environment to get rid of 'Part I.'
> > and have a TOC entry like a chapter -- in this case what are the
> > commands?
> 
> try the following chaptoc.sty. i adopted it from a texbook,
> but can't remeber if it worked with appendix.
> put it in ~/.TeX and add in latex preamble \usepackage{chaptoc}
> 
> Herbert

I've looked into the *.sty document. I know some LateX commands, but
that's too much. So, before using it I've some questions:

1) % erweitere Mini-TOC bei jeder \section
   \renewcommand{\sectionmark}[1]
   ...
   % Aus LaTeX.ltx mit Änderungen für Mini-TOC
   \renewcommand{\@makechapterhead}[1]
   ...
   % Sternform ohne TOC
   \renewcommand{\@makeschapterhead}[1]
   ...
   ?? As far as I know this would change the previous layout. Is it
necessary?

2) Final question -- sounds very silly -- how to work with it? The
following commands are new:
- \newcommand{\@mystarttoc}[1] ...
- \newcommand{\myaddtocont}[1] ...
Does \myaddtocont add a chapter to a new TOC which can be listed with
\mystarttoc?

Thanks for help.
Martin



Re: Minitoc for Appendix

2001-02-22 Thread Dekel Tsur

On Wed, Feb 21, 2001 at 07:09:59PM +0100, Martin Adorni wrote:
> What I want to do:
> I would like to have table of contents (TOC) for the chapters and
> sections of the appendix. It should be at the beginning of the appendix.
> I've tried to manage it with the minitoc package but failed as I didn't
> find a suitable solution.
> 
> Here's the problem:
> * The listing of chapters with minitoc can only be done if I define the
> appendix being a part and use \parttoc. The definition part* didn't work
> -> empty minitoc.
> * That part definition results in an entry of the 'normal' TOC in a more
> emphasised way than a chapter what I don't like (The appendix is really
> not of major importance). Furthermore, the words 'Part I.' are written
> above 'Appendix' :-(

Instead of using \part{} at the beginning of the appendix,
use "\addtocounter{part}{1}"



Re: Minitoc for Appendix

2001-02-22 Thread Martin Adorni

Dekel Tsur wrote:
> 
> On Wed, Feb 21, 2001 at 07:09:59PM +0100, Martin Adorni wrote:
> > What I want to do:
> > I would like to have table of contents (TOC) for the chapters and
> > sections of the appendix. It should be at the beginning of the appendix.
> > I've tried to manage it with the minitoc package but failed as I didn't
> > find a suitable solution.
> >
> > Here's the problem:
> > * The listing of chapters with minitoc can only be done if I define the
> > appendix being a part and use \parttoc. The definition part* didn't work
> > -> empty minitoc.
> > * That part definition results in an entry of the 'normal' TOC in a more
> > emphasised way than a chapter what I don't like (The appendix is really
> > not of major importance). Furthermore, the words 'Part I.' are written
> > above 'Appendix' :-(
> 
> Instead of using \part{} at the beginning of the appendix,
> use "\addtocounter{part}{1}"

Good idea. I've tried this but it doesn't work. I've received an empty
TOC. Don't know why. Another suggestion?

Martin



Re: Minitoc for Appendix

2001-02-21 Thread Herbert Voss

Martin Adorni wrote:
 
 Here's the problem:
 * The listing of chapters with minitoc can only be done if I define the
 appendix being a part and use \parttoc. The definition part* didn't work
 - empty minitoc.
 * That part definition results in an entry of the 'normal' TOC in a more
 emphasised way than a chapter what I don't like (The appendix is really
 not of major importance). Furthermore, the words 'Part I.' are written
 above 'Appendix' :-(
 
 What can I do?
 Is there another way to have a minitoc with chapters listed?
 Or do I have to redefine the part environment to get rid of 'Part I.'
 and have a TOC entry like a chapter -- in this case what are the
 commands?

try the following chaptoc.sty. i adopted it from a texbook,
but can't remeber if it worked with appendix.
put it in ~/.TeX and add in latex preamble \usepackage{chaptoc}

Herbert


-- 
[EMAIL PROTECTED]
http://perce.de/lyx/
 chaptoc.sty.gz


Re: Minitoc for Appendix

2001-02-21 Thread Herbert Voss

Martin Adorni wrote:
 
 Here's the problem:
 * The listing of chapters with minitoc can only be done if I define the
 appendix being a part and use \parttoc. The definition part* didn't work
 - empty minitoc.
 * That part definition results in an entry of the 'normal' TOC in a more
 emphasised way than a chapter what I don't like (The appendix is really
 not of major importance). Furthermore, the words 'Part I.' are written
 above 'Appendix' :-(
 
 What can I do?
 Is there another way to have a minitoc with chapters listed?
 Or do I have to redefine the part environment to get rid of 'Part I.'
 and have a TOC entry like a chapter -- in this case what are the
 commands?

try the following chaptoc.sty. i adopted it from a texbook,
but can't remeber if it worked with appendix.
put it in ~/.TeX and add in latex preamble \usepackage{chaptoc}

Herbert


-- 
[EMAIL PROTECTED]
http://perce.de/lyx/
 chaptoc.sty.gz


Re: Minitoc for Appendix

2001-02-21 Thread Herbert Voss

Martin Adorni wrote:
> 
> Here's the problem:
> * The listing of chapters with minitoc can only be done if I define the
> appendix being a part and use \parttoc. The definition part* didn't work
> -> empty minitoc.
> * That part definition results in an entry of the 'normal' TOC in a more
> emphasised way than a chapter what I don't like (The appendix is really
> not of major importance). Furthermore, the words 'Part I.' are written
> above 'Appendix' :-(
> 
> What can I do?
> Is there another way to have a minitoc with chapters listed?
> Or do I have to redefine the part environment to get rid of 'Part I.'
> and have a TOC entry like a chapter -- in this case what are the
> commands?

try the following chaptoc.sty. i adopted it from a texbook,
but can't remeber if it worked with appendix.
put it in ~/.TeX and add in latex preamble \usepackage{chaptoc}

Herbert


-- 
[EMAIL PROTECTED]
http://perce.de/lyx/
 chaptoc.sty.gz