From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16405 Path: main.gmane.org!not-for-mail From: "Ulrich Dirr" Newsgroups: gmane.comp.tex.context Subject: RE: Help with LaTeX -> ConTeXt & book typesetting Date: Sat, 11 Sep 2004 09:22:11 +0200 Organization: Art & Satz Sender: ntg-context-bounces@ntg.nl Message-ID: References: <414210CD.7040902@wxs.nl> Reply-To: ud@art-satz.de, mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1094887354 18685 80.91.224.253 (11 Sep 2004 07:22:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 11 Sep 2004 07:22:34 +0000 (UTC) Cc: 'Hans Hagen Outside' Original-X-From: ntg-context-bounces@ntg.nl Sat Sep 11 09:22:24 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 1C62DI-0005Fd-00 for ; Sat, 11 Sep 2004 09:22:24 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E145412788; Sat, 11 Sep 2004 09:22:20 +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 06413-07-3; Sat, 11 Sep 2004 09:22:16 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4AB1712777; Sat, 11 Sep 2004 09:22:16 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9953612777 for ; Sat, 11 Sep 2004 09:22:14 +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 06413-07-2 for ; Sat, 11 Sep 2004 09:22:13 +0200 (CEST) Original-Received: from moutng.kundenserver.de (unknown [212.227.126.185]) by ronja.ntg.nl (Postfix) with ESMTP id 8F7AB1276D for ; Sat, 11 Sep 2004 09:22:13 +0200 (CEST) Original-Received: from [212.227.126.162] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1C62D6-00008f-00; Sat, 11 Sep 2004 09:22:12 +0200 Original-Received: from [217.232.131.145] (helo=DOMINUS) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1C62D6-0006oZ-00; Sat, 11 Sep 2004 09:22:12 +0200 Original-To: X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 In-Reply-To: <414210CD.7040902@wxs.nl> Thread-Index: AcSXdis0hXEtjU+PQ7W6oG2WrjvvdwAUViUQ X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:0df3a3f0652342c34c6927924e383942 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:16405 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16405 Hi, first, thank you very much for your help! Hans Hagen wrote: > Ulrich Dirr wrote: >=20 >> Hi, >>=20 >> 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?=20 >>=20 >> o How do I get the chapter number into the heading? I've tried >> \setupheader[before=3D\viii,style=3Dnormal] >> \setupheadertexts[chapter] >> but this only puts the chapter title into the heading >>=20 >>=20 > \setupheadertexts[chapter][chapternumber] >=20 > of >=20 > \setupheadertexts[{\getmarking[chapternumber] -- > \getmarking[chapter]}] >=20 > etc etc >=20 >> 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. >>=20 >>=20 > something like: (setups are just a convenience) >=20 > \setupheadertexts [\setups{something}] >=20 > \startsetups something >=20 > \getmarking[chapter] >=20 > \doiftext{\getmarking[section]}{\enspace\symbol[1]\enspace} >=20 > \getmarking[section] >=20 > \stopsetups That's great. Can I combine this setup with another one for left even & right odd numbered pages? E.g., ((PAGE 2)) 1 The King <> ((PAGE 3)) <> 1 The King So that I can combine, say \setupheadertexts[][\KHead Queen][\KHead = King][] -- which actually are just two different ornaments -- with your = definition above for 'something'? =20 >> o How can I typeset the chapter title across both columns in a two-column >> setup?=20 >>=20 >>=20 > hm >=20 > \chapter{xxx} >=20 > \startcolumns ... \stopcolumns >=20 > \chapter{yyy} >=20 > etc Sorry I got confused; I was too much influenced by the LaTeX multicol package where I have to say \begin{multicols}{2}[Spanning title] ... =20 >> 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 >>=20 >>=20 > \starttext >=20 > \input ward >=20 > \setupinterlinespace[line=3D4.25\dimexpr(\bodyfontfactor dd)] >=20 > \input ward >=20 > \stoptext My log file tells me bodyfont : bodyfont 6.6pt is defined (can better be done global) bodyfont : bodyfont 6.6pt is defined (can better be done global) bodyfont : bodyfont 4.7pt is defined (can better be done global) bodyfont : bodyfont 4.7pt is defined (can better be done global) bodyfont : bodyfont 7.6pt is defined (can better be done global) bodyfont : bodyfont 7.6pt is defined (can better be done global) bodyfont : bodyfont 5.7pt is defined (can better be done global) bodyfont : bodyfont 5.7pt is defined (can better be done global) bodyfont : bodyfont 11.3pt is defined (can better be done global) bodyfont : bodyfont 11.3pt is defined (can better be done global) bodyfont : bodyfont 9.5pt is defined (can better be done global) bodyfont : bodyfont 9.5pt is defined (can better be done global) Given my definitions for HelveticaNeue -- and assuming they are alright = -- where do I setup sizes, and especially in didot or big points? =20 >> o I've tried to setup the typographical correct quotation marks for >> german 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 >> \showstruts >> I got marks at strange places >> |=BBall right |=9Bthere|=8B we go|=AB >> Should this be corrected somewhere? >>=20 > dunny, can you make a small test file (so that other german users can test > along?)=20 Here: \setupoutput [pdftex] \input pdftexconfig \enableregime[il1] \mainlanguage[de] \starttext \showstruts {\em M=FChsal der Besten} =BBWoran arbeiten Sie?=AB wurde Herr K. gefragt. Herr K. antwortete: =BBIch habe viel M=FChe, ich bereite meinen n=E4chsten Irrtum vor.=AB = (B. Brecht) =9BAber Hallo!=8B \quotation{all right \quote{there} we go} \stoptext =20 >> o How do I get character protruding and font expansion? (I didn't = find >> the latter in the manual)=20 [...] > so, associate a handling (see hand-* files) with a font (before it's > used! else pdftex does ignore it) >=20 > 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) >=20 > you need a recent context in order to get the auto expansion done This is pdfeTeXk, Version 3.141592-1.20a-rc4-2.1 ConTeXt ver: 2004.8.15 fmt: 2004.9.8 (BTW I've already produced all expanded version with fontinst) =20 But this really produces super ugly results! The expanded fonts are in = the pdf but the line breaking is horrible. Probably I need at least rc7 or = the standalone version of fptex of Sept, 9th? >> 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 >> =BB\thepage=AB \the\count1\ von \numpages' >> and on bottom >> \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? >>=20 >>=20 > if you can give me specs (and an example) of what you need .. probably > trivial to write >=20 > (there is some info mechanism where i then can hook it into) >=20 > \version[...] Ok, I'll prepare an extra email. =20 >> 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=20 >> am I missing something?=20 >>=20 >>=20 >=20 > hm, do you mean that i must omit teh "ck definition for de ? If ConTeXt is using the new german spelling & hyphenation rules then: *=A7108* If ss stands for =DF, then it will be hyphenated s-s. E.g., = Gr=FCs-se (instead of Gr=FC-=DFe), heis-sen (instead of hei-=DFen). *=A7109* The connection of consonants ch, ck, and sch, and also in = foreign words with ph, rh, sh, and th will not be hyphenated in between if they stands for a single sound. E.g., B=FC-cher, Zu-cker, ba-cken, Fla-sche, Ma-che-te, Pro-phet, Myr-rhe, Ca-shew-nuss, ka-tho-lisch. Best regards, Ulrich