Ulrich Dirr wrote:

Hi,

I'm recently trying to get ConTeXt typesetting my books like with LaTeX
before (or better). But I can't solve some problems ... Maybe someone can
assist me?

o How do I get the chapter number into the heading? I've tried \setupheader[before=\viii,style=normal]
\setupheadertexts[chapter]
but this only puts the chapter title into the heading


\setupheadertexts[chapter][chapternumber]

of

\setupheadertexts[{\getmarking[chapternumber] -- \getmarking[chapter]}]

etc etc

o How can I get something similar to LaTeX?
\fancyhead[C]{%
{\sffamily\footnotesize
\leftmark
\pdef\next{\rightmark}%
\ifx\next\empty\else\ \textbullet\ \rightmark\fi}%
}
which will put the chapter mark centered in the headings, and if there is
a sectionmark then a bullet & sectionmark too.


something like: (setups are just a convenience)

\setupheadertexts [\setups{something}]

\startsetups something

\getmarking[chapter]

\doiftext{\getmarking[section]}{\enspace\symbol[1]\enspace}

\getmarking[section]

\stopsetups

o How can I typeset the chapter title across both columns in a two-column setup?


hm

\chapter{xxx}

\startcolumns ... \stopcolumns

\chapter{yyy}

etc

o How can I tell ConTeXt the distance between columns? Or should I define only the columnwidth? How? My first defintion looks like
\setuplayout[width=358dd,lines=46,topspace=11mm,backspace=17mm,


\setupcolumns[distance=123pt]


margin=0cm,marking=on,location=middle,grid=yes,header=12bp, headerdistance=18bp,footer=12bp,footerdistance=11mm]

o How can I tell ConTeXt to balance the last page? I've tried something
like
   \definecolumnset[two][n=2,tolerance=tolerant,distance=12bp]
   \setupcolumnset [two][balance=yes]
 but this doesn't work.



ah, column sets ... see an earlier mail

o Is it possible to setup a project using only didot (or bp) point measurements? How?
Especially I want a interline space in dd or bp which is flexible like
\setupinterlinespace[line=1.25\bodyfontsize] but uses dd or bp.


\starttext

\input ward

\setupinterlinespace[line=4.25\dimexpr(\bodyfontfactor dd)]

\input ward

\stoptext

o I've tried to setup the typographical correct quotation marks for german
in the file cont-sys.tex
\setuplanguage
[de]
[leftquote=\rightsubguillemot,
leftquotation=\rightguillemot,
rightquote=\leftsubguillemot,
rightquotation=\leftguillemot]
When using it, e.g.,
\quotation{all right \quote{there} we go}
and using \showstruts
I got marks at strange places
|»all right |›there|‹ we go|«
Should this be corrected somewhere?


dunny, can you make a small test file (so that other german users can test along?)

o How do I get character protruding and font expansion? (I didn't find the latter in the manual)


\starttext

\setuppapersize[A4][A4]
\setuplayout[height=middle,topspace=1cm,header=0pt,footer=0pt]
\showframe

\setupfonthandling [hz] [min=80,max=80,step=5]

\setupfontsynonym [Serif] [handling=quality]
\setupfontsynonym [SerifBold] [handling=quality]
\setupfontsynonym [SerifSlanted] [handling=quality]
\setupfontsynonym [SerifItalic] [handling=quality]
\setupfontsynonym [SerifBoldSlanted] [handling=quality]
\setupfontsynonym [SerifBoldItalic] [handling=quality]

% \setupalign[normal,hanging,hz]

\usetypescript[palatino][\defaultencoding] \setupbodyfont[palatino,12pt]

\noheaderandfooterlines

\startbuffer
\dostepwiserecurse{200}{150}{-5}
{\expanded{\setuplayout[width=\recurselevel pt]}
\subject{palatino: no hz, ragged right}
\setupalign[right,hanging,nohz] \input tufte \endgraf
\subject{palatino: hz, ragged right}
\setupalign[right,hanging,hz]
\input tufte \endgraf
\subject{palatino: no hz, aligned}
\setupalign[normal,hanging,nohz] \input tufte \endgraf
\subject{palatino: hz, aligned}
\setupalign[normal,hanging,hz] \input tufte\endgraf
\page}
\stopbuffer

\getbuffer \page

\setuplayout[width=middle]

\typebuffer \page

\stoptext

so, associate a handling (see hand-* files) with a font (before it's used! else pdftex does ignore it)

but ... be prepared ... context is set up for the latest pdftex and there are some bugs in hz an desp when used with protruding (thanh is working on them and the previous code is used for testing)

you need a recent context in order to get the auto expansion done

o Does there exist some support for RCS? In LaTeX I've used \RequirePackage[nofancy]{rcsinfo}
and then I put in the page area of the crop marks:
on top
'Art \& Satz \raise.5pt\hbox{\textbullet} Ulrich Dirr\hfill Seite »\thepage« \the\count1\ von \numpages'
and on bottom
<project specific info>\hfill \rcsInfoFile\ Rev.\rcsInfoRevision\hfill
\the\day.\the\month.\the\year\ \printtime
How can I put these information on the page? Should I use something you called 'Logo types' in the manual or something like layers?


if you can give me specs (and an example) of what you need .. probably trivial to write

(there is some info mechanism where i then can hook it into)

\version[...]

o Where are the command parameters fully explained? (Even in the manual
they are just listed but not explained.)


all kind of manuals -) i leave that for others to explain; also ... take a look at the wiki!

o In lang-ger.tex you defined "ck with \discretionary{k-}{k}{ck}.
But on the other hand dehyphn.tex is used which is the new german hyphenation table. Then 'ck' will no longer be hyphenated like k-k. Or am I missing something?



hm, do you mean that i must omit teh "ck definition for de ?

Hans

-----------------------------------------------------------------
                                         Hans Hagen | PRAGMA ADE
             Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                            | www.pragma-pod.nl
-----------------------------------------------------------------

_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to