Capture the line during the frills processing

Hi

I have a question with frills processing and appreciate if anyone could give me a hand.

We are using XPP 8.4 in Unix. We would like to use XyPerl to capture the line and send back to the division during the frills processing. We are able to open the main stream and access named number registers from a frill block but find difficulty in capturing the line.

Does anyone has an idea on this? Thanks

 

Terrence

Parents
  • I'm not sure why Mark says that the captured text cannot be mid-paragraph or has to fit on a single line, but he is correct that the text has to be "tagged" (either with px/pa or cs/ce or start/end tags and using XyPerl).

    As far as I know, the captured text can be longer than one line if using cs/ce or if using px/pa or start/end tags with XyPerl the suppressed text can then be re-output back into the (main) stream and then result in more than a single (composed) line of (generated) text.

    But the "details" are important, as what else (i.e. coding) is in the captured text may pose some challenges in what could otherwise be a straightforward solution.

    Jonathan Dagresta
    SDL XPP Engineering

    Jonathan Dagresta
    RWS Group/
    XPP Development

  • Hi JD. If a para was tagged <p> text </p> and that text ran over multiple lines, there's no way to pick out a mid-para line. That was what I meant. Perhaps I didn't make that clear ;)     However, I have always wondered why Frills Proc can't extract a line's text - i.e. the mid-para scenario.   It exists. XPP knows its there. XPP knows all sorts of info about it (max ascender height, indents, etc etc), why not extract the text using F.P.  (although I realise that everything about F.P. querying XPP returns only numbers.   It would certainly make life (as a developer) easier having direct access to non-explicitly tagged text. (i.e. the mid-para scenario)

Reply
  • Hi JD. If a para was tagged <p> text </p> and that text ran over multiple lines, there's no way to pick out a mid-para line. That was what I meant. Perhaps I didn't make that clear ;)     However, I have always wondered why Frills Proc can't extract a line's text - i.e. the mid-para scenario.   It exists. XPP knows its there. XPP knows all sorts of info about it (max ascender height, indents, etc etc), why not extract the text using F.P.  (although I realise that everything about F.P. querying XPP returns only numbers.   It would certainly make life (as a developer) easier having direct access to non-explicitly tagged text. (i.e. the mid-para scenario)

Children