How can I curve a text within a paragraph as in the example?
Just as in the example. I would draw the paths in Illustrator, that way I could use Blend to make the paths. Copy the paths, paste into InDesign then thread them. It’s tedious.
Just to add what Scott said:
You have to use the Text on Path Tool that's behind the Text Tool to do text on path with every imported path segment, then you can thread the single text paths to one single story.
That's what I thought I should do, though I hoped there's a more elegant way.
kol28429812 wrote… though I hoped there's a more elegant way.
Hi kol28429812 ,
hm. At least a bit of that task is scriptable easily: Activating the text on path and thread to one story.
Important: Select the path segements in the order you like to see them threaded!
Then run the script. If you are not satisfied with the result just undo it and start with a new selection.
// EDIT: Repaired the damaged script code.
The code in my answer was damaged last year by moving this thread from the old InDesign forum to this new one.
NOTE: How to save the code to a script file, how to install the script file and how to use it from the Scripts panel in InDesign see: https://www.indiscripts.com/pages/help#hd0sb2
( ACP )
Simply something like this!
Michel, from FRIdNGE
FWIW: Repaired the script code in my answer above.
( ACP )
Hey laubender, Installed the script It only does nothing when I select it on another selected textbox.
I only see some lines on the side of the textbox which are movable but that changes nothing.
thanks in advance.
undo the script's action. Then do a screenshot of your selected objects, the path segments.
Now run the script. Do another screenshot of the result and post the two screenshots.
Or, even better, make the InDesign document available so that I can have a look.
Move it to Dropbox or a similar service and post the download link.
( ACP )
Thank you very much!
that is the link to my document.
good to know: I used the code in visual studio code.
Can you maybe send a screen recording if you succeed applying the script?
it's easier to eventually do it myself like.
I'm just starting with code so Im still a very big noob haha.
Thank you very very much!
Without testing anything yet with your document:
Follow the guide lines how to save the code to a script file, how to install the script file and how to use it from the Scripts panel in InDesign see: https://www.indiscripts.com/pages/help#hd0sb2
No need to run the code from Visual Studio Code.
( ACP )
I looked into your document from InDesign CC 2019.
In principle my script will work. Tested it on the concentric paths, the circles, on page 2.
But to make it work I had to do some preparations. I decided to ungroup the group of circles and paths. And I selected the paths in the right order using the Layers panel.
I selected them in a specific order: One by one, from the outer circle to the inner circle, adding circle by circle to my selection. And that's the deal here with my script. The user has to provide the selection order, my script will add text paths to the selected objects and thread them in selection order.
Another step I needed:
I added line breaks after every line of text so that every line of text sits in its own text path.
To move the text to the threaded story of text paths: Copy it to the clipboard, select one of the threaded circles and open the Story Editor Window. Paste the text to that window. The result was this:
As you can see one would rotate the outer circle to match the rotation angle of the other circles. And then rotate all the circles to get the text readable.
( ACP )