🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.framemaker
6 messages
6 total messages Started by Philip_Bitar Sat, 20 Sep 2008 01:02
Parameterized keep?
#2381
Author: Philip_Bitar
Date: Sat, 20 Sep 2008 01:02
5 lines
962 bytes
Is there a way to implement a parameterized keep that's comparable to widow/orphan control?

Instead of having just the two choices of keep with prior/next, I want to keep paragraph A with the prior/next paragraph if paragraph A has less than a given number of lines.

This isn't directly available in FM 7.2.
Re: Parameterized keep?
#2382
Author: Arnis_Gubins
Date: Sat, 20 Sep 2008 15:13
1 lines
799 bytes
Unfortunately not. This could be implemented using FrameScript.
Re: Parameterized keep?
#2384
Author: Philip_Bitar
Date: Sat, 20 Sep 2008 16:50
1 lines
1054 bytes
Arnis, thank you for mentioning FrameScript. I browsed framescript.com but I would never have guessed from the info there that FrameScript would enable a user to create parameterized keeps. The info at the website touts features for mass producing FrameMaker documents as opposed to refining the layout of a document. Can you give me a feel for the capability of FrameScript to refine the layout of a document? Is there a succinct way to describe this?
Re: Parameterized keep?
#2385
Author: Philip_Bitar
Date: Sat, 20 Sep 2008 17:11
15 lines
1363 bytes
I can be more specific by mentioning the topics of my recent postings:

Subsuming a character tag or a paragraph tab under a conditional-text tag

Updating the cross-reference tags of autonumbered paragraphs as per updated autonumbering

Positioning anchored frames on facing pages

Finding cross-references to a marker without having to delete the marker and search for unresolved references

Putting a border around an inline paragraph or a set of inline paragraphs without having to put the paragraphs in table cells



Someone from FrameScript should monitor this forum and inform users of problems that can be solved in FrameScript that can't be solved directly in FrameMaker. This would help users and get business for FrameScript.
Re: Parameterized keep?
#2387
Author: Arnis_Gubins
Date: Sat, 20 Sep 2008 20:31
25 lines
1894 bytes
Philip,

FrameScript is an object-oriented scripting language that lets you get
at almost everything that's available in the FDK (the programming
interface).

It has all of the programming constructs that you'd expect for
building complex scripts. In the case of your requirement, you would
have to write a script that walks through a document checking the
number of lines in a paragraph and then applying the keep property
accordingly (realizing of course that simply applying the property
creates an override, which could be a maintenance issue).

For more info on creating FrameScripts, Rick Quatro's site at
http://www.frameexpert.com is a great resource. Also, his tutorial
book is an absolute must have if you want to start scripting.

There's also a FrameScript user group at
http://tech.groups.yahoo.com/group/framescript-users/ where you can
ask questions and learn by perusing the archives.

All of your other needs could also be addressed, however, it may be a
complex programming task for some of them. There are a number of
scripts available from various sources that can be used as starting
points for developing your own scripts.  Google is your friend... ;-)
Re: Parameterized keep?
#2388
Author: Philip_Bitar
Date: Sun, 21 Sep 2008 01:32
1 lines
597 bytes
Thank you!
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads