Hi...

        Yes, this is a reply to a pretty old message, but I've found nothing
any more helpful in the archives, so...

On 31-May-99 Jean-Marc Lasgouttes wrote:

>>>>>> "Michael" == Michael Behrens <[EMAIL PROTECTED]> writes:

> Michael> I just tried to include a simple ASCII file including tabs
> Michael> with
> 
> Insert-> Include file, option Verbatim
> 
> Michael> But the tabs seem to be silently ignored, they even are not
> Michael> interpreted as blanks.  Is there a way to get them used or is
> Michael> this a featue/bug?
> 
> This is a `feature' of LaTeX. This is handled by the moreverb
> package. Something like the following in your preamble should help
> [not tested]:
> 
> \usepackage{moreverb}
> \renewcommand
> \let\verbatiminclude\verbatimtabinput

        Ok, I tested it, by trying to use it with my LyX version 1.0.3, and it
does not work.  :(  If I include this exactly as it appears above in my
preamble, I get 6 LaTeX errors referring to undefined control sequences.  I am
guessing (though I know no (La)TeX) that something should be after the
"renewcommand", as in every other instance where I've seen it used, a bunch of
stuff in {} follows, but not here.

        Can someone tell me what's missing?  I'd find this very useful for
printing out my programming labs, among other things.  :)

        (I won't even ask about algorithm floats; I'll just wait until their
use makes it into the documentation!  ;)

        I also tried a suggestion from Christopher Sawtell, that one use the
following (with \usepackage{verbatim} in preamble) to include a file:

\verbatiminput[tabstop]{<filename>}

        However, trying such things as "\verbatiminput[4]{/home/blah/file}"
doesn't seem to do anything for me; this appears as 

\latex latex

\backslash
verbatiminput[4]{/home/rassilon/proj/csc234/craps.cc}

        ...and does nothing -- except that everything after "verbatiminput["
actually appears in the document.

        I am now quite confused, and am off to simpler pursuits, like learning
gnuplot.  ;)

Any help appreciated,


---
// Carl Hudkins ]=[ ICQ: 5723399 ]=[ PGP: 0x50238d9e
// 
// "I've given up on the whole dating scene.  I've
//  decided to reproduce by asexual cell division."
//         --Wally

PGP signature

Reply via email to