Back

If your email is not recognized and you believe it should be, please contact us.

Forum Replies Created

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • in reply to: Empty space between pages #76245

    Hi, so do you think it is normal ?
    Thank your for your answers !

    in reply to: Empty space between pages #76198

    (Sorry for the multiple answers, but I couldn’t figure out where the code I was inserting in the forum failed)

    in reply to: Empty space between pages #76197

    Perhaps I’m missing something obvious, but even if I export an InDesign document used for exercices (here) and then export it, I get those empty spaces…

    in reply to: Empty space between pages #76196

    I’m obtaining this empty space between pages when I read each of these exported ePub on iBooks on iPad (which is supposed to be the default ePub player, right ?) :


    On iBooks on a Mac, I’m obtaining NO empty space between pages.

    So I wonder how Anne-Marie, or Terry White, when I see videos on Lynda.com or adobe TV achieve to export a ePub without those blanks.

    in reply to: Empty space between pages #76193

    And then export the document as a fixed layout ePub with any of these settings (based on document setup, convert spread to landscape page or disable spreads) :

    in reply to: Empty space between pages #76192

    Create 4 pages with a simple coloured rectangle fitting the whole page :

    in reply to: Empty space between pages #76191

    Hi David and Anne-Marie and thank you for your answers.
    Sorry for the bad picture, I’m explaining my whole process :

    In fact, if I start from scratch an Indesign document with these settings :

    in reply to: Empty space between pages #76188

    Test (the forum doesn’t seem to accept my answer)

    Hi,
    Another question would be : how would you tell Indesign which parts of your Word file you want to import ?
    In Excel you can specify which cell range you want to import.
    But in Word, it’s not possible. So you need to import all of your text THEN in InDesign remove the parts you don’t need. Thus you don’t have to modify in any way your Word files.

    You could achieve this with a script, as you said. But I can only help you if you’re on a Mac since I only know AppleScript.

    Arr, sorry, I’m not used with this forum…
    Here is the code :

    
    set theChapterColorName to "CHAPTER_COLOR" --or any name you'd prefer
    set theValidatedChapterColorName to theChapterColorName & "-OK"
    tell application id "com.adobe.InDesign"
    	activate
    	try
    		set myBook to active book
    	on error
    		display dialog "Please open an InDesign book first !" with icon 0
    		return
    	end try
    	
    	set myBook_Files to object reference of every book content of active book
    	
    	set theSourceINDD to style source document of myBook
    	set theSourceINDD_file to (full name of theSourceINDD) as string --path
    	set myBook_list to {}
    	repeat with myBook_File in myBook_Files
    		set myBook_File_path to (full name of myBook_File) as string
    		if myBook_File_path is not theSourceINDD_file then
    			set myBook_list's end to myBook_File_path
    		end if
    	end repeat
    	
    	
    	repeat with myBook_File in myBook_list --open all files except the style source document
    		open file myBook_File
    		tell document 1
    			set theChapterSwatch to item 1 of (every swatch whose name is theChapterColorName)
    			set theChapterSwatch_properties to properties of theChapterSwatch
    			set newProperties to {name:theValidatedChapterColorName} & theChapterSwatch_properties
    			set theReplacedColor to make new color with properties newProperties
    			
    		end tell
    	end repeat
    	
    	synchronize myBook
    	
    	repeat with myBook_File in myBook_list --open all files except the style source document
    		open file myBook_File
    		tell document 1
    			set theChapterSwatch to item 1 of (every swatch whose name is theValidatedChapterColorName)
    			set theBadSwatch to item 1 of (every swatch whose name is theChapterColorName)
    			theChapterSwatch merge with theBadSwatch
    			set name of theChapterSwatch to theChapterColorName
    		end tell
    	end repeat
    end tell
    

    Hi all,
    I had the same question and achieved it thanks to a script, but It will work only on Mac since I wrote it in AppleScript (I don’t know Javascript, sorry…).

    First, create a swatch whose name would be consistent across all documents in the book and relevant like “Chapter_color”. This swatch will be applied to anything related to the chapter, like titles, cell’s fill colors, etc.
    It’s essential to give it a name.
    If you sync it normally, the values of the swatch will be overwritten to match the values of the source file in the book.

    So the workaround is not to sync the book with InDesign directly, but let the script do it instead.
    The script “saves” the values of each document’s chapter color in a duplicated swatch, then re-create the swatch with these values.
    I didn’t find anything else to achieve it.

    Here is the script :

    ————————————————————————————————
    [code]
    set AppleScript’s text item delimiters to ""

    set theChapterColorName to "COULEUR-CHAPITRE"
    set theValidatedChapterColorName to theChapterColorName & "-OK"

    tell application id "com.adobe.InDesign"
    activate
    try
    set myBook to active book
    on error
    display dialog "Aucun livre n’est ouvert." with icon 0
    return
    end try

    set myBook_Files to object reference of every book content of active book

    set theSourceINDD to style source document of myBook
    set theSourceINDD_file to (full name of theSourceINDD) as string –path
    set myBook_list to {}
    repeat with myBook_File in myBook_Files
    set myBook_File_path to (full name of myBook_File) as string
    if myBook_File_path is not theSourceINDD_file then
    set myBook_list’s end to myBook_File_path
    end if
    end repeat

    repeat with myBook_File in myBook_list –open all files except the style source document
    open file myBook_File
    tell document 1
    set theChapterSwatch to item 1 of (every swatch whose name is theChapterColorName)
    set theChapterSwatch_properties to properties of theChapterSwatch
    set newProperties to {name:theValidatedChapterColorName} & theChapterSwatch_properties
    set theReplacedColor to make new color with properties newProperties

    end tell
    end repeat

    synchronize myBook

    repeat with myBook_File in myBook_list –open all files except the style source document
    open file myBook_File
    tell document 1
    set theChapterSwatch to item 1 of (every swatch whose name is theValidatedChapterColorName)
    set theBadSwatch to item 1 of (every swatch whose name is theChapterColorName)
    theChapterSwatch merge with theBadSwatch
    set name of theChapterSwatch to theChapterColorName
    end tell
    end repeat

    end tell
    [/code]

    ————————————————————————————————

    Of course it’s better if you know a bit of AppleScript…

Viewing 11 posts - 1 through 11 (of 11 total)