Dear Hussein, Than you for your great answer :o) S pozdravem / Kind Regards, Ingeborg Jakimová
Sykora Data Center s.r.o. | web: www.sykora.cz 28.října 1512/123 | e-mail: [email protected] 70200 0strava | telefon: +420 556 413 110 Czech Republic | mobil: +420 720 395 407 -----Original Message----- From: Hussein Shafie [mailto:[email protected]] Sent: Tuesday, February 04, 2014 4:19 PM To: [email protected] Cc: '[email protected]' Subject: Re: Change in prefix 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[*]: xml:lang with value: cs 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 xml:lang="cs". > 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 Document" menu? --- http://www.xmlmind.com/xmleditor/faq.html#custom_deliverables For your information, "DocBook XSL Stylesheets: Reference Documentation", http://docbook.sourceforge.net/release/xsl/current/doc/ , says that attribute-set "xref.properties" controls the looks of cross-reference text (AKA links). See http://docbook.sourceforge.net/release/xsl/current/doc/fo/index.html 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: color="blue" text-decoration="underline" to attribute-set "xref.properties". See attached screenshot. Extensive documentation in The "Customize Document Conversion Stylesheets" dialog box -- http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.xmleditapp.kit.part.ConversionStylesheetsEditor.html -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

