TOC made with XRef needs line break in middle of line(s)

Bodvar Bjorgvinsson bodvar at gmail.com
Wed Jun 14 14:39:45 PDT 2006


I agree that this can "easily" be done in FrameScript (I think!), but
I have only recently had my company buy the thing and I haven't had
the time to study it much -- adapted a couple of scripts to my needs,
though.

In theory, I think the script has to address the element, seek
information about tabs and if the text after, say tab 1 is longer than
tab 2 minus tab 1 minus a couple of millimeters, then add a line brake
and a tab. Something like that. Or to set some information about this
in a reference page, somewhat like in TOC breaker, and have the script
read the information from there. I just don't know enough yet... :-(

Bodvar

On 6/14/06, Art Campbell <art.campbell at gmail.com> wrote:
> If you wanted uniform line lengths, I think a FrameScript that inserted a
> soft return XX characters from the start of a TOC line would be pretty easy
> to craft....
>
> Art
>
> On 6/14/06, Bodvar Bjorgvinsson <bodvar at gmail.com> wrote:
> > Thanks to all that replied.
> >
> > Maybe it will be easier in the long run to make more standard section
> > TOCs based on "temporary" Section Books that just take all settings As
> > Is.
> >
> > But Sarah got me going trying out some tweaking.
> > I made a different Xref format for long lines, added a left tab
> > towards the end of the line and using hard spaces and em spaces in
> > between tabs, I could make it work.
> >
> > But IMVHO (in my very humble opinion), Adobe really should go about
> > adding optional tab lengths to the tabs, so that a line will
> > automatically break within a tab.
> >
> > Thanks again,
> >
> > Bodvar Bjorgvinsson
> >
> >
> > On 6/14/06, Art Campbell <art.campbell at gmail.com> wrote:
> > > I can't think of an easy way to make your lines break, but I would
> > > propose an alternate solution that would mostly automate the
> > > procedure.
> > >
> > > Follow the KISS principle and just add several more standard TOCs, one
> > > for each section. Turn on the hyperlinks, etc.
> > >
> > > Each time you update the book and the TOCs, you'd need to open each
> > > section TOC and delete the not-in-that-section items, but otherwise
> > > your line break tools and standards would continue to work.
> > >
> > > Art
> > >
> > > On 6/14/06, Bodvar Bjorgvinsson <bodvar at gmail.com> wrote:
> > > > I am fighting to adapt an alien structured book to our needs. It
> > > > consists of a couple of hundred files but there is only one bookfile
> > > > and each "Section" or volume has its own Table of Contents (in
> > > > addition to the book TOC), which they call Index. Some of the TOCs
> > > > were totally without hyperlinks (just typed text within special entry
> > > > elements), but some use hyperlink elements.
> > > >
> > > > I want to get some easier way of linking the TOC items, so, as I do
> > > > not know of any easy way of making a section TOC (because this would
> > > > involve dozens of files for each and there are other practical reasons
> > > > not to split the book up into more book files), I decided to try to
> > > > use cross references.
> > > >
> > > > I added the necessary elements to the EDD and everything works OK,
> > > > except when I come across long lines, of course the lines won't brake
> > > > anywhere sensible. It seems to me, that it is in places like this that
> > > > we need to be able to set a tabulator length, so that a line will
> > > > brake within a tabulator.
> > > >
> > > > Is there any way of working this, a FrameScript or something?
> > > > Can ToCBreaker be tricked into being applicable here?
> > > >
> > > > Thanks in advance,
> > > >
> > > > Bodvar Bjorgvinsson,
> > > > Supervisor Publishing,
> > > > Flight Support,
> > > > Air Atlanta Icelandic
> > > > _______________________________________________
> > > >
> > > >
> > > > You are currently subscribed to Framers as art.campbell at gmail.com.
> > > >
> > > > Send list messages to framers at lists.frameusers.com.
> > > >
> > > > To unsubscribe send a blank email to
> > > > framers-unsubscribe at lists.frameusers.com
> > > > or visit http://lists.frameusers.com/mailman/options/framers/art.campbell%40gmail.com
> > > >
> > > > Send administrative questions to lisa at frameusers.com. Visit
> > > > http://www.frameusers.com/ for more resources and info.
> > > >
> > >
> > >
> > > --
> > > Art Campbell                                             art.campbell at gmail.com
> > >   "... In my opinion, there's nothing in this world beats a '52 Vincent
> > >                and a redheaded girl." -- Richard Thompson
> > >                              No disclaimers apply.
> > >                                      DoD 358
> > >
> > _______________________________________________
> >
> >
> > You are currently subscribed to Framers as art.campbell at gmail.com.
> >
> > Send list messages to framers at lists.frameusers.com.
> >
> > To unsubscribe send a blank email to
> > framers-unsubscribe at lists.frameusers.com
> > or visit http://lists.frameusers.com/mailman/options/framers/art.campbell%40gmail.com
> >
> > Send administrative questions to lisa at frameusers.com. Visit
> > http://www.frameusers.com/ for more resources and info.
> >
>
>
> --
> Art Campbell                                             art.campbell at gmail.com
>   "... In my opinion, there's nothing in this world beats a '52 Vincent
>                and a redheaded girl." -- Richard Thompson
>                              No disclaimers apply.
>                                      DoD 358
>



More information about the framers mailing list