Jump to content

Recommended Posts

Posted

Using Find-and-Replace, I know that I can:

  1. Find by literal text
  2. Find by regex pattern
  3. Find by style
  4. Find by text or regex pattern with a particular style

But something I miss from CSS is the ability to match by:

  • A direct child
  • Any descendant child
  • First child
  • Nth child
  • Siblings

Here is a real example of a find that I wanted (and can do in CSS), but was unable to perform with Publisher:

  1. In the section labeled "Appendix B"…
  2. After a heading with the style "Heading 4 containing a Citation"…
  3. After the heading’s sibling paragraph with the style "Quotation"…
  4. Select the first sibling paragraph, if any…
  5. And assign the style "First Paragraph after Heading or List" to it.

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.