From: Eduardo Bohoyo <ebohoyod@disroot.org>
To: ntg-context@ntg.nl,
"wolfgang.schuster.lists@gmail.com >> Wolfgang Schuster"
<wolfgang.schuster.lists@gmail.com>
Subject: Re: lmtx update
Date: Thu, 17 Sep 2020 12:50:51 +0200 [thread overview]
Message-ID: <36bc60a0-08ac-6ee4-c98b-3601a05065da@disroot.org> (raw)
In-Reply-To: <17b7ab9a-efa7-33c0-aac1-11d2f0def4d3@gmail.com>
El 17/9/20 a las 12:35, Wolfgang Schuster escribió:
> Eduardo Bohoyo schrieb am 17.09.2020 um 10:14:
>> Thank you for this illustrative example, Wolfgang.
>>
>> So, what \forgetparagraphfreezing does is to reverse the order that
>> lmtx currently imposes by default, right? In other words,
>> \forgetparagraphfreezing, recovers the default behaviour of MkIV.
>>
>> So, I suspect that this will not change; if we want to apply Lettrine
>> to a paragraph, from now on we must wrap it up with
>> \forgetparagraphfreezing and \setparagraphfreezing.
>>
>> Please correct me if I'm wrong.
>
> LMTX removes some restrictions for settings which are applies to
> paragraphs, e.g. the following example works now without problems with
> LMTX while LuaTeX needs the \dontleavehmode at the begin of the paragraph
>
> \starttext
>
> \placefigure[left]{none}{\framed[width=2cm,height=2cm]{}}
> %\dontleavehmode
> {\bf Tufte: }\input tufte
>
> \stoptext
>
> To avoid side effects from these changes LMTX freezes a few settings
> at the begin of the paragraph. In some cases commands or settings have
> to be adapted to these changes and the lettrine module is one of them.
>
> The changes itself to the commands have to be made in the modules etc.
> itself and not in the documents, below is a minimal example how the
> lettrine module has to be changed to get indentation for the initial
> back.
>
> \starttext
>
> \hsize 10cm
>
> \noindent
> \parshape 3 1cm 9cm 1.5cm 8.5cm 0cm 10cm
> \input weisman
>
> \blank
>
> \begingroup
> \noindent
> \parshape 3 1cm 9cm 1.5cm 8.5cm 0cm 10cm
> \updateparagraphshapes
> \endgroup
> \input weisman
>
> \stoptext
>
> BTW: ConTeXt already provides a command to place initials as part of
> the core but it lacks a few features of the lettrine module.
>
> Wolfgang
>
OK, I get it.
Oh, and yes, I knew about the \setupinitial command. Thanks for pointing
that out.
___________________________________________________________________________________
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 prev parent reply other threads:[~2020-09-17 10:50 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-16 15:52 ebohoyod
2020-09-16 16:23 ` Wolfgang Schuster
[not found] ` <6f2953c3-4b09-e824-da78-46347ef5f4af@disroot.org>
2020-09-17 8:14 ` Eduardo Bohoyo
2020-09-17 10:35 ` Wolfgang Schuster
2020-09-17 10:50 ` Eduardo Bohoyo [this message]
2020-09-17 11:11 ` Eduardo Bohoyo
-- strict thread matches above, loose matches on Subject: below --
2023-02-06 17:21 Hans Hagen via ntg-context
[not found] <mailman.0.1629453601.23792.ntg-context@ntg.nl>
2021-08-22 22:55 ` Benjamin Buchmuller via ntg-context
2021-08-23 6:21 ` Hans Hagen via ntg-context
2021-08-19 17:57 Hans Hagen via ntg-context
2021-08-19 20:07 ` Aditya Mahajan via ntg-context
2021-08-20 5:52 ` Hans Hagen via ntg-context
2020-07-31 8:32 Hans Hagen
2020-07-31 8:40 ` Taco Hoekwater
2020-07-31 10:18 ` Hans Hagen
2020-08-01 13:20 ` Otared Kavian
2020-08-01 14:17 ` Hans Hagen
2020-08-01 16:20 ` Otared Kavian
2020-08-01 16:41 ` Henning Hraban Ramm
2020-08-01 16:57 ` Otared Kavian
2020-08-02 3:30 ` Aditya Mahajan
2020-08-03 17:37 ` Pablo Rodriguez
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=36bc60a0-08ac-6ee4-c98b-3601a05065da@disroot.org \
--to=ebohoyod@disroot.org \
--cc=ntg-context@ntg.nl \
--cc=wolfgang.schuster.lists@gmail.com \
/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).