Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Inserting paragraph breaks per bullet point?

Return to Member Forum

  • Author
    Posts
    • #1177687

      I hope someone can help us with our problem. We have an XML file of recipes (ingredients, instructions, etc) and we want each recipe to be on one page. We were able to do that except we were having problems with the ingredients and instructions. They should be in bullet form, as per our paragraph style, but it only applies the bullet on the first ingredient/instruction.

      Screenshot: https://imgur.com/a/xUW1CXS

      The following are the XML import options that we have checked:
      – Clone repeating text elements
      – Only import elements that match existing structure
      – Do not import contents of whitespace-only elements
      – Delete elements, frames, and content that do not match imported XML

      We want each ingredient and instruction to be it’s own bullet point but we’re stuck. Any help would be appreciated. Attached below are the sample XML file and the InDesign file.

      Resources:
      XML: https://drive.google.com/file/d/1eyfz2AlIqIhV5pE4no7hpKfrCGqYzKuX/view?usp=sharing
      InDesign file: https://drive.google.com/file/d/1y6c_7_GIjfnrS19k1TWHzkYOXMNfScoI/view?usp=sharing

    • #14324386
      Chad Chelius
      Member

      Hi David,

      I think your problem stems from the fact that in your InDesign file, what you want to appear as several inline bullets, is actually one single paragraph. I’m assuming you’re doing this to save space? Which is fine, however bullets are applied at the paragraph level in InDesign and therefore you will only get one bullet per paragraph which is exactly what you have. At a glance I see that you have two choices:

      1. In your XML, actually insert a bullet character followed by a space in front of each ingredient. I don’t know the unicode value for the bullet off hand but it should be easy enough to find.

      2. Organize your ingredients in the InDesign file as individual paragraphs stacked on top of each other.

      I hope that helps!

    • #14324290

      Hi Chad,

      Thanks for replying! I tried editing the XML file by inserting a bullet for every ingredient and instruction. Unfortunately, we’re still getting the same result.

      View post on imgur.com

      Manually organizing the ingredients and the instructions in the InDesign Story Editor fixes this but we have over 700 recipes in the original XML file to deal with so it would be great if it would be a one-off import.

      Thanks!

    • #14324289
      David Blatner
      Keymaster

      I would suggest doing some post-processing with find/change. For example, find all the bullets and replace with a carriage return.

Viewing 3 reply threads
  • The forum ‘General InDesign Topics (CLOSED)’ is closed to new topics and replies.
Forum Ads