Back

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

Forum Replies Created

Viewing 15 posts - 61 through 75 (of 106 total)
  • Author
    Posts
  • in reply to: Batch convert Indesign page size script #117173
    Jeremy Howard
    Participant

    I’ll take a look at it in the morning. If you want to increase the odds of me figuring something out then send one of the indesign docs to howarddesigns@live.com

    Have a good weekend!

    in reply to: Batch convert Indesign page size script #117169
    Jeremy Howard
    Participant

    Are all of these documents a single page?

    in reply to: Batch convert Indesign page size script #117165
    Jeremy Howard
    Participant

    If you are using AppleScript then make a copy of your files into a new folder (just in case this doesn’t work as expected) and try this “quick and dirty” script that I just wrote up:

    (* select all of the files that you would like to convert *)
    tell application “Finder” to set theFiles to selection

    repeat with currentFile in theFiles

    (* opens each file in the default application – this will be whatever the latest version of InDesign is on your machine *)
    tell application “Finder” to open currentFile

    tell application “Adobe InDesign CC 2018”
    (* repeat/try combo checks to see if the front document is open. As soon as the script can set the active document as a variable this repeat will be exited *)
    repeat
    try
    set myDoc to active document
    exit repeat
    on error
    delay 1
    end try
    end repeat

    (* your preferences here *)
    tell document preferences of myDoc
    set page height to “48mm”
    set page width to “51”
    set document bleed top offset to “0”
    set document bleed uniform size to true
    end tell

    (* Save the document in place and close it *)
    tell myDoc
    save
    close
    end tell
    end tell

    end repeat

    in reply to: Batch convert Indesign page size script #117163
    Jeremy Howard
    Participant

    Hello Tim,

    This could certainly be handled by a script but before you start down that path, let’s figure out if this can indeed be done by utilizing InDesign’s book feature (I think you might have had the right idea).

    Open the book that you added all of your documents to.

    Open the document that is being used as your style source. (this will be the document listed in your book with a small icon to left of the name).

    go to the Master page and adjust the page size to your liking and save the document.

    Go to the flyout menu in the book panel and choose “Synchronize Options”.

    Make sure that the “Master Pages” check box is ticked (This is NOT ticked on by default)

    Now synchronize your book by going to the book panel’s flyout menu and choosing “Synchronize Book”.

    If all of your master pages have the same name across all of the documents then that should do it! Spot check a few of your documents to be sure that the change took effect and be sure to let us know if this worked for you.

    Thanks,

    Jeremy

    in reply to: Beginner GREP Question #117151
    Jeremy Howard
    Participant

    Hello Ian,

    When you include “^” in your expression, you are basically anchoring the expression to a specific point on the front end. Before you added that part to your expression, the GREP was searching more generally and essentially looking for any characters that appear before “:” at any point, anywhere in your text.

    Make sense?

    in reply to: Span bug, please help #117035
    Jeremy Howard
    Participant

    The title is in the right column, correct?

    I want to try to recreate the issue so that I might be able to offer some assistance =)

    Jeremy Howard
    Participant

    Hello Andrew,

    I think that things are getting confused because you are referring to the data sets as “tabs” when we are trying to match on literal tab characters to figure out where to format text. Perhaps it would help if I explained what my GREP expression is doing.

    Here is the entire expression:
    .+.+\K.*?(?=(?!£))

    Let’s break it down into it’s different pieces so that we can better understand what is happening. Here is part 1:
    .+.+\K

    .+ this is the expression for one or more characters (any character is covered by this)

    – this is a tab character

    .+ one or more characters

    tab character

    \K Ignores everything matched up until this point

    so, at this point, the GREP expression is stating that it should match one or more characters TAB one or more characters TAB and then, with the “\K” we are stating that we do not want to apply any character styling to those matches.

    Here is part 2:
    .*?

    .*? this is the expression for zero or more characters. I used this, rather than the “.+” because doing it this way is “non-greedy” meaning that it will match only what it needs to in order to meet the conditions of our statement. Conversely, “.+” is “greedy” – it will always try to match as much as it possibly can.

    Part 3 is where things begin to get tricky:
    (?=(?!£))

    What we have here is a nested look-around (a negative look-ahead nested within a positive look-ahead). We are essentially saying that we want to look ahead to a tab character () that is not followed by “£”.

    Let’s see how all of this matches up to the example that you gave:

    View post on imgur.com

    in reply to: Help With Row Height In Table #116978
    Jeremy Howard
    Participant

    If all of the text is set up with proper paragraph style sheets then you can go into the “Advanced Type” tab and play with the horizontal and vertical scaling… Doing this should leave the table rows the same height because the rows don’t respect scaling for resizing purposes.

    Jeremy Howard
    Participant

    While this is certainly possible through GREP, the more simple solution would be to use nested styles. Apply character style x through 2 words.

    That being said, this would be the GREP string to use:

    ^(\<.*?\>){2}

    Jeremy Howard
    Participant

    You could do it with this:

    .+.+\K.*?(?=(?!£))

    But that assumes that there will always be a “£” symbol after the final tab character in the line…

    Jeremy Howard
    Participant

    Hey Andrew,

    GREP can be a bit frustrating when you first start diving into it but I think it’s great that you’re giving it a go.

    The issue with your grep is that you are stating that the style should be applied to the beginning fo the paragraph (^) then one character (.) and then two consecutive tabs (). What I would use for something like this is “\K” which causes the GREP string to ignore everything matched before it.

    Here is the GREP string that I used to make this work:
    .+.+\K.(?=)

    This expression is stating that it should match, but not style, everything before the \K (.+.+)

    The first part, (.+.+) says: one or more characters (.+) one tab character () one or more characters (.+) one tab character () IGNORE the matched stuff before here (\K) one character (.) with a positive lookahead to a tab ((?=))

    in reply to: Help With Row Height In Table #116943
    Jeremy Howard
    Participant

    Hey there!

    There is a way to set a static row height. What you’ll want to do is, select the row that you are going to be changing the type treatment and you should see height and width options in the quick tools in your toolbar. Click the little drop-down menu that says “At Least” and change it to “Exactly” — this will set a static height on that row.

    If, for whatever reason, you don’t see the cell height/width measurements in your quick tools then you can select the row, right click and go to Cell Options > Rows and Columns…

    That will bring you to a dialog where you can set your row height to an exact measurement.

    in reply to: Dealing with Asymmetrical Margins In Facing Pages #116904
    Jeremy Howard
    Participant

    Vinny,

    Sorry for not seeing this and getting back sooner, you are 100% correct! Setting the amrgins properly made it so that the entire document reflowed without an issue!

    Who knew margins were good for something other than looks? =)

    in reply to: Dealing with Asymmetrical Margins In Facing Pages #116861
    Jeremy Howard
    Participant

    Hey David,

    Thanks for the response, I was afraid that was going to be the case. =) First, thanks for letting me know about the script, that will be very useful either in this or in future projects! Second, I managed to find a workaround (however clunky it may be)…

    For easy math, let’s assume the following:
    • The final page width is 8.5″
    • The margin design on the outer edge is 1″
    • The margin near the spine is 0.5″

    Now we can follow these steps:
    1.) Go to “Document Setup” and set the page width to (final page width – margin design width) or, in this case, (8.5″ – 1″) – This will bump the margin design off of the page and onto the pasteboard

    2.) Go back to “Document Setup” and add the inside margin to the page width (7.5″ + 0.5″) – Now we have equal margins on the inside and the outside of the document

    3.) Add and/or delete pages as needed

    4.) Go to “Document Setup” and restore the document to the final page width (8.5″)

    5.) Move the margin designs back onto the page on the master pages.

    I realize that this seems rather convoluted but it does work! And, as many are known to say in our industry, If it works, it works!

    Here is a screenshot of the proof of concept file that I cooked this method up with:

    View post on imgur.com

    in reply to: GREP paragraph style question #116856
    Jeremy Howard
    Participant

    It seems that I answered my own question! The image embedded by simply placing the url in the comment… Cool!

Viewing 15 posts - 61 through 75 (of 106 total)