Forum Replies Created
-
AuthorPosts
-
Aaron Troia
Participanthmmm. would this work better? this would keep it to the last two commas
, \K[^,]+, [^,]+$Aaron Troia
ParticipantPerfect! I’m glad you could tweak it to fit your needs!
Aaron Troia
ParticipantHey Bryana,
Did you ever figure out what was causing your export crash issue?
considering your book was only 60 pages, I probably would have made a copy and started deleting chapters from the back to the front to see if I could narrow down from what chapter the issue was coming from, then start deleting chunks of that chapter to narrow down where in the chapter it was. Sometimes the oddest things will set off InDesign.
Aaron
Aaron Troia
ParticipantHey Amanda,
try this GREP in your paragraph style, I just tested it out so it should work.
, \K[^,]+, \u\u\u?$Aaron
April 7, 2019 at 1:19 pm in reply to: Find and Replace is not working for Forced New Line Character #115915Aaron Troia
ParticipantHey Radhakrishnan,
For the forced line break search, try
nfor forced line breaks in your findWhat search.Aaron
Aaron Troia
ParticipantSorry, you’re right David, I had googled the release date of CS6 and didn’t realize the result was the very first release of InDesign 1.0.
Aaron Troia
ParticipantHey Demetri,
No, CS6 export is not even close to today’s EPUB3 standards for producing valid files. Considering it was released in 1999, I believe it only has the option to export EPUB2 files.
Aaron
Aaron Troia
ParticipantHey Terry,
You could probably do the find part of this as a GREP within the paragraph style, but if you want to do a find and replace, try
Find:
^.+?risk
Change Format: <either set font style to bold or select your bold character style>Aaron
Aaron Troia
ParticipantOf course, I’m glad it worked! Not sure which one you’re referring to so I will break down both.
The first one I’m telling GREP Find/Change to find everything between the end of the line that is not a space (
[^ ]+) and the last space () before the end of the line ($). Once it finds that space I am telling it to then change that space to a tab () and then replacing the same content that was after the space ($1) to be after the tab. I dont use the greedy negated character class ([^ ]+) very often, but it comes in handy at times when you want to be very specific that GREP, in this case, find everything that is not whatever is within the square brackets.Find:
([^ ]+)$
– find a space
([^ ]+)– capture group (everything within parenthesis) to “find everything that is not a space.” ([^ ]+) which is a negated character class (anything between the square brackets) with a carrot (^) saying that this is a negative character class, and a literal space. The+is making it greedy, or the “find everything” part.
$– end of lineChange:
$1
– tab
$1– variable to denote the capture group in FindThe second one is similar to the first, but since you just had numbers/digits at the end of each line I am telling GREP Find/Change to find the last digit (
\d) at the end of each line ($) and replace the digit in the same place it was before with the capture group variable ($1) and then adding one tab after it ().Find:
(\d)$
\d– any one digit
$– end of the lineChange:
$1
$1– variable to denote the capture group in Find
– tabHope that explanation helps! Let me know if you have any questions on any of it.
Aaron Troia
ParticipantHey Brian,
This will change the last space in each line (between the state and the price)
Find: ([^ ]+)$ Change: $1or if you want to add a tab after the price on each line
Find: (\d)$
Change: $1
wasnt sure where you wanted the space.
Aaron
Aaron Troia
ParticipantHey Glendon,
I’m not sure if you’ve figured this out or not yet. But I thought I would at least ask if you’d gotten any further. I can’t say I know exactly what is happening without looking at the lines of code in files its referring to, but it looks like the first few errors in your picture are referring to a duplicate endnote id, which isnt allowed in HTML, all id’s must be unique. Are you linking the same endnote in multiple places in your book? or did you copy and paste the same line of code multiple times in the code?
Aaron
Aaron Troia
ParticipantYes it was part of an email sent out today, the Tables Superguide is free to download if you signup for an annual Premium Membership in InDesignSecrets in the next two-ish days.
Aaron Troia
ParticipantHave you made them before that way? I was under the impression that you could only do paragraph style keyboard shortcuts with a keyboard with a 10-key.
Aaron Troia
ParticipantI’m not sure if InDesign exports with column widths for tables, or if it does, it just guesses depending on the content? I dont know. I havent exported with their CSS in awhile so say for certain. I have found that in the HTML giving my tables specific column widths helps lock them to the widths I want. so for a two column I would do something like,
<table> <colgroup> <col style="width:50%"/> <col style="width:50%"/> </colgroup> ...I actually have a number of these column widths set as styles within my custom stylesheet so I can customize them depending on how many columns and content. I’m not sure if table styles allow for setting custom column widths within InDesign so it might have to be done after export.
Aaron Troia
ParticipantThat is odd. This might be a long shot but could it have something to do with the vertical margins in pasteboard settings? It’s usually a global setting but it might be worth looking at.
also have you checked out this forum post? it sounds almost like what you are experiencing : https://forums.adobe.com/thread/2293969
-
AuthorPosts
