ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* images and text stacked in the margin
@ 2012-11-12 13:45 Andy Thomas
  2012-11-12 14:10 ` Marco Patzer
  0 siblings, 1 reply; 4+ messages in thread
From: Andy Thomas @ 2012-11-12 13:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear list,

I am still struggling to achieve the page layout/look that I am trying to get. For an image of the desired page spread please look here: https://dl.dropbox.com/u/9089117/tufte-spread.png

The design is using the ample margin to place text (sidenotes), figures (images) and tables in the margin. I am unable to get both (images and text) to work properly. 


(1) put all in a \margintext
    \margintext{...} for text
	\margintext{\placefigure...} for external images
	
This option does not work if the position is close to a page break (cp. http://archive.contextgarden.net/message/20121111.191529.3fbef120.en.html)


(2) use two different macros
    \margintext{...} for text and
    \placefigure[location=margin]{}{...} for external images 
    
This option does not work because they are placed on top of each other. I also tried \startplacefigure, but also no luck.


(3) put all in a \placefigure
    \placefigure[margin,none]{}{Text Text} for text
    \placefigure[margin,none]{}{...} for external images
    
This works best, because it starts from the top and nicely stacks the marginals. But it introduces a paragraph break where the sidenote is called. This does not work, it defeats the purpose (imagine a paragraph after every footnote).


(4) use (3) and postponing
    \startpostponing [+1]%
    \startplacefigure[location={margin,none}]%
    Text text\stopplacefigure%
    \stoppostponing%
    
Now, the paragraph break is gone, but the sidenote is on the next page, which does not make sense in our case (cp. http://tex.stackexchange.com/questions/56388/avoid-line-break-after-macro). In general, I do not understand, where the paragraph break at the \placefigure... comes from. It does not seam necessary in most cases (e.g. location=top) and postponing does avoid it. Can I 'gobble' it somehow?


Does anyone have an idea, how to make it work for images as well as text combined?

Andy
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-11-12 21:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-12 13:45 images and text stacked in the margin Andy Thomas
2012-11-12 14:10 ` Marco Patzer
2012-11-12 19:49   ` Andy Thomas
2012-11-12 21:19     ` Alan BRASLAU

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).