Hypertext: only the left part is clickable in pdf
Hello,
We work in a structured .fm document/book.
We want to have clickable words in a table, so that each jumps to section of the document when clicked.
We couldn't do it with Xref because the clickable text must be something different than the target section title.
So we did it with Hypertext elements:
- In the table, we inserted a Hypertext container with an embedded HypertextMarker. See below how those are defined in our EDD. Within the Hypertext container we added the text to be displayed, along with the HypertextMarker element. The HypertextMarker command is for example "gotolink VERSION", with "VERSION" the name of the target marker. See structure below:
Table
TableMain
TTitle
THeading (...)
TBody
CellBody
Hypertext
HypertextMarker ...... gotolink VERSION
Para ..... VERSION
- In the target section, the target HypertextMarker is defined as "newlink VERSION", with "VERSION" the name of the marker, as shown below:
SectionLevel2
Title
Hypertext
HypertextMarker ..... newlink VERSION
Section title text
EDD elements:
Element (Container): Hypertext
General rule: (HypertextMarker, (<TEXT> | Para)*)
Automatic insertions
Automatically insert child: HypertextMarker
Text format rules
If context is: Title
No additional formatting.
Else
Text range.
Use character format: Italic
Element (Marker): HypertextMarker
Initial marker type
In all contexts.
Use marker type: Hypertext
We do it for several cells of our table. The result is not consistent: some links work as expected, so that the whole displayed word is clickable, but some other links have only a very narrow part of the text that is clickable at the left of it, which makes it very hard to click on.
I tried to put the text in a paragraph but it is the same as when inserted as plain text.
Did you ever see this ? Is it a bug ? Is there any workaround ?
Thanks in advance.
Eric
