On 11/25/2015 01:25 PM, Roy MacLean wrote:
I wonder if mine is the same problem as that reported recently:
Re: strange persistent graphic
(GRUNDTVIG NIELSEN Niels AWL-T&P)
That is, it's FOP doing the image cacheing (why remains a mystery). It's
consistent with the first conversion after starting XXE being always
correct.
Yes, this could be a bug in FOP image cache.
It's easy to be sure. Repeat what you did --switching between alternate
key sets-- but this time generate XHTML, RTF, ODT, DOCX, etc, rather
than PDF. If it works fine, then the culprit is FOP.
Anyway, we'll try to add a workaround for this FOP image cache bug in a
future release of XXE.
Regards
*Roy MacLean*| Technical Writer | T: +44 20 7562 7777 | M: +44 7956 474
911 | Dovetail | 2 Minster Court, London, EC3R 7BB, UK |
The information in this email is for the sole use of the intended
recipients(s). It may be confidential and/or legally privileged. Any
review, disclosure, copying, distribution, retention, or any other use
by others is prohibited and may be unlawful. If you are not the intended
recipient, please contact the sender and delete all copies. We reserve
the right to monitor email content for the purposes of ensuring
compliance with legal requirements and company policies and your sending
to, or receiving from, us of any email constitutes your agreement to
these terms.
------------------------------------------------------------------------
*From:* Roy MacLean
*Sent:* 16 November 2015 11:34
*To:* 'xmleditor-support@xmlmind.com'
*Subject:* RE: [XXE] Switching between alternate key sets - odd behavior
Sorry, I wasn't clear: it was the conversion to PDF that sometimes
displayed the wrong image, not the behavior within XXE.
However, I tried to reproduce the problem in a minimal generic example -
but all conversions worked correctly.
Previously, I have not been using the Navigation Pane. Doing this now -
with one Nav Pane for the A map, and another for the B map, and doing
'Update navigation pane' immediately before converting the corresponding
map, seems to avoid the problem. Following your advice, I'll do it this
way in future.
regards
Roy MacLean| Technical Writer | T: +44 20 7562 7777 | M: +44 7956 474
911 | Dovetail | 2 Minster Court, London, EC3R 7BB, UK |
The information in this email is for the sole use of the intended
recipients(s). It may be confidential and/or legally privileged. Any
review, disclosure, copying, distribution, retention, or any other use
by others is prohibited and may be unlawful. If you are not the intended
recipient, please contact the sender and delete all copies. We reserve
the right to monitor email content for the purposes of ensuring
compliance with legal requirements and company policies and your sending
to, or receiving from, us of any email constitutes your agreement to
these terms.
________________________________________
From: Hussein Shafie [huss...@xmlmind.com]
Sent: 13 November 2015 09:09
To: Roy MacLean
Cc: 'xmleditor-support@xmlmind.com'
Subject: Re: [XXE] Switching between alternate key sets - odd behavior
On 11/12/2015 07:36 PM, Roy MacLean wrote:
>
> I'm using alternate sets of keys (keydef sub-maps) to switch between
> alternate sets of screenshot images. The primary topics use conkeyref
> for the images.
>
> So with key set A, I get images A1 and A2; with key set B, I get images
> B1 and B2.
I then assume that you have opened your DITA map in a Navigation Pane.
See
http://www.xmlmind.com/xmleditor/_distrib/doc/dita/transclusion_support.html#transclusion_support__specificities
>
> However, I've noticed that sometimes, when switching from key set A to
> keyset B (or vice versa), one of the images fails to 'switch' - so I get
> A1 + B2. It's as if one of the key bindings is not getting re-bound.
> Oddly, it is always the same image that is 'wrong', although the
> arrangement of keys, keydefs, IDs, etc is the same.
Odd indeed. Looks like a bug.
I even suspect XXE to crash during the display of the faulty image. On
Windows, suffice to start XXE using <XXE_install_dir>/bin/xxe-c.bat to
open a console allowing you to see the "crash report" (stack trace). If
you see a crash report, please copy all lines and send these to us.
>
> The first conversion after starting XXE is always correct. The problem
> appears with subsequent 'switched' conversions.
>
> Is there any kind of cacheing that could account for this?
No.
>
> I can of course send you files to check - but I wanted a sanity check
first!
>
Two suggestions:
1) Have you turn on option "When a navigation pane is opened or
updated", "Automatically update all inclusions in member documents"
*AND* also option "Automatically redraw member documents"?
These options are really required for your use case. They are found in
Options|Preferences, Tools|Navigation Pane section. See
http://www.xmlmind.com/xmleditor/_distrib/doc/help/toolsOptions.html#navigationPaneOptions
2) If these options are turned on, does a View|Redraw (Ctrl-L) fix the
problem? See
http://www.xmlmind.com/xmleditor/_distrib/doc/help/viewMenu.html
If the above suggestions do not solve the problem, then please be kind
enough to send us sample files allowing to reproduce the problem here at
XMLmind.
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support