On 09/09/2015 11:24 AM, GRUNDTVIG NIELSEN Niels AWL-T&P wrote:
Good morning! still having a lot of fun with XML Mind, and finding out
how to do more and more things in DITA.
By checking the helps and experimenting, I managed to make sure <image>
elements were not centered in .pdf output from an ordinary .ditamap
Now I’m trying to get a little farther, and exploring the options for a
.bookmap
The code starts like this, and I’m wondering if there’s any way of
making the two <image> elements in the <booktitle> stay left-aligned
when I create .pdf output.
<bookmap>
<booktitle>
<mainbooktitle><image href="graphics/_wlBlue.png"
placement="break"/>xSAMOA – Terminal and transaction security<image
href="../samoa%20I/graphics/Cram1896_forDITA.jpg"
placement="break"/></mainbooktitle>
</booktitle>
Thanks in advance!
Simply add align="left" to the above <image> elements.
For example, this snippet:
<bookmap chunk="by-document" xml:lang="en-US">
<title><image align="left" href="../../../icons/logo_xmlmind/icon.svg"
placement="break"/>DITA <i>sample</i> topics and <image align="left"
href="../../../icons/logo_xmlmind/icon.svg" placement="break"/>
bookmap</title>
gives me attached screenshot.
btw – could you remind me of the name of the XML editor component you
use? a colleague watching me adjust something was very impressed with it.
My guess is that you are talking about the XML source view
(http://www.xmlmind.com/xmleditor/addons_doc.html#edit_source).
These free, open source, Java Swing components are the RSyntaxTextArea
components. See http://bobbylight.github.io/RSyntaxTextArea/
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support