octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Macro for inclusion of OOP code in Octave documentation?


From: David Bateman
Subject: Re: Macro for inclusion of OOP code in Octave documentation?
Date: Mon, 13 Oct 2008 15:42:10 +0100
User-agent: Mozilla-Thunderbird 2.0.0.16 (X11/20080724)

Søren Hauberg wrote:
man, 13 10 2008 kl. 15:11 +0100, skrev David Bateman:
Does anyone have an idea of how to get such a macro with an embedded @verbatiminclude with a "@" in the filename to work?

Hmm, your first solution seems to work in a simple case for. I have the
following two files

---- test.texi ----

\input texinfo

@macro quaternionfile{file}
@example
@group
@verbatiminclude @@test/\file\
@end group
@end example
@end macro

@quaternionfile{hello}

@bye

---- @test/hello ----

world

Which generates the following output

address@hidden:~/Skrivebord/at$ makeinfo --plaintext test.texi world

Søren


Now try "pdfetex text.texi" which is want Octave uses for its PDF files.

D.


--
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]