Camille Bégnis | 16 Apr 16:28 2014

XXE WebDAV RFE

Hello,

A little request for enhancement when dealing with locked file on a WebDAV repository.

If the connection fails or XXE hangs, the remote file might remain locked even though it is actually closed on XXE side.
When the user tries to open it again, XXE tells him that the file is locked and offers the possibility to open it in read-only, or read-write mode.
It would be useful to add a third option if the user is the same that had isssued the former lock. This option would release and issue the lock again before opening the file in normal mode.

Thanks,

--
NeoDoc
Camille Bégnis
camille <at> neodoc.fr
Tél: +33 (0)4.42.52.24.20
5, rue de la Touloubre
13770 Venelles
France

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Jeff Hooker | 10 Apr 22:30 2014

Using the colspec element to set table column color in the CSS

Hi Hussein,

 

I’ve modified my DITA PDF and xhtml publishing scripts to read an attribute (bg_color) from colspec, row, and entry elements and reflect the defined color in the output. Now I am working on the GUI for this.

 

In the CSS presentation layer for XMLmind, it was quite easy to write commands to set the colors on the elements, and easy to make the interface reflect the color chosen when the attribute is set at the entry or row level. Making a whole column in a table reflect a color selection made on its colspec element, however, is proving difficult. I would prefer to do this in CSS somehow rather than writing a command to actually add the bg_color attribute to every  individual entry in the column, partly because this would involve having to re-apply it every time I added a new row.

 

Are there any widgets in XMLmind that connect entry elements with their colspec elements? The xpath statement for intelligently reaching backwards from each entry element and finding the right colspec element is proving to be problematical.

 

Regards,

Jeff.


--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Jeff Hooker | 4 Apr 02:27 2014

XML Source by default?

Hello Hussein,

 

Is it possible to make the “XML source” view the default view for opening specific configurations?

 

Jeff.


--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Hussein Shafie | 27 Mar 18:31 2014

Re: two small observations

On 03/27/2014 04:06 PM, Niels Grundtvig Nielsen wrote:
> First serious use of XML Mind, after successful proof of concept
> documents: I'm now using it to collect information from a team of
> developers and prepare a DITA-compliant configuration document for a client.
>
> The deliverable is going to be a .pdf file, and I've noticed just a
> couple of small glitches :-{
>
>   * when I use <menucascade> in a <step>, the arrow character between
>     the <uicontrol> elements knocks the output down so it no longer
>     lines up with the step number

Yes, that's right and I really don't understand why the left arrow used 
in <menucascade> (&#x2192;) is considered by FOP and XEP to be a ``tall 
character''.

>   * I've selected 'black left-pointing triangle' U+25C0 from the
>     Characters pallette to match another uicontrol, and while it shows
>     up as expected on screen it's rendered as # in the .pdf

That's normal because font Symbol does not contain U+25C0.

Please refer to this FAQ (which also applies to your case) to quickly 
solve this problem:

---
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

>
> Can I resolve both these problems by specifying a particular font for
> the .pdf output? I know /that's/ possible, because you already told me
> once where to find it in the documentation :-}
>

Sure. However this is slightly more complicated than simply using a 
different font for all the text including the left arrow (what's 
explained in the above FAQ). For that, you need to customize the XSL 
stylesheets which generate XSL-FO out of a DITA document.

--> The relevant parameters are:

menucascade-separator

Default value: &#x2192;

--> The relevant attribute-sets are:

menucascade-separator

Default value:
---
   <xsl:attribute-set name="menucascade-separator">
     <xsl:attribute name="font-family"
                    select="if ($foProcessor eq 'XFC')
                            then $body-font-family
                            else 'Symbol'"/>
   </xsl:attribute-set>
---

You may want to change attribute "font-family" from "Symbol" to a 
typeface containing U+25C0.

All these changes can be done quickly and safely from within XXE by 
using "Options|Customize Configuration|Customize Document Conversion 
Stylesheets" after opening you DITA map.

Please take the time to carefully read:

http://www.xmlmind.com/xmleditor/_distrib/doc/help/customizeConfigurationMenu.html#editConversionStylesheetsAction

and:

http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.xslcustom.Customizer.html

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

Niels Grundtvig Nielsen | 27 Mar 16:06 2014
Picon

two small observations

First serious use of XML Mind, after successful proof of concept documents: I'm now using it to collect information from a team of developers and prepare a DITA-compliant configuration document for a client.

The deliverable is going to be a .pdf file, and I've noticed just a couple of small glitches :-{
  • when I use <menucascade> in a <step>, the arrow character between the <uicontrol> elements knocks the output down so it no longer lines up with the step number
  • I've selected 'black left-pointing triangle' U+25C0 from the Characters pallette to match another uicontrol, and while it shows up as expected on screen it's rendered as # in the .pdf
Can I resolve both these problems by specifying a particular font for the .pdf output? I know that's possible, because you already told me once where to find it in the documentation :-}

Thanks in advance!

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Jeff Hooker | 27 Mar 17:34 2014

Error in consol when trying to open new "Navigation Pane" view

Hi Hussein,

 

When I attempt to open a ditamap in the new Navigation Pane view, the document appears to load (i.e. I get the dialog with all the scrolling file names as XXE reads in the files) but then it fails silently. When I open XXE using the xxe-c.bat file I see this in the console:

 

Saving Quick Start info to "C:\Users\hookerje\AppData\Roaming\XMLmind\XMLEditor5

\cache\start\start.ser"...

Cleared Quick Start cache.

Cleared Schema cache.

Exception in thread "AWT-EventQueue-0" java.lang.AbstractMethodError: com.xmlmin

d.xmleditext.dita.TopicSet.getSpecificationName()Ljava/lang/String;

        at com.xmlmind.xmleditapp.app.part.NavigationPane.<init>(NavigationPane.

java:145)

        at com.xmlmind.xmleditapp.app.part.OpenNavigationPaneAction.open(OpenNav

igationPaneAction.java:269)

        at com.xmlmind.xmleditapp.app.part.OpenNavigationPaneAction.exec(OpenNav

igationPaneAction.java:224)

        at com.xmlmind.xmleditapp.kit.LengthyAction$1.actionPerformed(LengthyAct

ion.java:42)

        at javax.swing.Timer.fireActionPerformed(Unknown Source)

        at javax.swing.Timer$DoPostEvent.run(Unknown Source)

        at java.awt.event.InvocationEvent.dispatch(Unknown Source)

        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

        at java.awt.EventQueue.access$200(Unknown Source)

        at java.awt.EventQueue$3.run(Unknown Source)

        at java.awt.EventQueue$3.run(Unknown Source)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour

ce)

        at java.awt.EventQueue.dispatchEvent(Unknown Source)

        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

        at java.awt.EventDispatchThread.run(Unknown Source)

 

I installed the xxe-eval-5_9_0-setup.exe on a Windows 7 box.

 

Regards,

Jeff.


--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Camille Bégnis | 21 Mar 12:05 2014

Suggestion: search from XML view

Hello,

when searching from XML view, the search popup change uppercase to lowercase.


Which is particularly annoying when using special characters.

Thanks for considering this.

Best regards,

--
NeoDoc
Camille Bégnis
camille <at> neodoc.fr
Tél: +33 (0)4.42.52.24.20
5, rue de la Touloubre
13770 Venelles
France

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Camille Bégnis | 19 Mar 19:10 2014

Suggestion: edit transcluded document

Hello,

usecase: editing a DB5 master document (A.xml) that transcludes another document (B.xml) that himself transcludes a third document (C.xml)

When you right-click on an element part of C.xml and choose "Open referenced document" it opens B.xml instead of C.xml.

It would be nice to offer the choice, or open C.xml instead.

Have a nice evening,

--
NeoDoc
Camille Bégnis
camille <at> neodoc.fr
Tél: +33 (0)4.42.52.24.20
5, rue de la Touloubre
13770 Venelles
France

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Brian C. Huffman | 17 Mar 19:15 2014

Command-line convert to PDF on linux not working

I'm trying to use the convertdoc command in xxe-pro-5.7 to convert xml 
to PDF and I'm getting the following error:
[ xxe-pro-5_7_0]$ bin/convertdoc docb.toPSFile test.xml -s pdf -s "|pdf" 
-u testout.pdf
convertdoc: *** error: command 'docb.toPSFile' not found

Running with the "-h" works fine:
[ bin]$ ./convertdoc -h docb.toPSFile
convertdoc [options] docb.toPSFile docbook_file_or_URL \
   -s pdf -s "|pdf" -u pdf_file_or_URL

   Convert DocBook document docbook_file_or_URL to PDF file pdf_file_or_URL.

   Example:
   convertdoc docb.toPSFile doc.xml -s pdf -s "|pdf" -u out/doc.pdf

convertdoc docb.toPSFile docbook_file_or_URL \
   -s ps -s "|eps|ps" -u ps_file_or_URL

   Convert DocBook document docbook_file_or_URL to PostScript file
   ps_file_or_URL.

   Example:
   convertdoc docb.toPSFile doc.xml -s ps -s "|eps|ps" -u out/doc.ps

This is on CentOS 6.3, 64-bit.

Thanks,
Brian

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

Hussein Shafie | 13 Mar 19:57 2014

Re: PDF (and epub) cover image

Erik B. wrote:
>
> I'm looking for a way to have an image on the front page of a Docbook5 converted to PDF and/or epub.
>
> Is this possible, and if so, how can I do it?
>
> I've tried adding a Mediaobject to the book > info element but that didn't work.
>

--> XMLmind has developed the XSL stylesheets which convert DocBook to 
EPUB[*] and which are included in all our products, so I can easily 
answer the question for EPUB.

You must pass our XSL stylesheets a parameter called

epub.cover.image

The value of this parameter must be the absolute *URL* (no filename 
please) of a PNG image having a 1000x1000 max. size.

You are of course free to also test other image file formats (e.g. SVG, 
JPEG). More information in 
http://blog.threepress.org/2009/11/20/best-practices-in-epub-cover-images/

See for example:

http://www.xmlmind.com/xmleditor/_distrib/doc/configure/configure.epub

--> I'm sorry but I don't know the answer for the PDF output. You should 
refer to the documentation of the DocBook XSL stylesheets:

* DocBook XSL Stylesheet Reference Documentation by Norman Walsh.

http://docbook.sourceforge.net/release/xsl/current/doc/

* DocBook XSL: The Complete Guide by Bob Stayton.

http://www.sagehill.net/docbookxsl/

---
[*] These stylesheets are different from those found in the stock 
DocBook XSL stylesheets (that is, 
http://sourceforge.net/projects/docbook/ ).

We *unfortunately* had to develop our own stylesheets because the very 
first version of the stock stylesheets which generated EPUB was unusable 
with Saxon, the XSLT engine we use in all our products.

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

S.Pittman | 7 Mar 18:11 2014
Picon

Re: XMLmind XML Editor 3.8.1

Hi,

 

How do I create a properties table like the one below? I can create a properties table with one row and three columns: Property Type, Value, and Description. Would like to add a header and two columns: Name and Required. Also a properties table with more than one row.

 

Thanks, Steve

 

Steve Pittman, Technical Writer

[TaCIT] Technical & Competitive IT

Projects & Technology, Imaging & Interpretation
Shell Global Solutions (US) Inc.
Shell Technology Center Houston, M-1170 A

3333 Highway 6 South

Houston, TX  77082-3101  USA

Tel: +1 281 544 9090  Mobile: +1 713 206 1129
Email:
S.Pittman <at> shell.com

Internet: http://www.shell.com

TaCIT: http://sww.shell.com/tacit

 


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

Gmane