Back

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

Forum Replies Created

Viewing 15 posts - 46 through 60 (of 325 total)
  • Author
    Posts
  • in reply to: GREP needed: Finding duplicate last names in a list #14323079
    Aaron Troia
    Participant

    Hey John,

    Here was something I came up with, I’m not sure if will work for all of them, but it might be a step in the right direction.

    (\w+), (\w+)( \w\.)?$1, $2

    Aaron

    Aaron Troia
    Participant

    You might also be able to use GREP to remove that information before you import. The Excel file would probably need to be converted to a CSV or TSV first, and then open it in a text editor like Sublime Text to do it.

    in reply to: Images jump to next page… help #14323420
    Aaron Troia
    Participant

    Elizabeth,

    While it might show up that way for you, depending the settings of the person reading and what reader they are reading on, it will look different. This is kind of the nature of ebooks, since they are reflowable and not fixed to a specific font, font size, margins size, leading, etc., things like this happen and you sometimes you can’t really control it.

    That said, one work around would obviously be to make the image smaller. And speaking of smaller, you could make the image in the text smaller and when the reader clicks on it, you have it linked in the HTML and open to the full size image.

    Aaron

    in reply to: Repeat Table Title/Header on the next page #14323421
    Aaron Troia
    Participant

    Hello Stevica,

    I don’t know of a way to repeat the header row in ebooks. The only work around I can think of would be to wrap the table in a <div> and style it with “page-break-inside:avoid;” to force the whole table down and keep it from splitting frames. That might also work on the <table> tag, I’m not sure, I haven’t tried this with tables, but I used to do this with images and captions.

    Aaron

    in reply to: Find/Change Asterisk to Bullet #14323455
    Aaron Troia
    Participant

    Hey Kelly,

    For finding asterisks and changing them to bullets (I’m assuming you are using the bullets feature within Paragraph styles), in GREP Find/Change,

    Find: \*
    Change: [leave blank]

    If you are wanting to replace the asterisk with a literal bullet (and tab ),

    Find: \*
    change: ~8

    Aaron

    in reply to: Find/Replace assistance #14323461
    Aaron Troia
    Participant

    Hey Brian,

    No problem. For the first space in the line I would do like what you did:

    Find: (\d\d/\d\d)
    Replace: $1

    The last space GREP should work, (make sure you’re in GREP not Text, I just got the “Cannot Find Match” error pop up on me because I accidentally had it in Text) but I can give an alternate,

    the original, which is finding anything between the end of the line and the last space in the line:
    Find: `([^ ])$
    Replace: $1

    an alternate, being explicit about the digits and period:
    Find : (\d+\.\d+)$
    Replace: $1

    Let me know if that works for you or if it’s still giving you issues.

    in reply to: GREP search for changing space after endnote number #14323632
    Aaron Troia
    Participant

    No problem Chris, and sorry I couldn’t fully answer your question.

    To get the gray rectangles, I believe you can either wrap your text in <code>your text here</code> tags or wrapped in ` (the key shared with ~)

    in reply to: GREP search for changing space after endnote number #14323637
    Aaron Troia
    Participant

    oh ok, sorry Chris, I must not have realized you had one with and one without curly brackets. that makes more sense.

    I just did a search with some Lorum Ipsum and both ways allowed me to find and replace all the spaces and replace them with En Spaces. I’m guessing they’re the GREP search is seeing them as the same (at least on my end) and the GREP search isnt being very strict on format. Again, that’s just a guess.

    I have a few GREP searches for blocks of Unicode characters (Greek [\x{0370}-\x{03FF}] and Hebrew [\x{0590}-\x{05FF}]) and I have them set up with the curly brackets. I havent tried them without the curly brackets, but now I’m curious to see if it would work without them. Though I feel I might have tried without (I put them together awhile ago) and couldnt get it to work with finding a range of Unicode.

    in reply to: GREP search for changing space after endnote number #14323640
    Aaron Troia
    Participant

    Hey Chris,

    What is happening when you search for \x20 is that you are are telling your GREP to be greedy look for a specific space, in this case it is the one assigned to x20 in Unicode. When you use you are telling GREP to be nongreedy and find any space.

    Aaron

    in reply to: GREP Style Expression Help Neede #14323711
    Aaron Troia
    Participant

    Hey John,

    Oh you’re right, I think I should have wrapped the letters after the price in parenthesis \$\d+?\.\d+?\K(o|t|f) that at least fixes it on my end.

    in reply to: GREP Style Expression Help Neede #14323713
    Aaron Troia
    Participant

    I would do \$\d+?\.\d+?\Ko|t|f which should ignore the dollar sign, the decimal, any digits before and after the decimal, and the space after and only apply the character style to o|t|f

    also sorry for the wrong syntax for Keep, I meant to write \K in my previous post

    in reply to: GREP Style Expression Help Neede #14323715
    Aaron Troia
    Participant

    John,

    You could try positive lookbehinds but I think the best way would to use Keep (/K) which acts like a positive lookbehind but is nongreedy.

    Aaron

    in reply to: Export to epub #14324005
    Aaron Troia
    Participant

    Hello John,

    Did the instructions you were using include using section markers? Considering a section marker is basically a variable, the instances that you used them might need to be converted to text (if there is an option to do so, cant remember if section markers do) or typed out by hand (in other words, delete the section marker and key in or paste in the text).

    Aaron

    in reply to: GREP to join up split sentences? #14324076
    Aaron Troia
    Participant

    Hey Simon,

    You should be able to run something like

    Find: \r([a-z])
    Replace: $1

    but you might want to run this first to make sure you have a space before those line breaks. Nothing like having to reread the whole thing because words are running together (among other things), and it’s easier to clean up double spaces throughout than break words apart.

    Find: (?<!)\r
    Replace: $0

    Aaron

    in reply to: InDesign CS6 and EPUB in 2019 #14324139
    Aaron Troia
    Participant

    Hey DB,

    I personally would, and my reasoning is that InDesign generates the toc.html and your toc.ncx files. I’ve done them by hand, but prefer for InDesign to set up all that linking, or at least most of it.

    I also have an InDesign template that already has all my Paragraph and Character styles mapped to a custom CSS stylesheet so I can flow everything in, set the styles and export without much set up.

    Are these personal documents? if so, it might not hurt to try Calibre and at least get a feel for how it works. I’m not sure I would use Calibre for anything besides personal documents though.

Viewing 15 posts - 46 through 60 (of 325 total)