How to reduce the indent from the pictures - to the titles of them (the title is located at the bottom)?
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 59
- Joined: Tue Sep 13, 2022 4:13 pm
How to reduce the indent from the pictures - to the titles of them (the title is located at the bottom)?
Tried to fix it by applying in css file:
1) parameter for title: margin-top: 0px
2) parameter for the image: margin-bottom: 0px
It does not work ... I will be grateful for any advice!
p.s. I was able to place title under the picture - there are no problems with this. The problem is only with decreasing the margin from the picture to its title.
1) parameter for title: margin-top: 0px
2) parameter for the image: margin-bottom: 0px
It does not work ... I will be grateful for any advice!
p.s. I was able to place title under the picture - there are no problems with this. The problem is only with decreasing the margin from the picture to its title.
-
- Posts: 922
- Joined: Thu May 02, 2019 2:32 pm
Re: How to reduce the indent from the pictures - to the titles of them (the title is located at the bottom)?
Post by chrispitude »
Hi Dan,
Can you attach a simple testcase, perhaps a single .dita file that uses a single image file?
Can you attach a simple testcase, perhaps a single .dita file that uses a single image file?
-
- Posts: 59
- Joined: Tue Sep 13, 2022 4:13 pm
Re: How to reduce the indent from the pictures - to the titles of them (the title is located at the bottom)?
I can't do that unfortunately (due to the corporate restrictions of copying)... 
Maybe we can do it differently: can you post an example that will work?
And one more directly such a "burning" question: I can't change the size of the picture in any way (stupid, but true). Image in svg format, approximately 1536 x 836 px. The sheet format of the oXygen document is regular A4.
Tried:
1) set the size of the image when pasting
2) set dimensions in attributes (width, height)
3) set the size in the attributes (size: 100)
4) set in the attributes "fit to size" (scalefit: yes)
ABSOLUTELY NOTHING works. I just don’t understand why this is so ... The picture is 1536 x 836 px in size, it doesn’t have any “fields” around (in the sense that the program fit it - but I think it’s not - this is not the situation, I checked ).
If you could help me with this as well, I would be extremely grateful!

Maybe we can do it differently: can you post an example that will work?

And one more directly such a "burning" question: I can't change the size of the picture in any way (stupid, but true). Image in svg format, approximately 1536 x 836 px. The sheet format of the oXygen document is regular A4.
Tried:
1) set the size of the image when pasting
2) set dimensions in attributes (width, height)
3) set the size in the attributes (size: 100)
4) set in the attributes "fit to size" (scalefit: yes)
ABSOLUTELY NOTHING works. I just don’t understand why this is so ... The picture is 1536 x 836 px in size, it doesn’t have any “fields” around (in the sense that the program fit it - but I think it’s not - this is not the situation, I checked ).
If you could help me with this as well, I would be extremely grateful!
-
- Posts: 922
- Joined: Thu May 02, 2019 2:32 pm
Re: How to reduce the indent from the pictures - to the titles of them (the title is located at the bottom)?
Post by chrispitude »
Hi Dan,
Try this testcase:
You will need to transform from the map, not the topic, so the CSS is applied:
Hi Syncro Soft,
Somehow the @scale attribute does not seem to be working in the PDF Chemistry transformation. You might want to take a look.
Try this testcase:
chemistry_figures_for_dan.zip
You will need to transform from the map, not the topic, so the CSS is applied:
image.png
Hi Syncro Soft,
Somehow the @scale attribute does not seem to be working in the PDF Chemistry transformation. You might want to take a look.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 922
- Joined: Thu May 02, 2019 2:32 pm
Re: How to reduce the indent from the pictures - to the titles of them (the title is located at the bottom)?
Post by chrispitude »
Dan, I just realized something. If you are already setting margins to zero and you still see spacing, then the whitespace might be a part of the image itself, and you will need to edit the image.
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