Back

If your email is not recognized and you believe it should be, please contact us.

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • in reply to: Footnote Style Overrides #14323857
    hancilt
    Member

    Many 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

    in reply to: how to synchronize document footnote options in book? #67512
    hancilt
    Member

    Thank you a lot David, (and Jongware) this was what I hoped for…

    in reply to: Book style sheet help #67472
    hancilt
    Member

    Jstern, 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

    hancilt
    Member

    Thank 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

    hancilt
    Member

    Reviving 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

    hancilt
    Member

    Thank 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

    hancilt
    Member

    Ingenious indeed. thanks, I have completely missed the possiblity to base variable on character style: that makes the trick.

    in reply to: Importing Word file: characters moving to end of document #55195
    hancilt
    Member

    Yes, 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)

    hancilt
    Member

    Thanks. That explains it. It would be really nice to have fixed in next version….

    in reply to: Combining text variables and grep styles – does it work? #52193
    hancilt
    Member

    Ingenious indeed. thanks, I have completely missed the possiblity to base variable on character style: that makes the trick.

    in reply to: Importing Word file: characters moving to end of document #52183
    hancilt
    Member

    Yes, 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)

    hancilt
    Member

    Thanks. That explains it. It would be really nice to have fixed in next version….

    in reply to: GREP examples #55184
    hancilt
    Member

    Examples 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…..

    in reply to: GREP examples #52167
    hancilt
    Member

    Examples 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
    Member

    Thanks 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

Viewing 15 posts - 1 through 15 (of 18 total)