Forum Replies Created
-
AuthorPosts
-
Rhiannon Miller
MemberThere's a script called SplitStory included with InDesign which basically automates the first method Furry describes (cutting the frame, pasting it back into place, and deleting the overset text in the previous frame). Or Rorohiko does a free plug-in called Text Stitch, which has an unstitch action that can break every text thread on the spread. I do this quite a lot!
Rhiannon Miller
MemberAh, I'm being stupid again.
tell (every text variable instance of every story) to convert to text
That does it.
Rhiannon Miller
MemberI'm trying to do something similar in Applescript, for much the same reason. But
tell (every text variable instance) to convert to text
doesn't seem to work. I get the following:
error “Adobe InDesign CS5 got an error: every text variable instance of active document doesn’t understand the convert to text message.” number -1708 from every text variable instance of active document
Yet the dictionary seems to indicate that this ought to work:
convert to text specifier : Supported by the following objects: note, footnote, text variable, text variable instance.
Any ideas?
Rhiannon Miller
MemberOf course, I meant 'end nested style' in both places, not 'indent to here'.
And I've figured it out:
tell insertion point 1 of myFrame to set contents to end nested style
Simple, really.
Rhiannon Miller
MemberI'm resurrecting this old thread to post a workaround that a nice person in a printer forum gave me, just in case anyone else has the same problem. If I make a copy of the PDF and use Acrobat to convert it all to greyscale, and then replace the pages to be printed in colour with their counterparts in the colour version of the file, both the black and the colour pages print as they should. (I found and tried the colour management options in Acrobat, but they made no difference.)
It would be nice not to spend time doing that, and there's always the possibility of a mistake with this method, but at least I can now get the printer printing and registering black pages correctly!
Rhiannon Miller
MemberLooks like CS5.5 has been simultaneously released in the UK and the US. I've downloaded my trial and am exploring it now!
Also looking forward to the course on long really complicated ebooks!
Rhiannon Miller
MemberAnd now I've just got round to reading Jongware's post. GREP searches do work with returns and shift-returns, but not if you try to use them as part of a character range, which is why I separated them out into their own half of an or declaration.
(And yes, I've now figured out that I used forward-slashes instead of backslashes, which is why they came through doubled.)
Rhiannon Miller
MemberHere, again, is what I was trying to say:
(?<={)([rn]|[^}])+?(?={)
And as far as I can see, you can only edit your post until another post has been added after it. Once there's another post – yours or someone else's – the edit facility disappears.
Rhiannon Miller
MemberWhat the hell?! That one's brought my double-slashes through as written! What's going on?
Rhiannon Miller
MemberDammit! I edited my post twice, once to put in the double slashes, and then again to remove some bold and italic formatting that had put itself round my grep searches. And the second edit removed my double slashes. And now it won't let me edit it again (pencil icon has disappeared).
This is what I was trying to say in my last search:
(?<=//{)([//r//n]|[^//}])+?(?=//{)
Can't we have a better post formatting engine that can cope with this syntax, since it comes up so often?
Rhiannon Miller
MemberAccording to the above, you're looking for a (forced line break followed by some other stuff) immediately after an open brace. Which wouldn't match the example you give, but would probably work given a stylesheet with the right sort of formatting, for example:
p {
color: #000;
}
em {
color: #555;
a {
color: #f00;
}
So I'm going to assume that's what you meant to do. In my experiments, using the above example rather than the one you gave, I found that both 'shortest' and 'longest' searches matched the same text.
However, it might not be the best idea to specify the forced line break at the start – you might not always have the contents of the braces on a separate line. Perhaps it would be better to find 'some stuff that might include one or more line breaks'? If so, you'd be better off with something like:
(?>={)([rn]|.)+(?={)
Now this one does work with a 'shortest' match:
(?>={)([rn]|.)+(?={)
But of course, what you're actually wanting to pick up is unmatched braces. So what you need to do is specify that you want to find stuff between an opening and an opening brace that doesn't contain a closing brace. How about something like this?
(?<={)([rn]|[^}])+?(?={)
Let us know how you get on!
Rhiannon Miller
Member3/8 on its own works because you are asking the size field to perform an arithmetical operation: three divided by eight. And three divided by eight is equivalent to three-eighths of one. But what you're asking for is seven plus (three divided by eight), and InDesign can't cope with more than one arithmetical operation at once. (Notice you can't do 7+3+8 either.)
April 6, 2011 at 12:38 am in reply to: Variation on missing fonts problem – desperate for help #59185Rhiannon Miller
MemberWhen you say the font is 'missing', do you mean that you can't find it in the drop-down font menus at all, or just that it is marked as missing when you open the file and you can load it in using Find Font?
If you create a new document, can you select and use your problem font there, or does this only occur in specific documents?
Does it work if you put it in the document fonts folder?
What about the InDesign fonts folder?
April 4, 2011 at 8:13 am in reply to: strategy for replacing two text characters with one glyph #59164Rhiannon Miller
MemberYou're using Applescript, so you're on a Mac. In which case you can hunt down the character(s) you want from the Character Viewer in your menubar (and if it's not there, you can turn it on in System Preferences under Language & Text > Input Sources). You can type the name or unicode ID into the search box and then choose the character and click on it to make it insert at your cursor in your search box or your script editor. Then just use a Text or Grep search as normal.
April 4, 2011 at 6:50 am in reply to: Importing Word files into CS5: problem with style overrides #59163Rhiannon Miller
MemberI suspect these overrides are the Hyphenation, Character Direction and Kinsoku ones that I and other people on this forum have experienced from time to time. Some of these options can't be accessed through the user interface, and you'll need a script (like the one in the link) to fix it.
I've also seen something slightly different in CS5 with RTFs. If the Word styles differ from the ID styles (for example, if they use different fonts), then when the styles are mapped, the text comes in with the Word formatting applied as a local override. I haven't found a cure for this other than the usual routine of changing desired formatting to character styles and then removing all local formatting.
I forgot to say: if you hover your mouse over the name of the paragraph style in the paragraph styles panel when your cursor is in the paragraph, a tooltip will appear showing the overrides that are applied.
-
AuthorPosts
