Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Double links in HTML5

Participant ,
Nov 13, 2024 Nov 13, 2024

Hi FM community!

 

I have an issue when publishing a user manual in HTML5 format. The links are doubled in the whole document (see image). Still, in the XML files, there is no sign of them (see second image). What could be the issue?

TechWright_0-1731500016341.pngexpand image

TechWright_1-1731500072383.pngexpand image

 

 

TOPICS
Publishing , Responsive HTML5 , Structured
648
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 13, 2024 Nov 13, 2024

Hi,

When I see your screenshot, I notice that not all links are doubled, only some of them. Some links are only in the list with the bigger font size. Could this be a hint for you?

Could it be that you have a mini TOC or something similar?

Best regards, Winfried

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 14, 2024 Nov 14, 2024

Hi Winfried,

How do I find out if I have a Mini TOC? I have tried the route Insert - Table of Contents - Mini TOC options, but FM doesn't give me any options to choose from.

I tried searching for the answer from the XML view (I usually use WYSIWYG) but didn't get any wiser.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 19, 2024 Nov 19, 2024

A mini TOC would highlight the enitire mini TOC when selected, similar to selecting a text inset or a graphic.

 

 

-Matt Sullivan
FrameMaker Course Creator, Author, Trainer, Consultant
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 13, 2024 Nov 13, 2024

Are you using Structured FM? 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 14, 2024 Nov 14, 2024

Yes I am.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 14, 2024 Nov 14, 2024

TechWright_0-1731576160616.pngexpand image

Here is the end of the XML of one of the .xml files which has this issue.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 14, 2024 Nov 14, 2024

That certainly looks like you've added a Related Topics bit to the document. What does the FM source file look like?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 14, 2024 Nov 14, 2024

I hope I'm answering your question, here's a screenshot:

TechWright_0-1731591345280.pngexpand image

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 14, 2024 Nov 14, 2024

Ok, so it's present in the FM source - what's the problem with that topic when published? Your code chunk doesn't align with your image initially posted. What does that "Management" screenshot represent? The TOC?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 14, 2024 Nov 14, 2024

Sorry for the confusion. These are two different sections of the manual I'm editing, but the issue is the same: when publishing the manual to HTML5, the links that I have created are visible (like in the first image I sent to this thread), as they should be. But then FM creates extra links also which I'm not able to detect anywhere in FM. When publishing to PDF, there are no such issues.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 15, 2024 Nov 15, 2024

So is it in a topic you're seeing them? Have a look in the source view of the output and look at the corresponding page in the FM source - that might give you some clues as to how they are appearing (and from where).

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 18, 2024 Nov 18, 2024

Thank you Jeff for your help so far!

 

TechWright_0-1731918315050.pngexpand image

So apparently the HMTL5 file is creating 'related links' automatically that are not visible in the FM file... Not in WYSIWYG or XML view.

TechWright_1-1731918838449.pngexpand image

I'm really confused here. Could some HTML5 settings be causing this? The thing is, I have used the same settings for years now...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 18, 2024 Nov 18, 2024

This description in the online help says that you can manage related links also via your DITA map. Could it be that they are defined somewhere outside of your specific file?

(I do not work with DITA. Therefore it could be that my question does not make sense.)

https://help.adobe.com/en_US/framemaker/using/using-framemaker/FrameMaker-2022/dita-1.3-source/langR...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 19, 2024 Nov 19, 2024

Hi Winfried, it could be possible that the related links are defined outside of my specific file since this same issue appears in many different XML pages. I read through the link you sent (thank you) but I still don't know what to do with this issue...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 19, 2024 Nov 19, 2024

Is this document something you've set up or just inherited from somebody else? I suspect it's going to need somebody like @Matt-Tech Comm Tools to figure out what's going on with this.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 19, 2024 Nov 19, 2024

I have inherited this document from our firm's former tech writer.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 19, 2024 Nov 19, 2024

Thx @Jeff_Coatsworth for the heads-up. 

 

@TechWright, it's hard to piece together with snips from various docs, but it appears your DITA topic has related links at the end of the topic, and when published to HTML, those links are pushing up to the area where you've inserted fm-xrefs. Does this accurately describe your issue? If so, why are there both xrefs at the top, and related links at the bottom?

 

-Matt Sullivan
FrameMaker Course Creator, Author, Trainer, Consultant
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 19, 2024 Nov 19, 2024
LATEST

Hi Matt. Thanks for helping me with this issue. 

 

Yes, your explanation described my issue well. Even with topics that do not have related links at the end of the topic, for some reason, those links appear when I publish the doc to HTML.

To answer your second question, my opening message on this thread has a kind of mini-TOC in the form of a Management page with links to the sub-categories of said page. This page is meant to have only fm-xref links, nothing else. Still, when I publish to HTML, the second set of links (as depicted in the first image of this thread) appears seemingly out of nowhere.

I hope I'm able to explain this clearly, if you need screenshots or anything else to clarify the issue, please ask.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines