[oXygen-user] xref to fig displays ID in responsive webhelp output

Yves Barbion yves.barbion at gmail.com
Fri Aug 6 07:21:11 CDT 2021


Hi Ionela

Aha! Yes, setting "args.figurelink.style" to NUMBER or NUMTITLE solved the
problem. The xrefs to the fig now display "Figure 1", "Figure 2" etc.

The figures themselves, however, are not numbered yet. So when I have
multiple figs on one page, they all just have the label "Figure:" and no
number in my Oxygen responsive webhelp output. In the HTML5 output however,
the figures are numbered.  Any idea how I can number my figures in my
webhelp just like in the HTML5?
Sorry, but my knowledge of css and xsl is rather limited.

Thank you very much.

Yves

On Fri, 6 Aug 2021 at 12:11, Oxygen XML Editor Support (Ionela Istodor) <
support at oxygenxml.com> wrote:

> Hi Yves,
>
> To get the same result also for the WebHelp Responsive output you need to
> set 'args.figurelink.style' parameter to 'NUMTITLE'.
> This can be set either in the WebHelp Responsive transformation scenario
> (Parameters tab) or in the Publishing Template descriptor file (*.opt).
>
> Regards,
> Ionela
>
> --
> Ionela Istodor
> oXygen XML Editor and Author Support
>
> Tel: +1-650-352-1250 ext.3010
> Fax: +40-251-461482support at oxygenxml.comhttp://www.oxygenxml.com
>
>
> ---------------------------------------------------------------------------
> This message (including any attachments) contains confidential information and is intended only for the individual(s) named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. Any quotation contained herein has a validity of 30 days, unless otherwise specified. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
>
> On 8/5/2021 10:46 AM, Yves Barbion wrote:
>
> Hi group
>
> I've got this topic:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
> <topic id="test">
> <title>test</title>
> <body>
> <p>See <xref href="#test/fig_nmn_q1s_mqb" format="dita"></xref></p>
> <fig id="fig_nmn_q1s_mqb">
> <title></title>
> </fig>
> </body>
> </topic>
>
> When I generate HTML5 output (using OxygenXML Editor version 23.1), all is
> well: I see "See Figure 1". When I generate the default responsive output,
> however, I see the ID of the fig displayed, so "See #test/fig_nmn_q1s_mqb".
>
> Any idea how this can be fixed?
>
> Thanks
>
> Yves
>
> _______________________________________________
> oXygen-user mailing listoXygen-user at oxygenxml.comhttps://www.oxygenxml.com/mailman/listinfo/oxygen-user
>
>
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> https://www.oxygenxml.com/mailman/listinfo/oxygen-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20210806/06549b12/attachment.html>


More information about the oXygen-user mailing list