[scribus] Importing program text.

John Culleton john at wexfordpress.com
Sat Mar 27 15:17:15 CET 2010

On Saturday 27 March 2010 04:51:11 a.l.e wrote:
> hi john,
> > Thanks. Now my next question. I imported a text file which was
> > originally intgened for a TeX variant. It runs several pages in
> > Scribus. In several places there are \input statements or their
> > equivalent, which inserts another file at that point. The story
> > editor does not seem to have a facility for such an insertion, it is
> > all or nothing.  So do I have to break up the text in segments with
> > the inserts in between?   If so how do I break up what is now one
> > large text frame flowing over several pages to allow insertions?
> >
> > I can of course break up the text file externally before importing it
> > in an editor but that seems like a bore.  But maybe that is the
> > best/only way.
> >
> > Fortunately I didn't get too far before I switched to Scribus on this
> > project :<)
> i don't think i can offer a solution avoiding writing a script...
> but you have the choice to run a python script inside scribus or work
> on the file before importing into scribus...
> ciao
> a.l.e

Thinks for the reply. 

Gvim to the rescue! I just used the 
:r (filename)
command just below each Context (TeX)
command and everything was inserted fine. I'll have to create a special 
style of course for the program segments.

Now I have just one additional request. I use Scribus 1.5.0

When I import a text file Scribus puts each line in its own paragraph. Is 
there a way to just highlight a group of lines and combine them in one 
paragraph? That would save some time for the non-program segments. 

John Culleton
"Create Book Covers with Scribus"
Printable E-book 38 pages $5.95

More information about the scribus mailing list