Am 2011-08-04 um 16:14 schrieb Wolfgang Schuster:

\def\Info#1{\margindata[inmargin]{\rotate{\hbox[location=normal] {#1}}}}

\setuplayout[location=doublesided]
\setuppagenumbering[alternative=doublesided]

\define[1]\InfoCommand
 {\toplinebox{\rotate{#1}}} % \bottombox{\rotate{#1}}

\definemargindata[Info][inmargin][style={\ss \tfx},location=inner,align=outer,command=\InfoCommand]

Thank you, but that doesn’t work like it should:

I use it in a folk songbook, every song has a title (\chapter), then the score (a LilyPond graphic via the filter module), after that sometimes lyrics (a lot of rounds, so often no further lyrics).

I use \Info for the author information, that should start at the same height as the score - I wouldn't mind if it would start at the title.

So I have something like

\chapter{My song}

\Info{Author: Me}
\startlilypond
...
\stoplilypond

\startlines
La la la la...
\stoplines

With your setup, the Info text starts at the lyrics - if there aren't any, at the lyrics of the next song!
Can you guess why it skips the graphics?

With my setup, I can place \Info after the score and it goes from there upward - not what I want, but acceptable.


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to