<article desc="the article"> text before all chapters (article header) <chapter title="first chapter"> text inside the first chapter <chapter title="sub chapter"> text inside the sub-chapter </chapter> </chapter> <chapter title="second chapter"> text inside the second chapter </chapter> </article>
<article desc="new article3"> text before all chapters (article header) <title title="first chapter"/> text inside the first chapter <title level="2" title="sub chapter"/> text inside the sub-chapter <title title="second chapter"/> text inside the second chapter </article>Note that if you don't define the level, it will be assumed to be 1.
<article desc="the article"> text before all chapters <title title="first chapter"/> text inside the first chapter <title level="2" title="sub chapter"/> text inside the sub-chapter <title title="second chapter"/> text inside the second chapter </article>We will have the following text for the table of contents in the article:
<article desc="the article"> <title title="first chapter"/> text inside the first chapter <title level="2" title="sub chapter" seq="A.1"/> text inside the sub-chapter <title title="second chapter"/> text inside the second chapter <title title="third chapter"/> text inside the third chapter </article>We will have the following result for the article:
<ref id="#first chapter" desc="the first chapter" />
<article id="thisArticle" desc="my article"> <title title="first chapter"/> ... </article>This article can be referenced through any of the following constructions:
<ref id="thisArticle" /> <ref id="my article" /> <ref id="my_article" />This article title be referenced through any of the following constructions:
<ref id="thisArticle#first chapter" /> <ref id="thisArticle#first_chapter" /> <ref id="my article#first chapter" /> <ref id="my_article#first_chapter" />
<article id="thisArticle" desc="my article"> <title title="first chapter" id="t1" /> ... </article>This article title be referenced through any of the following constructions:
<ref id="thisArticle#t1" /> <ref id="thisArticle#T1" />
<article desc="the article"> <title title="first chapter" seq="A.1"/> text inside the first chapter <title title="second chapter"/> Refer to <ref id="#A.1" /> </article>In that case the text shown by default for the reference will be the "seq" value rather than the title or chapter description.
docJGenerator Copyright (c) 2016-2023 Herve Girod. All rights reserved.