mailing-list for TeXmacs Users

Text archives Help


Re: [benno.dielmann@stud.uni-regensburg.de: Re: [TeXmacs] current chapter in header]


Chronological Thread 
  • From: Javier Arántegui Jiménez <address@hidden>
  • To: address@hidden
  • Subject: Re: [address@hidden: Re: [TeXmacs] current chapter in header]
  • Date: Fri, 30 Jan 2004 12:06:42 +0100

Hello,

El Viernes, 30 de Enero de 2004 11:15, David Allouche escribió:

> I solved the "Abstract-doesn't-get-in-TOC-nor-in-header" problem some
> time ago. Here is my solution:
>
> (assign "abstract" (macro "body" (document (surround (no-indent) ""
> (special-chapter (translate "Abstract" "english" (language)))) (surround
> "" (hflush) (arg "body")))))
>
> If my memory doesn't cheat me, the main issue lies in the usage of
> "special-chapter", which isn't numbered but appears in TOC and Header.

Yes! It worked just fine.

For the people who doesn't know so much about TeXmacs as Beno and David, this
is what I did to insert it in my document (I needed some tries):

1. Document - View - Check 'Preamble mode'
2. Go to the begining of the document
3. Copy the 3 lines of the solution '(assign....))))'
4. Edit - Paste from - Scheme
5. Uncheck 'Preamble mode'
6. Update the TOC

Thank you!

Javier



Archive powered by MHonArc 2.6.19.

Top of page