Issue on inline icon

16 views
Skip to first unread message

Shubham Pokhriyal

unread,
Oct 31, 2023, 3:06:15 AM10/31/23
to DITA-OT Users
Hello everyone,

Hope you are doing well.

I am facing an issue to baseline the lists label whenever an icon is appearing with text.

 

Example 1:

image.png

I want expected output as below:

image.png


Example 2:

image.png

XSL-FO code:

<fo:block font-size="12pt" line-height="18pt" space-after="6pt" space-before="6pt" text-indent="0em" line-height-shift-adjustment="disregard-shifts" font-family="Roboto, Times, Arial Unicode MS, Tahoma, Batang, SimSun">Click <fo:inline><fo:external-graphic xmlns:fox="http://xmlgraphics.apache.org/fop/extensions" content-width="" fox:alt-text="Notifications" relative-align="baseline" src="url('file:/D:/working/Aurigo/ditamaps/Masterworks_Online_Help_23-3-0ditamap-bundle/Masterworks/Icons/Bell_Icon.jpg')"/></fo:inline> to view the list of tasks awaiting your action.




Thanks,
Shambhoo Prasad

Chris Papademetrious

unread,
Oct 31, 2023, 3:35:18 AM10/31/23
to DITA-OT Users
Hi Shambhoo,

I don't know the answer, but just a helpful suggestion - it helps to explicitly describe the problem you want help with. It took me a moment to realize that the baseline issue was with the list item numbering and not the inline icons themselves.

 - Chris

Shubham Pokhriyal

unread,
Oct 31, 2023, 4:09:22 AM10/31/23
to Chris Papademetrious, DITA-OT Users
Hello Chris,

Whenever icon is appearing then I facing issue otherwise everything works fine.

Thanks,
Shambhoo Prasad 

--
You received this message because you are subscribed to the Google Groups "DITA-OT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dita-ot-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/dita-ot-users/efb4b9f9-8b2a-43be-8207-b71297cdda5an%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages