Back

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

Forum Replies Created

Viewing 15 posts - 256 through 270 (of 325 total)
  • Author
    Posts
  • in reply to: GREP find change in paragraph styles #74187
    Aaron Troia
    Participant

    Hey John,

    This might look messy (and there’s probably an easier way of doing it, I’m sure) but I got it to work even with multiple spaces after the bullet. Unfortunately you cannot integrate this as GREP in your paragraph style as the GREP feature in the paragraph styles does not have a replace field (I wish there was a Replace field, for situations like this), so you will have to do this with Find/Change.

    Find: ~8\K((\w)| +)(?!)
    Change: $2

    in reply to: Need a help with creating grep code #74186
    Aaron Troia
    Participant

    Hey Francis,

    Try this, it should work for both as long as the comma and space between stay the same, they could also probably be split apart into two, but if it works why do it twice. This GREP only catches the comma-space at the beginning or at the end (it only see’s the numbers as reference using a lookahead and a keep), so the only thing you have to do is replace them with your tab.

    Find: (^\d+\K, |, (?=\d+$))
    Change:

    in reply to: GREP question #74131
    Aaron Troia
    Participant

    Yes, in InDesign GREP a left double quotation mark is signified as ~{ and a right double quotation mark is ~}

    Aaron Troia
    Participant

    Hey David! Thank you for your response, I normally would use something similar to what you had (I’m being explicit and using a comma as an example) (\w)(?=\,), and I agree, it seems like there should be an easy solution. The problem I’m running into is if I add a character style or font style to the GREP search, to narrow it down the search a bit, it fails since I’m looking for both a word with a character style applied to it (in this case, italic) followed by a comma that has no character style applied to it, and it still fails even when using a positive lookahead :(

    in reply to: Print an EPUB's pages like a pdf #73713
    Aaron Troia
    Participant

    If you do a Google search for “Convert EPUB to PDF” there are plenty of services online, and I’m sure app’s that you could download, that will convert your ePub to PDF for you.

    in reply to: Basic Find/Change question #73684
    Aaron Troia
    Participant

    Oops, I used a lookbehind (?<=) in my previous post when I should have used a lookahead (?=)

    Find: +(?=\W|\w|\d)
    Change: \r

    in reply to: Basic Find/Change question #73671
    Aaron Troia
    Participant

    So it sounds like there is a lot of soft returns and you are wanting to clean them up as well as convert soft hyphens to hard hyphens? That’s kinda what it sounds like you’re saying with wanting to ” ‘let go’ of part of what you found for the CHANGE”

    This will find all the soft returns (+) followed by any word character (\w), non-word character (\W), or digit (\d), while using a positive lookbehind (?<=), and replace the soft returns with a single hard return.

    Find: +(?<=\W|\w|\d)
    Change: \r

    Is that more along the lines of what you’re looking for?

    in reply to: Basic Find/Change question #73657
    Aaron Troia
    Participant

    Just a note on Colleen’s Find/Change query, that will only work in a Text search, in a GREP search you would Find: and Replace with \r. It does exactly the same thing, just in GREP.

    in reply to: Creating 10 different translations – how to ? #73555
    Aaron Troia
    Participant

    You might be able to use Data Merge, which is built into InDesign, I dont know how everything is laid out but it could be handy, especially with multiple excel files and only one InDesign file.

    in reply to: PDF2ID vs PDF2DTP #73554
    Aaron Troia
    Participant

    I was looking for something like this myself a few months back and Kelly Vaughn (@documentgeek) was kind enough to tell me about them, and mostly the output is very similar between the two, I ended up buying DTP2PDF and I can say the conversion options aren’t plentiful but they get you what you need (I can post a screenshot later if you like). I had Kelly convert the same 6 pages of a PDF with both plug-ins so I could see the difference in output so if you would like to compare the outputs here are links to them on Dropbox. The file I used was the Kindle Plug-in for InDesign Publishing Guidelines that you can find here: https://kindlegen.s3.amazonaws.com/KindlePluginForAdobeInDesign_PublishingGuidelines.pdf

    I believe this file is from PDF2ID
    https://www.dropbox.com/sh/17rrpkgntost4hi/AAAe-lZNssya1l6qstGjYniya?dl=0

    and I believe this file is from PDF2DTP
    https://www.dropbox.com/sh/t0hl07ro3a1gmj2/AACdCT3uBeTZi4mIX5RDeazDa?dl=0

    Anyway, that wasn’t exactly what you were asking for, but thought I would pass it along.

    in reply to: Kindle plugin for CSS #73518
    Aaron Troia
    Participant

    Honestly I don’t see Amazon coming out with another plugin, though the tides could change and it could happen, but for now you will have to go back to CS6 and use the Kindle for InDesign plug-in. If converting an ePub with KindleGen or Kindle Previewer can’t do what you are wanting, you will probably need to consult an eBook developer to help you get the results you are looking for in your Kindle conversion.

    in reply to: Query's in the FindChangeList.txt file #73427
    Aaron Troia
    Participant

    Hmm, try double escaping again (eg s+$), that seemed to work for me.

    in reply to: Query's in the FindChangeList.txt file #73425
    Aaron Troia
    Participant

    No problem Tuz, I noticed something a little different with the quotes, if you are searching for Double or Single quotes, you cant use Unicode quote marks, it errors out, so you have to use the InDesign meta characters for quote marks (eg Double quotes: ~{ or ~}, and single quotes ~[ or ~]). I will have to remember that about TextEdit, I almost used it but decided to go with Sublime Text as that’s what I use for everything else, so I didn’t run into that issue.

    in reply to: Query's in the FindChangeList.txt file #73417
    Aaron Troia
    Participant

    Good question, I normally don’t use that script because I have never been able to get any GREP to work that I put into it, but I broke down and tried to figure out why I couldn’t get it to work and I found that you need to double escape just about everything, try this

    (?(ddd))?[-. ]?(ddd)[-. ]?(dddd)

    in reply to: Epub fixed layout error when exporting #73414
    Aaron Troia
    Participant

    The way I learned ePub was with Liz Castro’s book EPUB: Straight to the Point, it’s now probably out of it’s prime, as it only focuses on ePub 2.0, but I think it does a good job of explaining the ePub process from InDesign. I believe she also has a Fixed Layout mini-guide that would probably be helpful for you as well. ePubSecrets.com is a good blog to follow, if you’re on twitter, the #eprdctn hashtag is invaluble and there are a lot of people who post on there that can answer questions you may have. Colleen Cunningham (@bookdesigngirl on twitter) also put together a good resource page on Digital Book World’s site https://www.digitalbookworld.com/resources-going-from-indesign-to-ebook/. And if you have a chance to go to PEPCON, I would go, it’s a really good experience, especially if you are looking to get into ePub development.

    Anyway, I’m sure there are also many other things to point you to, but that’s just what I came up with off the top of my head.

Viewing 15 posts - 256 through 270 (of 325 total)