-
1. Re: Saving out as IDML for previous versions of InDesign causes alternate layout problems.
Neil Enns - Adobe May 19, 2014 10:35 AM (in response to ldn-possible)Moved to the InDesign forum since alternate layouts is an InDesign feature, not a DPS feature.
Neil
-
2. Re: Saving out as IDML for previous versions of InDesign causes alternate layout problems.
ldn-possible May 20, 2014 2:25 AM (in response to Neil Enns - Adobe)Thanks Neil.
-
3. Re: Saving out as IDML for previous versions of InDesign causes alternate layout problems.
Laubender May 20, 2014 4:38 AM (in response to ldn-possible)@Sam – can you show us some screenshots? Before doing export and after opening it?
Does ist work, if you open the IDML in the same version of InDesign that you have exported it from?
Or is it just a thing between CS6 <= CC ?
What are the exact version numbers of both apps?Hm. Maybe you can strip out some confidential contents and upload the InDesign file together with the exported IDML and a PDF showing the exact layout zipped together to Dropbox, so we can have a look…
Uwe
-
4. Re: Saving out as IDML for previous versions of InDesign causes alternate layout problems.
ldn-possible May 20, 2014 4:47 AM (in response to Laubender)Hi Uwe,
Here's 2 screenshots, one with the CC INDD file open, and the second with the IMDL file open. This happens in both InDesign CC and CS6.
INDD
IDML
Is this enough information? From playing around a bit I may have solved it. I think it's to do with liquid layouts, but I'd rather not remove the scaling.
Thanks,
Sam
-
5. Re: Saving out as IDML for previous versions of InDesign causes alternate layout problems.
Laubender May 20, 2014 5:53 AM (in response to ldn-possible)@Sam – hm, so after opening the IDML the page sizes in the 2nd and 3rd alternate layout ("1920x1125" and "KindleFire") changed? Not the master pages they are based on…
As far as I can make out from your screenshots.
And if you can confirm this, what are the new page sizes?
I think, to solve this riddle, we need the original files…
Uwe
-
6. Re: Saving out as IDML for previous versions of InDesign causes alternate layout problems.
ldn-possible May 20, 2014 6:01 AM (in response to Laubender)Hi Uwe,
I've sent you a message including the link to the Dropbox folder. The 3 layouts are: iPad (1024x768), 1920x1125 (Android rendition 1), and KindleFire (1024x600). The second two are ones that change. The 1920x1125 expands to 3600x1647px and the KindleFire version changes to 1024x468px.
Sam
-
7. Re: Saving out as IDML for previous versions of InDesign causes alternate layout problems.
Laubender May 20, 2014 7:10 AM (in response to ldn-possible)Hi, Sam!
Thank you for the files. Just opened the IDML in InDesign CC v9.2.1.
The error is visible.Cannot test right now in CS6.
But opened the IDML in CS5.5 as well. There all seems ok with the sizes of the pages.
This will not be of any value for you, because after saving in CS 5.5 all the Liquid Layout Rules are lost, the Alternate Layouts are changed to "normal" sections and the applied overlay features possibly could be damaged.Will investigate further…
It looks like we have a bug sneaked in here.
Uwe -
8. Re: Saving out as IDML for previous versions of InDesign causes alternate layout problems.
Laubender May 20, 2014 7:12 AM (in response to Laubender)Ah. Forgot about one thing: opening your provided InDesign file in CC v9.2.1 was without problems. Page sizes were intact.
Uwe
-
9. Re: Saving out as IDML for previous versions of InDesign causes alternate layout problems.
Laubender May 20, 2014 7:19 AM (in response to Laubender)The only thing you can do right now is changing back the wrong page sizes to their original values with the Pages Tool. Then everything seems to be ok…
Uwe
-
10. Re: Saving out as IDML for previous versions of InDesign causes alternate layout problems.
Laubender May 20, 2014 7:26 AM (in response to Laubender)Not quite…
The objects seem to be scaled a tiny bit after resetting the page size to the original values.Sigh…
Uwe
-
11. Re: Saving out as IDML for previous versions of InDesign causes alternate layout problems.
Laubender May 20, 2014 7:44 AM (in response to ldn-possible)@Sam – sent you a "message" through this Forum Software with a Dropbox link for the saved InDesign CS5.5 file out of your IDML from CC v9.2.1. Think, the overlays are intact. But please check. Liquid Layout rules are missing of course. And all Alternate Layouts are now "normal" sections.
When opening this file in InDesign CC v9.2.1 and export again to IDML, the supported features from CS5.5 stay intact.
Uwe
-
12. Re: Saving out as IDML for previous versions of InDesign causes alternate layout problems.
Laubender May 20, 2014 8:00 AM (in response to Laubender)Ok. I have the culprit for this disaster!
Just checked the rules of the pages for Liquid Layout.
For the first page, that did not change, it was: "Use Master"
For the other two pages, that did change, it was: "Scale"Then I set all pages to "Use Master", exported an IDML, opened it again in CC v9.2.1 and all seems to be fine.
Uwe
-
13. Re: Re: Saving out as IDML for previous versions of InDesign causes alternate layout problems.
Laubender May 21, 2014 1:27 AM (in response to Laubender)@Sam – I want to bump-up this issue with IDML a bit.
What I found is, that the bug is always biting, if we use single sided page setup in the Document Setup.
In double sided page setup, I couldn't see a change of page sizes after re-open the IDML.
But of course, using double sided pages for DPS is no option at all.
Can you confirm my findings?
To reset all alternate layouts to a different liquid layout rule in one go for the active document, you could use the following ExtendScript (JavaScript):
//ChangeLiquidLayoutRule-to-UseMaster_ALL-PAGES.jsx //Uwe Laubender /** * @@@BUILDINFO@@@ ChangeLiquidLayoutRule-to-UseMaster_ALL-PAGES.jsx !Version! Wed May 21 2014 10:25:26 GMT+0200 */ //Change the liquid layout rule for ALL pages in the document to "Use Master": //Use a different rule, if you want, like "Off" with: LayoutRuleOptions.OFF app.documents[0].pages.everyItem().layoutRule = LayoutRuleOptions.USE_MASTER; /* Available values for property layoutRule : LayoutRuleOptions.GUIDE_BASED Use guide slicing to resize objects on the page as it resizes. LayoutRuleOptions.OBJECT_BASED Reposition and resize objects on the page as it resizes. LayoutRuleOptions.OFF No layout rule on the page as it resizes. LayoutRuleOptions.PRESERVE_EXISTING Use existing layout rule setting on the page. Used for creating alternate layouts. LayoutRuleOptions.RECENTER Recenter objects on the page as it resizes. LayoutRuleOptions.SCALE Scale objects on the page as it resizes. LayoutRuleOptions.USE_MASTER Use layout rule from the page's applied master page. */
Uwe
-
14. Re: Saving out as IDML for previous versions of InDesign causes alternate layout problems.
ldn-possible May 21, 2014 2:37 AM (in response to Laubender)Hi Uwe,
How would I implement the ExtendScript? Excuse my lack of knowledge in this area.
Sam
-
15. Re: Saving out as IDML for previous versions of InDesign causes alternate layout problems.
Laubender May 21, 2014 3:58 AM (in response to ldn-possible)Hi, Sam!
Copy/paste the code above to a new text document of TextEdit app. Make sure it is text-only. In TextEdit you can toggle from formatted text to text-only text by the keyboard shortcut cmd+shift+t.
Save this text-only document with suffix *.jsx to your Scripts folder of InDesign.
When in InDesign you can open this folder in Finder, if you open the Scripts Panel you can find under a submenu of the main Windows menu (in my German version its under "Hilfsprogramme" (maybe "Utility Programs" or just "Utilities" in your English version). Select one of the default folders in that panel. Then chose the panel option "Reveal in Finder". Put that jsx file in this folder ("Scripts"). The script is available immediately in InDesign. If you want you can put in a new sub-folder of the Scripts Panel in the finder.
Important:
1. Go back to InDesign. The script should be visible there in InDesign's Scripts Panel. To use it, just double-click its name. That's it.
2. Do not double-click it in the Finder. Just in inDesign.
The active document is changed now. A * in front of the name in the top bar of the document window should indicate this. Save the document with a different name (in case you want the original file unchanged) and export to IDML. Open the IDML immediately in InDesign to check the results.
Uwe
-
16. Re: Saving out as IDML for previous versions of InDesign causes alternate layout problems.
ldn-possible May 21, 2014 6:27 AM (in response to Laubender)Hi Uwe,
That script is great, although would there be a line that could be added to change the master pages to 'off'?
Thanks,
Sam -
17. Re: Re: Saving out as IDML for previous versions of InDesign causes alternate layout problems.
Laubender May 21, 2014 7:32 AM (in response to ldn-possible)Hi, Sam!
Do you mean setting the rule of liquid layout for pages to "Off" instead of "Use Master"?
If so, just change the line of code to:
app.documents[0].pages.everyItem().layoutRule = LayoutRuleOptions.OFF;
We could also add an alert as second line:
app.documents[0].pages.everyItem().layoutRule = LayoutRuleOptions.OFF; alert("Liquid Layout Rule for every Page in the active Document set to: \"OFF\".");(Tried to tell you this in the comments section of the code posted first ;-) )
Uwe
-
18. Re: Re: Saving out as IDML for previous versions of InDesign causes alternate layout problems.
ldn-possible May 21, 2014 7:36 AM (in response to Laubender)I'm not sure I wrote that in the clearest way.
I had changed it to 'Off' in the script like you'd commented it, but this only applied it to the normal pages in the InDesign file. Is there a way of setting the layout rule to 'Off' for the master pages that are in the InDesign document, not just the normal pages?
Thanks,
Sam
-
19. Re: Re: Re: Saving out as IDML for previous versions of InDesign causes alternate layout problems.
Laubender May 21, 2014 7:46 AM (in response to ldn-possible)Ah. Now…
The following should do the trick:
app.documents[0].pages.everyItem().layoutRule = LayoutRuleOptions.OFF; app.documents[0].masterSpreads.everyItem().pages.everyItem().layoutRule = LayoutRuleOptions.OFF; alert("Liquid Layout Rule for every Page and MasterPage in the active Document is set to: \"OFF\".");Uwe
-
20. Re: Re: Re: Saving out as IDML for previous versions of InDesign causes alternate layout problems.
Laubender May 21, 2014 7:49 AM (in response to Laubender)However, I'm not sure how to set them other than "OFF" in the GUI, because "OFF" seems to be the default value for pages in the master spreads. Hm, maybe I can learn here something, too…
Uwe
-
21. Re: Saving out as IDML for previous versions of InDesign causes alternate layout problems.
Laubender May 21, 2014 7:58 AM (in response to Laubender)Ah. Ok. I found the option. Just select a master page with the Pages Tool and select an option in the Liquid Layou Panel. Alright then. The issues should be solved…
Uwe
-
22. Re: Saving out as IDML for previous versions of InDesign causes alternate layout problems.
ldn-possible May 21, 2014 8:14 AM (in response to Laubender)Uwe! That addition to the script worked perfectly. You've saved me a lot of time for future files.
Thank you so much.
Sam
-
23. Re: Saving out as IDML for previous versions of InDesign causes alternate layout problems.
Laubender May 21, 2014 8:52 AM (in response to ldn-possible)Hi, Sam!
Thank you.What I like to ask:
Do you have an example where the liquid layout rule "Scale" set on a master page will trigger the bug?
If so, could you provide that example for downloading (just send me a message with the link)?
Uwe






