<rss version="2.0">
		<channel>
			<title>Typesetter Forum for typesetters, prepress, designers, printers, and publishers covering LaTex, Indesign, Quark, PDF, CMYK, 3B2 and jobs - Find/Replace Codes</title>
			<lastBuildDate>Thu, 09 Sep 2010 23:52:12 -0700</lastBuildDate>
			<link>http://typesetterforum.com/</link>
			<description></description>
			<generator>Lussumo Vanilla 1.1.4</generator>
			<item>
		<title>Find/Replace Codes</title>
		<link>http://typesetterforum.com/discussion/92/?Focus=193#Comment_193</link>
		<guid isPermaLink="false">http://typesetterforum.com/discussion/92/?Focus=193#Comment_193</guid>
		<pubDate>Tue, 24 Mar 2009 13:02:26 -0700</pubDate>
		<author>laurenrupar</author>
		<description>
			<![CDATA[Hello!<br /><br />I'm new to typesetting and I'm trying to find the best ways to format text for a template I use all the time.  My question is this:<br /><br />How do I format the GREP code in the find/replace tool to be able to format text that can only be identified by the text that proceeds it?<br /><br />For example:<br /><br />--------------------------<br /><br />CHAPTER XIX <br /><br />HOW THE VINEYARD OF THE PARISH PRIEST OF RIETI, <br />IN WHOSE HOUSE ST. FRANCIS PRAYED, WAS STRIPPED <br />OF ITS GRAPES BY REASON OF THE MULTITUDE OF PEOPLE <br />THAT CAME TO SEE HIM; AND HOW THAT VINEYARD BROUGHT <br />FORTH MIRACULOUSLY MORE WINE THAN EVER BEFORE, <br />ACCORDING TO THE PROMISE OF ST. FRANCIS. <br />AND HOW GOD REVEALED TO ST. FRANCIS THAT PARADISE <br />SHOULD BE HIS PORTION WHEN HE DEPARTED THIS LIFE <br /><br />ST. FRANCIS being on a time sorely afflicted in his eyes, was invited by a letter from <br />Cardinal Hugolin, protector of the Order, to come to Rieti, where excellent physicians <br />for the eyes then dwelt, for he loved him tenderly. When St. Francis received the <br />cardinal’s letter he went first to St. Damian’s, where St. Clare, the most devout spouse of <br />Christ was, to give her some consolation; then he would go his way to the cardinal at Rieti. <br />And the night after he came thither his eyes worsened so that he saw no light at all. <br /><br />--------------------------<br /><br />Obviously, I can easily do a find/replace search for the &quot;Chapter&quot; part and replace with the correct formatting.<br /><br />However, the second part (subtitle) and third part (paragraph) cannot be search for directly b/c each one is completely different.  However, I do think that there must be a way to write the GREP code so that it finds &quot;Chapter&quot;, skips over it and changes the formatting to the following paragraph (subtitle) without affecting the formatting on the first line.<br /><br />Help!!!<br /><br />Thanks!<br />Lauren]]>
		</description>
	</item>
	
		</channel>
	</rss>