CS6 Epub Output and XHTML File Names

Is there any way to customize or otherwise assign specific names to the XHTML files InDesign CS6 assigns to the various sections it creates when it splits files for an epub? I mean, if my InDesign file is named ""InDesign_File Name.indd", the autosplit XHTML files in the epub will be namedinstead of "InDesign_File Name-1.xhtml", "InDesign_File Name-2.xhtml", "InDesign_File Name-3.xhtml" etc. What I would love is if InDesign would use the NCX nav-panel entry text fields to name the XHTML files, although I see why that would be hard to program, since NCX entries don't necessarily require separate XHTML files to link to and can link to more than one anchor in a single file. But still, it could be like a text variable first-or-last-on-page option.
What I am saying is that HTML files named "Dedication.xhtml" "Prologue.xhtml", "Chapter_1.xhtml", etc., would be easier to work with if there was an easy way to generate them short of breaking the single book-length file into pieces and recompiling it as an InDesign book. Is there any way to make that happen?

As far as I know, you'd have to manually rename the HTML files, then fix the names in the Manifest of the "content.opf" file.

Similar Messages

  • CS6 Epub Output and Duplicating Images

    Situation: A book with a single image that is used repeatedly--once on every chapter opener. Call it, say, "ChapterOpenerImage.jpg". On epub output, each instance of the image seems to get its own file created and placed in the epub images folder: ChapterOpenerImage_fmt1.jpg, ChapterOpenerImage_fmt2.jpg, etc; and obviously each gets its own href on the chapter opener.
    May I ask why this is necessary, and if it can be overridden? I'd like to be able to drop a different version of "ChapterOpenerImage.jpg" into the epub images folder and have it update everywhere, without having to either duplicate it and rename it as many times as necessary, or without having to go into the code and use reg-ex searches to make all the hrefs uniform.
    Thanks for any help!

    This was actually an issue (bug?) that was introduced in CS6. If you unchecked "Preserve Appearance from Layout" on the Image tab of the Epub export dialog box in CS5.5 you would get one image that was linked multiple times. Now in CS6, unchecking that box doesn't seem to make a difference.
    I use Find & Replace in Dreamweaver or Text Wrangler's (free) Multi-File Search to find the grep expression ChapterOpenerImage_fmt\d*.jpg and replace it with ChapterOpenerImage.jpg.
    You will also need to clean up the content.opf file but they will all be together so it's easy to do that.
    Hope they fix it. I think they will since it was correct in CS5.5.

  • Epub with multiple xhtml files

    Would it be possible to add the functionality that an InDesign file can output to epub creating multiple xhtml files without having to use the Book feature? It should be the case that ID can split the content by chapters (TOC) for individual files to the epub. It is recommended that these files be below 100k for optimal epub functionality.
    Thanks, Lynn

    You load one file per command and then you can consolidate once the last file is loaded.

  • How to use jsp and xhtml files in an application

    This is web.xml file,
    <web-app>
    <context-param>
         <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
         <param-value>.xhtml</param-value>
    </context-param>
    <context-param>
    <param-name>facelets.DEVELOPMENT</param-name>
    <param-value>true</param-value>
    </context-param>
    <servlet>
         <servlet-name>Faces Servlet</servlet-name>
         <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
         <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
         <servlet-name>Faces Servlet</servlet-name>
         <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
    <listener>
    <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
    </listener>
    <context-param>
    <param-name>javax.faces.CONFIG_FILES</param-name>
    <param-value>/WEB-INF/faces-config.xml</param-value>
    </context-param>
    </web-app>
    If i configure like this, i am not able to work with jsp file.
    So, how to configure web.xml file to work with both jsp and xhtml file.
    Thanks,
    Vinutha.

    Hi Sam,
    To Use properties file you need to keep the properties file in a location and in the code you need to mention the path from where it should read in the runtime.
    Fuego.Io.PropertiesFile propfile;
    propfile.load(fileName : "<Path: C:/sample.properties>"); //Path: Place the properties file in the respective directory/drive and mention the path
    String val = propfile.get(key : "One"); //One - is the key against which the value should be mentioned in the properties file like <One = 1>. It should return 1
    logMessage("Value: " + val);
    To use the Enum in your project first create a Module in your catalogue component and then right click on module create New Enumeration say ProcessStatus
    Uncheck the Is Sequential if you want to keep key/value as pair. Click on add +* and mention the Name and Value say ABORTED as Name and Value as Aborted. To use it in your project conditional path write the condion as somevariable == String(ProcessStatus.ABORTED)
    Hope this will help you.
    Bibhu

  • I can not transfer date from one hard drive to another, I keep getting an error because I have two of the same file names and one file name is in caps and I cant change the file name

    can not transfer date from one hard drive to another, I keep getting an error because I have two of the same file names and one file name is in caps and I cant change the file name. My original external has an error and needs to be reformatted but I dont want to lose this informations its my entire Itunes library.

    Sounds like the source drive is formatted as case sensitive and the destination drive is not. The preferred format for OS X is case insensitive unless there is a compelling reason to go case sensitive.
    Why can't you change the filename? Is it because the source drive is having problems?  If so is this happening with only one or two or a few files? If so the best thing would be to copy those over individually and then rename them on the destination drive.
    If it is more then you can do manually and you can't change the name on the source you will have to reformat the destination as case sensitive.
    Btw this group is for discussion of the Support Communities itself, you;d do better posting to Lion group. I'll see if a host will move it.

  • Opening a new file in photoshopcc and the file name is displayed but no white working canvas. you can see it as a layer in the layers panel and if i draw on the grey area i can see int on the layer but not on the main screen.

    opening a new file in photoshop cc and the file name is displayed but no white working canvas. you can see it as a layer in the layers panel and if i draw on the grey area i can see int on the layer but not on the main screen.

    Graphics card is the problem.
    Trying to update drivers now.
    Thanks for your help
    john

  • Information about file Id, Logical file name and Physical file name

    Hi All,
    I am testing one program. Selection screen has 3 parameters, File Id, Logical File Name and Physical file name. In Physical File name, i am giving complete file name with path. But it is giving error. Please tell me, what is File id and what all information i need to enter for logical file name and physical file name.
    Thanks
    Puneet Aggarwal

    hi,
    try using this for filename.
    parameters : p_file like rlgrap-filename.
    Thanks,
    Gaurav

  • Logical file names and Physical file names

    Hi Guys...
         Can you let me know what is the difference between Logical file names and Physical file names?
    Regards,
    Rohit

    Using Logical Files in ABAP Programs http://help.sap.com/saphelp_nw04/helpdata/en/9f/db95e635c111d1829f0000e829fbfe/content.htm
    Creating and Defining Logical Filenames
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3df8358411d1829f0000e829fbfe/content.htm

  • Dynamic bad and Log file names!!

    Hi

    Hi
    I have the scenario like the data files would be passed as parameter to the mapping , and the mapping would have the premapping procedure which would change the file name in the external table definition. This works fine. But the one more issue I have is that, I would like to change the bad file,log file and discard file name also through this procedure. In other words, for each incoming data file I would like to create a bad ,log and disc file.So How do I accomplish in the present procedure which does the following alter table statement
    execute immediate 'alter table '||p_table_name||' location('''
    ||p_file_name||''')';
    Any suggestion would be greatly appreciated
    Thanks
    Balaji

  • Automate exports and imports (file names)

    Hi all,
    I will like to do a simple export and import into another schema in another database.
    I am very comfortable with the process but all i require is how to set the dump file and log file names to be the date and name of the database being exported and imported.
    For example when I do the export I want the dump file and logfile names to be exp_ORCL_230805.dmp and exp_ORCL_230805.log for database ORCL exported on 230805.
    For the import I want the logfile name to be imp_TEST_230905.log.
    I am doing this export and import on a windows xp client but the database reside on UNIX AIX boxes.
    Thanks alot

    Set up ORACLE_SID before you start the imp/exp session on the client, then you can use file=exp_%ORACLE_SID%_%DATE%.dmp etc. (Note that if your windows locale has a date format w/ whitespace you might have to write a script to get rid of it..)

  • CS6 Links Window Shows jpeg file name but not tiff or psd file name

    So I have a question, I noticed that in CS5 and CS6 that when i place a jpeg file in Illustrator, the file name does appear in the links window, but when i place a tiff or a psd file there is no file name in the links window, this drives me nuts.  Is there a way to see the files name of placed psd and tiffs in the links window?

    Here's my thoughts...
    1. You are a bit confused and I wonder how you can determine a file is a PSD or a TIF by looking at it?  Not all print drivers can recognize PSD's, but can recognize TIF ( this means almost all output devices can interpret TIF's no problem ).  That said, PSD's can manage layers better than TIF's which add to file size each layer you include in the TIF.
    2. Never say never.  This all depends on the file's use.  Layered TIFs can add complexity in which a print driver can or cannot deal with.  As you work on an image, you may want to merge layers for whatever reason(s) and you always have the option to flatten whenever you feel like it.  However, It is also a good idea to dupe the file as you move along.  That means you always have a layered version to fall back on should you need to edit later on.  I also Place transparent PSDs in Illustrator files with no problems.  But, I save as EPS in Illustrator and when I do that, then the file is automatically flattened.  This is perhaps what the internet was talking about.
    3.  Yes, see number 2 above.  There's no such thing as automatic flattening of TIFFs.  Again, this all depends on the printer and whether or not it can print while retaining original layers.  Some do, some don't.  Most of the time, I edit in PSD with layers intact.  Then, when I prep the file for printing, I will save a copy as a flattened TIFF so the file streamlines through the RIP and Print process.
    4.  Makes no difference.  Use 'em if you've got 'em.
    Try to get some good resource material at a library or college bookstore or barnes & noble.  Also, get Adobe's Print Publishing Guide.  This is a good reference guide.
    Message was edited by: John Danek

  • Automator: Create folder from suffix of filename and put file names with same suffix into folder

    I've been using a script to use automator to create a folder from the filename and put that file into it the folder just created.
    I have a bunch of files that have similar names to them, but I don't want every file to be put into its own folder, instead I want all files with the same suffix (001) to go into the same folder.  I would also like the folder name to just be named the same as the suffix (001) instead of the full file name.
    For example all of these files names that end with the same integer (001) should be dumped into the same folder named "001":
    Boston_ProRes422_1920x1080_24p_Audio_001
    Boston_ProRes422_3840x2160_24p_Audio_001
    Boston_ProRes422_3840x2160_24p_RAW_Audio_001
    Boston_ProRes422_1920x1080_24p_Audio_002
    Boston_ProRes422_1920x1080_24p_Audio_005
    Boston_ProRes422_1920x1080_24p_Audio_010
    Any help at all would be incredible!!
    Thanks!
    Here's the script I'm using right now:
    on run {input, parameters} -- create folders from file names and move
      set output to {} -- this will be a list of the moved files
      repeat with anItem in the input -- step through each item in the input
      set {theContainer, theName, theExtension} to (getTheNames from anItem)
      try
      set destination to (makeNewFolder for theName at theContainer)
      tell application "Finder"
      move anItem to destination
      set the end of the output to the result as alias -- success
      end tell
      on error errorMessage -- duplicate name, permissions, etc
      log errorMessage
      # handle errors if desired - just skip for now
      end try
      end repeat
      return the output -- pass on the results to following actions
    end run
    to getTheNames from someItem -- get a container, name, and extension from a file item
      tell application "System Events" to tell disk item (someItem as text)
      set theContainer to the path of the container
      set {theName, theExtension} to {name, name extension}
      end tell
      if theExtension is not "" then
      set theName to text 1 thru -((count theExtension) + 2) of theName -- just the name part
      set theExtension to "." & theExtension
      end if
      return {theContainer, theName, theExtension}
    end getTheNames
    to makeNewFolder for theChild at theParent -- make a new child folder at the parent location if it doesn't already exist
      set theParent to theParent as text
      if theParent begins with "/" then set theParent to theParent as POSIX file as text
      try
      return (theParent & theChild) as alias
      on error errorMessage -- no folder
      log errorMessage
      tell application "Finder" to make new folder at theParent with properties {name:theChild}
      return the result as alias
      end try
    end makeNewFolder

    Thanks Neil for the response! That script didn't work, but I did get it to work with my old script by changing "set TheName to" numbers different.  Here's my final script which creates folders named "001", "002", and so forth and dumps in the files that end in that same suffix in the matching folder.
    on run {input, parameters} -- create folders from file names and move
      set output to {} -- this will be a list of the moved files
      repeat with anItem in the input -- step through each item in the input
      set {theContainer, theName, theExtension} to (getTheNames from anItem)
      try
      set destination to (makeNewFolder for theName at theContainer)
      tell application "Finder"
      move anItem to destination
      set the end of the output to the result as alias -- success
      end tell
      on error errorMessage -- duplicate name, permissions, etc
      log errorMessage
      # handle errors if desired - just skip for now
      end try
      end repeat
      return the output -- pass on the results to following actions
    end run
    to getTheNames from someItem -- get a container, name, and extension from a file item
      tell application "System Events" to tell disk item (someItem as text)
      set theContainer to the path of the container
      set {theName, theExtension} to {name, name extension}
      end tell
      if theExtension is not "" then
      set theName to text -5 thru -((count theExtension) + 4) of theName -- just the name part
      set theExtension to "." & theExtension
      end if
      return {theContainer, theName, theExtension}
    end getTheNames
    to makeNewFolder for theChild at theParent -- make a new child folder at the parent location if it doesn't already exist
      set theParent to theParent as text
      if theParent begins with "/" then set theParent to theParent as POSIX file as text
      try
      return (theParent & theChild) as alias
      on error errorMessage -- no folder
      log errorMessage
      tell application "Finder" to make new folder at theParent with properties {name:theChild}
      return the result as alias
      end try
    end makeNewFolder

  • Appending in file and supplying file name at run time using File Adapter

    Hi,
    Can we use File Adapter to write in a file in append mode. i.e. a BPEL process opening a file appending some text and closing the file each time it called.
    Another query is can we create the file at run time with the supplied file name?

    In order to append to a file, we can use Append="true" in the interaction spec for the File/Ftp adapter.
    <jca:operation
    FileType="ascii"
    PhysicalDirectory="/home/adapter/output"
    FileNamingConvention="OutputFile.txt"
    NumberMessages="1"
    Append="true"
    >
    Filename we can specify in wsdl...

  • XI R2 link between CUID and the file name in the I-FRS

    Hi,
    I would like to know how can I make the link between the file name of a webi document in the I-FRS and the CUID of this document in XI R2.
    In the activity universe, I made a report showing a list of webi document with their CUID.
    I would like to find them back in a backup of the I-FRS.
    In XI R3 it appear that the name of the webi document in the I-FRS is the CUID of this document.
    Vincent

    I'm sorry but you're in a really, really bad place.  I've thought about this and can only come up with one idea.
    Webi docs in XIR2 cannot be opened directly as a crystal report or deski file can.  You would need the rich client in XI 3.1 in order to open any of the .wid files stored in your I/O folders.  And even then, you might get a security error when opening since the docs were created inside another environment. 
    But if you open a webi doc with wordpad, it will give you the document name as well as a bunch of other info. Make sure you use wordpad and not notepad, otherwise formatting will make it near impossible to read.  Search for this section:
    <DOCUMENTPROPERTY NAME="name">Average Refresh Time</DOCUMENTPROPERTY>
    Unfortunately, there's really no easy way to do this.  Start with the Input FRS since those represent your report templates.  The Output FRS are all of your scheduled instances.  Since you have the auditing db, you could report off of it to give yourself a unique list of all report names and start cross referencing what you find doing the wordpad trick.  But I don't see an easier way.  Windows doesn't see the .wid file as text and therefor won't search within the file when doing a text search.  It'll only search the file attributes.  The bigger problem I see is even when you have your list of document names matched to a physical file, what are you going to do with it?  Importing a loose Webi doc into XIR2 isn't possible.  Plus, you're still missing the universes and universe connections.  Your webi docs rely on these to process. Your only chance would be to try the XI 3.1 Webi Rich Client and see if that allows you to open but you'll still have the universe problem.
    I wish I had better advice for you.  Ultimately if you could find a backup of the CMS db somewhere that would help tremendously.  Without it, you have next to nothing.

  • Export dump file and log file  name as sysdate in script

    Hi to All,
    Can anybody help me to give logical backup export dump file namd log file name is as contain sysdate in its name so that we can Uniquelly identified it.
    Regards
    DXB_DBA

    On windows it gets a bit hairy as there really is no clean and nice way of doing it.There are a couple of options.
    1. If you can rely on dateformat not changing, you can use a static substring expression. For example, the following might work w/ finnish locale echo %date:~3,2%%date:~6,2%%date:~9,4%Similarly, when you know the dateformat you can tokenize the output of 'date /t' and discard the tokens you don't want.
    2. You can set dateformat to your liking and then just use %date% in your script
    3. You can run a "SELECT to_char(sysdate,..." into a file and then read that file in your script.
    4. Simon Sheppard also has a solution you could use as a basis. I have a slight issue with the approach, but that could just be me.
    5. Use gnuwin32 or similar ;)
    Also note that %date% env var is set automatically from w2k onwards, so some of the solutions might not work w/ older versions.

Maybe you are looking for

  • Chinese characters missing in PDFs (Preview)

    Hi there! In many of the Chinese language PDFs from journal articles, bits are missing: rare characters, western letters and numbers. The PDFs display fine in Adobe Reader, but not in Preview, Devonthink, and on the iPad in PDF expert. Any suggestion

  • Voicemail waiting indicator will not quit flashing

    I am using the home phone connect and I had a voicemail. I deleted it and the message waiting indicator will not stop flashing. When I go into the menu it says there are no new messages. So I went into the personal options and selected message wating

  • IPhone calendar sync question

    What do I change so that when I sync, events entered on my iphone 3GS calendar sync to my computer calendar? Events entered on my computer sync to my phone, but NOT vice versa. I have "sync all calendars" checked off in itunes info screen.

  • Using Type Input in Conditional Statement

    If the user types "ball" in the input textfield, instance name: name_txt, I want to move to the next frame and stop. Can somebody tell me, what I am doing wrong here? Thank you! submit_btn.addEventListener(MouseEvent.CLICK, onClick); function onClick

  • GUI based multiplayer game

    Can i use JAVA FX for creating simple GUI based multiplayer card game?