From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16404 Path: main.gmane.org!not-for-mail From: Hans Hagen Outside Newsgroups: gmane.comp.tex.context Subject: Re: Help with LaTeX -> ConTeXt & book typesetting Date: Fri, 10 Sep 2004 22:38:37 +0200 Sender: ntg-context-bounces@ntg.nl Message-ID: <414210CD.7040902@wxs.nl> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1094848746 22963 80.91.224.253 (10 Sep 2004 20:39:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 10 Sep 2004 20:39:06 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Sep 10 22:38:53 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C5sAX-0004gG-00 for ; Fri, 10 Sep 2004 22:38:53 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0071A12788; Fri, 10 Sep 2004 22:38:52 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04198-04; Fri, 10 Sep 2004 22:38:48 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 50AED12777; Fri, 10 Sep 2004 22:38:48 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 11AAC12777 for ; Fri, 10 Sep 2004 22:38:47 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04344-01 for ; Fri, 10 Sep 2004 22:38:46 +0200 (CEST) Original-Received: from mailrelay01.solcon.nl (unknown [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id 154C41276D for ; Fri, 10 Sep 2004 22:38:46 +0200 (CEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay01.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id i8AKceZ3004586; Fri, 10 Sep 2004 22:38:40 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 988FF32140; Fri, 10 Sep 2004 22:38:44 +0200 (CEST) Original-Received: from [127.0.0.1] (unknown [10.100.1.1]) by server-1.pragma-net.nl (Postfix) with ESMTP id 57CD931D74; Fri, 10 Sep 2004 20:38:40 +0000 (UTC) User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en Original-To: ud@art-satz.de, mailing list for ConTeXt users In-Reply-To: X-Virus-Scanned: clamd / ClamAV version 0.73, clamav-milter version 0.73a on mailrelay01.solcon.nl X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:16404 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16404 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 ca= n >assist me? > >o How do I get the chapter number into the heading? I've tried=20 > \setupheader[before=3D\viii,style=3Dnormal] > \setupheadertexts[chapter] > but this only puts the chapter title into the heading > =20 > \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=20 > sectionmark then a bullet & sectionmark too. > =20 > 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-colum= n=20 > setup? > =20 > hm \chapter{xxx} \startcolumns ... \stopcolumns \chapter{yyy} etc >o How can I tell ConTeXt the distance between columns? Or should I defin= e=20 > only the columnwidth? How? My first defintion looks like > \setuplayout[width=3D358dd,lines=3D46,topspace=3D11mm,backspace=3D17= mm, > \setupcolumns[distance=3D123pt] >=20 >margin=3D0cm,marking=3Don,location=3Dmiddle,grid=3Dyes,header=3D12bp, > headerdistance=3D18bp,footer=3D12bp,footerdistance=3D11= mm] > >o How can I tell ConTeXt to balance the last page? I've tried something >like > \definecolumnset[two][n=3D2,tolerance=3Dtolerant,distance=3D12bp] > \setupcolumnset [two][balance=3Dyes] > but this doesn't work. > > =20 > ah, column sets ... see an earlier mail >o Is it possible to setup a project using only didot (or bp) point=20 > measurements? How? > Especially I want a interline space in dd or bp which is flexible like > \setupinterlinespace[line=3D1.25\bodyfontsize] but uses dd or bp. > =20 > \starttext \input ward \setupinterlinespace[line=3D4.25\dimexpr(\bodyfontfactor dd)] \input ward \stoptext >o I've tried to setup the typographical correct quotation marks for germ= an > in the file cont-sys.tex > \setuplanguage > [de] > [leftquote=3D\rightsubguillemot, > leftquotation=3D\rightguillemot, > rightquote=3D\leftsubguillemot, > rightquotation=3D\leftguillemot] > When using it, e.g., > \quotation{all right \quote{there} we go} > and using=20 > \showstruts > I got marks at strange places > |=BBall right |=9Bthere|=8B we go|=AB > Should this be corrected somewhere? > dunny, can you make a small test file (so that other german users can=20 test along?) > =20 >o How do I get character protruding and font expansion? (I didn't find t= he=20 > latter in the manual) > =20 > \starttext \setuppapersize[A4][A4] \setuplayout[height=3Dmiddle,topspace=3D1cm,header=3D0pt,footer=3D0pt] \showframe \setupfonthandling [hz] [min=3D80,max=3D80,step=3D5] \setupfontsynonym [Serif] [handling=3Dquality] \setupfontsynonym [SerifBold] [handling=3Dquality] \setupfontsynonym [SerifSlanted] [handling=3Dquality] \setupfontsynonym [SerifItalic] [handling=3Dquality] \setupfontsynonym [SerifBoldSlanted] [handling=3Dquality] \setupfontsynonym [SerifBoldItalic] [handling=3Dquality] % \setupalign[normal,hanging,hz] \usetypescript[palatino][\defaultencoding] \setupbodyfont[palatino,12pt] \noheaderandfooterlines \startbuffer \dostepwiserecurse{200}{150}{-5} {\expanded{\setuplayout[width=3D\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=3Dmiddle] \typebuffer \page \stoptext so, associate a handling (see hand-* files) with a font (before it's=20 used! else pdftex does ignore it) but ... be prepared ... context is set up for the latest pdftex and=20 there are some bugs in hz an desp when used with protruding (thanh is=20 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=20 > \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=20 > =BB\thepage=AB \the\count1\ von \numpages' > and on bottom > \hfill \rcsInfoFile\ Rev.\rcsInfoRevision\hfi= ll > \the\day.\the\month.\the\year\ \printtime > How can I put these information on the page? Should I use something yo= u=20 > called 'Logo types' in the manual or something like layers? > =20 > if you can give me specs (and an example) of what you need .. probably=20 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=20 > are just listed but not explained.) > =20 > all kind of manuals -) i leave that for others to explain; also ... take=20 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=20 > hyphenation table. Then 'ck' will no longer be hyphenated like k-k. Or= =20 > am I missing something? > =20 > hm, do you mean that i must omit teh "ck definition for de ? Hans =20 ----------------------------------------------------------------- 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 -----------------------------------------------------------------