This content has been marked as final. Show 6 replies
for whole TextFrame (VB example):
myTF.Texts.Item(1).AppliedCharacterStyle = myCharStyle
but you need to apply CharStyle to only TextFrame contents or whole Story ?
I need to apply the CharStyle to a set of chars of a paragraph content. For example:
10.00 FILM The Title of the film
this text is into a text frame and I need to apply a charstyle to 10.00 another to FILM and so on.
Thanks a lot Robin.
Here's another case where GREP can be used to advantage. Work it out
for yourself, you need to know GREP for other occasions. It's really
terrific that InDesign now provides it.
Do you have an example?
I don't think that GREP will be usefull ;)
Andrea need to find begin and end of interesting part of Paragraph content
time is easy - first 5 chars or to first space
but finding the rest ... or wait ;)
Andrea - do all your listings have structure:
(time)( )(type)( )(title)
(time) is 4 or 5 characters
(type) is any text without spaces
(title) is title without any other parts like, description, rating, etc.
and all parts are separated by ( ) - space ?
if yes - you can use NestedStyles feature of ParagraphStyle - by setting " " (space) as first and second "up to" sperarator
and one more question - can you export or can you request TV listing in other format - with (tab) as "field" separator ?
below is link to example InDesign Tagged Text file with ParagraphStyles set to " " (space) as separator
just place it to your InDesign document :)
> Do you have an example?
Adobe Help refers to a page on using GREP in InDesign.
You can also Google on, for example,
("GREP examples" OR "examples of GREP")
Robert may well be correct that it can be done using
nested styles, and it might be best if we all knew
how to do it both ways.