LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

Use Proportional Font
Show Text Part by Default
Show All Mail Headers

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

Print Reply
Subject:
From:
Javier Bezos <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Mon, 29 Jun 1998 15:12:32 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (28 lines)
Richard Walker wrote

>  \hierarchical/path/to/module/perhaps_with_underscores/macro_name:argspec

It looks nice.
>
>(or according to Hans - I need more convincing):
>
>  \hierarchical/path/to/module/perhaps_with_underscores/macro_name:argspec:

The finishing char can be add on the fly. Instead of (after Hans Aberg)

  \def\getargspec#1{\expandafter\@getargspec\string#1}

  \catcode`\:=12
  \def\@getargspec#1#2:#3{Command ``#2'' has argspec #3!}

which only gets the very first spec:

  \def\getargspec#1{\expandafter\@getargspec\string#1\\}
                                                    %^^
  \catcode`\:=12
  \def\@getargspec#1#2:#3\\{Command ``#2'' has argspec #3!}
                        %^^

Regards
Javier

ATOM RSS1 RSS2