Forum Replies Created
-
AuthorPosts
-
Rhiannon Miller
MemberAh, but it didn't show me four plates, it only showed black and yellow, which made me think there was a reason for it to show. And if there's no colour, why is Live Preflight telling me there is?
Rhiannon Miller
MemberNo, I use 'span all', or even 'span 2' or 'span 3' on single-column text all the time. If you tell InDesign to complain about it (in Live Preflight) then it will, but otherwise it won't care.
I had thought I could use span settings to automatically set space at the beginning and end of bullet lists, or before and after headings (great when you get a heading followed by a subhead, as you don't have to manually adjust the space between them). But the keep settings bug is too much of a deal-breaker for that one.
Rhiannon Miller
MemberYes, but I figured it out. The conditional text wasn’t the problem except insomuch as hiding and showing it caused the paragraphs to recompose (and the recomposition caused text wrap to stop working). The problem was our old friend, span columns. When I turned span columns off in all the styles where it was applied, the problem stopped.
Rhiannon Miller
MemberThanks for letting me know. I've filled in the form.
Rhiannon Miller
MemberOops! For some reason I was thinking there wasn't a scripts forum. But I think I must have been misremembering my thought of a few days earlier in which I was wondering if it might be an idea to have a separate GREP forum.
Your script works perfectly, thanks ever so much!
Rhiannon Miller
MemberWell, I used to be able to remove kinsoku settings with a script. I've just run the script on a new document, and now the Applescript line:
set kinsoku set of find text preferences to soft kinsoku
results in the find text preferences being set as:
+ Kinsoku: No kinsoku
Is this something they've done in the latest update to stop us from using scripts to get at things unobtainable through the user interface?
This is, of course, a slightly different issue from my original question.
Rhiannon Miller
MemberAssuming your text is reflowing because you're editing it in InDesign rather than reimporting the text, I'd split the chapters into separate stories (using Rorohiko's TextStitch plugin) and use Auto Text Flow to add new pages to the end of each chapter as it's edited. This allows you to have separate master pages for first page and main text, and if you alter the top margin on the first page master to get the chapter number in the right place, you can use Layout Adjustment to automagically snap the text frame to the margins as you apply the master page (if you ever need to). This method also preserves any section starts you might be using.
Of course, this doesn't help if you're replacing the text of the whole document in a single file.
July 28, 2010 at 5:50 am in reply to: Inch symbols (double prime) being changed to quotation marks! #56487Rhiannon Miller
MemberLee: you need to make sure you're using proper primes, not just straight quotes (which is what Ctrl-' gives you), as David and Jongware explained above.
If you're on a Mac, you can easily find the actual prime and double prime symbols using the system Character Viewer (Character Pallette in pre-Snow Leopard versions) from the top menubar next to the clock (if it's not there you may need to turn it on in System Preferences > Language and Text > Input Sources). The prime and related symbols are listed in 'Punctuation', or in Snow Leopard you can actually type the word 'prime' into the search box at the bottom and it will find it for you, and then you can click on it to insert at the cursor.
From the Character Viewer you can also see which fonts contain these characters; if you're using them a lot you might want to make sure you're using a font that includes them, or at least (if you don't have control over the font) one that's a better match for your text than Symbol (an ugly font if ever there was one).
Once you have chosen your font, you can do a GREP search to find and replace quotes with primes as described above (you can insert the prime character from the Character Viewer into the Replace box). If you aren't using a text font that includes the prime character, you can then set up a GREP style in your paragraph style to put the primes and double primes into a character style that has the appropriate font.
July 27, 2010 at 10:50 pm in reply to: Inch symbols (double prime) being changed to quotation marks! #53423Rhiannon Miller
MemberLee: you need to make sure you're using proper primes, not just straight quotes (which is what Ctrl-' gives you), as David and Jongware explained above.
If you're on a Mac, you can easily find the actual prime and double prime symbols using the system Character Viewer (Character Pallette in pre-Snow Leopard versions) from the top menubar next to the clock (if it's not there you may need to turn it on in System Preferences > Language and Text > Input Sources). The prime and related symbols are listed in 'Punctuation', or in Snow Leopard you can actually type the word 'prime' into the search box at the bottom and it will find it for you, and then you can click on it to insert at the cursor.
From the Character Viewer you can also see which fonts contain these characters; if you're using them a lot you might want to make sure you're using a font that includes them, or at least (if you don't have control over the font) one that's a better match for your text than Symbol (an ugly font if ever there was one).
Once you have chosen your font, you can do a GREP search to find and replace quotes with primes as described above (you can insert the prime character from the Character Viewer into the Replace box). If you aren't using a text font that includes the prime character, you can then set up a GREP style in your paragraph style to put the primes and double primes into a character style that has the appropriate font.
Rhiannon Miller
MemberThat looks ideal! Thanks! I have several of these to do (all with the same target style names), so this is going to make my life much easier.
Rhiannon Miller
MemberThat looks ideal! Thanks! I have several of these to do (all with the same target style names), so this is going to make my life much easier.
Rhiannon Miller
MemberAh, fantastic! That's exactly what I was looking for! Thank you!
Rhiannon Miller
MemberOK, I think I've tracked down the problem a little more now.
In this document there is a single paragraph style for running heads (aligned away from the spine). The text of the running head should be in roman but the page number should be in bold, so I'd set up a GREP style to apply a bold character style to the page number. If I delete this GREP style, the problem goes away.
I'm going to try and replicate the problem in a new document. I'll let you know how I get on!
Rhiannon Miller
MemberEugene Tyson said:
as(?!cold).+snight
That still matches 'a freezing cold night' (it only eliminates matches where 'cold' is the first word after 'a'). The word 'cold' might appear anywhere ('a cold and gloomy night').
If I try changing it to
as(.+)?(?!cold)(.+)?snight
then all the phrases containing 'cold' start getting matched as well, as .+ matches anything including 'cold'.
It might not be possible for GREP to do what I want, because it processes strings linearly, and to do this properly I think it would have to get to the end of the phrase and see whether it ended in 'night' before skipping back and seeing if it had encountered a 'cold' anywhere along its length.
Rhiannon Miller
MemberOK, I think I've tracked down the problem a little more now.
In this document there is a single paragraph style for running heads (aligned away from the spine). The text of the running head should be in roman but the page number should be in bold, so I'd set up a GREP style to apply a bold character style to the page number. If I delete this GREP style, the problem goes away.
I'm going to try and replicate the problem in a new document. I'll let you know how I get on!
-
AuthorPosts
