Hussein Shafie | 5 May 09:24 2016

Re: Question about parsing markers

Erik B. wrote:
> OK, I'll look into it and try that. If you have any specific examples or tutorials, don't hesitate to send
them though.

I would start by reading this chapter:

5. Customizing an existing configuration

http://www.xmlmind.com/xmleditor/_distrib/doc/configure/customizing.html

and even more carefully this section:

10. Customizing the XSLT style sheets used in the Convert Document submenu

http://www.xmlmind.com/xmleditor/_distrib/doc/configure/customize_xslt.html

However what you want to achieve seems quite simple, so if you send me 2 
or 3 sample documents containing the "[version]" placeholder (for test 
purposes; just to be sure I've really understood the problem), I'll 
*try* to send you back a customization of the stock (DocBook? DocBook 
v5+?) configuration allowing to do what you want.

>
>> xmleditor-support <at> xmlmind.com wrote:
>>
>> Erik B. wrote:
>>>
>>> I've attached an image to explain, I hope that's clearer.
>>
>> Yes. What follows should work and is not difficult to implement:
(Continue reading)

Hussein Shafie | 4 May 16:22 2016

Re: Question about parsing markers

Erik B. wrote:
>
> Is it possible to set a marker in a document, e.g.*[version]* and have
> it parsed during conversion by passing a parameter like --version=1.2.3?

Sorry but I'm not sure to understand this.

A conversion is basically running an XSLT stylesheet on the document 
being edited. A customized XSLT stylesheet can indeed find and process 
"markers" found in the document being converted.

It's quite easy to pass any parameter you want to the XSLT stylesheets 
used by XMLmind XML Editor. See 
http://www.xmlmind.com/xmleditor/_distrib/doc/help/conversion_parameters_editor.html

It's also easy to customize the XSLT stylesheets used by XMLmind XML 
Editor. See "Customize Document Conversion Stylesheets" in 
http://www.xmlmind.com/xmleditor/_distrib/doc/help/customizeConfigurationMenu.html

> Or alternatively to use something like <version>...</version> and have
> it replaced with <version>1.2.3</version> during parsing.
>

XMLmind XML Editor allows you to do anything you want in a document 
being created, opened, checked for validity, saved, saved as, etc. 
However you have to program in Java for that.

You need to develop a custom OpenedDocumentHook. A custom 
OpenedDocumentHook is typically declared in a "customize.xxe_gui" XML file.

(Continue reading)

Hussein Shafie | 4 May 08:37 2016

Re: HTML5 permits content="text/html; charset=UTF-8" in XML

Leif S. wrote:
>
> Currently, XML Editor issues a warning whenever an (X)HTML5 document
> contains this meta element:
>
> |<meta Content-Type="http-equiv" content="text/html; charset=UTF-8" /> |
>
> However, that variation of the Content-Type meta element (that is: a
> meta element of Content-Type="http-equiv" *and* content="text/html;
> charset=UTF-8") *is* permitted, in both HTML and XHTML - *provided* that
> the encoding is "UTF-8":
>
> https://www.w3.org/TR/html51/single-page.html#statedef-http-equiv-content-type
>
> «The encoding declaration state may be used in HTML documents and in XML
> Documents. If the encoding declaration state is used in XML Documents,
> the name of the character encoding must be an ASCII case-insensitive
> match for the string "UTF-8" (and the document is therefore forced to
> use UTF-8 as its encoding).»
>
> Thus, the rules for when
>
> |<meta Content-Type="http-equiv" content="text/html; charset=UTF-8" /> |
>
> and
>
> |<meta charset="UTF-8" /> |
>
> can be used in XML documents, are identical: They can be used when the
> encoding of the document is UTF-8.
(Continue reading)

Hussein Shafie | 11 Apr 09:51 2016

Release of XMLmind XML Editor v6.7

XMLmind XML Editor Evaluation Edition v6.7 can be downloaded from
http://www.xmlmind.com/xmleditor/download.shtml

Professional Edition users, please upgrade using this form:
http://www.xmlmind.com/store/download.php

(The above form is usually accessed through
http://www.xmlmind.com/xmleditor/upgrade.html.)

    _____________________________________________

XMLmind XML Editor v6.7 (April 11, 2016)
----------------------------------------

Highlights:

* Partial DITA 1.3 support. (Full DITA 1.3[1] support is
   planned for year 2016.) More information in
   "XMLmind XML Editor - DITA Support"[2].

* Enhanced "DocBook v5.1 configuration (Release Candidate)"
   add-on.

* Improved XInclude 1.1 support in DocBook v5 and v5.1
   configurations.

* Drag&drop of document tabs and tool tabs.

    _____________________________________________

(Continue reading)

Hussein Shafie | 30 Mar 09:53 2016

Re: detect external changes and automatically reload the document

Hans A. wrote:
> This is something I'm coming across when I commit document changes to a
> repository.
>
> When I have a document tree opened in xmlmind and I perform a commit,
> I've configured svn to write revision numbers into defined places in my
> document files.
> Unfortunately these external changes will not be reflected in the
> document view which is currently open in xmlmind. If I now continue work
> and make changes to the open document these changes made by subversion
> get lost.
> Even a refresh window does not re-read the file.
>
> I don't say this is a bug but for me it's kind of a deficiency and I
> wonder if reflecting external changes could be added to the feature wish
> list.
>

This is not a deficiency. The behavior you describe is "normal". The 
behavior you expect is certainly possible to implement, but would be 
costly in terms of performances and overkill for the vast majority of 
use cases.

If you use an external program to modify a file currently opened in 
XMLmind XML Editor then the only way to see the changes is to reopen the 
file (using the File menu) in XMLmind XML Editor. A refresh (Ctrl-L) is 
not sufficient.

Moreover, in principle, you cannot loose the changes made to the opened 
document using an external program, because if you attempt to *save* the 
(Continue reading)

Pere Porta Roca | 25 Mar 20:20 2016

Title text in a figure

May I ask if there is a means to set, in a figure, the text of the title UNDER the figure itself?
If this is possible, how does one do it?

Pere Porta

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Grundtvig Nielsen Niels | 25 Mar 09:07 2016

adjusting .pdf output

"give them an egg and they want an elephant …"

 

Thanks to XML Mind, I've done a good job* of rescuing content from a huge, poorly-structured developer wiki with no hard-copy output option :-} But instead of focusing on the content, the developers are asking questions about layout in the pdf.

I'm found my way to "Customize document conversion stylesheets" and created a custom stylesheet ready for adjusting, but I'm not sure whether this will let me do what the developers are asking for: they find that the 2pt difference in font size is not enough to help them spot the difference between a level two heading and a level three heading. I would like to change the size for level three headings, and I would also like to remove the underline (text-decoration?) on lower-level headings.

 

Can I make this sort of customisation through the XXE tools? all I've seen so far is references to 'sections' in the Attribute sets, and the structure of my document is driven by the topicref levels in the bookmap: I do not use sections within topics.

 

Niels Grundtvig Nielsen

technical author T&P

you know what you’re talking about – I can help you say it

 

* I think so, anyway ;-}

 


*********************************************************************************************
Worldline SA/NV - Chaussee de Haecht 1442 Haachtsesteenweg
- 1130 Brussels - Belgium
RPM-RPR Bruxelles-Brussel - TVA-BTW BE 0418.547.872
Bankrekening-Compte Bancaire-Bank Account 310-0269424-44
BIC BBRUBEBB - IBAN BE55 3100 2694 2444

"The information contained in this e-mail and any attachment there to be confidential and may contain information which is protected by intellectual property rights.
This information is intended for the exclusive use of the recipient(s) named above.
This e-mail does not constitute any binding relationship or offer toward any of the addressees.
If you are not one of the addressees , one of their employees or a proxy holder entitled to hand over this message to the addressee(s), any use of the information contained herein (e.g. reproduction, divulgation, communication or distribution,...) is prohibited.
If you have received this message in error, please notify the sender and destroy it immediately after.
The integrity and security of this message cannot be guaranteed and it may be subject to data corruption, interception and unauthorized amendment, for which we accept no liability."

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Martin Goik | 24 Mar 11:44 2016
Picon

Docbook assemblies

Hello,

I've set up the following three files:

-An <assembly ...> file master.xml referencing the subsequent two modules.

-First <topic>  minimalDoc.xml

-Second <topic> processLatex.xml

I can open all three in XML Mind 6.6 and they are being marked as valid.

Starting from master.xml I'm also able to start a conversion to Web help
getting the expected result.

However starting from e.g. minimalDoc.xml and opening tools-->Open
Navigation Pane, then selecting master.xml in the subsequent dialog
fails with the attached error message.

All three files are being contained in dbassembly.zip available at
https://cloud.mi.hdm-stuttgart.de/owncloud/index.php/s/JOON3NLwXhYXDsr .

Martin Goik
--

-- 
Martin Goik  Tel.  +49-711-8923-2164  http://www.HdM-Stuttgart.de/~goik
GnuPG public key: https://www.hdm-stuttgart.de/~goik/goik.asc

Wherever there is a man who exercises authority,
there is a man who resists authority.                   Oscar Wilde

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Martin Goik | 24 Mar 06:44 2016
Picon

Docbook 5 to Webhelp next button

Hello,

when converting Dita or Docbook5 to Webhelp we get a tree navigation but
no "next", "previous" and other navigation buttons inside the HTML
document chunks.

I'm aware of the fact this being a Docbook/Dita parameter / XSL rather
than an Xmlmind question and e.g.
http://docbook.sourceforge.net/release/xsl/current/doc/html/webhelp.html
does not look too promising.

Martin Goik
--

-- 
Martin Goik  Tel.  +49-711-8923-2164  http://www.HdM-Stuttgart.de/~goik
GnuPG public key: https://www.hdm-stuttgart.de/~goik/goik.asc

Wherever there is a man who exercises authority,
there is a man who resists authority.                   Oscar Wilde


--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Grundtvig Nielsen Niels | 23 Mar 12:02 2016

is this a slight discrepancy, or have I missed something?

Seems to me … that I can’t use Convert document functions on a ditamap while there are unsaved changes in the map itself; no bad thing, and I’m now used to seeing that behaviour instead of the older “unsaved changes; do you want to save …” dialogue.

 

But, it also seems to me, if I save the map and convert it while one of the component topics is open and has unsaved changes … no warning, just a new .pdf (for example) with incorrect content. Perhaps the old warning could appear if any of the component topics is ‘dirty’?

 

All this with the caveat seems to me, in case my observations don’t match reality.

 

 

Niels Grundtvig Nielsen

technical author T&P

you know what you’re talking about – I can help you say it

 


*********************************************************************************************
Worldline SA/NV - Chaussee de Haecht 1442 Haachtsesteenweg
- 1130 Brussels - Belgium
RPM-RPR Bruxelles-Brussel - TVA-BTW BE 0418.547.872
Bankrekening-Compte Bancaire-Bank Account 310-0269424-44
BIC BBRUBEBB - IBAN BE55 3100 2694 2444

"The information contained in this e-mail and any attachment there to be confidential and may contain information which is protected by intellectual property rights.
This information is intended for the exclusive use of the recipient(s) named above.
This e-mail does not constitute any binding relationship or offer toward any of the addressees.
If you are not one of the addressees , one of their employees or a proxy holder entitled to hand over this message to the addressee(s), any use of the information contained herein (e.g. reproduction, divulgation, communication or distribution,...) is prohibited.
If you have received this message in error, please notify the sender and destroy it immediately after.
The integrity and security of this message cannot be guaranteed and it may be subject to data corruption, interception and unauthorized amendment, for which we accept no liability."

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Hussein Shafie | 16 Mar 11:02 2016

Re: Support for Similfied DocBook in XXE

Felix B. wrote:
>
> I recently purchased a new license to upgrade from a very old version
> (3.4) to the new one 6.5.
>
> Our team uses simplified docbook articles to create and edit our
> documentation for some of our products.
>
> For some reason I cannot open a simplified docbook with the new version
> 6.5. Instead of opening the graphical view with all the layout and image
> resources loaded, I can only switch between the default XML view and the
> XML source, but a view with some styles which have been available in 3.4
> are missing.

Yes, that's normal as the add-on called "Simplified DocBook 
configuration" has been discontinued as of v5.6 (April 2, 2013).

>
> How can I reenable the full support for simplified docbook xml
> documents? Do you offer some plugins for simplified docbook support?
>

I've resurrected for you the latest version of the "Simplified DocBook 
configuration" add-on and modified it to make it work with XMLmind XML 
Editor v6.5+.

This upgraded "Simplified DocBook configuration" add-on is now on par 
with the DocBook v4 configuration in terms of features.

Note that if you upgrade to future versions of XMLmind XML Editor, the 
upgraded "Simplified DocBook configuration" add-on should continue to 
work fine (as it is based on the stock DocBook v4 configuration).

Please download sdocbook_config.zip from:

---
http://www.xmlmind.com/xmleditor/_download/sdocbook_config.zip

136593bytes March 16,2016 10:29
---

(Please keep this file zipped.)

Then please carefully follow the instructions 4.b. to 4.f. found below 
in order to quickly and safely install it in XMLmind XML Editor v6.5+:

FAQ: Is there another way to download and install add-ons?
http://www.xmlmind.com/xmleditor/faq.html#download_addons

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


Gmane