[NTG-context] verbatim problem

Severin Obertüfer ntg-context@ntg.nl
Thu, 22 Apr 2004 20:59:39 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0000_01C428AC.BB085D30
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

hello 
 
i have a little verbatim problem
 
i used the \startEIFFEL \stopEIFFEL verbatim environment in a verry simple
way like this:
 
\startEIFFEL
class
    DEQUE [G]
 
    inherit
        DOUBLE_LINKED_LIST[G]
        rename
            extend as insertRight,
            prepend as insertLeft
        end
create
    make, make_empty
 
feature -- Access
            
    -- and so on

\stopEIFFEL
 
now i wanted to make this things a bit more useful and flexible.
 
i thougt of something like this
 
\startEIFFEL
    \input deque
\stopEIFFEL
 
but of corse the keyword input is normal text in verbatim mode... :)
is there a simple solution for that, for example like this
 
\startEIFFEL
\specialcommand{\input deque}
\stopEIFFEL
???
 
by the way : can i give as to the inputcommand a argument like this:
 
\input D:\Files\ETH\Eiffel\deque.e
 
where "deque.e" is a normal eiffel source file....
 
thanks for an answer
 
mfg
 
severin

------=_NextPart_000_0000_01C428AC.BB085D30
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D268584718-22042004>hello=20
</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D268584718-22042004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D268584718-22042004>i have =
a little=20
verbatim problem</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D268584718-22042004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D268584718-22042004>i used =
the=20
\startEIFFEL \stopEIFFEL verbatim environment in a verry simple way like =

this:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D268584718-22042004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D268584718-22042004>\startEIFFEL</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D268584718-22042004>class<BR>&nbsp;&nbsp;&nbsp; DEQUE=20
[G]</SPAN></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D268584718-22042004>&nbsp;&nbsp;&nbsp;=20
inherit<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
DOUBLE_LINKED_LIST[G]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
rename<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;=20
extend as=20
insertRight,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;=20
prepend as insertLeft<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
end<BR>create<BR>&nbsp;&nbsp;&nbsp; make, make_empty</SPAN></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D268584718-22042004>feature --=20
Access</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D268584718-22042004>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;=20
</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D268584718-22042004>&nbsp;&nbsp;&nbsp;=20
-- and so on</SPAN></FONT><FONT face=3DArial size=3D2><SPAN=20
class=3D268584718-22042004><BR></SPAN></FONT><FONT><SPAN=20
class=3D268584718-22042004></DIV>
<DIV><FONT face=3DArial size=3D2>\stopEIFFEL</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D268584718-22042004><FONT face=3DArial size=3D2>now i =
wanted to make=20
this things a bit more useful and flexible.</FONT></SPAN></DIV>
<DIV><SPAN class=3D268584718-22042004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D268584718-22042004><FONT face=3DArial size=3D2>i =
thougt of=20
something like this</FONT></SPAN></DIV>
<DIV><SPAN class=3D268584718-22042004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D268584718-22042004><FONT face=3DArial=20
size=3D2>\startEIFFEL</FONT></SPAN></DIV>
<DIV><SPAN class=3D268584718-22042004><FONT face=3DArial =
size=3D2>&nbsp;&nbsp;&nbsp;=20
\input deque</FONT></SPAN></DIV>
<DIV><SPAN class=3D268584718-22042004><FONT face=3DArial=20
size=3D2>\stopEIFFEL</FONT></SPAN></DIV>
<DIV><SPAN class=3D268584718-22042004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D268584718-22042004><FONT face=3DArial size=3D2>but of =
corse the=20
keyword input is normal text in verbatim mode... :)</FONT></SPAN></DIV>
<DIV><SPAN class=3D268584718-22042004><FONT face=3DArial size=3D2>is =
there a simple=20
solution for that, for example like this</FONT></SPAN></DIV>
<DIV><SPAN class=3D268584718-22042004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D268584718-22042004><FONT face=3DArial=20
size=3D2>\startEIFFEL</FONT></SPAN></DIV>
<DIV><SPAN class=3D268584718-22042004><FONT face=3DArial=20
size=3D2>\specialcommand{\input deque}</FONT></SPAN></DIV>
<DIV><SPAN class=3D268584718-22042004><FONT face=3DArial=20
size=3D2>\stopEIFFEL</FONT></SPAN></DIV>
<DIV><SPAN class=3D268584718-22042004><FONT face=3DArial=20
size=3D2>???</FONT></SPAN></DIV>
<DIV><SPAN class=3D268584718-22042004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D268584718-22042004><FONT face=3DArial size=3D2>by the =
way : can i=20
give as to the inputcommand a argument like this:</FONT></SPAN></DIV>
<DIV><SPAN class=3D268584718-22042004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D268584718-22042004><FONT face=3DArial size=3D2>\input =

D:\Files\ETH\Eiffel\deque.e</FONT></SPAN></DIV>
<DIV><SPAN class=3D268584718-22042004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D268584718-22042004><FONT face=3DArial size=3D2>where =
"deque.e" is a=20
normal eiffel source file....</FONT></SPAN></DIV>
<DIV><SPAN class=3D268584718-22042004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D268584718-22042004><FONT face=3DArial size=3D2>thanks =
for an=20
answer</FONT></SPAN></DIV>
<DIV><SPAN class=3D268584718-22042004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D268584718-22042004><FONT face=3DArial=20
size=3D2>mfg</FONT></SPAN></DIV>
<DIV><SPAN class=3D268584718-22042004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D268584718-22042004><FONT face=3DArial=20
size=3D2>severin</FONT></SPAN></SPAN></FONT></DIV></BODY></HTML>

------=_NextPart_000_0000_01C428AC.BB085D30--