Forum Replies Created
-
AuthorPosts
-
Theunis De Jong
MemberA Nested Style would have worked as well: “Up to”, then “1”, then “^_” — the code for an em-dash.
Curiously enough, there could be Reasons to use a nested style over a GREP style. You can use the style applied in a nested style in a variable, to display the text in a running header.
Theunis De Jong
MemberYou are not missing anything. If you have A overlap B, and B overlap C, then you cannot have C in turn overlap A. Even in Illustrator and Photoshop this cannot be done — layers have a fixed order.
You can, however, make a mask out of one of your circles with the Pathfinder. Put this to just the top layer; it’s not live (because that can’t be done) but it should be ‘good enough’.
Theunis De Jong
MemberYou already asked this in the official Adobe forum: https://community.adobe.com/t5/indesign/how-to-add-word-and-image-count-values-in-c/td-p/11108356
Please only ask in one forum at a time to prevent double work, disjoint communication, and crossed answers.
April 24, 2020 at 10:40 am in reply to: Script to sort list of Bible references in Bible order #1240256Theunis De Jong
MemberI noticed you asked this on the Adobe InDesign forum as well so I suggest not spending time on it here and await if that leads to useful answers.
February 24, 2020 at 4:10 am in reply to: Footnote: 1-digit/2-digits number hanging indent #12343009Theunis De Jong
MemberYour left indent must be large enough for *two* digits. As it is, only one digit fits, and with two (or more) digits the text on the first line just jumps to the next tab position.
February 24, 2020 at 4:06 am in reply to: Changing a single lower case letter to upper case #12343008Theunis De Jong
MemberYou need to set two checkboxes (actually icons) in the Find text dialog that are un-set by default: Case Sensitive (the Aa icon) and Whole Word (the rightmost icon). Both show their purpose when you hover the mouse over them.
See also https://helpx.adobe.com/indesign/using/find-change.html under Search options for finding and changing text.
Theunis De Jong
MemberChecking for OPI is an option in a custom Preflight Profile; it’s in the Links group. Create a new profile that only reports OPI links, and when you run this profile, you’ll get a hyperlinked list of all occurrences.
February 5, 2020 at 6:33 am in reply to: Body text is pushed to next page because of long footnote, leaving a gap on page #14323138Theunis De Jong
MemberThere is no logical single (best, least-worst, satisfactory) solution for this. If your client complains about the large gap, tell him you need to split the footnote to fill it. If the client complains about a split note, show that white gap and let him choose between these two.
I usually try to find an earlier page that was deemed ‘good enough’ but can actually handle either more lines (by reducing the tracking on selected lines) or less (forcing one or more paragraphs one line longer than their natural length). Playing with that might give you enough room to either fix (= that *huge* note will fit on the previous page) or hide (= the gap could be made smaller) the issue.
January 21, 2020 at 6:09 am in reply to: Help me please: underline combining with indent problem #14323251Theunis De Jong
Member(Oh well – I say “manually”, but this should actually be quite scriptable. If those bolded words are the only ones to appear in the entire text, or (probably even better) they have a unique character style, then a script could find them. You already know the leftmost point for your lines; together with these texts’ rightmost point a script can draw the lines for you.
But you’d manually have to re-run the script every time something in the text changes. You cannot add such functionality to InDesign.)
January 21, 2020 at 1:54 am in reply to: Help me please: underline combining with indent problem #14323253Theunis De Jong
MemberInDesign’s paragraphs never start at the end of a previous paragraph. So that rules out everything you can do with styles.
The same goes for paragraph rules: they appear at the top or bottom but never half-way.
Your non-standard design needs manual work. For each of those lines, and every time again when text reflows because of corrections.
Theunis De Jong
MemberDoesn’t sound too daunting (except that the Swatch of your title is something entirely else than the Layer in your actual question).
Are you looking for help on how to get this started, or are you only interested in a custom written script especially for you?
Theunis De Jong
MemberNo need to use activeSpread for a single page, LayoutWindow also has an activePage property. See https://www.indesignjs.de/extendscriptAPI/indesign-latest/#LayoutWindow.html (your handy first Go To for all such questions).
Theunis De Jong
MemberAt the bottom of that page you can see that this object is used in both Application (adding one in there adds it to the default set of swatches), and Document.
Presumably (untested) you can use
myMixGroup = app.activeDocument.mixedInkGroups.add (... your parameters here ..)and then use that variable where you wish.
Theunis De Jong
MemberTo prevent more than a single letter being matched, add a word break after your vowel:
(?<=short)[aeiou]But – rather than using a GREP Style for this, I’d recommend a plain (GREP) find & change. It’s way easier to correct if you want to exclude a few occurrences, and I recommend “sticky” formatting for stuff that needs it, reserving GREP styles for stylistics only.
Theunis De Jong
MemberYou must be using TextEdit on a Mac. It is not possible that the suggested NotePad (the canonical plain text editor on Windows) would have shown that particular error. TextEdit assumes you want to add formatting to a text, and so it saves new files by default in the RTF (“rich text file”) format, but a script needs to be ASCII text only. That’s why it chokes on the very first formatting codes.
Make sure that you set TextEdit to “Make Plain Text” before saving.
Or, just use Adobe’s own ExtendScript Toolkit editor. It has the additional advantage that you can see syntax highlighting, so you’ll know it when a string is not properly defined.
By the way: your font is not named “Minion Pro.otf” – look in your Font menu! Just use the font name. If you want to add a style as well, you can add it after a tab after the font name:
var fonts = [ "Minion ProRegular", "Minion ProBold" ... -
AuthorPosts
