xsl-list
[Top] [All Lists]

Re: [xsl] Side notes layout in xslt?

2021-10-13 11:13:06
On 13/10/2021 16:55, dvint dvint(_at_)dvint(_dot_)com wrote:
Before I start this I'm looking for confirmation this is possible in
xslt.

I'll assume that you mean XSL-FO...

I have a request to produce an instructors version of a training
guide as well as student version. Both will have a wide gutter on the
left side when produced.  The instructor guide will have instructor
notes in this area. I will be pulling multiple paras into the gutter
area, but not filling the space.

AH Formatter can do sidenotes.  See:

   https://www.antenna.co.jp/AHF/help/en/ahf-ext.html#footnote-position

and the sidenote example in the 'XSL-FO Samples Collection' at:

   https://www.antennahouse.com/xsl-fo-samples

Is it feasible to try this in xslt? If feasible, can I make sure the
page breaks are the same in the instructor and student versions? They
want to make sure they can reference page 32 and make sure everyone
is looking at the same page.

For the student version, set 'color' (and any border colors) to
'transparent' on the instructor notes so that they don't show.  AH
Formatter won't even include the transparent text in the output.  If
producing PDF/UA (and why wouldn't you?), you can add
'axf:pdftag="Artifact"' or 'axf:pdftag="Private"' on the sidenote's FO
so that any traces of the instructor notes should be ignored by a screen
reader.  See:

   https://www.antenna.co.jp/AHF/help/en/ahf-ext.html#axf.pdftag

and:

   https://www.antenna.co.jp/AHF/help/en/ahf-pdf.html#taggedpdf

Regards,


Tony Graham.
--
Senior Architect
XML Division
Antenna House, Inc.
----
Skerries, Ireland
tgraham(_at_)antenna(_dot_)co(_dot_)jp
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>