Skip to main content
Community Expert
September 30, 2021
Question

Adding a graphic to the FrontMatter page of the Structured Book template

  • September 30, 2021
  • 2 replies
  • 329 views

I am editing the FrontMatter page of the structured "Book" template, which ships with FrameMaker. I want to have a photo on the frontpage and I believe... I have figured out how to be able to insert a graphic and keep the structure valid. Thing is... I want to have the photo behind the text, but I need to have it anchored into the textflow if I want to have it published to HTML5. And I do want my photo on the frontpage of the HTML5 as well.

But... when I publish to HTML5 I can not make the text flow on top of the image. I suppose what i want, is to have FrameMaker create a container with a bunch of divs and text on top. I want it to emulate my FM design.

Can it be done though, or do I have to create my front page as an unstructured document?...

    This topic has been closed for replies.

    2 replies

    Legend
    October 1, 2021

    Hi,

     

    I would suggest that structuring a title page is more of a purist impulse, rather than a practical setup. As much as I like structure, it only adds value in certain situations such as:

     

    - The document is authored/edited on a regular basis and you can leverage the guided authoring advantages of structure

    - You need to export the document to XML

    - You use any other nature of automation, content reuse, etc. that depends on the structural markup

     

    I usually don't see a title page falling into any of those categories. Normally, it is just something short to look nice for the PDF and stays mostly the same, except for maybe dates, issue numbers, etc. So I never structure a title page.

     

    I commend you for taking a look at structure and encourage you to continue. One thing I would like to note... these samples are quite old and primitive. Some of the element names are a bit archaic. And, for your sample specifically, the automatic formatting rules are not complete; for example, you can't get anything below a Heading3 by nesting the sections. I think it may be a great place to get accustomed to the environment, but you will almost assuredly want to customize and/or just build your own. Alternatively, there is DITA, but it comes with significant complexity and I have never found a practical use for it. Simple, custom EDDs have served me quite well for lots of years now and they are not hard to create. Best of luck with this and continue to ask questions as you need to.

     

    Russ

    Community Expert
    October 1, 2021

    Thanks @Russ Ward Very helpful answer actually! I have been rather frustrated with this book sample because it - as you say - has some oddities. I am trying to chew may way through this project and will probably make it to the other end I think. I have bought Matt Sullivans excellent books and they are a help.

    Regarding part of my question: Can you have layered html out of FrameMaker Publish? I am beginnig to think you can not.

    Bjørn Smalbro - FrameMaker.dk
    Legend
    October 1, 2021

    Unfortunately, I can't answer that one, because I don't use any of FM's native publishing features except PDF. Maybe I would be using them if they had not taken so long to exist, but I developed an external replacement for it a long time ago and it serves me well. So, regrets on that one.

     

    Russ

    Bob_Niland
    Community Expert
    Community Expert
    September 30, 2021

    Implementing the photo+text as an SVG would work:
    ► SVG text on top of…
    ► raster image
    The whole thing should be passed through unmolested.

    Of course it would raise other issues, such as the text not being populated by Variables (title, author, etc), and not being in-flow for selection in HTML. Some of that might be worked around with real text, set to invisible via Color Views in the source.