Forum Replies Created
-
AuthorPosts
-
hancilt
MemberMany years ago Peter Kahler wrote me this script to fix that:
app.documents[0].stories.everyItem().footnotes.everyItem().paragraphs.everyItem().appliedParagraphStyle
= “YOURFOOTNOTESTYLENAME”which basically gets rid of all overrided in all footnotes.
Make sure that all your formating in footnotes is captured by styles and then run this.Tomas
hancilt
MemberThank you a lot David, (and Jongware) this was what I hoped for…
hancilt
MemberJstern, the solution for this problem using special mater page is possible, but (sorry David) little overkill,
I would suggest another workaround: specify a style for that first paragraph in each chapter. In that style you just set Advanced char format/baseline shift
to – how much in points you need the first paragraph to fall down in negative number – and then to adjust for that you specify space after to the same amount, this time in positive number – that way you have complete control of where your first paragraph in chapter starts on its page. I am using this for almost all my chapter titles that are never starting at the top of the page…Tomas
January 10, 2012 at 3:02 pm in reply to: TOC from ID not transferring across to display in ePub viewed in ADE #61392hancilt
MemberThank you – the “main” TOC document did not occur to me as possible problem.
So I have made some progress. – I have a MOBI with TOC, yet no all TOC items are included – what I have is a subheading sequence with about 18 items – and only 1,2 and number 8 appears in the TOC in MOBI – inspite of the fact that they are the same style and do generate consistently in IND.
I am going to have a read of the guidelines now to figure this one out.
I really appreciate your help Anne-Marie. Tomas
January 8, 2012 at 10:23 am in reply to: TOC from ID not transferring across to display in ePub viewed in ADE #61365hancilt
MemberReviving this thread: I have similar, but more puzzling issue: when using KIINDLE plugin it does not see my TOC style at all – there is an empty list with just Default available – and understandably the resulting MOBI file claims that the TOC was empty and was not included for that readon.
Have you ever came accross that?
I am tryint to convert a book made up by 4 documents
Do I have to have the same TOC style in the other documents as well? (for some reason it messes up the formating (I have no clue why that should be the case… but at this moment it does…)
Thanks Tomas
January 31, 2011 at 5:44 am in reply to: How to reapply styles to get rid of local formating automatically? #58564hancilt
MemberThank you – it does the trick – very efficient – it cleans even items on master pages.
I really appreaciate your imput to this forum. (I have learned a lot from your grep examples over the years here, but being only occasional user of IND I will probably not start seriously learning scripting – GREP does a lot for me)
Thus even if it looks trivial – it would take me a long time to come up with a similar one-liner to solve my problem. Thanks
March 18, 2010 at 5:46 am in reply to: Combining text variables and grep styles – does it work? #55197hancilt
MemberIngenious indeed. thanks, I have completely missed the possiblity to base variable on character style: that makes the trick.
March 18, 2010 at 4:57 am in reply to: Importing Word file: characters moving to end of document #55195hancilt
MemberYes, in my experience the sequence: accept changes, convert to DOCX and then import fixes most of the problems described above. It fixes even the annoying thing that CS3 or cs4 sometimes “forgets” to import a footnotes, or skips one or messes up their sequence which results in shifting several manually from place to place. But in my exprience the RTF format makes things often worse /expecially documents with multiple alphabets and footnotes are nightmare in RTF)
March 18, 2010 at 4:52 am in reply to: Combining text variables and grep styles – does it work? #55194hancilt
MemberThanks. That explains it. It would be really nice to have fixed in next version….
March 17, 2010 at 10:46 pm in reply to: Combining text variables and grep styles – does it work? #52193hancilt
MemberIngenious indeed. thanks, I have completely missed the possiblity to base variable on character style: that makes the trick.
March 17, 2010 at 9:57 pm in reply to: Importing Word file: characters moving to end of document #52183hancilt
MemberYes, in my experience the sequence: accept changes, convert to DOCX and then import fixes most of the problems described above. It fixes even the annoying thing that CS3 or cs4 sometimes “forgets” to import a footnotes, or skips one or messes up their sequence which results in shifting several manually from place to place. But in my exprience the RTF format makes things often worse /expecially documents with multiple alphabets and footnotes are nightmare in RTF)
March 17, 2010 at 9:52 pm in reply to: Combining text variables and grep styles – does it work? #52191hancilt
MemberThanks. That explains it. It would be really nice to have fixed in next version….
hancilt
MemberExamples are good, but hands on approach is even better. I am using G. Skinner's tool here:
https://www.gskinner.com/RegExr/
to check my attempts. Without this i would not be able to solve many problems, since my skills in GREP syntax are very limited.This tool is a heavenly gift…..
hancilt
MemberExamples are good, but hands on approach is even better. I am using G. Skinner's tool here:
https://www.gskinner.com/RegExr/
to check my attempts. Without this i would not be able to solve many problems, since my skills in GREP syntax are very limited.This tool is a heavenly gift…..
December 22, 2009 at 7:08 pm in reply to: Base line option in text frame – how to set for all linked frames? #54320hancilt
MemberThanks a lot,
I was looking in wrong places: changing the default object style did not occure to me (while at hingsight it is kind of logical…)- and I did not even know how to make it default. So this is a solution I would be searching for a LONG TIME…
Tomas
-
AuthorPosts
