texinfo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sidebar in docbook


From: Aharon Robbins
Subject: Re: sidebar in docbook
Date: Fri, 05 Apr 2013 17:23:20 +0300
User-agent: Heirloom mailx 12.5 6/20/10

Hi.

I had to do two separate sets of macros, inside ifdocbook and ifnotdocbook.
TeX is not happy, and it's because of the start cartouche in one and it
not being finished until the other.  Here is what I did, but it doesn't work.

Thanks,

Arnold
------------------------------------------------
@ifdocbook
@macro beginsidebar{title}
@inlinefmt{docbook, <sidebar><title>}
\title\
@inlinefmt{docbook, </title>}
@end macro
@end ifdocbook

@ifnotdocbook
@macro beginsidebar{title}
@cartouche
@center @b{\title\}

@end macro
@end ifnotdocbook

@ifnotdocbook
@macro endsidebar{}
@end cartouche
@end macro
@end ifnotdocbook

@ifdocbook
@macro endsidebar{}
@inlinefmt{docbook, </sidebar>}
@end macro
@end ifdocbook



reply via email to

[Prev in Thread] Current Thread [Next in Thread]