Skip to main content
Inspiring
June 21, 2016
Question

Publishing to Responsive HTML does not use the file name as the topic name

  • June 21, 2016
  • 2 replies
  • 446 views

I have tried multiple things to get the file name to appear as the topic name in the TOC. My single file (in a book) is generated as a book file with an href that uses the correct URL but the topic lists the title of something in the doc. I thought at first that the conversion was picking up Title from the File Info, so I deleted that from each file and tried again. Still getting the title as the href - not the file name. Using <$filename_no_ext> as the Topic Pattern Name has no effect. Changing the HTML Mapping Macros to use <$filename_no_ext> instead of <$defaulttitle> has no effect either. Any suggestions? If I can get this to work then I can convert all of my docs to HTML.

Thanks

    This topic has been closed for replies.

    2 replies

    Ritkumar
    Adobe Employee
    Adobe Employee
    June 23, 2016

    Hi Laura,

    PageBreak marker is used to force Publish process to split topic from the markers location. Mapping Macros helps decide the filenames created after split not the original topics being created.

    As per my understanding you want the TOC title to change as the file name on your disk.

    Or do you want the HTML file that is created on the disk to change to what the TOC text is showing ?

    Jeff_Coatsworth
    Community Expert
    Community Expert
    June 22, 2016

    In the FM to RH workflow (which is what the FM Publish function does), there was a hack for setting file names to whatever you wanted by using a marker in the FM content. Have a search around the FM Integration forum for clues to where it’s described in the FM help.

    Inspiring
    June 22, 2016

    I did look around and saw different things - creating a custom marker, creating a PageBreak marker using the popup to fill out the Topic Title and filename, etc. none of these actually worked for me. Thanks anyway.

    Jeff_Coatsworth
    Community Expert
    Community Expert
    June 22, 2016

    Maybe the FM Publish engine isn’t exposing those features yet…