Forum Replies Created
-
AuthorPosts
-
August 15, 2011 at 1:59 pm in reply to: Any Way to Synchronize Footnote Options Across Booked Docs? #60283
Theunis De Jong
MemberYou're welcome, Mr. Screens!
August 15, 2011 at 1:59 pm in reply to: GREP styles: Overriding already applied character styles #60282Theunis De Jong
MemberManually applied character styles trump everything automated, even GREP styles. (Manual formatting trumps a character style again — that'll always win out.)
GREP styles do have a unique property, though: they get applied over existing character styles, and do not “wipe out” the ones that already are there. Perhaps that's your mistake: if you need to 'cancel out' a style, you need to actually set the reverse in a new character style and apply that on top of the exsiting one. For instance, if you apply “Underline” with a GREP style, it's not enough to draw over it with a GREP style, you need to explicitly set “Underline: Off” in that new one.
August 10, 2011 at 3:08 pm in reply to: How can I preview Indesign files I'm about to open (or in windows)? #60256Theunis De Jong
MemberIn Bridge.
Theunis De Jong
MemberYes. Use GREP!
(The regular Search-and-Replace will mess up your paragraph styles, because it will temporarily merge two paragraph into one, before inserting a paragraph return again.)
Search for this:
(?<=r)r+
and replace with nothing-at-all.
Theunis De Jong
MemberThe Online help doesn't do it for you?
August 8, 2011 at 2:58 pm in reply to: GREP for numeric digits and their corresponding units of measurement #60240Theunis De Jong
MemberWell, one one level the combinations are endless — Newton's Gravitational Constant, g, for example, is defined in cubed meters per grams per seconds squared, or m³/gs² — but given a few constraints, you could use the metric system of optional prefix and required unit to your advantage:
d+s?(([pnμmcdkMG]?[gmL])(/([pnμmcdkMG]?[gmL]))*)
This is, from left to right,
any number of digits (but no fractions allowed)
no or only one kind of white space (this was missing in your own attempt)
nothing, or one of the pico, nano, micro, milli, centi, deci, kilo, mega, or giga prefixes
g for grams or L for Liter or m for meter
zero or umpteen of the following group:
{ a slash
followed by (again) a prefix and a unit. }
This misses the minute (min) in your example, but then again that's not an official SI unit :P
Theunis De Jong
MemberEasy-peasy.
^[^:]+(?=:)
Or an alternative:
^.+?(?=:)
Both are rigged to mark up to, but not include, the very first colon.
Theunis De Jong
MemberAfter being bitten by the Remember Folders “feature” for the one-thousandstst time, wouldn't it be nice to be able to tell InDesign that
from now on I want to work (import, save, export, package, place, and whatnot) from/in this folder
'Cause boy it's getting old that, once again, I create a Book file in the wrong folder, and after moving it to the correct one and want to add documents to it InDesign jumps back to yet another old folder. AAARGHH!
August 2, 2011 at 2:46 am in reply to: GREP, the need to select non-styled spaces in-between a character style #60194Theunis De Jong
MemberBest I can think of is searching for a not-underlined space that has nothing left and right:
(?s)(?<!.) (?!.)
(with “Underline Off” in Search Formatting.)
- You can not use this in a GREP Style either, as it relies on the Underline Off attribute
- Watch out, as I suspect it may also find single spaces inside tables (those also don't have a not-underlined character to its left and right).
Theunis De Jong
MemberDo you have the latest version?
I just downloaded it — cor! what a fantastic script — and amongst the multitude of options in the opening dialog, I can also see “Highlight Sundays”. When checked, sundays are colored with a swatch “cal_sunday”, which is defined in its own paragraph style “cal_sunday” as well. It appears Scott Selberg thought of everything.
Theunis De Jong
MemberThere is no need to change your InDesign document to be able to export “single pages”. I bet the printer instructed you to do this because he doesn't want spreads.
By default, a PDF is exported as single pages — each of your document pages will be a single page in the PDF. Only if you tick the 'spreads' box, ID will draw two of its pages on each of the PDF page. (Or, naturally, if you deliberately designed your document that way, but then you shouldn't have done that in the first place.)
Theunis De Jong
MemberAh — sorry, I misunderstood. I thought you were referring to something like e1+x² — with that second x² with a superior 2 as well, making it “double-superior”.
The only way to get what you need, a superior character on top of an inferior, you have to decrease the space between them. I rarely need that, so I make do with a manual trick: put the cursor between the two and press Alt+Left arrow, decreasing the kerning between them by eye until it looks good. Sorry, I don't know of an automated or styled trick for this.
Theunis De Jong
MemberYou need to manually fake it: create a new character style with superscript, horizontal and vertical scale set to 80%/80%, and a baseline shift of about 2 pt to move it up (superior) or down (inferior).
Experiment with the exact numbers to see what works best with the font you are using.
Theunis De Jong
MemberThere's a lot of movement when the paper is fed into a printing machine (see picture below). It is then stacked on the other side of the printing machine and again it might not be aligned exactly on top of each other.
Eugene, nice picture! Brings back MEMORIES OF HAVING TO TALK QUITE LOUD, EH?
Usually, sheets like these are printed double-sided, and registration marks ensure both sides aren't off by anything more than the width of a registration mark (typically, that would be around 0.1 mm). Although it's a pure mechanical process with, indeed, a lot of moving parts (and moving extremely fast, at that), the pressman has full control over the lateral movement of each sheet. Under ideal circumstances, a client would never see misaligned text.
The same goes for cutting; the biggest danger is of trying to cut a large stack at a single go, because then it's possible the entire stack shifts when the knife goes down. But that should be an exception, honestly.
July 14, 2011 at 8:32 am in reply to: Selecting Next Paragraph following another one using Grep #60051Theunis De Jong
MemberCannot be done. (Admittedly, I've said that before on a number of occasions and got proven wrong …)
The reason is, to apply your style only the next paragraph, you need a Lookbehind containing “myWord” and its own hard return. (Look, backslashes! One: r Two: \r Three: \r — you need to type two to insert one, and so on. :D ) But between the myWord and hard return, you need a non-quantifiable repeat-anything code — your dot-asterisk — and that makes the Lookbehind invalid. InDesign's GREP library just can't do it.
If you need this in a real world situation and really can't afford to miss one, you'd probably work around it by first giving all paragraphs containing “myWord” a color, extending up to the paragraph return and one character beyond it (!), so you can search for “any character” in that particular color at the start of a paragraph.
-
AuthorPosts
