Forum Replies Created
-
AuthorPosts
-
Vinny –
MemberHi
With no opened document, go to Object styles > and set up the default Text frame with the desired settings under “Text frame baseline options”.
Now, each time you create a new doc and a new text frame, the default settings will apply, as long as you don’t apply another object style.You can use the [Basic TF] or create yours. If you use the basic one, be aware that it works just like the [basic] paragraph style. Meaning that, for example, if you copy and paste a text frame from a document to another, the target doc object style will apply…
Of course, this will not affect existing documents, but it is very possible than in most cases, the [Basic text frame] style is the one by default and is the one that was applied to your text frames. (You can temporarily change the fill color using preview to check which frames are set with this style.) Then again, you can change the desired setting. This will not guarantee that all your text frames will be modified but a simple script could easily do it though.
March 10, 2020 at 8:10 am in reply to: How many pages contain footnotes ? Can it be counted ? #12343205Vinny –
MemberHi
Good exercice for practicing scripting.Try this script (tested with CS6):
https://codeshare.io/GkRWrO(Note that footnotes on hidden layers are also counted.)
—–
Now, my question for scripting gurus:
I’m struggling with handling overset footnotes.Whyyyyyy can I test:
if (typeof myFootnotes[i].parentTextFrames[0] == “undefined”) {
//do this
}And NOT include that test as:
if (myFootnotes[i].parentTextFrames[0].parentPage != null && typeof myFootnotes[i].parentTextFrames[0] != “undefined”) {
//do that
}This last case returns “undefined is not an object”
Probably something stupid but I can’t understand why…Vinny –
MemberHi
This is definitely an Acrobat question, not an InDesign one.
I believe you’ll need a script for it.
If you search “acrobat auto tab script”, you should find what you need.
Good luckFebruary 14, 2020 at 2:00 am in reply to: GREP needed: Finding duplicate last names in a list #14323078Vinny –
MemberHi there,
hmmm tricky one…You can give this one a shot:
^([^,]+),.+\r(\1.+\r)+It will (well, should…) catch blocks of paragraphs if they follow each other AND start by the same “lead” (I used comma as separator as per your example)
Looking forward for your feedback.
Vinny
Vinny –
MemberNot sure I understood your request, but what about applying text wrap to frame A?
Maybe some screenshots might help for better understanding…February 3, 2020 at 9:06 am in reply to: Help me please: underline combining with indent problem #14323161Vinny –
MemberYou’re welcome…
Please report back, I like your puzzle and I’d be glad to know how you sorted it out.I also realized that my last sentence was a bit “cryptic”…
If you want to understand what I meant, see this gif: (Produit = multiply / Contour = stroke)Vinny –
MemberThis is a WordPress thing.
Try changing the pasted quotes into straight quotes.
Also, change them on the line defining “var myFile = …” (that you also might have to change, according to your OS and/or your desired destination)January 28, 2020 at 4:24 am in reply to: Help me please: underline combining with indent problem #14323186Vinny –
MemberHi there
Nice puzzle.
Here’s a script-free workaround:
What about anchored objects? A black line followed by a white one.
Using object styles, set custom position accordingly: x-pos related to text frame or column + indentation for the black stroke. X-pos related to insertion point for the white one). Remember to place them somewhere on your pasteboard so you can easily select and copy them.Then, run a Grep Find/Replace to locate your “boldCap” words and use ~c metacharacter to insert your 2 objects after your word. (Nota: In the example below, it will work only for a single word)
Everything should keep flowing nicely.If you have to add a new “starting word”, remember to select your two anchored objects markers before running your F/R query (that you can save btw).
Oh, and in case your white stroke overlaps another element, remember that Effects > Stroke affects… every stroke ^^
Vinny –
MemberJust use tab separated .txt files instead of CSV.
You’ll save yourself many headaches ^^Vinny –
MemberMy two cents:
Forget about tab leaders!
Use underlining instead. Add a fixed space before and after the tab in the TOC options.
Use grep styles in order to apply the “underlining” character style to tab.
You should be good to go: first and last dots in a fixed position and adjusting spaces between dots.
You might want to create a custom stroke if you want to get better control over the dots spacing.September 24, 2019 at 1:58 am in reply to: GREP expression to find last entry in index section? #14324078Vinny –
MemberHi
No need for Grep magic here.
Just add some space before to your “Index section heading” paragraph style :-)September 10, 2019 at 3:07 am in reply to: Two paragraph styles in one line of text in TOC #14324151Vinny –
MemberIf you have a consistent pattern (e.g. opening/closing parenthesis) you can use Grep or nested styles to catch and hide this part.
Example using nested style:
Vinny –
MemberHi Jeremy.
Do not give up all hope ^^There’s something that InDesigners are not always well aware of.
Something that looks like black magic…
It’s called: the POWER OF MARGINS!See the 2 animations below.
First one is based on your layout.
Second one is based on “power of margins”Enjoy!
Vinny –
MemberAlternative without invisibility, using <fullPara delim=”” />
Vinny –
MemberHi there.
Here’s a trick:
Go Object > Captions > Caption Settings
Set offset with a “specific” value that you know it is in use anywhere in your document. (evil example : 0.666 mm ^^)Then use Find/Change > Object
Find this specific offset value and change into your Object style.Mind the fact that if your object style doesn’t auto-fit, you might end up with overset text if the found “specific” offset value is smaller than the one defined in your object style.
Hope that helps
Vinny -
AuthorPosts
