LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Content-Type:
text/plain; charset=ISO-8859-15; format=flowed
Date:
Fri, 14 Oct 2011 15:19:43 +0200
Reply-To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Subject:
MIME-Version:
1.0
Message-ID:
Content-Transfer-Encoding:
7bit
Sender:
Mailing list for the LaTeX3 project <[log in to unmask]>
From:
Frank Mittelbach <[log in to unmask]>
Parts/Attachments:
text/plain (36 lines)
Currently templates and their instances are supposed to take a defined 
number of arguments as defined by their ObjectType and then execute the 
template code (with certain key value settings).

There is no explicit support for environments.

Now I wonder if this is something that would need changing. If so how?


What are the options?

  1) use the current mechanism the way it is and

  1.1)  if there is a need to execute code at the end of the environment 
provide an additional ObjectType (and additional templates)

  1.2)  Have the template that requires code at the end of the 
environment store that in some token list \l_template_end_code_tl and in 
the standard end code for an environment execute

   \l_template_end_code_tl
   \tl_clear:N \l_template_end_code_tl

Alternatively

  2) Provide a set of additional declaration and usage commands, e.g. 
\DeclareEnvTemplate, etc that have one more argument holding and using 
the end code

  3) others? ...

thoughts anybody?

cheers
frank

ATOM RSS1 RSS2