For links between book files, DITA2Go provides two additional browse macros that are used by indirection: <$_seqprev> and <$_seqnext>. Table 29-1 shows the default definitions of these macros.
<$_seqprev> |
<a href="<$$_seqprevfile>"><$$_seqprevtitle></a> |
<$_seqnext> |
<a href="<$$_seqnextfile>"><$$_seqnexttitle></a> |
Because of the equivalences listed in Table 29-2, you do not need to use <$_seqprev> and <$_seqnext>. You can link together all the HTML pages split from all the DITA files in the sequence, using only macros <$_prev> and <$_next>.
When you are converting a book rather than a single DITA file, for the first split part of any but the very first file in the book, the definition of <$_prev> changes to use predefined macro <$_seqprev>, which links to the last HTML file split from the previous DITA file in the book. Likewise, for the last HTML file split from any but the last DITA file in the book, the definition of <$_next> changes to use predefined macro <$_seqnext>, which links to the first HTML file split from the next DITA file in the book. Table 29-2 shows how browse macros and macro variables are equivalent depending on the position of a file in the sequence.