docbook

Internal references in docbook 5

℡╲_俬逩灬. 提交于 2019-12-11 12:19:37
问题 I tried to write an internal reference to another section in the same document. But references are not working. There is a reference, which is located in one section in my docbook-article <xref linkend="id1</b>" endterm="Управление Роботом из программы short"/> The part of another section in this article: <section id="id1"> <title>Управление Роботом из программы </title> <titleabbrev id="id1 short"> Управление Роботом из программы </titleabbrev> <para> ... </para> </section> How to write this

Is it possible to use wildcards with XInclude tags?

 ̄綄美尐妖づ 提交于 2019-12-11 11:25:05
问题 I'm afraid it's not possible, but haven't found anywhere it is said to be impossible either. I'd like to include a set of files within a XML document using wildcards. Like this: <?xml version="1.0" encoding="utf-8"?> <mydocument> <!-- ... --> <xi:include href="*include.xml"/> </mydocument> I know it doesn't work, but I think it clearly expresses my intentions. Is there a way to achieve this? Edit: I tried to use xpointer attribute, but couldn't make it work. 回答1: Is it possible to use

Disable table of contents for documents

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-11 08:52:20
问题 I am using DocBook 4.5 and wanted to customize whether or not the table of contents is generated. I was looking over the XSD but couldn't find a way to disable it. I found ways to customize it. Could someone point me in the right direction? 回答1: In both Docbook 2 and Docbook 5 the toc element documenation says: "In real life, tocs are usually generated automatically by the presentation system and never have to be represented explicitly in the document source." So the next question is, which

docbook-xsl Chunked HTML table of contents for each chapter

别来无恙 提交于 2019-12-11 02:59:56
问题 I've been reading the documentation all night and still can't figure it out. How do I get the chunked output to include a ToC on the "front-page" of each chapter (and larger parts)? Both the DocBook-XSL documentation and the online HTML version of "DocBook XSL: The Complete Guide" implement this, so at least I'm not entirely insane as far as it being at least possible…somehow. 回答1: The solution was staring me square in the face, I couldn't see the proverbial forest for all the trees I suppose

asciidoc: is there a way to create an anchor that will be visible in libreoffice writer?

北战南征 提交于 2019-12-10 23:31:52
问题 Tl;dr; What is the correct way to create an anchor in docbook? and is there a way that will make the anchor visible in writer? Background I am trying to split up documentation that was previously in single open office documents into smaller asciidoc documents which are both included in the main open office document and also converted to either or both of html & pdf . I have this mostly working. I use asciidoctor to create html. asciidoctor-pdf to create pdf and a combination of asciidoctor

Convert doc/docx to semantic HTML

你说的曾经没有我的故事 提交于 2019-12-09 02:12:18
问题 I would like to convert doc/docx documents to semantic HTML. Some wishes/requirements: Semantic HTML such that headers in the document are <h1>, <h2> etc., tables are <table> and so forth. Should preferably be possible to handle headings, lists, tables and images. Graphs and math formulas is a nice extra. • Doesn't have to be converted straight from doc/docx to html, could use an intermediary format, such as xml or docbook. • Should work programatically, and with large number of documents.

Transform XHTML article to Docbook

坚强是说给别人听的谎言 提交于 2019-12-08 00:26:01
问题 I need to transform some article about information technologies from format XHTML or HTML in to format Docbook. Then i need to transform the Docbook format in to pdf. But i have got a problem with the first sentence. I dont now how to transform XHTML/HTML to Docbook. Thank you 回答1: transform some article about information technologies from format XHTML or HTML in to format Docbook. This is kind of doing the reverse of DocBook XSL transformation. Normally, we convert the DocBook xml source

Remove verso and list of tables from DocBook document

狂风中的少年 提交于 2019-12-07 04:37:31
问题 I have problem with customization layer of DocBook XSL. I use Apache FOP to transform document from DocBook XML to PDF. But the book contains second page (so called verso ) and page List of Tables . I just have erased the content of verso, but second page remains empty now. I don't now how to remove second empty page. (I have found one solution only. It is easy - just add <xsl:template name="book.titlepage.verso"/> to your templates, but after this element has been added, second page remains

Transform XHTML article to Docbook

老子叫甜甜 提交于 2019-12-06 06:05:16
I need to transform some article about information technologies from format XHTML or HTML in to format Docbook. Then i need to transform the Docbook format in to pdf. But i have got a problem with the first sentence. I dont now how to transform XHTML/HTML to Docbook. Thank you transform some article about information technologies from format XHTML or HTML in to format Docbook. This is kind of doing the reverse of DocBook XSL transformation. Normally, we convert the DocBook xml source files to outputs like xhtml, or pdf. Here, you were asked to convert a given xhtml article in to DocBook xml

Convert word (.docx) to docbook

若如初见. 提交于 2019-12-05 21:27:47
问题 I have been tasked to find a way to convert a large amount of .docx files to docbook 5. Currently, we open the file in openoffice and save to docbook. This is a time consuming task, but I am confident there is a better way. These files will then be processed further to our custom relax NG schema. Therefore this conversion does not need to be flawless. I have looked around, and will continue to investigate some leads, but have not found anything usefull. looking at Convert doc/docx to semantic