Skip navigation
Currently Being Moderated

Batch export text from multiple Indesign files, applying <em> and <strong> tags

Mar 28, 2013 11:24 AM

Hi there,

 

I am struggling for a while now with the following workflow:

 

batch exporting all text (text only) as plain text, from multiple Indesign files, applying <em> and <strong> for all the bold and italics (for instance: Molluptas verion <strong>nossum</strong> idist <em>doluptatet</em> maiorerum quiaspienit, cum erferiosapis eos expe nonsequas verumquae dolor sim eos doluptatiur autet lab idicili beatum deliquat).

 

Properly tagging the styles, will be too time consuming, as these documents are as old as 1998, have inconsistent untagged styles; it will mean to manually open up each file, assign tags for all styles (not to mention that might be some local overwrites).

 

This task is necessary to have all the archive, available on wordpress website.

 

Any feedback would be much appreciated it.

 

Thanks.

 
Replies
  • Currently Being Moderated
    Mar 28, 2013 11:40 AM   in reply to NUVART

    What exactly do you want us to suggest? If you want this to work you’ll need to set your files up correctly and that means using character styles that are properly mapped to tags and then exporting the HTML out of InDesign.

     

     

     

    Bob

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 28, 2013 11:52 AM   in reply to NUVART

    It sounds like you need a script.

    A script could cycle though your text looking for text styled with italic, oblique, bookitalic, etc. to cover all the possible font attributes and tag the text.

    Someone in the ID scripting forum may be able to help you write this.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 28, 2013 12:10 PM   in reply to NUVART

    There may well be a script or you may have pay someone to write it. All I can tell you is that any text not mapped to a style will be a mess in the HTML code.

     

     

     

    Can’t comment on Quark files. I have no clue what they’re capable of.

     

     

     

    Bob

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 28, 2013 1:37 PM   in reply to NUVART

    You could do a find change:

     

    Capture.PNG

    Bob

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 28, 2013 6:15 PM   in reply to NUVART

    Check out jongware's preptext script...

     

    Free Scripts Help Fix Word Formatting | InDesignSecrets

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 1, 2013 9:24 AM   in reply to NUVART

    Well, my thinking was it could be used to apply styles to the formatting, then you can map styles to tags (which is outside my workflow).

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 1, 2013 9:40 AM   in reply to NUVART

    You should probably ask about this over in scripting. I'm quite sure there should be a way to batch process a folder of files through Preptext, then map styles using a script.

     
    |
    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