Skip navigation
Currently Being Moderated

Footnote Handling in XML Workflow

May 3, 2012 2:01 AM

Hi Geeks,

 

How to handle footnote in XML Workflow like Non - XML workflow(InDesign Footnote feature) without disturbing xml structure. We are handling the books which are having more than 3000 footnotes. Placing at the bottom of the page as per the citation, resizing main and footnote textframe takes more time consuming and manual work.

 

 

Regards,

SASE

 
Replies
  • Currently Being Moderated
    Jul 31, 2012 6:05 AM   in reply to SASEKUMAR

    Hi Sase,

     

    Indesign won't support XML tags in auto footnote stream.

    You need to change all the footnote XML "<"  ">" to a sequence name.

    eg. <footnote> ---> *&*ang*&*footnote*&*angc*&*

     

    The angle should be changed before importing it into indesign.

    Then using script you can convert all the footnotes to auto footnotes and finally change *&* to angle.

     

    Lots of base work involved for XML footnote automation.

     

    IN-Process

    1. XSLT to move all the footnotes to respective places

    2. Scripts to convert all the footnotes to autofootnotes

     

    OUT-Process

    1. Script to revert footnote to respective places

    2. Pearl to convert the footnote as per DTD

     

    Shaji

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 26, 2012 12:52 AM   in reply to M V SHAJI

    Hi!

    I'm in the process of working with big XML-files with a lot of footnotes. Are these scripts that you speak of available for download somewhere?

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 26, 2012 4:55 AM   in reply to SimonLinden

    No, this script is not available anywhere, you need to develop.

     

    Shaji

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 26, 2012 5:13 AM   in reply to M V SHAJI

    I've been looking around and found the ReFoot script which is a good starting point. The patterns need to be rewritten if you have tags inside your footnote tags (which I do) - but that's not a problem. I've found no way to get it to work with tags in inDesign though so the method you mentioned of changing "<" and "<" to another sequence is still my best option.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 26, 2012 6:03 AM   in reply to SimonLinden

    You need to create a script to convert the "<" to @@angopen@@ some thing like this. So that your refoot will work.

    Then script a script to convert @@angopen@@ to "<" in the footnote stream.

    While exporting you need to write a script to handle the "bold", "italics" etc..

     

    Shaji

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points