Forum Replies Created
-
AuthorPosts
-
David BlatnerKeymasterSingle-line composition is more straightforward to control, but multi-line will almost always provide a more pleasing look because it’s looking at spacing in the whole paragraph rather than just one line at a time. I like Theunis’s idea of using No Break for special exceptions like this.
See also:
https://indesignsecrets.com/why-no-break-is-better-than-a-line-break.php
and
https://indesignsecrets.com/the-great-paragraph-composer-paradox.php
David BlatnerKeymasterWOW. That’s awesome. Sometimes these one-liner scripts just blow my mind.
Allan, if you’re not sure what to do with that, see this:
https://indesignsecrets.com/how-to-install-a-script-in-indesign-that-you-found-in-a-forum-or-blog-post.php
David BlatnerKeymasterI’m not sure. One idea is to copy the text from the field in the Control panel and then paste it into the Find/Change dialog box. Another option is to switch from cm to points or picas or something and see if that works.
David BlatnerKeymasterOh, I think Aaron is on to something here: Did you type “Chapter 1: Chapter Title” on the page, and the variable is picking up all that text? Yeah, that won’t work. As he said, a variable is a single character — InDesign can’t “see inside” it.
I wonder if running a script such as this would help:
https://indesignsecrets.com/topic/script-to-convert-all-text-variables
David BlatnerKeymasterHave you tried with a Nested Style instead? Might be easier and more straightforward.
Like this:
https://indesignsecrets.com/video-how-to-automate-run-in-header-styles.php
David BlatnerKeymasterJust to be sure I understand what you mean: you have something like this:
This is my heading. And here is some more text.
and you want to change it to:
This is my heading.
And here is some more text.Yes?
I’m not sure you can do that with a single find/change, but you can probably do it with two. First, in the GREP tab of find/change, you could search for
^.+?[?!.]and replace it with$0¶\r
Then switch to the Text tab of find/change and search for ¶ and replace with a space character and also apply the paragraph style.(You don’t have to use ¶… you can use any weird character that you don’t use anywhere else.)
The grep code just means “find the first sentence, up to a question mark, an exclamation point, or a period, followed by a space”
David BlatnerKeymasterIf you have a facing pages document and you export the PDF with bleed on all four sides, then you will definitely see a little bit of the right-hand page on the left-hand page of the PDF (and vice versa). Some printers want that. Some do not. (If they don’t want it, then you should export the PDF with the bleed only on the top, bottom, and outside edges — leave the inside bleed to zero.)
David BlatnerKeymaster(Sorry about your posts not showing up, Jemar. They were being held for moderation for some reason.)
Generally, odd pages will be on one side, and even on the other. If you set up your document as “Facing Pages” (in the New doc dialog box) that helps.
David BlatnerKeymasterYeah, auto page numbers are variables, so they’re not like other text. They definitely don’t work with the Auto-Size feature very well!
David BlatnerKeymasterJohn: Your original expression won’t work because you can’t have a whole bunch of “positive lookbehind” in a row.
Aaron’s suggestion is interesting, but note that it literally only finds the space between the month and the date. If you apply a No Break to that (with a grep style, for example) then it won’t break.August 3, 2019 at 5:54 am in reply to: Indesign to PDF Erorrs: how to find the bad page that is stopping the process? #14324372
David BlatnerKeymasterThumbs up on Alan’s answer. :-)
-
AuthorPosts
