You are a guest. Restricted access! Read more.
RTextDoc manual

Working with AsciiDoc text

Similar to LaTeX, AsciiDoc is also a mark-up language. AsciiDoc is designed for writing notes, documentation, articles, books, ebooks, slideshows, web pages, man pages and blogs. AsciiDoc documents can be translated to many formats including HTML, PDF, EPUB, man page.

To AsciiDoc files using RTextDoc, use the file extensions ”.adoc”, ”.asc” or ”.asciidoc”. AsciiDoc in RTextDoc is powered by ASciiDoctor, so please use its syntax. Read the Asciidoctor manuals.

Here is a simple example. Open this AsciiDoc file userguide.adoc in the RTextDoc. Edit this file and then generate HTML, DocBOOk or PDF files. For example, if you select “AsciiDoc to HTML”, one can generate this HTML file userguide.html. To convert text files with AsciiDoc tags, use either “macro” menu or toolbar. The following conversions can be done:

  1. ASciiDoc to HTML
  2. ASciiDoc to DocBook
  3. ASciiDoc to PDF

Note that the syntax is more closely follows ASciiDoctor implementation. For example asciidoc-writers-guide.adoc can be converted to asciidoc-writers-guide.html

asciidoc.txt · Last modified: 2013/11/23 18:53 by admin
CC Attribution-Noncommercial 3.0 Unported
Powered by PHP Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 Valid HTML5