Forum Replies Created
-
AuthorPosts
-
Kai Rübsamen
MemberUse a paragraph rule above instead of a rule below and give the character style a white fill. Find here a new snip:
https://www.dropbox.com/s/x4dtuszqt7mhd9t/numberingWhite.zip?dl=0
Kai
Kai Rübsamen
MemberDownload my snippet and have a look at the numbering-options.
Kai
January 24, 2017 at 1:38 pm in reply to: Long doc with lots of cross refs. How to split and be able to relink crosses? #91545Kai Rübsamen
Member> When I do so and attempt to relink the cross references in in the four docs to each other I am only allowed to relink one doc.
This needs surely a little love and a small(!!) example.
Kai
Kai Rübsamen
MemberI answered here the same question 4 weeks ago. You can built this circles with para rules. Find here an example: https://www.dropbox.com/s/8ocham9iu9igg36/numbering.zip?dl=0
Kai
Kai Rübsamen
MemberDavid B. is correct! It was possible in previous versions of InDesign to skip those classes, if not needed. So in every case you will get classes (name of your style) for box- and inlineelements.
It seems, that you are familiar with html and css and it is good practice to avoid those ugly css from InDesign and write your own styles. It is not a problem, if the classes are in the html, but if you want to have clean html, I do the following:
1. Tag all unwanted classes with a class “remove”
2. Do an search and replace e.g. in BBEdit (it is important to have Multifile-Search with GREP) and remove > classe=”remove”;Maybe a word to things like: div.footnote p { indent: 0; etc. }
This depends on your reader. It may happen, that a reader does only honor styles, that are attached directly to the element.Kai
January 23, 2017 at 2:12 pm in reply to: How do I change the content percentage on multiple images at once? #91518Kai Rübsamen
Member1. Select one image, not the frame
2. Set the size to 25% > this value is stored in the clipboard
3. Select all images, by selecting with the black arrow and choose then Select content from the control panel
4. Object > Transform again > Transform Sequence Again IndividuallyNote that your grid will be destroyed, if you choose frame to content in the next step.
Kai
Kai Rübsamen
MemberHi Masood,
there exists always two kind of people: Graphic designers and scripters. Unfortunately most books and courses are written by scripters. So sometimes very dry stuff and hard to understand. I’m a graphic designer. So if I have problems, I have problems with JS and not the DOM ;-)
To get a good start, I can recommend Peter Kahrels guide: https://shop.oreilly.com/product/9780596802530.do
Allthough this isn’t up to date, it covers all important parts.Then Grant Gamble: https://www.amazon.de/InDesign-CS5-Automation-Using-JavaScript/dp/1460915380
And at least: The Javascript course at lynda.com from Simon Allardice
Notice one big thing:
You cannot read those books from start to finish. There will always be a situation, where your script goes wrong or you do not understand what the author is tryin’ to say you. This time, the indesignsecrets or adobe-scripting forum is your friend, where you can post your code and people will give you in short an answer.hth
kaiKai Rübsamen
MemberTry this one and put it in a start up folder. The alert will only have a yes and no. Maybe ok and cancel is possible with script-ui.
#targetengine "doSomethingInCase" app.addEventListener("beforeExport", onExport); function onExport(event) { var result = confirm("Have you check the file thoroughly before exporting the PDF?", true, "WARNING"); if (result == true) { return }; else (result == false) { event.stopPropagation(); event.preventDefault(); }; return; }Kai
Kai Rübsamen
MemberMiguel, this seems to be possible, but you should also care of the applied masterpage and if the pages are paginated, those color spreads must be excluded from the count > every 8 pages a new section is needed.
Kai
Kai Rübsamen
MemberI vote for that donate button too, either to the scripter or the forum, cause scripts should not provided for free!
Let me explain, why I provided sometimes scripts for free nevertheless: In the past 20 years I learned most of my knowledge from lynda.com or forums like these. So why not give something back when it does not cost me much. That means, if the goal is clear, there are no testfiles needed, it takes not longer than 5-10 minutes and it saves hours of work …
@David: If I have the decission spend $40 for a freelancer or $100 for a script, I would always vote for the script! In this special case, there are maybe 2-4 steps needed per document. So chances are good, that a freelancer will miss step 2 and 4 in 7 or more documents ;-)
@Chris: A big benefit of scripts: If it works, it works! In 60 or 600 documents …Kai
Kai Rübsamen
MemberHaha, writing the script: 5 minutes, writing the post here: 7 minutes, installing everything: 2 hours, BUT. Running the script 1-2 minutes!
So Chris, I gave you everything that is needed. It should not take longer than 15 minutes for you to set up everything! A user with a bit experience would need maybe 2 minutes.
To your questions:
1. yes. You have the option to align Top of page or Top of margin. So use only one of those 2.
2. baselineViewThreshold: 50 (interesting to note, that a wrong writing is ignored in this case)Kai
Kai Rübsamen
MemberHi Chris, this is possible with very minor steps:
1. Download the batch converter from Peter Kahrel: https://www.kahrel.plus.com/indesign/batch_convert.html
2. Expand the file and copy it to your scripting folder
3. Save these lines as plain text with extension jsx and copy the file to your scripting folder
function main() { app.activeDocument.gridPreferences.properties = { baselineColor: UIColors.lightBlue, baselineStart: 15, // baselineGridRelativeOption: BaselineGridRelativeOption.TOP_OF_PAGE_OF_BASELINE_GRID_RELATIVE_OPTION, baselineGridRelativeOption: BaselineGridRelativeOption.TOP_OF_MARGIN_OF_BASELINE_GRID_RELATIVE_OPTION, baselineDivision: "22pt", // Increment Every baselineViewThreashold: 50, baselineGridShown: true, gridsInBack: false } } main ();If you do not need a line, simply remove it. Note, that “//” is a comment. So these two lines are either/or. Simply comment or remove the other line, if the current result is wrong.
4. Start the batch converter script: Input/Output > your folder, Ignore errors and Overwrite existing file > checked, Run a script > Select here your saved script, Saved changed documents on closing > checked
Kai
Kai Rübsamen
Member^Report.+\r
Kai
Kai Rübsamen
MemberJames, what is the rule to distinguish, if the second entry is part of the place name or the street? If there is no rule, there is no GREP …
Kai
Kai Rübsamen
MemberOk, I try to explain what is going on here.
There are two ways of solving the dots issue. But before you decide for a variant, you have to make a preliminary consideration: There is always a space available between the last character in the line and the page number. Because lines can have different length or an m-character has a differenzt width than an i-character > those spaces are always different!
1. Fill the space (the tab) with an underline:
If you insert e.g. a thin space after your last character, then a right indent tab and then a en-space before your number and give a underline to your right indent tab, the first dot will start immediately after the thin space and will end exactly before the en-space (note that in practice there is a bit of room because of the tracking of the character). If you insert those dotted underlines for multiple entries and draw a guide on one of those points, you will see that the dotts are not vertical aligned to each other. This happens, cause the distance of two horizontal dotts is calculated by the available space.2. Fill the space (the tab) with a leader:
Because it is important that those dotts are vertically aligned, the start and end point is not realy defined by the end of the thin space or the beginning of the en-space. It may happen, that you insert a thin space and the dot will start visualy at an en-space. In the end you will get different spaces at the beginning and at the end, but perfectly aligned dotts.I like to compare this with justified or left-aligned text: Justified > all lines have the same left and right edge. To achieve this, the space between words must be different. Left aligned: same left edge, but different right edge. The width of all spaces between words is the same.
Now clear?
Kai
P.S.: If the spaces are to big, remove the thin space and the en-space and see what is happen.
-
AuthorPosts
