Forum Replies Created
-
AuthorPosts
-
October 3, 2018 at 11:41 am in reply to: Adding space between punctuation and superscript with GREP #110725
Raphael Freeman
ParticipantYes, unfortunately Peter Kahrel’s script doesn’t work with different fonts. I may have a different solution for you with another script. I will try and remember to check that for you.
October 3, 2018 at 1:32 am in reply to: Adding space between punctuation and superscript with GREP #110715Raphael Freeman
ParticipantI would solve the problem (and in fact use this method in every book I typeset), but using kerning.
Peter Kahrel has a kerning script: https://www.kahrel.plus.com/indesign/kern.html
I also talk about this on a video that I did on the subject: https://www.youtube.com/watch?v=P4YPcTK91xw
Raphael Freeman
ParticipantWhy don’t you contact the company that made the script to customise it for you?
Raphael Freeman
ParticipantIt breaks the hyperlinks according to CMS.
Raphael Freeman
Participantworks in CC 2017 too!
Raphael Freeman
ParticipantI don’t know what Alberto wants to do, but I am making the assumption that he is typesetting a book and that every time he sends a draft to the client, he has to update the table of contents. If there are say 10 drafts, then he has to update 10 times.
The solution that I am suggesting is that he spends a few more minutes on the first version of the table of contents (and yes he can use grep searches to fix up the table of contents more quickly) but on each subsequent draft he doesn’t have to do anything.
I used to make a series of grep searches, save them in multifind/change and then on each draft, regenerate the table of contents and rerun the set of grep searches. This method is much faster.
Raphael Freeman
ParticipantMy pleasure. When I originally looked into it, I didn’t think it was very useful but I was lucky that the owner/programmer of the company happened to be at my office (he lives quite near me and is a fellow Brit!) and he showed me how it was used. It took me a while to think of solving the problem in his way, but I have been using it ever since!
Raphael Freeman
ParticipantSo after struggling with this very problem for many many years, the solution that I found to be best was LiveTOC by ID-Extras (https://www.id-extras.com/products/livetoc)
The idea is that you build your TOC with InDesign’s rather limited tools and then fix manually the toc to look the way you want.
You then use LiveTOC to basically convert the page number references into hyperlinks so as the page numbers change from draft to draft, the TOC remains up-to-date.
There was a bit of a learning curve in understanding the principle of how to use it, but once the penny dropped, it has saved me time. Also my clients like that they can check the toc in the pdf by simply clicking on the contents page.
Raphael Freeman
ParticipantHonestly, no. It’s very complicated but it will do you want you need. You have to read the documentation carefully (it’s not long) and then you’ll figure it out.
Raphael Freeman
Participantyou need to use PowerHeaders from in-tools.com (Kiryat Sefer!!).
Raphael Freeman
ParticipantSo I did find some old scripts (which didn’t work on CC 2015) to do this — seems I’m not alone in this request but I solved it by creating a macro with my Microsoft keyboard!
Raphael Freeman
ParticipantThank you. It works now!
Raphael Freeman
Participantsorry, I made a mistake in my code above!
I should have written
myFrameGB[0] = 25;
not that it works now, but now at least there is no syntax error.
Raphael Freeman
ParticipantSo I have progressed (thanks to the starting clue) with my little script and I have managed to set the baseline grid and offset with a script (yey).
I’m trying to enhance the script to make it a little more useful and I’m getting stuck on the moving of a frame.
For the script to work, I have to select some text. When I do that and run the script, it successfully does what I set out for it to do. (The variable mySel is defined earlier correctly)
var myFrameGB = mySel.parentTextFrames[0].geometricBounds;
alert(myFrameGB[0]);So this bit works and returns the top edge of the text frame. but I want it not to be 67.87363pt but rather 25 so I tried this line:
myFrameTopGB[0] = 25;
However nothing happens. What have I done wrong?
-
AuthorPosts
