Skip to main content
Participating Frequently
September 23, 2009
解決済み

lists of file names in a book

  • September 23, 2009
  • 返信数 3.
  • 873 ビュー

Does anyone know how to generate a list of file names in a book?

    このトピックへの返信は締め切られました。
    解決に役立った回答 Arnis Gubins

    Indirectly, you can save the .book file as a MIF. Then for the MIF use a text editor to look for "<FileName". If your editor, such as UltraEdit, has the  capability to list all lines containing the search string, then you can copy all hits  to the clipboard and paste it to another file for the listing.

    返信数 3

    Inspiring
    September 24, 2009

    To generate a list of filenames you could create a new paragraph format, e. g. #Filename. Then insert a #Filename paragraph that contains only FM's filename variable. Repeat this for every chapter of your book.

    Finally generate a list of paragraphs for the book, which lists all #Filename paragraphs.You may want to remove <$pagenum> from the LOP reference page so that it doesn't appear in the output.

    If you have that generated list, you can either include it as part of the book or save as text to get a list of files externally. If you are just after the filenames, Arnis' suggestion is probably easier.


    Johannes

    Inspiring
    September 24, 2009

    Your question isn't clear. What do you mean by "file names in a book?" The

    files that make up the book? Files named in the text? Names of graphics

    files or text inset files that are imported by reference? Names of graphic

    files that were copied into the text? Etc.

    Arnis Gubins
    Arnis Gubins解決!
    Inspiring
    September 24, 2009

    Indirectly, you can save the .book file as a MIF. Then for the MIF use a text editor to look for "<FileName". If your editor, such as UltraEdit, has the  capability to list all lines containing the search string, then you can copy all hits  to the clipboard and paste it to another file for the listing.

    Participating Frequently
    September 28, 2009

    Thanks!