XSLT or Scripts (Mac -Indesign CS3)

Good Morning Everybody,
We are planning now to move our Journal (XML) production into Indesign CS3.
I've been successfully (though with limitations, as I am newbie in Indesign) implemented our books productions into Indesign CS2. This has been achieved thru using XSLT and Javascript expertise.
I've fair knowledge of XML features, like xpath, xslt, XSL, XSL:FO and Javascript though I still learning new things when it comes to use Javascripts in Indesign.
Well coming back to my query regarding Journals in Indesign, I am writing a style sheet, which transforms the xml input with all required formatting (paragraph, character styles), data manipulations, successfully inserting the punctuations specially in references, which can imported into INDCS2.
When it comes to informations like "Running Heads", "Journal informations, like volume, print issn, electronic issn" author infos in 2nd page onwards etc etc...In all these cases, I would prefer to use the XSLT (XML contains all these info) instead of scripts, simply because of reason, which I mentioned earlier that I am newbie in using Javascript in Indesign and there are may be some limitations of scripts in Indesign (Although thanks to Adobe for introducing XPath in CS3).
It was pretty easy for me to tackle/automate all these issues in other pagination platform (and the template was generic) using various scripts, XML features etc, but as I said we would also like to transit few of our journals into Indesign CS2/CS3
I've also tried to search the forum for possible answers but not very successfully. Can somebody suggest/guide how we should go about it? I don't mind to using scripts, if it is the best way of handling and developing a generic template. Or may be to look into other plug-ins, languages to make it successful.
Apology for writing such a long details but I thought I should made it clear what I am looking for.
Any help/guidance in this regard will be highly appreciated.
Pankaj

Hello,
I am just testing my "Subscribe to this discussion by email" settings...
Looking forward to hear from you soon.........

