Forum Replies Created
-
AuthorPosts
-
February 3, 2017 at 10:12 am in reply to: GREP – find/change the second occurrence of a comma #91882
Kai Rübsamen
MemberHolly, I’m pretty sure, that my code should work in a perfekt world. Even if you have a solution, would you please provide two lines of a real example. Thanks
Kai
Kai Rübsamen
MemberHi Holly,
try this one:
Find what: ^(.+?\K,\x20){2}
Change to: \rKai
Kai Rübsamen
MemberTry this one in the GREP-tab:
(?<!.|\v)\r|\r(?!.|\v)
Kai
Kai Rübsamen
MemberKen, what is the benefit of using “circularflo” in this case?
Kai
Kai Rübsamen
MemberIt is not clear to me, how you create your hyperlinks and I’ve no idea, what the Chicago manual is ;-)
However: I can confirm the spaces in the hyperlinks panel. A little script can repair those blanks:
var allHyperlinks = app.activeDocument.hyperlinks; var nHyperlinks = allHyperlinks.length; for (var i = 0; i < nHyperlinks; i++) { var curHyperlink = allHyperlinks[i]; var curStr = curHyperlink.destination.destinationURL.replace(/\x20/g,""); curHyperlink.destination.destinationURL = curStr; }Kai
Kai Rübsamen
MemberIf you mean footnotes, use footnotes. Here you have 3 options: PopUp in EPUB 3 (not recommended), directly after the paragraph (not recommended), at the end of the story. This can be the end of a chapter or the end of a book and is depending on how your textframes are threaded.
An alternative way could be hyperlinks or crossreferences. I’m pretty sure, that you will find some helpful informations in AMs video trainings at lynda.com.
Kai
Kai Rübsamen
MemberDwayne, to much text! Who should read this …
Anyway:
1. A hyperlink is only a real hyperlink, if it shows up in the hyperlinkspanel! The fact, that a link is clickable in Acrobat, means not, that it is a hyperlink by default!2. Avoid those artistic breaks inside of hyperlinks! No break or discretionary line break should not be a problem. If so, remove those things in a epub-indesign-file.
3. There are surely some possibilities to automate things and speed up the process, but this need a better understanding of your needs and examples and should not be part of a forums thread.
Kai
Kai Rübsamen
MemberI use Place and Link for a Training program, where a course can appear in different categories (2-10). Once course = one textframe. At the beginning of the year, all changes are made and it is important that the changes are made only once. So I’m realy happy with Place and Link, even if it’s a 1.0 feature.
Kai Rübsamen
MemberHow to update the content of a textframe on masterpages, that are not based on each other?
This isn’t so complicated and need only minor preparation:
1. Create on your first mp an empty textframe on both sides
2. Paste in place those two frames to the other masterpages
3. Write your text in the first frame on mp 1
4. Click in your textframe, choose “Place and Link”
5. Choose “Place multiple and keep in conveyor”
6. Simply click with your loaded cursor in every empty frame on your masterpages
7. Make your changes in the first frame
8. Update all occurrences at once with the links panelbtw: There exists a real watermark-feature in InDesign too, but this is only available via scripting!
Kai
Kai Rübsamen
MemberIt is not a problem, if you have at the end 50 xhtml-files in your zip. It is a matter of organizing your workflow!
Kai Rübsamen
MemberThis is how it works! If you play with Keep-options you get in newer versions of InDesign css page breaks. But a lot of readers will ignore them. So it is always a good idea, to split your document in multiple files.
Kai
Kai Rübsamen
MemberDavid, are you sure, that you view AMs videos carefully?
1. Map your styles directly in InDesign, not in BBEdit > paraStyles menue > Edit all export tags
2. Activate “split document” per para style
3. Activate “split document” based on export tagging in the export dialogNotice, that is good practice, to check your html first and activate “split document” at a later point. Otherwise you must check you html in several docs instead of one.
Kai
Kai Rübsamen
Member> So I have to decide if I want to continue learning to work with InDesign or learn how to create epubs in a way that gives me more control over the HTML.
No, this isn’t the question. Most books exists already in a print format and the goal is, to transport those well formatted text to html. So, if your book is already in InDesign, stay in InDesign. But if your text is HTML or Word or in Pages, it is maybe better to work with other programs.
Whatever your decision is: Learn to understand the process and built your own workflow!
One last example: InDesign generates wrong CSS for images > it set width and height attributes and some readers will skew the images. So you need first those readers, second you must have the knowledge, what is going wrong here and how to fix it (maybe in BBEdit).
While it might take 5 hours to see AMs training, it will surely take much longer, to understand the whole process ;-)
Kai
Kai Rübsamen
MemberDavid Blomstrom: I’ve the feeling, that you do not understand what is going on here! So:
1. InDesign is a program for layout, not for HTML by default
2. You can do some things in InDesign and EXPORT the content as html or epub, you cannot realy IMPORT HTML as complete pages.
3. While InDesign generates good html, it creates poor css
4. You can open the exported epub in different programs. Some are only for viewing, some are for editing
5. BBEdit is a texteditor, not an epubeditor! So everyhting must be done by hand!
6. If you crack up a epub with eCan-Crusher, you can add your xhtml-files, BUT you must also set a reference in the content.opf-file!
7. If you use programs like SIGIL or Calibre, those entries will be set automaticallybtw: If you work with Dreamweaver, there is no need of creating EPUBs with InDesign. You can import the files directly e.g. in SIGIL and create the xml-structure for the book.
Kai
January 26, 2017 at 4:40 am in reply to: Apply Object Style to specific text frame with label name #91602Kai Rübsamen
MemberThis isn’t possible since CS5 (?) anymore. Instead you must loop through all frames and check the label (or name).
Kai
-
AuthorPosts
