glossSurfaceForm::before
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 40
- Joined: Wed May 25, 2016 10:45 am
glossSurfaceForm::before
Hi!
Is it possible to add an image in front of glossSurfaceForm. I tried:
But nothing happens 
Is it possible to add an image in front of glossSurfaceForm. I tried:
Code: Select all
.glossSurfaceForm::before {
content: url("images/note-surf.png") " Surface form\a0\219d\a0\202f";
...
}

Best regards,
Dr. ABacus
#define QUESTION ((bb) || !(bb)) // © 1601 William Shakespeare
Dr. ABacus
#define QUESTION ((bb) || !(bb)) // © 1601 William Shakespeare
-
- Posts: 665
- Joined: Wed Oct 16, 2019 3:47 pm
Re: glossSurfaceForm::before
Post by julien_lacour »
Hello,
I tried on my side and the content is displayed before my glossSurfaceForm.
Could you indicate on which Oxygen version you are trying to obtain this result?
You can also try to debug your CSS and see if the .merged.html file contains the text to be displayed before the glossSurfaceForm.
Regards,
Julien
I tried on my side and the content is displayed before my glossSurfaceForm.
Could you indicate on which Oxygen version you are trying to obtain this result?
You can also try to debug your CSS and see if the .merged.html file contains the text to be displayed before the glossSurfaceForm.
Regards,
Julien
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: glossSurfaceForm::before
Hi,
Maybe you can unzip the produced EPUB and look inside at the produced HTML content to see how you can match that specific HTML element. Also make sure that the image "images/note-surf.png" actually is inside the EPUB, otherwise maybe you can set it base 64 encoded.
Regards,
Radu
Maybe you can unzip the produced EPUB and look inside at the produced HTML content to see how you can match that specific HTML element. Also make sure that the image "images/note-surf.png" actually is inside the EPUB, otherwise maybe you can set it base 64 encoded.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 40
- Joined: Wed May 25, 2016 10:45 am
Re: glossSurfaceForm::before
I found that "images/note-surf.png" is not copied to the "images" directory. All other pictures are there.
Best regards,
Dr. ABacus
#define QUESTION ((bb) || !(bb)) // © 1601 William Shakespeare
Dr. ABacus
#define QUESTION ((bb) || !(bb)) // © 1601 William Shakespeare
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: glossSurfaceForm::before
Hi,
Not all images in the input folder are automatically copied to the output folder. The images need to be referenced in a DITA topic or a DITA Map in order to be copied over.
Maybe you can add a reference in the DITA Map to the image, something like:
That "processing-role" attribute states that it should not appear in the table of contents as a link, it is just an additional resource.
Regards,
Radu
Not all images in the input folder are automatically copied to the output folder. The images need to be referenced in a DITA topic or a DITA Map in order to be copied over.
Maybe you can add a reference in the DITA Map to the image, something like:
Code: Select all
<topicref href="images/note-surf.png" format="png" processing-role="resource-only"/>
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
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