Search found 4 matches

by dgcuff
Thu Apr 16, 2009 11:17 pm
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: Perl syntax blindness
Replies: 1
Views: 1938

Perl syntax blindness

I can't see what I'm doing wrong, and need a second pair of eyes to check me. My find pattern (type perl) is "on page \d{1,3}". My replacement is "on page <pagenum>". When the text is "on page 333", the result is "on page <pagenum>33". I would have thought that the find pattern would deal with all c...
by dgcuff
Tue Mar 24, 2009 3:51 am
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: FrameMaker MIF: replacing text in specific tags
Replies: 4
Views: 3984

Re: FrameMaker MIF: replacing text in specific tags

Incidentally, for the benefit of any FrameMaker users reading, I had to make a couple of changes to the top-level filter to deal with optional text: <PgfTag `(Heading2|Heading1|ChapterTitle)'>(|\s*<PgfReferenced Yes>)\s*<ParaLine(|\s*<TextRectID \d{1,4}>)\s*<String `(.*)'> Also, for the table and fi...
by dgcuff
Tue Mar 24, 2009 1:37 am
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: FrameMaker MIF: replacing text in specific tags
Replies: 4
Views: 3984

Re: FrameMaker MIF: replacing text in specific tags

INSIDE this filter, add Title Case as a subfilter. Does that make sense? Thanks, the subfilter approach makes perfect sense (that much I'd figured out), but your implementation gets around a bunch of things that had me scratching my head. And you've also answered my question: since TextPipe Lite do...
by dgcuff
Fri Mar 20, 2009 1:56 am
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: FrameMaker MIF: replacing text in specific tags
Replies: 4
Views: 3984

FrameMaker MIF: replacing text in specific tags

I'm not even sure I can accomplish what I need to in TextPipe Lite... it may be time to upgrade. I want to change the text that appears in multiple tags. For example, I have tags "Heading 1", "Heading 2", "Chapter Title", and "Figure Caption". I want all the text in these tags to appear in sentence ...