4 Replies Latest reply on May 28, 2016 7:25 AM by Mohammad Modassir

    Are there any script/code for this?

    Mohammad Modassir Level 1

      Hi,

      Problem 1: There is used wrong leading size between every Paragraph Heading and the first line of Paragraph text.

      Problem 2: Also there is used wrong Tab-size in the first line of every second paragraph texts throughout the whole document.

      Simply asking: Is there a code-line which I can use (preferably using notepad.txt) for a certain leading size and tab size at a certain place throughout the whole document?

       

       

      Is there a script I can use to make the changes to be equal to this? — this is how it should look like:

       

       

      leading.png

       

      Message was edited by: Mohammad Modassir — picture edited.

       

      Message was edited by: Mohammad Modassir

        • 1. Re: Are there any script/code for this?
          pixxxel schubser Level 5

          Did you work with paragraph styles?

          • 2. Re: Are there any script/code for this?
            Mohammad Modassir Level 1

            Just learned about it, and it seems to take time if there multiple documents which has to be changed to one same paragraph style. Is it possbile to create a script of the paragraph style I mentioned above? — because such script would be time-saving.

            • 3. Re: Are there any script/code for this?
              vinothr Level 3

              It seems all of your documents have no Para/Char styles defined.

               

              Is there any pattern followed consistently in your paragraph headings?

              For example, I see it looks like:

              A1. PARAGRAPH HEADING ONE

              A2. PARAGRAPH HEADING TWO

              B1. PARAGRAPH HEADING THREE

              etc.

               

              Also, can you share how the text content fits into the text frame? Is there a text frame for each page, or entire spread, etc.

              Are all the text frames linked from first to last page?

              • 4. Re: Are there any script/code for this?
                Mohammad Modassir Level 1

                The text content which need to be edited — uses different Leading-size and Tab-size.

                 

                \\Comment: This is how it looks like wrong i.e (used wrong leading size and Tab size):

                PARAGRAPH HEADING ....\\comment: other times it’s like this: [bullet-sign]<space>P. HEADING.

                <Leading-size 4pt>

                PARAGRAPH TEXT starting

                ....and then, second, third-line and so on....

                PARAGRAPH TEXT TWO .....first line....

                and...second line, thrid, forth, so on...

                PARAGRAPH TEXT THREE

                ...second, thrid-line, and so on....

                 

                ...until the next Paragraph Heading and then repeat as above...

                 

                And the following (as shown in my first post above [picture]) is after using such script which can change Leading size and Tab size equal to this:

                PARAGRAPH HEADING

                <Leading-size 10pt>

                PARAGRAPH TEXT ONE (never use Tab for the first line)

                <Tab=7,5mm>Only the first line of paragraph text TWO...

                ....and here (second line) follows i.e the rest of paragraph text which needs no attention....

                <Tab=7,5mm>Only the first line of paragraph text THREE....

                ...third-line of paragraph text and so on....

                 

                 

                ...until the next Paragraph Heading and then repeat as above...

                 

                And there is only one text frame for each pages (using Master Pages option, so as you know, the frame-size is identical in all pages of the book) — so as a result, all the text frames are linked from first to last page if I understand you correctly.

                 

                Looking forward to reply.