# [scribus] Fwd: Re: Wieder zurück mit Problemen

John Culleton john at wexfordpress.com
Tue Feb 7 15:24:53 UTC 2017

On Tue, 7 Feb 2017 09:43:12 +0100
ale rimoldi <ale.comp_06 at xox.ch> wrote:

> On 06/02/17 22:16, Gregory Pittman wrote:
> >
> >
> >
> > -------- Forwarded Message --------
> > Subject: Re: [scribus] Wieder zurück mit Problemen
> > Date: Mon, 6 Feb 2017 15:47:33 -0500
> > From: Gregory Pittman <gpittman at iglou.com>
> > To: Albrecht Will <albrecht.will at online.de>
> >
> > On 02/06/2017 10:27 AM, Albrecht Will wrote:
> >> Am Montag, 6. Februar 2017, 09:47:09 CET schrieben Sie:
> >>> On 02/06/2017 12:22 AM, Albrecht Will wrote:
> >>>> Hi Greg,
> >>>> thanks for your answer. It was the second respond to my
> >>>> question. Your hint is yet wellknown.
> >>>> The first respond asked me to unsubcribe from the list. I will
> >>>> do this with
> >>>> respect. Thanks
> >>>
> >>> That wasn't directed to you. So, are you still having trouble
> >>> with TOC? What isn't working right?
> >>>
> >>> Greg
> >>
> >> In the german forum I got the advice, not to work with TOC until
> >> its rewritten. Now I wait for an hint, how to do TOCs effectively.
> >>
> >
> >
> > Playing with this a bit, and also checking the wiki page, the wiki
> > is decidedly cryptic.
> >
> > Probably the first step you should do is to go to Document Setup >
> > Document Item Attributes. There, create an attribute and name it
> > TOC, or whatever you like. Click OK.
> > Now, when you go to Document Setup > Tables of Contents, you should
> > be able to add a new one, and find your name (TOC) in the drop down
> > list; choose that. Filling in other attributes is optional at this
> > point. Choose the Destination Frame you want your TOC to be in - it
> > needs to already exist. Choose a Paragraph Style if you want. Click
> > OK. Now go to one or more frames with content, and from the context
> > menu select Attributes. Under the drop down list for Name you
> > should now find TOC, select that. Under Value put in what you want
> >
> > At this point you should be able to select Extras > Generate Table
> > of Contents, and get some results in the frame you chose for the
> > TOC.
>
> At this point you might guess, why i suggested you, not to use the
> current TOC system.
>
> Personally, I don't know of anybody who used it.
> Some have tried.
>
> You will have to retype each title in a popup and all you get is the
> current page of the frame where the title is in.
> Of course, you're not allowed to have two titles in the same frame.
>
>
> As I told you, you will be faster by typing the TOC yourself.
>
> And, generally speaking, even if Scribus has got much better, it's
> IMO not yet 100% ready for documents where manually compiling a TOC
> is not practical.
> With just a bit of luck 1.6 will.
>
> You're doing pioneer work and it's nice to see you filling bug
> reports when you notice that things do not work!
>
> Ciao
> a.l.e
>
> p.s.: If you're wondering, yes, I know how the current TOC works and
> asked the team to remove it from Scribus. It's an anti-feature:
> people who discover it, lose time trying to learn it; and are
> disappointed when they find out how it does (not) work; we lose time
> explaining how to use it or why not to use it.
> A lose lose situation!
>
> ___
>
I do TOC manually of course when I (rarely) do a whole book in Scribus.
Scribus is my tool for book covers. For most books I use some form of
TeX, in recent years in Context. My first ebook on using Scribus for
covers I did in pdftex. In all forms of TeX the document consists of
plain text. I tend to use a template approach that allows me to break
down the task into several files and pass the general definitions on
from book to book.

In the file called macros.tex for that book I had
these definitions (among others):

----------------
\eplain.tex
...
\def\chapter#1{
\vfil\eject
\writetocentry{chapter}{#1}
\bf #1
\rm
}
-------------

Then in the body of the text I inserted in the appropriate space:
-------------
--------------
and for each chapter:
-----------------------------
\chapter{What is a Book Cover?}
---------------------------
This requires two passes through the pdftex compiler, the first to
generate the TOC and the index files and the second to create the
finished pdf file.

Indexing is another feature not addressed by Scribus AFAIK.

This 2009 ebook is now obsolete. If you are curious you can download it
here
(after I post it later today of course):
http://wexfordpress.com/scribusebook.pdf
I will redo it in Scribus later this year...

--
John Culleton
Wexfordpress
Book design and indexing.