Mayur K. wrote:

Forwarding you an email that bounced back – had written for a
remediation for the issues that we face for PDF outputs with XMLMind XML
Editor.

XMLmind XML Editor uses 1) some XSLT stylesheets 2) (by default) Apache FOP to generate the PDF.

I don't know if you use XMLmind XML Editor to create DocBook or DITA documents. Let's suppose here that you use it to create DITA documents. Also let's suppose that you are using Apache FOP (https://xmlgraphics.apache.org/fop/).







Request you to forward it to the requisite team/email ID so that the
matter moves forward.



Please note that the following issues never occurred for any of our own DITA documents or for any of our DITA tests. Also please note that we use RenderX XEP (http://www.renderx.com/tools/xep.html), not FOP, in production to process our DITA own documents.

======================================================================
So basically you are facing common PDF conversion issues which are not directly related to our product XMLmind XML Editor. It's YOUR JOB, not ours, to find a workaround for each of these issues.
======================================================================




Mayur K. wrote:

We have some queries based on some issues that we encounter when
generating PDF outputs from XMLMind. A solution or workaround to
mitigate the same would be helpful.



  * *Issue 1. Cells missing lower border: *A Cell spanning multiple
    cells has no border if the cells flow over to the next page.**


* May be it's an Apache FOP bug.

OR

* May be it's your fault. I mean, please make sure that entry/@morerows does not have a value which exceeds the total number of rows of the thead or tbody.





  * *Issue 2. Text overflow in tables: *Table content flows through the
    right or the lower border when the text is too long (or in a /codeph/).

The table is simply too wide. There is not much which can be done.

* Please try something like table/@scale=70 (see http://docs.oasis-open.org/dita/dita/v1.3/errata02/os/complete/part2-tech-content/langRef/attributes/displayAttributes.html).

OR

* Switch to RenderX XEP which is better in that respect (i.e. it supports the automatic layout of tables).







If we break the text every fixed number of characters, we get irregular
breaks throughout the document:

Sorry. Never seen this. Just some ideas:

1) Set a xml:lang="en-US" at least the root element of your DITA map.

2) Using the "Document conversion parameters" (see FAQ "How do I customize the HTML, PDF, RTF, etc, generated using the "Convert Document" menu?", http://www.xmlmind.com/xmleditor/faq.html#custom_deliverables)

a) Try to set parameter hyphenate=yes. See http://www.xmlmind.com/ditac/_distrib/doc/manual/xsltParams.html#xsltParams__hyphenate

b) If this does not work, remove parameter hyphenate=yes (or set it to no) and add parameter justified=no. See http://www.xmlmind.com/ditac/_distrib/doc/manual/xsltParams.html#xsltParams__justified






  * *Issue 3. Unicode characters are not rendered correctly when
    rendering pdfs: *Characters like Chinese or Russian are displayed as
    '####' in the PDF output. To render these we have to use the default
    font options. Is there a workaround to customize fonts and also
    retain Unicode characters.**


This is a FAQ.
---
When I convert documents written in Russian (or Polish or Czech or any non-western language) to PDF, almost all characters are replaced by the "#" character. Is there a workaround for this problem?
---
http://www.xmlmind.com/xmleditor/faq.html#custom_pdf_fonts






  * *Issue 4. Rotating table text: *Is there a way to rotate text in a
    few tables in the document? We need this to improve the presentation
    of the document at times.

Image with rotation:

Image without rotation:





Sorry, but unlike the DocBook XSL stylesheets, our DITA XSL stylesheets currently do no support entry/@rotate (http://docs.oasis-open.org/dita/dita/v1.3/errata02/os/complete/part2-tech-content/langRef/base/entry.html#entry).

We'll add this useful feature to our ditac (http://www.xmlmind.com/ditac/what_is_ditac.html) TODO list.

--> Other limitations related to table processing found in "Appendix C. Limitations and implementation specificities", http://www.xmlmind.com/ditac/_distrib/doc/manual/limitations.html#limitations




--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to