Re: Insert-Include File, Verbatim: Tabs are lost

1999-09-23 Thread Mr. Geepus the Sweeper

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


Re: Insert-Include File, Verbatim: Tabs are lost

1999-09-23 Thread Mr. Geepus the Sweeper

Aha!

On 23-Sep-99 Jean-Marc Lasgouttes wrote:

 As you can see, my original message stated that I did not try the
 code. It happens that it was completely bogus :) Try that instead
 [still not tested :)]
 
 \usepackage{moreverb}
 \let\verbatiminput=\verbatimtabinput

Now, *that* bit of untested code works quite well!  Adding a line I
pasted in from moreverb.sty, but with 4 instead of 8 for the tab size, makes it
look just perfect:

\def\verbatimtabsize{4\relax} 

Now I shall be the envy of my Windows-using classmates!  ;)

Bye,


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


Re: Insert-Include File, Verbatim: Tabs are lost

1999-09-23 Thread Mr. Geepus the Sweeper

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


Re: Insert-Include File, Verbatim: Tabs are lost

1999-09-23 Thread Mr. Geepus the Sweeper

Aha!

On 23-Sep-99 Jean-Marc Lasgouttes wrote:

 As you can see, my original message stated that I did not try the
 code. It happens that it was completely bogus :) Try that instead
 [still not tested :)]
 
 \usepackage{moreverb}
 \let\verbatiminput=\verbatimtabinput

Now, *that* bit of untested code works quite well!  Adding a line I
pasted in from moreverb.sty, but with 4 instead of 8 for the tab size, makes it
look just perfect:

\def\verbatimtabsize{4\relax} 

Now I shall be the envy of my Windows-using classmates!  ;)

Bye,


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


Re: Insert->Include File, Verbatim: Tabs are lost

1999-09-23 Thread Mr. Geepus the Sweeper

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]{}

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


Re: Insert->Include File, Verbatim: Tabs are lost

1999-09-23 Thread Mr. Geepus the Sweeper

Aha!

On 23-Sep-99 Jean-Marc Lasgouttes wrote:

> As you can see, my original message stated that I did not try the
> code. It happens that it was completely bogus :) Try that instead
> [still not tested :)]
> 
> \usepackage{moreverb}
> \let\verbatiminput=\verbatimtabinput

Now, *that* bit of untested code works quite well!  Adding a line I
pasted in from moreverb.sty, but with 4 instead of 8 for the tab size, makes it
look just perfect:

\def\verbatimtabsize{4\relax} 

Now I shall be the envy of my Windows-using classmates!  ;)

Bye,


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


Re: Insert-Include File, Verbatim: Tabs are lost

1999-05-31 Thread Jean-Marc Lasgouttes

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

Michael Hallo!  (lyx-1.0.3pre4)

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

Hope this helps

JMarc



Re: Insert->Include File, Verbatim: Tabs are lost

1999-05-31 Thread Jean-Marc Lasgouttes

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

Michael> Hallo!  (lyx-1.0.3pre4)

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

Hope this helps

JMarc