Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Rackham S.AsciiDoc user guide Rev7.1.2.2006.pdf
Скачиваний:
19
Добавлен:
23.08.2013
Размер:
298.24 Кб
Скачать

 

AsciiDoc User Guide

Preface

(book documents only)

Abstract

(article documents only)

Dedication

(book documents only)

Glossary

 

Bibliography|References

 

Colophon

(book documents only)

Index

 

Appendix [A-Z][:.] <title>

 

Inline Elements

Inline document elements are used to markup character formatting and various types of text substitution. Inline elements and inline element syntax is defined in the asciidoc(1) configuration files.

Here is a list of AsciiDoc inline elements in the (default) order in which they are processed:

Special characters

These character sequences escape special characters used by the backend markup (typically "<", ">", and "&"). See [specialcharacters] configuration file sections.

Quotes

Characters that markup words and phrases; usually for character formatting. See [quotes] configuration file sections.

Special Words

Word or word phrase patterns singled out for markup without the need for further annotation. See [specialwords] configuration file sections.

Replacements

Each Replacement defines a word or word phrase pattern to search for along with corresponding replacement text. See [replacements] configuration file sections.

Attributes

Document attribute names enclosed in braces (attribute references) are replaced by the corresponding attribute value.

Inline Macros

Inline macros are replaced by the contents of parameterized configuration file sections.

Document Processing

The AsciiDoc source document is read and processed as follows:

1.The document Header is parsed, header parameter values are substituted into the configuration file [header] template section which is then written to the output file.

2.Each document Section is processed and it's constituent elements translated to the output file.

3.The configuration file [footer] template section is substituted and written to the output file.

12