Space after link in PDF
Having trouble installing Oxygen PDF Chemistry? Got a bug to report? Post it all here.
-
- Posts: 39
- Joined: Mon Jul 25, 2022 11:18 am
Re: Space after link in PDF
Post by andrei_pomacu »
Hi,
I could not reproduce the problem on my machine.
Maybe you have an :after element that adds an extra space. Could you send us your CSS Styles?
If you are not able to send them you can make a small example with the problem and then send us the out folder in order to debug it.
Kind regards,
Andrei
I could not reproduce the problem on my machine.
Maybe you have an :after element that adds an extra space. Could you send us your CSS Styles?
If you are not able to send them you can make a small example with the problem and then send us the out folder in order to debug it.
Kind regards,
Andrei
-
- Posts: 35
- Joined: Wed Oct 26, 2016 8:19 pm
- Location: India
Re: Space after link in PDF
I have a snippet of an example. In the actual XML, there is no space after the xref element and a period. However, the PDF introduces a space.
oxygen space.png
You do not have the required permissions to view the files attached to this post.
-Sathya
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Space after link in PDF
Hi,
If you are publishing via the Ixiasoft server, then you are probably using the XSL-FO based PDF publishing and not our Oxygen specific CSS-based PDF publishing.
Possibly you also have your own PDF customization specific for your company created by Ixiasoft or by someone from your side.
I tested something like this on mi side:
and I get a PDF looking like this:
Notice that "on page 3" which appears by default with the XSL-FO based PDF output. In your case it does not appear, probably someone customized the PDF publishing with a plugin or customization folder on the server side and removed that "on page X" part but maybe they left an extra space after the link.
Regards,
Radu
If you are publishing via the Ixiasoft server, then you are probably using the XSL-FO based PDF publishing and not our Oxygen specific CSS-based PDF publishing.
Possibly you also have your own PDF customization specific for your company created by Ixiasoft or by someone from your side.
I tested something like this on mi side:
Code: Select all
<p>ABC <xref keyref="care/fig_zph_z5l_r5b"/>.</p>
Code: Select all
ABC Figure 1: Hello on page 3.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 35
- Joined: Wed Oct 26, 2016 8:19 pm
- Location: India
Re: Space after link in PDF
Great! I will find out who have access to the file and correct it.
I also noticed that the links provided in Hazard/Caution/Warning do not appear as links in output PDF. This is related to template?
I also noticed that the links provided in Hazard/Caution/Warning do not appear as links in output PDF. This is related to template?
-Sathya
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Space after link in PDF
Hi,
Do you mean links inside notes like this?
this works for me when publishing a DITA Map to PDF with the XSL-FO based plugin without any customization.
So if it does not work in general for you maybe again could be some kind of PDF customization related problem.
Regards,
Radu
Do you mean links inside notes like this?
Code: Select all
<note type="warning"><xref keyref="care/fig_zph_z5l_r5b"/></note>
So if it does not work in general for you maybe again could be some kind of PDF customization related problem.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 35
- Joined: Wed Oct 26, 2016 8:19 pm
- Location: India
Re: Space after link in PDF
Particularly, in this example:
<hazardstatement>
<messagepanel>
<typeofhazard>Equipment Damage:</typeofhazard>
<howtoavoid>
</howtoavoid>
</messagepanel>
<hazardsymbol keyref="xxxxx" placement="inline"/>
</hazardstatement>
<hazardstatement>
<messagepanel>
<typeofhazard>Equipment Damage:</typeofhazard>
<howtoavoid>
</howtoavoid>
</messagepanel>
<hazardsymbol keyref="xxxxx" placement="inline"/>
</hazardstatement>
-Sathya
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Space after link in PDF
Hi,
The <hazardsymbol> DITA element specifies a graphic, an image:
https://www.oxygenxml.com/dita/1.3/spec ... ymbol.html
so it must keyref to an image, for example if I have in the DITA map this keydef:
I can refer to it using "hazardsymbol":
and at least on my side when the PDF is generated, the image is taken into account.
Regards,
Radu
The <hazardsymbol> DITA element specifies a graphic, an image:
https://www.oxygenxml.com/dita/1.3/spec ... ymbol.html
so it must keyref to an image, for example if I have in the DITA map this keydef:
Code: Select all
<keydef href="images/Chrysanthemums.jpg" keys="Chrysanthemums" format="jpg"/>
Code: Select all
<hazardsymbol keyref="Chrysanthemums" placement="inline"/>
Regards,
Radu
You do not have the required permissions to view the files attached to this post.
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 35
- Joined: Wed Oct 26, 2016 8:19 pm
- Location: India
Re: Space after link in PDF
I am sorry, Radu. I think my message was misleading. The image keyref I posted here was just for an example. The concern here was about the links in hazard element not printed as link in output PDF.
-Sathya
-
- Posts: 35
- Joined: Wed Oct 26, 2016 8:19 pm
- Location: India
Re: Space after link in PDF
Hi Radu, sorry for late reply. I tried the default PDF generator config. Links added inside the Hazard statement works here. So the customized config has to be edited.
-Sathya
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service