On 8/7/24 00:53, Z. wrote:
(2) Is there a way to reference a page number, like see Figure x.xx on
*page YYY*. I was able to do this using docbook.
Not sure if I can do the same with DITA without a lot of programming.
Sorry but my initial answer, a few weeks ago, was incorrect!
On 8/7/24 09:58, Hussein Shafie wrote:
This is controlled by XSLT stylesheet parameter "xref-auto-text". See
https://www.xmlmind.com/ditac/_distrib/doc/manual/xsltParams.html#xsltParams__I_3byi33_
Unfortunately, this parameter currently only supports "number", "text" or "number
text". No page number. Sorry.
--> In *addition* to xref-auto-text and link-auto-text, if you specify
the following XSLT stylesheets parameters, you'll get your "Figure x.xx
on *page YYY*" but, of course, only for XSL-FO based output formats
(PDF, RTF, etc).
---
-p show-link-page yes
-p show-xref-page yes
-p page-ref-before " on page "
--
More information:
- show-link-page,
https://www.xmlmind.com/ditac/_distrib/doc/manual/webhelp/xsltParams.html#xsltParams__I_a9y6sx_
- show-xref-page,
https://www.xmlmind.com/ditac/_distrib/doc/manual/webhelp/xsltParams.html#xsltParams__I_guyvcu_
- page-ref-after,
https://www.xmlmind.com/ditac/_distrib/doc/manual/webhelp/xsltParams.html#xsltParams__I_twu9ts_
- page-ref-before,
https://www.xmlmind.com/ditac/_distrib/doc/manual/webhelp/xsltParams.html#xsltParams__I_q8xznv_
- link-auto-text,
https://www.xmlmind.com/ditac/_distrib/doc/manual/webhelp/xsltParams.html#xsltParams__I_r1fyl9_
- xref-auto-text,
https://www.xmlmind.com/ditac/_distrib/doc/manual/webhelp/xsltParams.html#xsltParams__I_sck9o7_
--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support