ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Chapters, setupbackgrounds[header] issue & indenting issue
@ 2006-01-27 10:13 Renaud AUBIN
  2006-01-27 21:30 ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Renaud AUBIN @ 2006-01-27 10:13 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 704 bytes --]


Hi all,

I have made a small document in order to show you issues I have to face 
with.
1. At page 3, why do I have bottomframe=on in the header althought I use 
high option ? It's ok at page 1 and 4.
2. At page 4, it works only because the previous chapter is on one page 
! Don't see why with my present ConTeXt skills.
3. Concerning indenting, the first paragraph of each section isn't 
indented, why and how to modify ? I have seen that the order of options 
matters but I don't understand how work "next" and "first" options 
because when I use it, I don't obtain indentation at all.

What I'm doing wrong ??? It drives me crazy since these features are 
prerequisites for my PhD style !

Renaud



[-- Attachment #1.2: Type: text/html, Size: 1038 bytes --]

[-- Attachment #2: test.tex --]
[-- Type: text/x-tex, Size: 1273 bytes --]

\enableregime[il9]
\useencoding[ffr]
\mainlanguage[fr]

%% Set output to pdf
\setupoutput[pdftex]
%% Activate txt in METAPOST
\useMPlibrary[txt]
%% Activate colors
\setupcolors[state=start]

% Paper size
\setuppapersize[A4][A4]

% Fonts settings for ConTeXt
\usetypescriptfile[type-buy]
\loadmapfile[ec-bh-lucida.map]
\usetypescript[lucida][ec]
\setupbodyfont[lucida,10pt]

\setuphead[chapter][header=high, command=\ChapterHeader, style=\tfd]
\def\ChapterHeader#1#2{%
  \framedtext
  [width= \overlaywidth,
  height=12\bodyfontsize,
  background=foreground,
  offset=0pt,
  strut=no,
  frame=off,
  align=left]{\blank[4\bodyfontsize,force]#1\blank[small]#2}} 

\setupbackgrounds[header][text][bottomframe=on]
\setupbackgrounds[footer][text][topframe=on]

% Indenting
\setupindenting[medium,yes]

% French
\setupheadtext[fr][pubs=Bibliographie]
\setuplabeltext[fr][chapter=Chapitre~]

\starttext

\chapter{Introduction}
\section{First dummy section}
\dorecurse{5}{\input knuth\par\ }
\section{Second dummy section}

\chapter{Dummy chapter}
\section{First dummy section}
\dorecurse{2}{\input knuth\par\ }
\section{Second dummy section}

\chapter{Another dummy chapter}
\section{First dummy section}
\dorecurse{5}{\input knuth\par\ }
\section{Second dummy section}

\stoptext

[-- Attachment #3: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

end of thread, other threads:[~2006-01-28 12:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-27 10:13 Chapters, setupbackgrounds[header] issue & indenting issue Renaud AUBIN
2006-01-27 21:30 ` Hans Hagen
2006-01-27 21:48   ` Renaud AUBIN
2006-01-28  9:42     ` Hans Hagen
2006-01-28 11:26       ` Taco Hoekwater
2006-01-28 12:06       ` Renaud AUBIN

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).