Skip navigation
Currently Being Moderated

Is it possible to generate a list of paragraph and character styles from the book level?

Jan 26, 2013 6:55 AM

Hello,

 

I have several hundred unstructured FrameMaker 11 files (using the Tech Comm Suite 4) that I need to migrate to structured FrameMaker 11 (for S1000D/DITA use).

 

I would like to generate a list of Paragraph Styles and Character Styles found in each FrameMaker 11 file.  Is it possible to do this from

the a book level in FM 11?

 

Yes, I do know that I can run a conversion table on each file manually and collect all the styles, but it would be easier if I could just do it from a book level
or better yet, point to a folder full of .FM files and run some type of script.

 

Has anyone done this before?  I was looking around for an answer earlier, but have not found one yet.

 

Thanks in advance for any ideas offered.

 

Regards,

 

Jim

 

BTW - I am using the Adobe Technical Communication Suite 4 on a Windows 7 (64 bit laptop).

 
Replies
  • Currently Being Moderated
    Jan 27, 2013 11:32 PM   in reply to jamesm0671

    I have always had the impression – in other words, I could be totally wrong and hope some more knowledgeable contributor will gently correct me – that generating a ToC for a book hoicks all the styles into the ToC just in case it needs them later. If that's so, you could save out the ToC as a .mif file and pull out all the PgfTag and FTag lines. (which would be just the sort of housekeeping I'd hope someone had already written a script for)

    HTH.

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 28, 2013 10:14 AM   in reply to jamesm0671

    You can collect all of the paratags used in a file or book using the Special > List of > Paragraphs... and then select all of the tags. Then in the LOP, change the Reference page layout for the LOP so the default <$paratext> building block is now <$paratag>. You could also add either <$filename> or <$fullfilename> to get the specific file info.

     

    Also, if you specify comma spearators in the LOP definition, e.g. <$filename>, <$paratag>, etc. you could then save the file as text and use it as csv file in a spreadsheet to sort and simplify.

     

    Note: this approach will only get the tags present in the catalog. Any overrides or paragrpahs pasted from other files, will not show.

     

    There is no simple way to list Character Tags without a script or plug-in.

     

    You might want to check out the SiliconPrarie plug-ins Character Tools and Paragraph Tools a http://www.siliconprairiesoftware.com/Products.html These tools do allow you to list all fo the used (and unused) tags in a document. The tools support links to scripting (FrameScript and Extendscript) so you could drive these to process all of your files via automation.

     
    |
    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