From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87657 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Quotation blocs with repetition symbol in the left column Date: Sun, 01 Jun 2014 17:18:39 +0200 Message-ID: <538B444F.3090102@wxs.nl> References: <20140328144201.1cd11b07@cuisine.seix> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1401635948 5623 80.91.229.3 (1 Jun 2014 15:19:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 Jun 2014 15:19:08 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jun 01 17:19:03 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wr7XK-0004mD-KY for gctc-ntg-context-518@m.gmane.org; Sun, 01 Jun 2014 17:19:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 35A36101F6 for ; Sun, 1 Jun 2014 17:19:02 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id cmQ6bfopouWk for ; Sun, 1 Jun 2014 17:19:02 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 32D42101F8 for ; Sun, 1 Jun 2014 17:18:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 298C0101E3 for ; Sun, 1 Jun 2014 17:18:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id nF4AB4AjCOtB for ; Sun, 1 Jun 2014 17:18:52 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 8EA2B101E2 for ; Sun, 1 Jun 2014 17:18:42 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s51FIfYs016396 for ; Sun, 1 Jun 2014 17:18:41 +0200 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.103; Original-Received: from [10.100.1.103] (unverified [10.100.1.103]) by pragma-net.nl (SurgeMail 6.5a2) with ESMTP id 4647-1713362 for ; Sun, 01 Jun 2014 17:18:40 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=Provincie Overijssel; city=Zwolle; latitude=52.5058; longitude=6.0858; http://maps.google.com/maps?q=52.5058,6.0858&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0RM93iF8v - 736baece77c8 - 20140601 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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 Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:87657 Archived-At: On 6/1/2014 1:38 PM, St=E9phane Goujet wrote: > On Fri, 28 Mar 2014, St=E9phane Goujet wrote: > >> I am trying to typeset old books and I chose to keep close to the >> original typography. >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> 1) It must work when starting from a new line as well as when starting >> from the middle of the current line. 2 different environments are >> allowed. >> >> 2) The environnement is wrapped in guillemets. >> >> 3a) There must be no extra space before the opening guillemet when >> starting from the middle of the current line. >> >> 3b) The must be no extra space after the closing guillemet. >> >> 4) The quote repetition symbol must appear in the beginning of every >> line, except the first one. >> >> 5) Paragraphs should be automatically indented. Manual indentation is >> bearable. >> >> 6a) When there is an indentation, the quote repetition symbol must be >> indented too. >> >> 6b) When the bloc starts on a new line, the opening guillemet must be >> indented. >> >> 7) The quote repetition symbol must be a setup parameter of the >> environment, or easily modifiable within the environment definition. >> (in the example images, it is a *closing* guillemet, but in other books >> it can be an *opening* guillemet). >> >> 8) This environment must work within footnotes too. >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > I just fortuitously learned on Luatex mailing list that it only took > this command : \localleftbox{} > > So, the quotation block would be : > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > \define\qbopen{=AB} > \define\qbrep{=BB} > \define\qbclose{=BB} > \definestartstop > [bloccite] > [before=3D\qbopen~\begingroup\localleftbox{\qbrep~}, > after=3D\endgroup~\qbclose] > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > Might need a bit of kerning to have all spaces look good, but > basically, this is it. Just this... In fact, you loose some of the advantages of quotations, so best is to = extend the delimiter code. I've added this: \mainlanguage[fr] \starttext \input tufte \startquotation \input tufte \stopquotation \input tufte \setupdelimitedtext [quotation] [nextleft=3Dright, nextright=3Dleft] \startquotation \input tufte \stopquotation \input tufte \setupdelimitedtext [quotation] [nextleft=3D{\symbol[nextleftquotation]}, nextright=3D{\symbol[nextrightquotation]}] \startquotation \input tufte \stopquotation \input tufte \stoptext Will be in the next beta (not yet uploaded) and needs to be wikified. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________