Dear Hussein,

I have done what you told me but I have a problem. I give an id
attribute to the mediaobject but when I export I just get "???", not the
name of the figure. If I work with figures it's the same so I give an id
attribute to the little squate over the figure, where I'm suposed to
write the title. Amm I doing something wrong?

I must tell you I work with "Docbook v5+ Chapters" and I use the xml:id
atribute. I tried with "Docbook Chapters" and id attribute but it's the
same.

Thenk you very much,
Sandra Sol

-----Mensaje original-----
De: Hussein Shafie [mailto:hussein at xmlmind.com] 
Enviado el: jueves, 25 de septiembre de 2008 10:17
Para: Sandra Sol Rodrigo
CC: xmleditor-support at xmlmind.com
Asunto: Re: [XXE] Question about xref

Sandra Sol Rodrigo wrote:
>  
> 
> I'm using "xref" with the figures of a document and when I export the
> document to RTF the reference appears as *Figure 1.1, ""
> <#main_config>*. I would like to know if it's possible to change the
> reference format because none of the figures of my document is named
so
> I have an extra coma and extra quation marks with no meaning.
> 
>  
> 

I don't think that changing the format of xref elements is the right way
to solve your problem.

The only way to reproduce the problem you describe is to have an xref
pointing to a figure having an *empty* title. See attached screenshot.

Figures are really supposed to have a non-empty title. If you don't want
titles, please replace the figure element by a mediaobject (just pick it
from the DocBook toolbar).

Reply via email to