[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Resetting footnotes not working

Subject: Re: Resetting footnotes not working
From: "Toshihiko Makita tmakita@xxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 21 Jul 2023 07:26:32 -0000
Re:  Resetting footnotes not working
Hi Mark,

Congratulations!
It's my pleasure.

On 2023/07/21 15:37, Mark Giffin m1879@xxxxxxxxxxxxx wrote:
> Hi Toshihiko,
>
> This worked for me to reset PDF footnotes on every page, thanks very 
> much.
>
> Here's how I did it. In addition to adding these axf: attributes to 
> <fo:page-sequence>:
>
> <fo:page-sequence force-page-count="auto" 
> master-reference="ditamap-body-sequence"
> B B B  axf:footnote-number-initial="1" axf:footnote-number-reset="page">
> B B B  <fo:static-content flow-name="xsl-footnote-separator">
>
> I also had to refactor every link with axf: markup. So for every 
> <fo:basic-link> like this:
>
> <fo:basic-link internal-destination="fnd74e343">1</fo:basic-link>
>
> I replaced it with:
>
> <axf:footnote-number id="fnd74e343"/>
>
> And for an <fo:list-item-label> like this:
>
> <fo:list-item-label end-indent="label-end()">
> B  <fo:block text-align="right" id="fnd74e343">
> B  <fo:inline
> B B B B B  keep-with-previous.within-line="always"
> B B B B B  baseline-shift="super" font-size="75%"
> B B B  >1</fo:inline></fo:block>
> </fo:list-item-label>
>
> I replaced it with something like this:
>
> <fo:list-item-label end-indent="label-end()">
> B  <fo:block text-align="right"> <<<<<<< remove @id
> B  <fo:inline keep-with-previous.within-line="always"
> B B B B B  baseline-shift="super" font-size="75%">
> B B B  <axf:footnote-number-citation ref-id="fnd74e343"/> <<<<<<< add @id
> B B B  </fo:inline>
> B  </fo:block>
> </fo:list-item-label>
>
> Thanks,
> Mark
>
>
> On 7/14/2023 9:17 PM, Toshihiko Makita tmakita@xxxxxxxxxxxxx wrote:
>> Hi Mark,
>>
>> I found that there are no effective examples for this extension 
>> property. So I made the example from Antenna House US site sample 
>> archive.
>>
>> Please download the ZIP file that contains .fo and .pdf files. (This 
>> is the link to my OneDrive. It is safe.)
>>
>> https://1drv.ms/u/s!AkbL99fLhxKUiNAwQrFEBjfAPPc3jQ?e=lY4tfk
>>
>> Hope this helps your development work.
>>
>> Regards,
>>
>> Toshihiko Makita
>>
>> Antenna House, Ina Branch.
>>
>> On 2023/07/15 10:21, Mark Giffin m1879@xxxxxxxxxxxxx wrote:
>>> Thanks very much for the tip, Toshihiko. I should have checked for 
>>> an extension. I am using AH v6.2 and the docs for this version say 
>>> that it supports axf:footnote-number-reset. But when I try to use it 
>>> according to the docs, it has no effect on the footnote numbering. 
>>> I'm using it like below, with axf:footnote-number-initial.
>>>
>>> <fo:page-sequence force-page-count="auto" 
>>> master-reference="ditamap-body-sequence"
>>> B B B  axf:footnote-number-initial="1" axf:footnote-number-reset="page">
>>> B B B  <fo:static-content flow-name="xsl-footnote-separator">
>>> ...
>>>
>>> Did I miss something in the use of this extension?
>>>
>>> Thanks,
>>> Mark
>>
>>
> 
>
-- 
tys125fToshihiko Makita
Development Group. Antenna House, Inc. Ina Branch
tmakita@xxxxxxxxxxxxx
8077-1 Horikita Minamiminowa Vil. Kamiina Co.
Nagano Pref. 399-4511 Japan
Tel +81-265-76-9300 Fax +81-265-78-1668
http://www.antenna.co.jp/
http://www.antennahouse.com/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.