Forum Replies Created
-
AuthorPosts
-
January 3, 2017 at 3:55 am in reply to: How to merge IDML documents/How to rename IDML based on found value in Stori #90901
Kai Rübsamen
MemberLoic, that’s my understanding too. Since the OP want a named indd, I would open every idml and move the pages from idml2 to idml1 …
Kai
Kai Rübsamen
MemberHi Nick, this is super simple, but you can make a lot of things wrong ;-)
1. It is a difference, if you use the underline-feature or give a tab a Leader. If you use the underline-feature with dots, you will get dancing dots. So in a toc I would always vote for the Leader.
2. So insert in the toc-dialog > Between entry and number > something like ^<^y^>
^< thin space after your entry
^y tab for right indent (put the page number at the end of the textframe and works like a rubber band)
^> En space between tab and page number3. Create a paragraph style for your toc-entry, set a tab in the style (wherever your want) and insert a dot in the Leader-Field. This step is needed, cause a right indent tab cannot have a leader.
4. Create a character style with e.g. Tracking 200, Horizontal and Vertical Scale 80% and apply it in your toc-style in the GREP-Field with ~y.
As a result you will get perfectly aligend dots, with a bit of tracking and in a size of 80% of your text.
Kai
Kai Rübsamen
MemberNick, select your whole table and try this one:
app.doScript(main, ScriptLanguage.JAVASCRIPT , [], UndoModes.ENTIRE_SCRIPT, "column width"); function main() { var colValues = [10, 20, 30, 40, 50, 60, 70]; // insert here your values ! if (!app.selection.length || app.selection[0].constructor.name != "Table") { alert("wrong selection"); return; } var allColumns = app.selection[0].columns; var nCols = allColumns.length; if (colValues.length != nCols) { alert("check your 'colValues' list"); return; } for (var i = 0; i < nCols; i++) { var curCol = allColumns[i]; curCol.width = colValues[i]; } }December 28, 2016 at 2:36 pm in reply to: How to merge IDML documents/How to rename IDML based on found value in Stori #90810Kai Rübsamen
MemberBoth seems to be possible, but need a bit more information and surely testing. If you are interested in a paid script, you can mail me at info@ruebiarts.de
Kai
Kai Rübsamen
MemberYes! And if there is no need for header rows, a footer row is enough to erase the stroke!
Kai Rübsamen
MemberDavid, I zipped the wrong one. Try this URL: https://www.dropbox.com/s/cnscyjjw8n22lsz/lastRowInTable.zip?dl=0
If someone find this method useful, but is afraid of extending textframes: This whole thing is scriptable! :)
Kai
Kai Rübsamen
MemberHi Guys,
alternating rows are not honored by header and footer rows. So the trick is, to insert another row and convert it to a footer row, height: 0p3, border-top: 0. I modified Davids idml a bit (https://www.dropbox.com/s/ss88l05yf17qnqj/RowsAndColumns.zip?dl=0). The second table shows the final result, if you apply the table style “rows and columns”
@ Nick: There are several scripts on the Adobe scripting forum available for dealing with column width in tables. One of the easiest will be something like that:
app.activeDocument.stories.everyItem().tables.everyItem().columns.everyItem().width = "30mm";
This line will apply a width of 30 mm to every column in every table in your document.
Kai
December 27, 2016 at 4:55 am in reply to: Adding a special character in front of numbered list #90767Kai Rübsamen
MemberEliezer, this isn’t so complicated:
1. Create a new dotted stroke style, e.g. pattern length: 500 mm, corners: 0
2. Create a new paragraph style with a numbered list (alingment center, use a left indent and a tab)
3. Use a paragraph rule below, type your new stroke style (one dotted point) and adjust your settingsYou can find here a snippet: https://www.dropbox.com/s/8ocham9iu9igg36/numbering.zip?dl=0
Kai
December 11, 2016 at 10:59 am in reply to: Adding a special character in front of numbered list #90448Kai Rübsamen
MemberJust another idea: If the column widht doesn’t change: Use two paragraph rules with indentation. Rule above with a color. Rule below in white. The difference between rule below and above determines the thickness of the checkbox.
Kai
Kai Rübsamen
MemberFirst of all, I would never do that with a forced line break or a tab. > Use a character style with ‘no Break’ instead.
Second, why no script? A script could search for every paragraph with MORE than one line and check, if those paragraphs with two lines have a forced line break already. If not, highlight the lines with a condition.
Kai
Kai Rübsamen
MemberFind what: \.(?!(|com))
Change to: .\x20This part: (|com) works as a so called Alternation. The alternatives are separated by a pipe-symbol “|”. If you need more alternatives, simply add them, like (|com|eu|de)
It’s a difference, if you use a period in the FC or CT field. While it is a metacharacter in the FC field, it is a literal in the CT field. So NO need to escape it.
Kai
November 24, 2016 at 3:29 pm in reply to: GREP: To replace 1st instance of a word but ignore next #90071Kai Rübsamen
MemberHi Paul,
the first one: ^.+?\KDiesel
the last one: ^.+\KDieselFind what: ^.+?\K(Diesel)
Change to: <r>$1<r>Kai
Kai Rübsamen
MemberHi Jill, I have no idea why. Did you try: info@ruebiarts.de ??
Kai Rübsamen
MemberHi Dave,
Smart Styles is a powerful plugin to apply formatting especially to tables. This works in many cases, but not in all cases, since you apply mostly local formatting and no paragraph and cell styles. I did not know any other plugin, that could do the same job! An alternative would be scripting. This would produce perfect results with styles, but isn’t flexible, if you have different layouts.
All plugins have the same issue: If Adobe jump to a new version, you need a new version of the plugin.
Kai
Kai Rübsamen
MemberYou need to put your cursor in one textframe of the story. After starting the script, all textframes of that specific story are unthreaded. Other stories are ignored.
-
AuthorPosts
