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

Reply via email to