Richard Hamilton | 7 Aug 2012 03:46
Favicon
Gravatar

Outside margin notes

I am trying to create an outside margin note in double-sided output, but am running into trouble.

I can set margin.note.float.type to outside, and that works (I'm using XEP, which can handle
outside/inside), but to make the margin note actually be outside the text, the body text needs to be indented.

The problem is that the only parameters I can find to set the body indent are body.start.indent and
body.end.indent, and they act on the start/end of the text, not the inside/outside.

So, if I set body.end.indent (leaving body.start.indent at 0pt), I get nice margin notes on recto pages,
but regular sidebars on verso pages (and the text has extra space on the inside on verso pages). If I do the
reverse, verso pages are fine and rectos are messed up.

So, what's needed is body.inside.indent and body.outside.indent, but they don't exist.

Does anyone know of another way to make this work? BTW, I know that if I set body.start.indent and
body.end.indent to the same value, I can get the effect I want, but at the expense of wasted space on the
inside of each page.

Thanks for any help you can provide.

Best Regards,
Dick Hamilton
-------
XML Press
XML for Technical Communicators
http://xmlpress.net
hamilton <at> xmlpress.net
Jirka Kosek | 7 Aug 2012 09:37
Picon
Favicon
Gravatar

Re: Outside margin notes

On 7.8.2012 3:46, Richard Hamilton wrote:

> Does anyone know of another way to make this work? BTW, I know that
> if I set body.start.indent and body.end.indent to the same value, I
> can get the effect I want, but at the expense of wasted space on the
> inside of each page.

I think that this could be solved by using very small margin on
region-body for inner (binding) edges and larger margin on outer edges.
Smaller margin on binding edge will compensate for large space created
by body indents on inside edge.

If this doesn't help, you can use XEP intermediate format to adjust
placement of marginalias.

				Jirka

--

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka <at> kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------

Richard Hamilton | 7 Aug 2012 21:45
Favicon
Gravatar

Re: Outside margin notes

Jirka,

Thanks for the suggestions. I did try using a very small margin on the region body, and that may work, though
it also requires adjustment for a bunch of other things (TOC, footnotes, etc.). But, it is one way to get there.

I'll also check out your other suggestion, too.

Thanks for the help.
Dick
-------
XML Press
XML for Technical Communicators
http://xmlpress.net
hamilton <at> xmlpress.net

On Aug 7, 2012, at 12:37 AM, Jirka Kosek wrote:

> On 7.8.2012 3:46, Richard Hamilton wrote:
> 
>> Does anyone know of another way to make this work? BTW, I know that
>> if I set body.start.indent and body.end.indent to the same value, I
>> can get the effect I want, but at the expense of wasted space on the
>> inside of each page.
> 
> I think that this could be solved by using very small margin on
> region-body for inner (binding) edges and larger margin on outer edges.
> Smaller margin on binding edge will compensate for large space created
> by body indents on inside edge.
> 
> If this doesn't help, you can use XEP intermediate format to adjust
(Continue reading)


Gmane