TOC made with XRef needs line break in middle of line(s)
Bodvar, > I agree that this can "easily" be done in FrameScript I did implement such a line break fix in the FrameScript DocTOC: http://www.itl.de/html/englisch/consulting/fsl/solutions-2.html It does fix the line breaks of book TOCs as well as of the chapter TOCs (that are inserted by the script). It does not insert a soft return 'XX characters from the start of a TOC line' nor does it re/store any specified line break position - it just breaks a line at a specified *right* margin (e.g. 5.0mm) after the next available space char. It does also fix that other known issues (pagination alone at the beginning of a line etc.). Unfortunately, the script does only support paragraph formats for the creation of the chapter TOCs, but not elements. That might be enhanced in the near future. Kind regards, Klaus M?ller, itl AG --- Original Message --- From: Bodvar Bjorgvinsson Date: 14.06.2006 23:39 > 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 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 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 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 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 > ___ -- 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
TOC made with XRef needs line break in middle of line(s)
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 [EMAIL PROTECTED] Send list messages to [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info.
Re: TOC made with XRef needs line break in middle of line(s)
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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] Send list messages to [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/art.campbell%40gmail.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info. -- Art Campbell [EMAIL PROTECTED] ... 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 [EMAIL PROTECTED] Send list messages to [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info.
Re: TOC made with XRef needs line break in middle of line(s)
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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] Send list messages to [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/art.campbell%40gmail.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info. -- Art Campbell [EMAIL PROTECTED] ... 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 [EMAIL PROTECTED] Send list messages to [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/art.campbell%40gmail.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info. -- Art Campbell [EMAIL PROTECTED] ... 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 [EMAIL PROTECTED] Send list messages to [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info.
Re: TOC made with XRef needs line break in middle of line(s)
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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] Send list messages to [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/art.campbell%40gmail.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info. -- Art Campbell [EMAIL PROTECTED] ... 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 [EMAIL PROTECTED] Send list messages to [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/art.campbell%40gmail.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more resources and info. -- Art Campbell [EMAIL PROTECTED] ... 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 [EMAIL PROTECTED] Send
Re: TOC made with XRef needs line break in middle of line(s)
Bodvar, I agree that this can easily be done in FrameScript I did implement such a line break fix in the FrameScript DocTOC: http://www.itl.de/html/englisch/consulting/fsl/solutions-2.html It does fix the line breaks of book TOCs as well as of the chapter TOCs (that are inserted by the script). It does not insert a soft return 'XX characters from the start of a TOC line' nor does it re/store any specified line break position - it just breaks a line at a specified *right* margin (e.g. 5.0mm) after the next available space char. It does also fix that other known issues (pagination alone at the beginning of a line etc.). Unfortunately, the script does only support paragraph formats for the creation of the chapter TOCs, but not elements. That might be enhanced in the near future. Kind regards, Klaus Müller, itl AG --- Original Message --- From: Bodvar Bjorgvinsson Date: 14.06.2006 23:39 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 ___ -- Art Campbell [EMAIL PROTECTED] ... 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 [EMAIL PROTECTED] Send list messages to [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to [EMAIL PROTECTED] Visit http://www.frameusers.com/ for more
TOC made with XRef needs line break in middle of line(s)
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
TOC made with XRef needs line break in middle of line(s)
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 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
TOC made with XRef needs line break in middle of line(s)
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 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 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 >
TOC made with XRef needs line break in middle of line(s)
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 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 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 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
TOC made with XRef needs line break in middle of line(s)
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 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 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 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 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.