Forum Replies Created
-
AuthorPosts
-
Justin Sligh
MemberJahrod,
Try the grep
(^.+?)(\x20)
Replace with:
$1I was unable to find only the first whitespace character with positive lookbehind or \K. Might just be a lack of coffee. Instead, your grep looks for the first instance of one or more characters followed by a whitespace. You then break that up into two found sets using parentheses. For the replace, you call the first found set using $1 and then the forced line break
Justin Sligh
MemberI love the smell of GREP in the morning.
Justin Sligh
MemberDelfim,
If you need to find numbers 2001 and greater, the following grep will work.
If you explain the nature of the change or provide an example, maybe we can provide an alternate solutions.
2\d\d[1,2,3,4,5,6,7,8,9]|[3,4,5,6,7,8,9]\d\d\d?\d+
The first part before the pipe looks for a number 2001-2999 and the second portion looks for 3000-any. This is assuming no additional marks or delineators.
Justin Sligh
MemberBeeBaron,
Masood’s suggestion is a great idea.
If you had a sample showing what your content looked like, what the smaller selection looked like, and where it is located within each section, we could narrow down the best solution.
Justin Sligh
MemberScott,
Im pretty sure that is more of a GREP Find/Replace than a grep style situation.
Justin Sligh
MemberChris,
Are your chapters individual InDesign files within a book or one single InDesign file.
If the desired pages always exist at the beginning of your chapters, you could break out “subchapter” InDesign files and then create a separate book that only includes those desired portions.
Existing Master Catalog book(400 pages, chapters of 50 pages):
Chapter 1
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 6
Chapter 7
Chapter 8Broken out, as well as new Master Catalog book:
Chapter 1a
Chapter 1b
Chapter 2a
Chapter 2b
Chapter 3a
Chapter 3b
Chapter 4a
Chapter 4b
Chapter 5a
Chapter 5b
Chapter 6a
Chapter 6b
Chapter 7a
Chapter 7b
Chapter 8a
Chapter 8bSmaller catalog book from the same files:
Chapter 1a
Chapter 2a
Chapter 3a
Chapter 4a
Chapter 5a
Chapter 6a
Chapter 7a
Chapter 8aXa would have the new chapter marker
Xb would continue from the previous (see book preferences)If you keep your catalog details in a database, which can export to XML, you can automate your catalog. That would support a sub query solution to your problem.
Justin Sligh
MemberConor,
PDFs can only have buttons with bounding boxes that are squared up with the page.
SWFs can have buttons with bounding boxes that are at angles.First, you must create a rectangle, which is squared with the page. Second, you create the button. Third, you rotate the button to the desired angle. If you export to SWf, it should work. If you export to PDF, it will revert back to the squared-to-the-page bounding box.
If you rotate your rectangle before making it a button, the bounding box will revert to being square to the page.
I know you are creating a SWF, but those who are having the same issue with interactive PDFs, you can tackle it with Bob Levine’s workaround. This involves creating multiple tiny buttons and aligning them on the desired angle to tile out your shape.
Justin Sligh
MemberNo worries. A lot of people overlook this when planning saddlestitch and tabbed documents. I typically draw up spreads on a sheet of paper to plan my documents.
Justin Sligh
MemberRon, I think it would depend on the type of document and what your workflow is. When you set a document up with Facing Pages, InDesign will create a document that starts with a single page on the right and then continue with two-page spreads. Odd pages on the right and even pages on the left.
Is your intent to have the first section of your document (i.e., the section with roman numerals) three pages of content with the fourth blank?
If so, I would consider adding a blank page at the end of the section to keep even and odd pages in their place. In technical documents, I have a specific marker on the page indicating they are blank.
Alternatively, does your document consist of 32 spreads that will be inserted into another document for print (i.e., you want the first page of your document to be on the left)?
Justin Sligh
MemberHave you ran your document out as an IDML and brought back into InDesign. Sometimes that clears up some abnormalities.
Justin Sligh
MemberAre you trying to create a TOC based on Character Styles versus Paragraph Styles? InDesign can only automate table of contents via Paragraph Styles.
Justin Sligh
MemberIf you override a text frame, which was included on an associated master page, it will be included into the TOC. To do this, you command+shift-click (control+shift+click on PC) the text frame.
It sounds like you are using separate master pages for each section of your document. If that is the case, you could consider a different route using Number & Sections Options, as well as Special Characters.
1. Set up a single master page for your content
2. In lieu of manually entering the title for your section on the master page add a section marker. Type > Insert Special Character > Markers > Section Marker. On the master page, it will display as the word “Section”. Create a specific paragraph style for this text frame.
3. Add additional pages to your document to test.
4. On the page that starts the first section of your document, assign a Section Marker.
4.a Right-click the page in the Pages Palette and select Numbering & Section Options.
4.b Enter the section’s name in the Section Marker field and select OK5. Override the master page header text frame by command+shift-click (control+shift+click on PC) on the text frame.
Repeat 4 and 5 for the first page in each section.
What this accomplishes:
1. Subsequent pages within the section will retain the section header, which it pulls from the Numbering & Section Options
2. Section headers will be pulled for the TOC.Why would you do this versus using separate master pages for each section:
1. You must override a text frame for it to be considered for the TOC. If you override the text frame, changes to this text frame on the master page will not cascade to overridden frames.What are common issues:
1. Section Markers do not truncate. (i.e., you cannot have multi-line headings using this technique.)Justin Sligh
MemberGert,
(?<=^Art\.)\d+
Positive lookbehind for “Art. ” only at the beginning of a paragraph followed by one or more digits.
Justin Sligh
MemberCan you provide an additional description or a screenshot of what your goal would be?
Justin Sligh
MemberSupply images.
Check to see if you have something on your master page or any parent to the master page. Then check to see if you have individually locked an object in the layers palette.
-
AuthorPosts
