Forum Replies Created
-
AuthorPosts
-
January 22, 2019 at 1:47 pm in reply to: GREP or character style for kerning one pair of letters #113810
Aaron Troia
ParticipantWeird, in my test it only added the tracking after the “r”. Yeah I dont know why but it seems to be able to apply kerning values, it has to be done manually. I was hoping that using tracking would be a work around.
Have you tried Peter Kahrel’s Kerning script? I just ran across it and it might do the trick for what you’re needing. https://www.kahrel.plus.com/indesign/kern.html
January 22, 2019 at 12:12 pm in reply to: GREP or character style for kerning one pair of letters #113801Aaron Troia
ParticipantGrace,
You could try
r(?=n)and apply a character style with how ever much tracking (as kerning only gives you three options in character styles) you need to separate them. That should only apply it to the “r” but only an “r” followed by an “n”.January 20, 2019 at 8:36 pm in reply to: GREP command that finds the character after or before a word or character(s) #113768Aaron Troia
Participantoh good! Yes it is possible to find the first character of a predetermined word, try
e(?=nhance)January 19, 2019 at 8:32 pm in reply to: GREP command that finds the character after or before a word or character(s) #113761Aaron Troia
ParticipantHey Chris,
Based on your punctuation example, this should work for that:
(?:\.|,|;)\K\wWith the \K there is no capture group, so your replace field I believe you would use $0 which just replaces whatever is found with itself.
Aaron
Aaron Troia
ParticipantI’m not sure what it might be now, but I believe it really depends on the store you plan on selling it as there is no hard maximum used throughout the industry.
According the the Nook spec (circa 2010), it says max file size is 300kb for reflowable. They may have upped that, but that’s what their latest spec says.
I’m sure iBooks is higher than that, I think I saw someone say its something like 1-2GB, which I haven’t tested but is on the higher end of the spectrum. I wouldn’t be surprised if it was indeed that high or higher seeing how screen resolution on their products is increasing.
So if you want to sell your ebook in every store, you have to limit yourself to the store that has the smallest file size limit, or just plan on selling it in certain stores that allow for larger file sizes.
I do believe the file size limit is much larger for the fixed layout format as they usually are much heavier in images/video/audio.
Aaron Troia
ParticipantHello Kara,
No unfortunately there is no title case option for that in paragraph style GREP or in character styles. The only place InDesign gives the option to change text to Title Case is under the Type menu in Change Case.
The only way to do it would be to Find/Change “smart buyer” to “Smart Buyer.” I know its an extra step, but you can always save your Text/GREP searches if you need to do them often enough.
Aaron
Aaron Troia
ParticipantHey David,
Straight from InDesign to ePub I think the popup needs to be a footnote or an endnote. Even if you do them by hand in the HTML/CSS they would have to be set up the same way, unless you do some custom JavaScript popups.
I dont have any experience with doing popups in PDFs so I’m not sure of the process or how they export to ePub.
Aaron
Aaron Troia
ParticipantThat makes total sense, it strikes me as odd that they have one default shortcut for two different actions like this. Glad you were able to find something that works better for your work flow!
Aaron Troia
ParticipantHey Marlon, welcome to the InDesign Secrets forum!
One workaround would be to just modify the Delete Row shortcut to something different but similar (one that you can remember, maybe add one or two more modifier keys to Cmd+Delete shortcut, like Shift+Cmd+Delete which is available to assign in my shortcuts) in your Keyboard Shortcuts.
Aaron
Aaron Troia
ParticipantI totally agree, and you’re not alone a number of people are having the same issue. My work around so far has been to import my .doc files into CC2017 and then once I have all my documents flowed in, switch to CC2019. It bugs me that I have to keep multiple copies of InDesign on my computer because of things like this, but its the only thing I have found to keep me from pulling my hair out in frustration over the endnote numbers.
I did see in Adobe’s feedback forum that someone posted this issue and one of the Admins confirmed that it is a bug, hopefully that means that this will be addressed in the next update.
November 29, 2018 at 1:08 pm in reply to: Endnote Superscripts are lost when exported to EPUB #111882Aaron Troia
Participantok, that might be where the issue is coming from.
I just did a test export with a chapter I have with endnotes using the Endnotes feature both with the normal import and with the static text import and added a superscript character style to the numbers on both. I’m looking at the HTML and CSS and it appears with the standard import it doesnt retain the superscripted character style in the endnotes section but you have live links to your endnote numbers in the text. The static text import retains the superscripted character style but does not link to your endnote numbers in the text. I dont know why InDesign is overriding that character style on Export, looking at the code it really shouldnt be a problem to implement, each number has two character styles applied to the anchor tag that arent even in the stylesheet (so basically they’re unused), by simply adding
vertical-align:super;to one of the classes it superscripts them.Anyway, sorry that took a little tangent into the HTML and CSS. But off the top of my head I dont know of a work around in InDesign to keep the numbers superscripted on export since it appears that they are overriding character styles, well, besides going into the HTML and CSS itself and adding it by hand.
Hope that made sense, I might submit this to the InDesign feedback page because it really shouldnt override superscripting on ePub Export.
November 29, 2018 at 11:59 am in reply to: Endnote Superscripts are lost when exported to EPUB #111880Aaron Troia
ParticipantBryana,
No problem, hopefully we can figure it out.
So how were the numbers generated? were they generated from using InDesign’s Endnotes feature?
No, you don’t need to have an additional stylesheet, I was just asking because I wasnt sure how experienced you were with CSS and wanted to rule out any CSS conflicts that could be occurring if you did.
November 29, 2018 at 9:20 am in reply to: Endnote Superscripts are lost when exported to EPUB #111878Aaron Troia
ParticipantHello Bryana,
Off the top of my head I’m not sure why, I our house style doesnt superscript the numbers in the endnotes section but just thinking of how InDesign would export and not superscript the numbers.
Do you happen to have the numbers in your endnotes section set up with the Bullets and Numbering within your paragraph style? That would export as an ordered list in the HTML and probably wouldnt export as superscripted numbers, you might be able to superscript the numbers in CSS, but I’m not sure.
If they’re hard coded numbers (ie someone typed them in), you said you have a character style applied to them, are you exporting with InDesign CSS or a custom CSS stylesheet)? also have you looked at the CSS to see what its doing (or not doing) and maybe looked to see if there were any conflicting CSS classes?
Aaron
Aaron Troia
ParticipantMichel,
I fully agree and thank you for calling me out on that. I didn’t mean to initially steal Loic’s code, I should have waited and done my due diligence to find the dev’s name before posting it. Had I remembered (or found the original post) I would have linked directly to it without hesitation.
I will remember this anytime I post code from here on out, I have gotten so much help in this forum and don’t want to get a reputation for not giving recognition where it is due.
Aaron
Aaron Troia
ParticipantBill,
I think I had this question a few years back and someone answered and gave me a script that I feel I should pass on.
//Get a collection of graphics in the doc var imgs = app.activeDocument.allGraphics; //Loop through the graphics in the collection for(i=0; i<imgs.length;i++) { //use function move(to) to place graphics in layer named myLayer imgs[i].parent.move(app.activeDocument.layers.item('Images')); } //Set myLayer layer options to be not visible and not printable app.activeDocument.layers.item('images').visible=true; app.activeDocument.layers.item('images').printable=true;Aaron
-
AuthorPosts
