[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Macro for inclusion of OOP code in Octave documentation?
From: |
David Bateman |
Subject: |
Macro for inclusion of OOP code in Octave documentation? |
Date: |
Mon, 13 Oct 2008 15:11:45 +0100 |
User-agent: |
Mozilla-Thunderbird 2.0.0.16 (X11/20080724) |
I'm trying to create a macro like
@macro quaternionfile{file}
@example
@group
@verbatiminclude @value{abs_top_srcdir}/examples/@@quaternion/\file\
@end group
@end example
@end macro
for the documentation of the OOP code and inclusion of examples. However
the "@" in the class directory is causing me much pain and nothing I
seem to try in the above macro seems to help. I've tried replacing the
"@@" with "@" and "\@" or even "@@@@" with no luck. and changing the
macro to
@macro quaternionfile{file}
@example
@group
@verbatiminclude @value{abs_top_srcdir}/examples/\file\
@end group
@end example
@end macro
and then invoking it as any one of
@address@hidden/quaternion.m}
@quaternionfile{@@quaternion/quaternion.m}
@address@hidden/quaternion.m}
doesn't work either... Does anyone have an idea of how to get such a
macro with an embedded @verbatiminclude with a "@" in the filename to work?
Cheers
David
--
David Bateman address@hidden
Motorola Labs - Paris +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax)
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary
- Macro for inclusion of OOP code in Octave documentation?,
David Bateman <=