Similar Messages

  • Is it possible to trace the mouse event using java script in indesign cs3?-request urgent

    Hi friends,
    am writing js for indesign cs2, i want to know the things whether it is possible for tracing the curse position in indesign application using javascript? i need it to know for both cs2 and cs3
    thanks in advance
    by
    subha

    to Subha:
    I definitely do not know enough to answer your question.
    But on June 14, 2007, Dave Saunders started a topic
    (this forum) titled "Am I making progress".
    Posts 23 and 32 there could be helpful, but I may
    have misunderstood your phrase "tracing the
    cursor position".
    Roger Purves

  • "MakeGrid" scripts in InDesign CS3 aren't working

    Hello -
    I have an interesting problem: most of my scripts stopped working last week. I don't know if I accidently hit some keyboard shortcut disabling things, or what. I have one java script ( add guides ) that still works but most of the others don't. I've tried resetting preferences but that hasn't worked. General, I know... but I thought maybe someone else had run into this too.
    thanks -

    I have a feeling the last script you ran turned off user interaction and didn't turn it back on when it finished.
    Try running this one-liner:
    //Dave Saunders
    //Resets script preference
    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAll;

  • How to restore broken links after server migration in Indesign CS3???

    Hi All,
    I have used my google skills to no avail and everything I have read here has been a dead end for me. I can't be the only person in this situation, so hopefully someone can help!
    My marketing department has reached the storage limits of our shared network drive. Located on this drive is our (HUGE) image library which acts as a single central respository serving up our indesign links (read here: we don't package files - to conserve space). We have decided that in an effort to create a true archive and have more space for our image library we need to migrate the library to a new 16 terabit Drobo (yay!).
    The problem is that every INDD file that links to the current library will now suffer from broken links. We literally have hundreds of INDD files and thousands of links. The good news is...the file structure isn't changing at all! Just the server location is changing. Is there any way to to a batch update of the links that tells INDD to look for the exact same file path on a different drive?
    In short:
    current image library (old server): marketing/image library/photos/products/multiple product folders
    new image library (new server): drobo/image library/photos/products/multiple product folders
    I want to point InDesign to the new server and have it pick up the file path without having to navigate to each and every file individually. Voila!
    Is this even possible? Is there any 3rd party software to help? Other architechture solutions that might be suggested?
    Thanks so much for the help!
    Alex

    I wrote several scripts to solve this problem, here is one of them.
    // Change paths of links.jsx
    // Script for InDesign CS3 and CS4 -- changes the path of each link in the active document.
    // Version 1.0
    // May 13 2010
    // Written by Kasyan Servetsky
    // http://www.kasyan.ho.com.ua
    // e-mail: [email protected]
    var gScriptName = "Change paths of links";
    var gScriptVer = 1;
    var gOsIsMac = (File.fs == "Macintosh") ? true : false;
    var gSet = GetSettings();
    if (app.documents.length == 0) {
         ErrorExit("No open document. Please open a document and try again.", true);
    var gDoc = app.activeDocument;
    var gLinks = gDoc.links;
    var gCounter = 0;
    if (gLinks.length == 0) {
         ErrorExit("This document doesn't contain any links.", true);
    CreateDialog();
    //======================= FUNCTIONS =============================
    function CreateDialog() {
         var dialog = new Window("dialog", gScriptName);
         dialog.orientation = "column";
         dialog.alignChildren = "fill";
         var panel = dialog.add("panel", undefined, "Settings");
         panel.orientation = "column";
         panel.alignChildren = "right";
         var group1 = panel.add("group");
         group1.orientation = "row";
         var findWhatStTxt = group1.add("statictext", undefined, "Find what:");
         var findWhatEdTxt = group1.add("edittext", undefined, gSet.findWhatEdTxt);
         findWhatEdTxt.minimumSize.width = 300;
         var group2 = panel.add("group");
         group2.orientation = "row";
         var changeToStTxt = group2.add("statictext", undefined, "Change to:");
         var changeToEdTxt = group2.add("edittext", undefined, gSet.changeToEdTxt);
         changeToEdTxt.minimumSize.width = 300;
         var btnGroup = dialog.add("group");
         btnGroup.orientation = "row";
         btnGroup.alignment = "center";
         var okBtn = btnGroup.add("button", undefined, "Ok");
         var cancelBtn = btnGroup.add("button", undefined, "Cancel");
         var showDialog = dialog.show();
         if (showDialog== 1) {
              gSet.findWhatEdTxt = findWhatEdTxt.text;
              gSet.changeToEdTxt = changeToEdTxt.text;
              app.insertLabel("Kas_" + gScriptName + "_ver_" + gScriptVer, gSet.toSource());
              Main();
    function Main() {
         WriteToFile("\r--------------------- Script started -- " + GetDate() + " ---------------------\n");
         for (var i = gLinks.length-1; i >= 0 ; i--) {
              var currentLink = gLinks[i];
              var oldPath = currentLink.filePath;
              oldPath = oldPath.replace(/:|\\/g, "\/");
              oldPath = oldPath.toLowerCase();
              gSet.findWhatEdTxt = gSet.findWhatEdTxt.replace(/:|\\/g, "\/");
              gSet.changeToEdTxt = gSet.changeToEdTxt.replace(/:|\\/g, "\/");
              gSet.findWhatEdTxt = gSet.findWhatEdTxt.replace(/([A-Z])(\/\/)/i, "/$1/");
              gSet.changeToEdTxt = gSet.changeToEdTxt.replace(/([A-Z])(\/\/)/i, "/$1/");
              gSet.findWhatEdTxt = gSet.findWhatEdTxt.toLowerCase();
              gSet.changeToEdTxt = gSet.changeToEdTxt.toLowerCase();
              if (File.fs == "Windows") oldPath = oldPath.replace(/([A-Z])(\/\/)/i, "/$1/");
              var newPath = oldPath.replace(gSet.findWhatEdTxt, gSet.changeToEdTxt);
              if (File.fs == "Windows") {
                   newPath = newPath.replace(/([A-Z])(\/\/)/, "/$1/");
              else if (File.fs == "Macintosh") {
                   newPath = "/Volumes/" + newPath;
              var newFile = new File(newPath);
              if (newFile.exists) {
                   currentLink.relink(newFile);
                   gCounter++;
                   WriteToFile("Relinked \"" + newPath + "\"\n");
              else {
                   WriteToFile("Can't relink \"" + newPath + "\" because the file doesn't exist\n");
         WriteToFile("\r--------------------- Script finished -- " + GetDate() + " ---------------------\r\r");
         if (gCounter == 1) {
              alert("One file has been relinked.", "Finished");
         else if  (gCounter > 1) {
              alert(gCounter + " files have been relinked.", "Finished");
         else {
              alert("Nothing has been relinked.", "Finished");
    function GetSettings() {
         var settings = eval(app.extractLabel("Kas_" + gScriptName + "_ver_" + gScriptVer));
         if (settings == undefined) {
              if (gOsIsMac) {
                   settings = { findWhatEdTxt:"//ServerName/ShareName/FolderName", changeToEdTxt:"ShareName:FolderName" };
              else {
                   settings = { findWhatEdTxt:"ShareName:FolderName", changeToEdTxt:"//ServerName/ShareName/FolderName" };
         return settings;
    function ErrorExit(myMessage, myIcon) {
         alert(myMessage, gScriptName, myIcon);
         exit();
    function WriteToFile(myText) {
         var myFile = new File("~/Desktop/" + gScriptName + ".txt");
         if ( myFile.exists ) {
              myFile.open("e");
              myFile.seek(0, 2);
         else {
              myFile.open("w");
         myFile.write(myText);
         myFile.close();
    function GetDate() {
         var myDate = new Date();
         if ((myDate.getYear() - 100) < 10) {
              var myYear = "0" + new String((myDate.getYear() - 100));
         } else {
              var myYear = new String ((myDate.getYear() - 100));
         var myDateString = (myDate.getMonth() + 1) + "/" + myDate.getDate() + "/" + myYear + " " + myDate.getHours() + ":" + myDate.getMinutes() + ":" + myDate.getSeconds();
         return myDateString;
    You can specify a platform-specific path name, or a path in a  platform-independent format known as universal resource identifier (URI)  notation, or Mac OS 9 path name (for Mac).
    For example any of the following notations are valid:
    Windows
    c:\dir\file (Windows path name)
    /c/dir/file (URI path name)
    //10.44.54.70/Test/images (uniform naming convention (UNC) path name of the form //servername/sharename)
    //Apple/Test/images
    \\10.44.54.70\Test\images (Windows path name)
    \\Apple\Test\images (Windows path name)
    where 10.44.54.70 IP  address of the server, Apple -- DNS name of the server, Test -- share name
    Mac
    The following examples assume that the startup volume is MacOSX, and that there is a mounted volume Remote.
    /dir/file (Mac OS X path name)
    /MacOSX/dir/file (URI path name)
    MacOSX:dir:file (Mac OS 9 path name)
    /Remote/dir/file (URI path name)
    Remote:dir:file (Mac OS 9 path name)
    Remote/dir/file (Mac OS X path name)
    You can just copy a part of the path in Links panel and paste it to the script's dialog. In CS4, make sure to choose "Copy Platform Style Path" in context menu.
    The case of the characters doesn’t matter: you can type both in upper and lowercase in the script's dialog. For example  — Test, test, TEST, TeSt — are all the same for the script.
    Regards,
    Kasyan

  • PDF file linking on a CD (Acrobat Pro / InDesign CS3)

    Weve put 9 pdf documents on a CD (made in Mac InDesign CS3) for a client. The original plan was to hyperlink them together using icons (representing the other pdfs) that appear on each page of each document. Unfortanately were on to plan B as InDesign pdf links stop working once you copy them onto the CD.
    Is there a way to globally or automatically to apply hyperlink hotspots in Acrobat Pro? While I know I can make links that work on a CD in Acrobat Pro -- the best I could do in this case was pasting and repositioning link hot spots by hand on every page - and that was just one document.
    Any suggestions?
    Phil

    Will the Interactive PDF, along with the Word doc be written to the CD? And your hopes are the user will insert CD, open PDF, click link in PDF which opens Doc in Microsoft Word? You can accomplish this in many ways, but a few questions first...
    1. Does the content need to remain as a Word Document?
    2. Does the Word doc need to reside on CD?
    3. Are you using Mac or PC?

  • Win: ExtendScript Tool Kit 2: Can't connect to Indesign CS3 Debug

    Hi
    I have a script for Indesign CS3 and like to debug this in ExtendScript ToolKit 2. But I can't connect to Indesign CS3 Debug.
    - I start Indesign and try to debug the script -> A message is show to start Indesign CS3. If I say yes, a message is shown that Indesign CS3 is loaded... But this message remains on the screen
    - The same if I don't start Indesign CS3 manually.
    - If I try it with Illustrator or Photoshop (both release versions) it works!
    What could be wrong?
    Thanks
    Hans

    Hello,
    I have exact the same problem with soundbooth. And also that extended script is working fine with photoshop. I have tested it on 4 different computers. Updated windows to sp3, and updated all adobe software.
    So it's definitely not a mess in the system (beside the mess of software 1,2 Gb you have to install for only soundbooth!!, Cool edit pro, which adobe took over from which soundbooth is a spin off, was only 20Mb....)
    The technical help form adobe won't look at this if you don't buy the software first. But after some pressure they looked at the problem but couldn't find anything about it in there system.
    Please advise how to solve this
    Richard

  • Italics and boldface not preserved in cut-and-paste from InDesign CS3

    This is using Mac InDesign CS3 5.0.1 and Mac Dreamweaver CS3
    9.0.
    When cuting-and-pasting text from InDesign CS3 to Dreamweaver
    CS3, basic text formatting such as italics and boldface are not
    preserved for me. When I select Edit, Paste Special in Dreamweaver,
    the "Text with structure plus basic formatting (bold, italic)" is
    not selectable when the clipboard holds InDesign-origin text.
    If I paste the same InDesign text into Word, the formatting
    is preserved and if I then cut-and-paste from Word into
    Dreamweaver, boldface and italics are preserved. But I don't want
    to cut-and-paste everything twice!
    Do others experience this too?
    -Tim Miller Dyck
    Editor/Publisher
    Canadian Mennonite magazine

    Apparently it is an issue with Leopard (and Illustrator)
    Workarounds:
    1) Export from InDesign as eps or PDF, or
    2) Copy paste into Photoshop as a Smartobject, and then double click the layer to edit smart object (it will open in Illustrator)
    I know, it's a pain.
    Ian

  • Indesign CS3 what script for Break Out Text Frame ??

    hi expert,
    Indesign CS3 can Break Out Text Frame or Have Script ??
    like this...
    http://img402.imageshack.us/img402/905/20080517085017hb3.jpg
    thank for tell

    you mean - convert/split multicolumn TextFrame to separated TextFrames ?
    for PC or MAC ?
    robin
    www.adobescripts.com

  • Installing InDesign CS3 on Mac OS 10.9.5 Mavericks

    Installation of InDesign CS3 on Mac OS 10.9.5 Mavericks
    This question is Not Answered.
    s c perks Oct 14, 2014 6:04 AM
    1. I have InDesign CS3, which I bought about 6 years ago, and installed on my MacBook Pro. I have now got a new Mac Pro running OS 10.9.5 Mavericks. When I bought the machine I asked Apple if I would be able to install my InDesign and they said there would be no problem. But it will not install. The intsllation fails every time near the end. It installs Bridge and one other components, both of which it calls shared components. But InDesign is not installed.
    I went to the Adobe web site and looked up what to do. I got to a page that had my product on and it seemed to be telling make I must download an installer. When I clicked on this link, however I got a page with the following message:
    HTTP ERROR: 404 /support/downloads/dlm/main.jsp
    RequestURI=/support/downloads/dlm/main.jsp
    I do not know what to do now.
    2. If I do download an installer (I did not need to do this when I first installed the programme on my lap top MacBook Pro 6 years ago, but just installed it from the disc), how do I get rid of the downloader afterwards, since I read somewhere, but cannot remember where, that I should get rid of the installer afterwards but that I should not put it in the trash bin?
    Thank you for any help you can give me.
    Stephen Perks

    Many thanks for your help. I will try this. After posting this question yesterday I contacted Adobe and was astonished to find that they do not sell InDesign and do not support it and that one can only upgrade to monthly or yearly rental of CreativeCloud. I'm afraid for me this is nonsense, and I consider it very bad practice on Adobe's part. I will have to go to QuarkExpress instead if I cannot install Indesign CS3, which I nearly did do 6 years ago, but after reading such good reviews of InDesign and got it. I wish now I'd got Quark! I appreciate your help.

  • indesign cs3 won't launch in mac os 10.4.11

    indesign cs3 does not complete its launch in mac os 10.4.11.
    [i'm running a powermac dual 1.25 ghz power pc g4 mirror door].
    the same happens with illustrator cs3.
    photoshop cs3 launches just fine.
    can anyone help?
    thanks.

    the launch doesn't even reach the splash screen; it's aborted very early in the process.
    i simply get the mac "the application unexpectedly quit" box with no error code.

  • I bought a Mac PowerBook in 2008. It came with InDesign CS3. I did not use it. My computer was stolen in 2014. I had backed up the hard drive. I reinstalled on my new Mac laptop. I want to use the CS3 now. It will not download or install. What do I do?

    I bought a Mac PowerBook in 2008. It came with InDesign CS3. I did not use it. My computer was stolen in 2014. I had backed up the hard drive. I reinstalled on my new Mac laptop. I want to use the CS3 now. It will not download or install. What do I do?

    From where are you trying to download it?

  • InDesign CS3 crashing in Mac 10.6.8

    As suggested by John Hawkinson in the InDesign CS3 crashes when printing in OSX Lion thread I've started a new discussion for this.
    I'm running Snow Leopard - 10.6.8. I would like to upgrade to Lion but until I can confirm CS3 is all working I'd rather not. I bought CS3 initally when I was in a much better financial situation and currently I just can't afford the upgrade to CS5. So I need to make this work the best I can for the time being but since the last OS update I'm getting lots of problems.
    The first problem is placing an image. I go to file, click place and as I'm navigating to an image and the application just closes. I get a "Problem Report for InDesign" dialog and the message "Indesign quit unexpectedly"
    http://pastebin.com/sGnLp21B
    The second problem is exporting to pdf. I click export, choose PDF and regardless of whatever settings I choose when I click export I get this crash report:
    http://pastebin.com/vwBDfBaF
    The file I'm working on was created prior to upgrading to 10.6.8 and allowed me to place images and export just fine. I wondered it if was a corrupted file but I have since started new ones with exactly the same results.
    When I initally googled this problem I found someone with a similar kind of error and they suggested creating a new account worked for them and they were able to run CS3 as before. I tried that and it did indeed work. So I can run a copy of CS3 (not updated, installed as it was straight out of the box) fine on a second account but this one seems to crash on even the most minor of jobs.
    I initally had some problems installing CS3 on my macbook pro (prior to this machine I'd had a mac pro running tiger without issue). I found the Adobe Updater would cause Illustrator to crash when opening after the updates had all been applied. I fixed this problem by doing a fresh install and updating each application manually by downloading the updates from the support site. Until now I had not had anymore issues.
    If more information is needed please just let me know, I've not posted here before so it's quite possible I missed something.

    Hi.
    The first thing to notice is that you're not running the current version of CS3:
    Version:         5.0.0.458 (5000)
    The latest update to CS3 is 5.0.4, which I believe has fixes for a bunch of similar problems: http://www.adobe.com/support/downloads/detail.jsp?ftpID=4029
    . You should definitely install the update before we look too-too closely at the crashes.
    Are you using Version Cue? The first crash report appears to be related to it.
    The second one...I forgot how CS3 sometimes doesn't include symbol information in the crash report. It's a bit of a pain to figure it out, so I'll defer until we see if the update doesn't solve your problem. Though the Apple version of the crash report may have more information, if you get that or have access to it (it should be visible in Console.app in ~/Library/Logs/CrashReporter.
    So I can run a copy of CS3 (not updated, installed as it was straight out of the box) fine on a second account but this one seems to crash on even the most minor of jobs.
    I initally had some problems installing CS3 on my macbook pro (prior to this machine I'd had a mac pro running tiger without issue). I found the Adobe Updater would cause Illustrator to crash when opening after the updates had all been applied. I fixed this problem by doing a fresh install and updating each application manually by downloading the updates from the support site. Until now I had not had anymore issues.
    I'm not quite sure I follow -- it sounds like you're aware there are updates, but you mention updating as it if is per-account. But it's not. When you update InDesign (or anything Adobe) on one account, the updates get applied across-the-board to the whole system.
    What is different between user accounts is InDesign preferences, so if they have gotten corrupt, you can have problems. (There are other differences, too, of course...).
    You should update InDesign to 5.0.4 and then trash your InDesign preferences (see the link in the Troubleshooting 101 box on the main forum page), and see if that helps.

  • InDesign CS3 script that changes fonts on open

    Hello.
    I am trying to come up with a script that would change a specific group of fonts, that will always show up missing, to the new font. Basically, it is a bunch of our postscript fonts that are now using our open type font. Below is what I have so far. I want to create a list that goes through about 8 fonts that are old and replace them on the fly with the 8 new fonts. This would be great if I could have this happen on open.
    Can anyone see what I have and offer some guidance?
    thanks
    babs
    Open this Scriplet in your Editor:
    tell application "Adobe InDesign CS3"
       set find text preferences to nothing
       set change text preferences to nothing
       tell application "Adobe InDesign CS3"
           set OLDfont to {"times", "arial"}
           set NEWfont to {"times new roman", "helvetica"}
           --set find what of find text preferences to testString
           tell document 1
               repeat with swap from 1 to 2
                   set NEWfont to item swap of OLDfont
               end repeat
           end tell
       end tell
    end tell

    For starters, you're going to have to use the correct font names, including correct capitalization. The property you want to change is "applied font", not "find what". And it would probably be more sensible, to go through all paragraph and character styles and make the changes there first, otherwise you'll have troubles again every time you edit stuff.
    So start off by getting the name of the font used in every paragraph style, and loop through your list to see if they should be changed. Do the same for character styles. And then do the find/change to find any that have been applied manually.

  • What Mac operating systems work with Indesign CS3?

    What Mac operating system will work with Indesign CS3? I have 10.5.8 and need to upgrade to 10.7 so that my new laser printer will work with my Mac.
    If one buys a new Mac 10.8 or 10.9 will ID CS3 work?

    Maybe…maybe not. It certainly won’t be supported and under no circumstance should you use migration assistant to move it to a new machine. With that I can almost assure you it won’t work.

  • Opening a MAC generated file of Indesign CS3 with a PC

    I have a MAC generated .indd file (CS3) and cannot open it with my PC version of Indesign CS3. When I try to open the documennt the content manager pops up and says "Cannot open "file name" file" It gives a suggestion of updating to a newer version of Indesign, checking for updates, or updating plugins. Is there any way to open a MAC generated indd file on a PC? Any suggestions would be greatly appreciated.  Thank you.

    Hi Bob,
    I actually have it in CS 2, 3, and 4, but all of those versions are created
    on a MAC. I can have it created in any version, but I only have version
    3.0.1 on my PC, which is the only computer I have Indesign on. I have also
    tried opening it in an INX file, without any success.. Any suggestions?
    Sales & Service
    Stanley, WI USA
    FreyMoto.com
    PH: 1-800-374-0933

Maybe you are looking for

  • How do I transfer notes from iphone to PC ?

    I have type a lot of notes but wonder how to transfer it to my PC. Any comment ?

  • Recording from old vcr

    I have a panasonic vcr and want to transfer video tapes onto dvd . Is the best way of doing this by scart from vcr to dvd recorder or is it better to transfer onto my apple imac G5 and then burn onto the dvd. I would prefer to use the G5 route as I t

  • How to show a report of reports3.0 in intranet hosted by IIS Server

    Hello i had created a report in Reports 3.0 and i wanted to run the report on personnel dash board of the INTRANET withe user login specified parameters and the Intranet was hosted by IIS SERVER Urgent help needed Regards BUSI KIRAN KUMAR

  • Tip for creating auto-updating Smart Playlists for iPod

    Short Answer: Don't use Smart Playlists that use rules with nested playlists which aren't completely on iPod. Long Answer: If you're like me and use nested Smart Playlists, make sure that any Smart Playlist you want to have auto-update on the iPod do

  • Service Desk - third party interface using XI content

    Dear all, I am looking for any guide/documents or any procedure to connect a third party interface to solution manager service desk using the XI content available in Solution Manager. I have got information about how to use web services to meet the r