Re: <programlisting> in ps

Subject: Re: <programlisting> in ps
From: Matthias Clasen <clasen@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 13 Mar 2000 18:11:56 +0100
> > I just noticed something that I probably should have before. I have
> > some DocBook markup with code in a <programlisting> when I use jade
> > with Norman's sheets to produce html I get good looking code (meaning
> > all indentation has been preserved - it *is* literal) - yet when I use
> > jade to produce ps or pdf the code is no longer indented as it should
> > be. Am I missing something trivial or is this a known problem?
> OK - I figured out that jadetex does not recognize tabs (which were
> used to create the code). Using Emacs to 'untabify the region worked
> like a charm. But can anyone think of a way in which we can use dsssl
> to make those tabs into spaces before it hits jadetex?

There is an input-tab? character property which should let you do that.

Matthias Clasen, 
Tel. 0761/203-5606
Email: clasen@xxxxxxxxxxxxxxxxxxxxxxxxxx
Mathematisches Institut, Albert-Ludwigs-Universitaet Freiburg

 DSSSList info and archive:

Current Thread