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

Double links in HTML5

Participant ,
Nov 13, 2024 Nov 13, 2024

Copy link to clipboard

Copied

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.png

TechWright_1-1731500072383.png

 

 

TOPICS
Publishing , Responsive HTML5 , Structured

Views

456

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

Are you using Structured FM? 

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

Yes I am.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

TechWright_0-1731576160616.png

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

TechWright_0-1731591345280.png

 

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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?

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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).

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

Thank you Jeff for your help so far!

 

TechWright_0-1731918315050.png

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.png

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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...

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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...

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

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