Ask a Question related to Adobe Indesign Windows, Design and Development.
-
Junji_Nishihata@adobeforums.com #1
Exporting Individual Paragraph Styles
Hello there,
I have two separate templates that are identical in format, but content wise, one is Japanese the other English. I have created a series of new paragraphs in the English version that I would like to copy into the Japanese one, without overwriting the existing paragraph styles. Does anyone have any ideas about how this might be automated? Or do I have to recreate each style one-by-one?
Thanks for any and all help!
Junji_Nishihata@adobeforums.com Guest
-
Paragraph Styles - Next...
InDesign CS2 I have agreed on doing a guide containing mostly Postal code - names and phone numbers. I get the text from a database in an Exel... -
break paragraph of text into individual words / keyword detection
I'm writing an journaling type of application, and I was wondering if someone might be able to help me re-write one of the modules so it's more... -
Paragraph Styles
Is there any way to copy just one Paragraph Style to another document? -
changing type size in paragraph styles and how it effects nested styles
In a book I'm developing, I decided to up the point size for my "first paragraph" and "body text" in my paragraph styles. I have nested styles in... -
Paragraph styles!
Why sometimes when I apply a paragraph style to a heading it does not effect it? Thanks -
Dave_Saunders@adobeforums.com #2
Re: Exporting Individual Paragraph Styles
I'm not quite understanding. You want to have two paragraph styles with the same name but different definitions? That won't work.
When I have to do this kind of thing, I add a letter to the names of the paragraph styles in one of the documents so I can then import them into the other. When I only want to import a couple of styles, I just copy and paste some text that uses those styles.
Are we talking CS or 2.x here? If CS, then this JavaScript adds a "j" to the start of every paragraph style name in the active document:
myDoc = app.activeDocument;
myStyles = myDoc.paragraphStyles.everyItem().name;
theLim = myStyle.length;
for (i=1; i<theLim; i++) { // Starts at 1 to skip over No Paragraph Style myDoc.paragraphStyles.item(myStyles[i]).name = "j" + myStyles[i]; }
Dave
Dave_Saunders@adobeforums.com Guest
-
Lisa_Spike@adobeforums.com #3
Re: Exporting Individual Paragraph Styles
If the English and Japenese are in two separate documents, naming the paragraph styles exactly the same should do what you want.
Lisa_Spike@adobeforums.com Guest
-
Dave_Parker2@adobeforums.com #4
Re: Exporting Individual Paragraph Styles
I'm also not quite clear, but if you have "created a series of new paragraphs *styles*", and want to import just one or a few to the other template without overwriting- give them a unique name, put them in a library (via a small text block with your style applied), open your receiving doc, and add the library items (ie, the snip of text with the style applied). Then delete the added text block and the style will remain. Not being a scripter, I dont know if this could be further automated. Sorry if this is not what you are after.
Dave
Dave_Parker2@adobeforums.com Guest
-
M_Blackburn@adobeforums.com #5
Re: Exporting Individual Paragraph Styles
I'm not sure what you're after either, but I use the same style names for English and French all the time. Text copied into one document from the other will pick up the style attributes of the receiving document, but yes, you will have to initially edit each style to work for that language. This is not very difficult though, because you can bring in a style, re-work a sample of the text, and then use that sample to redefine the style for the rest of the text with that style.
M_Blackburn@adobeforums.com Guest
-
Junji_Nishihata@adobeforums.com #6
Re: Exporting Individual Paragraph Styles
Hello everyone,
Thanks for your input and sorry for any confusion. My templates are identical in all respects, with the same style names and all, but the one key difference being the base fonts are different to allow for the use of the two languages.
I was working mostly in the English version and I eventually created a whole bunch of new styles that did not exist yet in the Japanese one. I wanted to copy the new styles over to the Japanese template without overwriting the work I had already done.
Once copied over, I would have to make the font corrections, but it would be easier to do this to a few new styles, rather than having to look through every style and make adjustments. My question was then about whether one could just load selected styles, and not the whole shootin' match. I hope this clears things up.
In any case, I just did it all manually which was tedious, but seems to have worked. Thanks very much for the JavaScript Mr. Saunders; that is a nice trick.
Junji Nishihata
Junji_Nishihata@adobeforums.com Guest



Reply With Quote

