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

Re: Side notes layout in xslt?

Subject: Re: Side notes layout in xslt?
From: "Peter Flynn peter@xxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 14 Oct 2021 20:55:19 -0000
Re:  Side notes layout in xslt?
On 14/10/2021 14:19, dvint dvint@xxxxxxxxx wrote:
> Yes instead of xslt I meant xsl-fo. I'm going to be using DITA XML and
> need to produce a pdf. 

The elephant in the room is of course LaTeX, which can easily handle the
formatting you describe. Outputting LaTeX source from XSLT is
straightforward if you have a well-defined architecture as you seem to have.

On 13/10/2021 08:55, dvint dvint@xxxxxxxxx wrote:
[...]
> 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.

Provided both versions occupy the same space. If one version creates
marginal notes longer than the paragraph[s] adjacent to which they fall,
you would need a macro in the LaTeX document class to ensure that the
same amount of space was left blank in the other version. This problem
has long been solved for facing-page translations, where matching
paragraphs must be kept aligned across the central gutter, so the code
should be reusable.

> I suggested outputting to indesign, but they don't want to add more
> software  so this would be a straight to pdf transformation.

If the addition of no-cost software is precluded then I think XSL-FO is
your only viable route.

Peter

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.