Pierce Tyler wrote:
> Hello:
> 
> I have been reading the archives about how to configure XXE to have 
> thumbnails always on. In particular, I have been reading:
> 
> http://www.xmlmind.com/pipermail/xmleditor-support/2005-November/003485.html 
> 
> 
> But I am running into problems and can't seem to get this to work. I 
> will explain the steps I have used. And if someone has the time to 
> notice what I am doing wrong I would greatly appreciate it!
> 
> 1. From XXE, use Options > Install Add-ons
> 2. Select "A customized configuration for the DocBook DTD"
> 3. This installs a directory called "custom_docbook_config" in the 
> following location on Windows 2000/XP:
> 
> %SystemDrive%\Documents and Settings\%USERNAME%\Application
> Data\XMLmind\XMLeditor\addon\
> 
> 4. Attempt to open ...\addon\custom_docbook_config\mydocbook.xxe
> 5. Windows thinks this is a .zip file--which can't be edited
> 6. XXE won't open this file
> 7. So I use the NoteTab Light text editor to open mydocbook.xxe
> 8. Inside the file mydocbook.exe, I find the following at the top of the 
> file:
> 
> <include location="xxe-config:docbook/docbook.xxe"/>
> 
>   <!-- Discard this CSS -->
>   <css name="Show info about included elements"/>
> 
>   <!-- Customize the normal CSS -->
>   <css name="DocBook" location="mydocbook.css" />
> 
> 9. After reading the mailing list instructions from 2005-November, I 
> believe I am supposed to insert the following information in this file:
> 
>   <css name="DocBook"
>        location="xxe-config:docbook/css/docbook.css"
>        alternate="true" />
>   <css name="Images displayed as thumbnails"
>        location="xxe-config:docbook/css/thumbnails.css"
>        alternate="false" />
> 
> 10. But I am not sure where to insert it. Do I replace the  <!-- Discard 
> this CSS --> and  <!-- Customize the normal CSS --> information both?
> 11. I tried several different combinations, and nothing seemed to work
> 12. I say "didn't work" because I expected to restart XXE, then open a 
> file with images in it and see the images as thumbnails. But this did 
> not happen; the images were regular size as normal.
> 
> Hopefully, I am missing something obvious. Any help sorting this out 
> would be greatly appreciated.

I cannot reproduce this problem. I did everything you did and after:

[1] Adding alternate="true" to
<css name="DocBook" location="mydocbook.css" />

[2] Adding the following rule after the former one:
  <css name="Images displayed as thumbnails" alternate="false"
        location="xxe-config:docbook/css/thumbnails.css" />

everything worked fine.

See attached mydocbook.xxe.

Of course all this cannot work if you edit DocBook *5* documents. The 
above configuration customize the bundled configuration associated to 
DocBook *4* documents.

---
PS: Professional Edtion users: there is no need to tweak configuration 
files by hand to achieve this result. Simply
[1] Select the CSS style sheet of choice using the "Views" menu.
[2] Then use Options|Customize "Configuration|Save Views As Default" and 
confirm by clicking OK. See 
http://www.xmlmind.com/xmleditor/_distrib/doc/help/optionsMenu.html#customizeConfigurationMenu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mydocbook.xxe
Type: text/xml
Size: 4221 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20071228/427ac5f7/attachment.xml
 

Reply via email to