From: Eduardo Bohoyo <ebohoyod@disroot.org>
To: ntg-context@ntg.nl
Subject: Special layouts don't recognise placeinitial
Date: Sun, 23 May 2021 02:41:56 +0200 [thread overview]
Message-ID: <68879b62-1c70-e0ed-17d2-7ce3d714a6c1@disroot.org> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1558 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 2019 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2021-05-23 0:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-23 0:41 Eduardo Bohoyo [this message]
2021-05-23 11:07 ` Hans Hagen
2021-05-24 10:41 ` Eduardo Bohoyo
2021-05-24 12:22 ` Hans Hagen
2021-05-24 12:28 ` Eduardo Bohoyo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=68879b62-1c70-e0ed-17d2-7ce3d714a6c1@disroot.org \
--to=ebohoyod@disroot.org \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).