Skip to main content
zornitzad80431241
Inspiring
November 15, 2023
Answered

Changes to Structured Output templates can't be saved

  • November 15, 2023
  • 2 replies
  • 2524 views

Hi there,

 

I want to change the default font in my Structured Output templates.

C:\Program Files\Adobe\Adobe FrameMaker 2022\Structure\xml\DITA\outputTemplates.

 

As per the answer from the Adobe TS:

In order to use a default font in FM document, user can create a template(fm file) and define his fonts then use that template to create new documents.

There is no maker flag that can be used to achieve this.

 

So I opened the ChapterOutoutTpl output template and saved it as ChapterOutoutTpl_PxC.

Changed the default font to PxC GillAltOneMT (the font has been added to C:\Program Files\Adobe\Adobe FrameMaker 2022\fminit\fonts\adobe directory). The new font appeared in the top Font menu.

 

However, after I saved the file, the default font went back to Calibri.

 

What I have to do to save a change to the output templates?

 

I am running Structured Framamaker - 17.02. and have admistrators rights on my laptop where FM is loaded.

 

Regards,

Zornitza Doneva

    This topic has been closed for replies.
    Correct answer frameexpert

    Adobe uses this horrible ini file to control publishing settings:

    C:\Users\<UserName>\AppData\Roaming\Adobe\FrameMaker\<Version>\ditafm-output.ini

    Open it with a text editor and edit the TemplateDir key:

    [General Options]
    SavePDFViaBookRoute=0
    ;template dir can be absolute path or appended with $STRUCTDIR or relative to installed directory
    TemplateDir=C:\Users\rick\AppData\Roaming\Adobe\FrameMaker\17\CustomTemplates

    ...

     

    Depending on your template name and output type, you may have to change one of the following keys:

    [General Options]

    CompositeDocTemplate_1.3

    [BookWithFM-Chapter]

    Template

    (etc.)

    2 replies

    frameexpert
    Community Expert
    November 16, 2023

    Here is a short video showing you how this works:

    https://youtu.be/uhhi6nSnnyo

    zornitzad80431241
    Inspiring
    November 16, 2023

    Hi Rick,

     

    Thanks for the super detailed video. I followed it word by word and everything worked with flying colors.

    I am attaching a snapshot of my xml file (introduction_purpose.xml) with the new Gill Sans MT font implemented and the published pdf.

     

    Then, I also published the ditamap (my ditamap file name is QG_test_1.ditamap) containing the xml file with the paragraph with changed font. When ditamap was published, the changes in the xml file were not implemented. I am attaching the pdf from the ditamap as well (see QG_test_1.pdf).

     

    I am wondering if  I have to change somewhere else (maybe in another template?) as well.

     

    We always publish our xml files as parts of ditamaps since they all of them have crossreferences which work together with the ditamaps.

     

    Thanks again for the fast and detailed response!

     

    Zornitza Doneva

     

     

     

    frameexpert
    frameexpertCorrect answer
    Community Expert
    November 16, 2023

    Adobe uses this horrible ini file to control publishing settings:

    C:\Users\<UserName>\AppData\Roaming\Adobe\FrameMaker\<Version>\ditafm-output.ini

    Open it with a text editor and edit the TemplateDir key:

    [General Options]
    SavePDFViaBookRoute=0
    ;template dir can be absolute path or appended with $STRUCTDIR or relative to installed directory
    TemplateDir=C:\Users\rick\AppData\Roaming\Adobe\FrameMaker\17\CustomTemplates

    ...

     

    Depending on your template name and output type, you may have to change one of the following keys:

    [General Options]

    CompositeDocTemplate_1.3

    [BookWithFM-Chapter]

    Template

    (etc.)

    Community Expert
    November 16, 2023

    I am no expert in Structurede Publishing, but I believe you will have to export the EDD out of the template. In the EDD you can see what has been written into the structure settings. I MY template  I found this when looking at the EDD:

    So Calibri has been written into the EDD. If you change the font in the EDD and import the EDD into your documents, I THINK.... things may work for you. THINK! 🙂

    Bjørn Smalbro - FrameMaker.dk