Picon

Feature: Concatenation of compound ([X]HTML) documents

Because XXE now allows us to use a XHTML document as the main document of a compound document, it would be handy if it was possible to export the compound document as a single document. For instance, if the compound document consists of 3 pieces, like so:

  • XHTML main document 0
    • sub document 1
    • sub document 2

Then you may want to "export" these 3 documents as a single document, without sub documents. As I understand it, the DocBook conversion tool can already do this - it allows you to take a compound Docbook and convert it to a single (X)HTML document.

So perhaps this is allready possible for compound (X)HTML documents, as well?

Leif Halvard Silli


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

Some basic RenderX and Apache FOP questions

  1. As the manual says, the first time RenderX XEP is needed, XXE will ask where XEP is located. And, unless you press Cancel, the next time it will not ask where XEP is located. This is fine, if you did have an XEP installatation. But what to do if you did not have XEP installed and you failed to press cancel? How can I get XXE to, once more, ask me to specify where XEP is located?

  2. The way I understand it, you cannot really uninstall the XEP and FOP extensions. Thus normally, both are always installed. Since they play the same role, how to I decide whether to use XEP or FOP?

  3. The XEP plug-in require that you manually install XEP somewhere on your computer. (But, if I got it right, the first time you use it, XEP gets copied into XXE so that you may, if you wish, uninstall XEP from your computer.) But what about the FOP plug-in? Does it require me to manually install FOP on my computer before I can use the plug-in?

Leif Halvard Silli


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

Xinclude: handcoded vs XXE authored

Hi.

Because of XXE’s support of XInclude, I thought I could open my 
handcoded compound document (which includes lots of subdocuments via 
<xi:xinclude … />) in XXE. But when I do, I am told that the xinclude 
elements are illegal in the context.

The way to fix the problem seems to be to create the compound document - 
the main document - inside XXE. Which means I must recreate that 
document by use of XXE.

Fair enough. But isn’t there a way to «bless» a handcoded compound 
document so that XXE will handle it as expected?

(For the record, I created some minimal documents - by hand and by XXE, 
and the only thing that differed in these documents was - it seems - 
that one was hand coded and and the other was made by XXE. And no mater 
how identical I made those docuemnts, XXE would only accept thet one 
that was autored inside XXE.)

Leif Halvard Silli

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Hussein Shafie | 31 Aug 10:10 2015

Re: HiDPI, laptop display

On 08/30/2015 03:16 PM, camille wrote:
> Hi Hussein,
>
> I can send you screenshots of XXE running under Ubuntu on a PC with a
> retina display too.

Thanks! A screenshot of your desktop (not scaled down by the screen 
capture software; i.e. something large like 2500px x 1500px) containing 
XXE displaying text and images would certainly help to motivate us to 
fix the problems.

>
> Cheers,
>
> Camille.
>

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

Hussein Shafie | 28 Aug 09:52 2015

Re: HiDPI, laptop display

Bob B. wrote:
>
> Thank you for this. I've been using it all day - AOK.
> A few wrinkles integrating with my OS environment (Ubuntu an HiDPI
> laptop display), but I'll sort those out later (deadline to meet first).

Please note that XMLmind XML Editor needs substantial changes to support 
HiDPI displays (e.g. hires icons). Here at XMLmind, we don't have any 
HiDPI displays yet, not even a Mac Retina. But this limitation should be 
removed in the next few months.

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

Tyrin Avery | 5 Aug 16:13 2015

Adding localization to doc template

Hi
We localize our doc and the translator software need us to use the xml:lang=en_us tag for our topics. I'm trying to find a way to get XML Mind to include that in the basic topic template. I tried to use the feature that allows you to customize template elements, but it doesn't work. I'm not sure if that's because it's the conbody element or because it's an attribute, but I think this may be a bug. 
If there is another way I can add the xml:lang attribute to my concepts and tasks templates automatically (and in a way I can roll out to my group) please let me know.
This e-mail message and all attachments transmitted with it may contain privileged and/or confidential information intended solely for the use of the addressee(s). If the reader of this message is not the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, forwarding or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and delete this message, all attachments and all copies and backups thereof.

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Hussein Shafie | 16 Jul 18:50 2015

