Re: Change in prefix
Hussein Shafie <hussein <at> xmlmind.com>
2014-02-04 15:18:59 GMT
Inka Jakimová wrote:
> I have a Czech localisation XMLmind, all is translated, menu, items, messages... but if I create a new
chapter, it’s still just chapter, no KAPITOLA in Czech,
That's normal because the CSS stylesheets used to render a DocBook
document on screen are not localized at all. On screen, you'll always
see Chapter, author, etc.
> so, when I convert the project to PDF, I have English word Chapter 1... and then Czech words - the name of the
chapter. How can I change it?
This second problem is unrelated to the first one.
In order to solve this problem, simply add attribute[*]:
to the root element of your DocBook document, then save your document
and convert it to other formats. After you'll do this, you'll see
KAPITOLA in the documents you generate and this, whatever the output
format (PDF, HTML, RTF, EPUB, etc).
[*] This is for DocBook 5. For DocBook 4, it's lang="cs" and not
> And the second thing, I need to change style of tags in converted PDF documents (I need clasical style for
links - blue underline links). I know CSS styles in HTML documents, but I cannot findout, how can I change
some styles in PDF documents, I only know, that’s XSL files, which I can change... but, which one?
This can be done from within XMLmind XML Editor without having to modify
XSLT files by hand. Please carefully read this FAQ:
How do I customize the HTML, PDF, RTF, etc, generated using the "Convert
For your information, "DocBook XSL Stylesheets: Reference
, says that attribute-set "xref.properties" controls the looks of
cross-reference text (AKA links). See
Therefore if you use XMLmind XSL Customizer (invoked from within XMLmind
XML Editor), as introduced in the FAQ, you'll be able to add attributes:
to attribute-set "xref.properties". See attached screenshot.
Extensive documentation in
The "Customize Document Conversion Stylesheets" dialog box --
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com