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

Equation numbering and conditional text

Return to Member Forum

  • Author
    Posts
    • #14392654
      Jeri Alger
      Participant

      I have a document that has conditional text (I-P and SI units). I have set up styles for each unit’s equations (initial and continuation). Each unit’s equations must have their own sequence (1,2, 3, 4, etc.) So, when the SI or I-P conditional text is turned off or on, the equations show the proper sequential numbering.

      Currently, if the I-P equations are all in order, the numbering is ok. But, our usual set up is to put each unit’s equation one after the other (I-P eq. 1, SI eq. 1, I-P eq. 2, SI eq. 2, etc.

      If each unit is paired, the next equation starts numbering from the last equation instead of the previous sequence.

      I brought up the conditional text only in case there is something I can do using that to help keep the I-P and SI unit equations separate so that each unit’s equations number sequentially.

      Thank you!

    • #14392673
      Steve Davis
      Participant

      If i understood you correctly then a quirky (and somewhat clunky) way would be to create your lists as numbered text lists and then convert the numbers to text and remove line breaks to force inline.

    • #14393162
      Nick B
      Participant

      Hi Jeri

      This shouldn’t be a problem if you are using paragraph styles for your questions, because you can just create a style for each type, each using a separate numbering List.

      So, e.g. ‘SI-question’ paragraph style has definition with Bullets and Numbering > List Type=Numbers, List=SI (you create this as a New List… in the dropdown)
      And ‘I-P-question’ paragraph style has Bullets and Numbering > List Type=Numbers, List=I-P (also create this as a new List)

      If your equations are literally labelled “I-P eq. 1” then you can include this in the Numbering Style section of Bullets and Numbering as “I-P eq. ^#” for Number.

      You would still have to apply the conditional format manually I believe. I can’t immediately think of a clever way of using these styles to select the version that is showing because “Hidden” is (unfortunately) not an attribute you can apply to a paragraph (or character) style, neither can you define a paragraph style as conditional.

      Done this way, the equation numbering should be correct regardless of whether one or both types are visible, which is handy for editing/checking consistency of the pairs.

      Nick

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