XMLmind XML Editor video tutorials can now be viewed on any platform, including tablets and smartphones

XMLmind web site no longer relies on Adobe Flash for its video 
tutorials. All the screencasts have been converted to HTML5 video.

In consequence, XMLmind XML Editor video tutorials can now be viewed on 
any platform, including tablets and smartphones.

XMLmind XML Editor video tutorials are found in:

http://www.xmlmind.com/xmleditor/tutorial.html

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

Hussein Shafie | 9 Jul 10:00 2015

Re: Creating links in Docbook 5+

Bill D. wrote:
>
> Yes, you are right, XXE is not very intuitive.  I have spent a lot of time studying online tutorials, using
the XXE help utility, and also searching in many of the PDF documents that are contained here:
>
> http://www.xmlmind.com/xmleditor/_distrib/doc/

Then may be it's time to study DocBook 5+ because your question is about 
DocBook 5+ and not about XXE.

DocBook 5: The Definitive Guide
http://www.docbook.org/tdg5/en/html/docbook.html

>
> I have learned a lot, and now know how to create links to external web pages and to send email to a particular
address.  I’m using Docbook 5.0, and have installed the 5.1 update that Pixware released in late June.
>
> But so far I have not been able to figure out how to create a ulink that references another section of a
document.  I've studied the XML code in one of your document samples, docbook-modular-book.xml, and its
children, chapter.xml, section1.xml, and section2.xml.
>

You should really look at demo/docbook5-sample.xml because 
demo/docbook-modular-book.xml is DocBook 4 document. You are using 
DocBook 5+.

> How can I insert an effective ulink that works like the following code in chapter.xml?
>
> <para><ulink url="section1.xml">section1.xml</ulink>,</para>
>
> This generates the following HTML:
>
> <a class="ulink" href="section1.xml" target="_top">section1.xml</a>
>
> The document that I'm working on consists of a top level XML file that uses xi:include to reference smaller
modules.  I used Edit > Reference > Insert Reference After to do this.  The top level file is 070815_Pro.xml.
>
> Right now most of the included XML files are just "skeletons" containing only a title and a blank paragraph.
>
> What I'm trying to do is to add a link in the last sentence of Support_Options.xml (section 1.4).  The link
should reference the section Support.xml.
>
> I'm attaching three XML files.
>
> Thank you very much for yo8ur help.

<ulink> is a DocBook 4 element which specifies an external link. <ulink> 
does not exist anymore in DocBook 5+.

In DocBook 5+:

* <link linkend="TARGET_ID"> specifies an internal link.
Examples: <link linkend="MySection">, <link linkend="feature-table">.

* <link xlink:href="TARGET_URL"> specifies an external link.
Examples: <link xlink:href="http://www.xmlmind.com/xmleditor/">, <link 
xlink:href="files/logs.txt"> (notice that "log.txt" is a external 
resource, not an XML file which is part of the document).

In your case, you need to use <link linkend="TARGET_ID">.

Yes, you need to specify *internal* links. The fact that the link target 
resides in a external file Xincluded in the master document containing 
the <link> does not make it an external link.

(xi:include is just a way to organize the physical files comprising your 
XML document. xi:include has no effect on the logical contents of your 
XML document. That is, with or without xi:includes, the logical contents 
of your XML document is the same.)

Therefore, the procedure is:

1) Add an xml:id attribute to the section which is the target of the 
link. To the <section>, not to its <title>.

2) Use the toolbar button "Toggle link[linkend]" to create the internal 
link. (Toolbar buttons are your friends: 
http://www.xmlmind.com/xmleditor/_distrib/doc/docbook/docbook_toolbar.html).

3) Set the linkend attribute of the newly created <link linkend="???"/> 
to the xml:id of the target section.

The fact that the section is possibly stored in a separate file makes 
specifying its xml:id slightly more difficult.

You can either:

* Type the target ID (because you know it by heart) using the Attributes 
tool.

