Concatenation
Description
We used an old version of Webworks for many years. With that version, the process of generating the Help removed the word "To" from the beginnings of certain headings, and capitalized the first letter of the second word.
This:
To post a payable batch
Became this:
Post a payable batch
That was useful because we use those headings in TOCs, and in the Help we title these TOCs with "How to..." What looked like the first TOC below in FrameMaker would look like the second one after we generated the Help.
How to... To delete a payable batch To generate a report for a payable batch To post a payable batch
How to... Delete a payable batch Generate a report for a payable batch Post a payable batch
I don't know who set it up in the old Webworks, and we haven't been able to figure out how to do it using ePublisher.
We cannot use conditions on portions of each line to accomplish this, because the items that must be concatenated are cross-references. At least I haven't been able to figure out a way to use conditions to do this, and we didn't use conditions to do it before.
James,
Sounds like someone did a trick with regular expressions and a particular style name. Is there a specific style name associated with those "To ..." paragraphs you mention?
Yes, they are all in the same style. We use that style for other text, but we could easily use one style for these paragraphs and only these paragraphs.
James
James,
Can you upload a sample file and state which style name you are using? Also, can you insert a copy of the 2003 macro code which was used to achieve this affect in WebWorks Publisher?
Thanks.