On Oct 3, 2009, at 5:58 PM, Joshua Lee wrote:
Hi Thomas,
Sorry about that, attach the pdf file for the result. ConTeXt should
have the capability to implement the similar effect, but i can not
find
it from the wiki or mailing list.
Best regards,
Joshua
Here is something similar to what you have in your example (and
compared to your LaTeX code, I find the ConTeXt way of coding this
wonderfully simple and elegant):
\startsetups[header]
\framed[width=\textwidth,frame=off,bottomframe=on,align=right]
{\rlap{\headnumber[chapter] \getmarking[chapter]}
\hfill
\pagenumber
\hfill
\llap{\externalfigure[cow][height=1cm]}}
\stopsetups
\startsetups[footer]
\framed[width=\textwidth,frame=off,topframe=on,align=center]
{{\bf Copyright 2009, My Company} \\ Blablabla}
\stopsetups
\setupheadertexts[\setups{header}]
\setupfootertexts[\setups{footer}]
\starttext
\chapter{One}
Hello World
\stoptext
The main reference is the file http://www.pragma-ade.com/general/manuals/cont-eni.pdf
, you want to read the sections on headers and footers and on
framing (\framed is one of the most powerful and versatile commands in
ConTeXt).
HTH
Thomas
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________