From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/111482 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eduardo Bohoyo Newsgroups: gmane.comp.tex.context Subject: Special layouts don't recognise placeinitial Date: Sun, 23 May 2021 02:41:56 +0200 Message-ID: <68879b62-1c70-e0ed-17d2-7ce3d714a6c1@disroot.org> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1087453137813446614==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22401"; mail-complaints-to="usenet@ciao.gmane.io" To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun May 23 02:50:41 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lkcKG-0005dQ-UB for gctc-ntg-context-518@m.gmane-mx.org; Sun, 23 May 2021 02:50:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4B50A283B92; Sun, 23 May 2021 02:50:12 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3cjxZ8ov1Cca; Sun, 23 May 2021 02:50:09 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1917D283B9B; Sun, 23 May 2021 02:50:09 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D6886283B92 for ; Sun, 23 May 2021 02:50:06 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id njg1WgLeP5xD for ; Sun, 23 May 2021 02:50:05 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=178.21.23.139; helo=knopi.disroot.org; envelope-from=ebohoyod@disroot.org; receiver= X-Greylist: delayed 485 seconds by postgrey-1.36 at zapf.ntg.nl; Sun, 23 May 2021 02:50:04 CEST Original-Received: from knopi.disroot.org (knopi.disroot.org [178.21.23.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 05D5D280350 for ; Sun, 23 May 2021 02:50:04 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id B461A51365 for ; Sun, 23 May 2021 02:41:58 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Original-Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ccftHVyUeA5j for ; Sun, 23 May 2021 02:41:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1621730517; bh=NmAROTuBrGh3ijqyusZu0ootvDbmeKXYZmzox5eqMeQ=; h=To:From:Subject:Date; b=Ut5se5rbWqiPtbkbHfM2VpbiMHE6MfMUEYSzF0nK9YwMUmjsBsf6CrRTqyCerxenb hgEHnkm1uOxKDN60aTrDc8E2LrYVbC3RBkZYWsVGTQ2gqY/mSxb3EHUMt6OgJu7sYm gkGiudep8unFDcnYrSCJ3QPYByKeFLR7mpMY3RzHam2p78kkbUPSvjxOt4Edn0y0Lh ySTXDC+Q6oGrnVEJEu5lwx2Hz+3dzd1/e450R+dkHLY+yNEriqE4h6QEKM+UBpAPy7 byoDmmI9lzdjlBPFe9N1veQo4ogE59uo8EDI7EspqjZx9ornk/ZolANqWjJM4gK/UF hCvNpQ8pyuR/g== Content-Language: en-GB X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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" Xref: news.gmane.io gmane.comp.tex.context:111482 Archived-At: This is a multi-part message in MIME format. --===============1087453137813446614== Content-Type: multipart/alternative; boundary="------------6B3B2AE0E9574B8A3D76EA7F" Content-Language: en-GB This is a multi-part message in MIME format. --------------6B3B2AE0E9574B8A3D76EA7F Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit My question will be very simple: Is there a trick to make \placeinitial command work within makeup pages? One of my pages inside the /frontmater/ is a quote page within an special layout. Before using LMTX, when I could use the Lettrine module, that quote started with a capital letter. But now that I use \placeinitial, the first letter no longer changes: it remains a simple initial capital letter. On the other hand, when I use \placeinitial for each first paragraph in the chapters of my book, the result is as expected. That is, the command works fine as long as it stays within the general layout. This is the code I'm referring to: \startmakeup[standard][doublesided=yes] \setuplayout[backspace=176pt,width=194pt] \setupinterlinespace[line=22pt] \style[tfa] \startalignment[hanging,flushleft,nothyphenated] \placeinitial Ahora, vosotros que amáis, dejadme que os formule una pregunta: ¿quién sufre más por  ello,  Arcite  o  Palamón? ¿El  que  ve  a  su  dama  diariamente,  pero  está  encerrado para  siempre,  o  el  que  es  libre  de  ir  donde  le  plazca, pero  no  verá  nunca  más  a  su  dama?  Aquellos  de  vosotros que  podáis,  elegid  entre  las  dos  situaciones  a  voluntad; yo,  por  mi  parte, continuaré como he empezado. \stopalignment \startalignment[hanging,flushright,nothyphenated] \blank[0.8cm,force]{\tfa\sc  Geofrey Chaucer,\hspace[big]} \blank[0.1cm,force]{\tfa\em The Canterbury Tales \hspace[big]} \stopalignment \stopmakeup Eduardo Bohoyo --------------6B3B2AE0E9574B8A3D76EA7F Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

My question will be very simple: Is there a trick to make \placeinitial command work within makeup pages?

One of my pages inside the frontmater is a quote page within an special layout. Before using LMTX, when I could use the Lettrine module, that quote started with a capital letter. But now that I use \placeinitial, the first letter no longer changes: it remains a simple initial capital letter.
On the other hand, when I use \placeinitial for each first paragraph in the chapters of my book, the result is as expected. That is, the command works fine as long as it stays within the general layout.
This is the code I'm referring to:

\startmakeup[standard][doublesided=yes]

\setuplayout[backspace=176pt,width=194pt]
\setupinterlinespace[line=22pt]
\style[tfa]

\startalignment[hanging,flushleft,nothyphenated]
\placeinitial Ahora, vosotros que amáis, dejadme que os formule una pregunta: ¿quién sufre más por  ello,  Arcite  o  Palamón?  ¿El  que  ve  a  su  dama  diariamente,  pero  está  encerrado  para  siempre,  o  el  que  es  libre  de  ir  donde  le  plazca,  pero  no  verá  nunca  más  a  su  dama?  Aquellos  de  vosotros  que  podáis,  elegid  entre  las  dos  situaciones  a  voluntad;  yo,  por  mi  parte, continuaré como he empezado.
\stopalignment

\startalignment[hanging,flushright,nothyphenated]
\blank[0.8cm,force]{\tfa\sc  Geofrey Chaucer,\hspace[big]}
\blank[0.1cm,force]{\tfa\em The Canterbury Tales \hspace[big]}
\stopalignment

\stopmakeup


Eduardo Bohoyo

--------------6B3B2AE0E9574B8A3D76EA7F-- --===============1087453137813446614== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============1087453137813446614==--