See 
http://www.xmlmind.com/xmleditor/_distrib/doc/help/editAttributePane.html

OR

* Use the "Edit" button of the Attributes tool to display a chooser 
dialog box. Then expand the "Filters" section of the chooser dialog box 
to select the file containing the section.

See 
http://www.xmlmind.com/xmleditor/_distrib/doc/help/setAttributeDialog.html

OR

* Open a "Navigation Pane" for the master document. This will create a 
``flat space of IDs'' for all the modules x:included in the master document.

Tutorial:
http://www.xmlmind.com/xmleditor/_tutorial/navigation_pane/index.html

Reference:
http://www.xmlmind.com/xmleditor/_distrib/doc/help/navigationPane.html

>
> P.S. — Is it possible to create text that is both bold and italic?  One online forum suggested that
<emphasis role="bold-italic"> should work, but XXE does not appear to accept that tag.
>

No.

We have never heard about <emphasis role="bold-italic">. If this role is 
supported by the DocBook XSL stylesheets, then we'll of course support 
it too in XXE.

Meanwhile it's always possible to use the Attributes tool and type 
"bold-italic" (but this role value will have no effect on what's 
rendered on screen).

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

nobili, philippe | 2 Jul 09:46 2015

Cannot load previously saved file

Dear M. Shafie,

 

We are facing a rather annoying  issue with XXE (6.3.0): we were able yesterday to save a document on a shared FTP drive from XXE, but when we try  to load this document again, we get the fatal error that follows:

 

Of course, we understand that something has to be fixed in the document… But we can’t open it to fix it. The document itself is valid, maybe it would be better – if at all possible – to empty the problematic attribute(s) rather than refusing to load the document entirely.

 

The current workaround: getting the document from FTP, fixing it in Emacs (or so), putting it back to FTP… Is not particularly convenient.

Many thanks,

Phil.

 

Philippe Nobili

Subsurface Imaging - Product Engineering

Tel: +33 16447 4090 | Mobile: +33 63756 6441

 

CGG,

27 avenue Carnot

Massy, 91341 – France

http://www.cgg.com

 

Please consider the environment before printing.

 

This email and any accompanying attachments are confidential. If you received this email by mistake, please delete
it from your system. Any review, disclosure, copying, distribution, or use of the email by others is strictly prohibited.


--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Nicolai Andler | 1 Jul 14:03 2015
Picon

Fwd: /n in para of xml file (line length)

Hi

I have the XMLmind XML Editor Professional Edition 6.3.0 on a mac 10.10.3 Yosemite

this is rather urgent, as it causes chaos when parsing the xml files.

the para element has a line break
the line length in the para element is currently limited, but I need it unlimited (without a line break)
there is an 'invisible' line break that is not visible in the xml editor window ..I used a text editor and display hidden elements to see this 'grey bracket/ para break'
see pic below



I changed the xmlEditor preference (set from 80 to 1000 and untick) and did a 'save as' over a existing xml file
but the result is even worse as it is now adding new lines in the middle of the xml tags


see attached xml. file

please ..


Best regards,

Nicolai Andler

Mobile (.de) + 49 176 400 23 101




--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Jeff Hooker | 26 Jun 03:59 2015

Track changes

Hello Hussein,

 

Before you throw up your hands and say “We’ve been through this!”, please give me just a few lines to present an idea to you.

 

I understand that you think Word-style track changes is unworkable in XMLmind for a number of reasons. Ok, in truth I’m not all that fond of Word-style change tracking either because of all the noise it adds to the authoring window.

 

However, your current “Compare Versions” feature already has all of the features that I’d like to see in “Track Changes”, except that it needs two different versions of the document to work. If data that you encoded in processing instructions at the bottom of the file segmented the changes made *by session* then you’d be able to compare the document against other versions of itself, and achieve a version of tracked changes that is actually more flexible and useful than Word-style tracked changes could ever be.

 

The fact that an author would need to pause to run a compare in order to see what he’d done is, frankly, a detail. The feature would nicely fill the differencing gap needed during active authoring.

 

Just my opinion.

 

Cheers,

Jeff.


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

Gmane