From: <denis.maier@ub.unibe.ch>
To: <ntg-context@ntg.nl>
Subject: Re: \setupalign[height] and \setupalign[line] in LMTX
Date: Wed, 28 Apr 2021 10:28:21 +0000 [thread overview]
Message-ID: <7da30d20822843a2a752e78921a83ceb@ub.unibe.ch> (raw)
In-Reply-To: <667c09b2ed6240ab9e79dc5a1b96f34f@ub.unibe.ch>
[-- Attachment #1.1: Type: text/plain, Size: 2645 bytes --]
Ok, after dabbling around a bit more, I can now come up with the following example
====================================
\setuppapersize[A5][A5]
\showframe
\setuptolerance[vertical,stretch]
%\setupalign[line]
%\setupinterlinespace[stretch=0.1] % vertical stretching seems to kick in for stretch !=0, no matter how small
\setupalign[height]
\setupinterlinespace[stretch=0.001] % vertical stretching seems to kick in for stretch !=0, no matter how small
\setupdelimitedtext[blockquote]
[style={\switchtobodyfont[x]},
spacebefore={medium,flexible},
leftmargin=no]
\starttext
\dorecurse{10}{
\input knuth
\startblockquote
\input knuth
\stopblockquote
\input knuth
}
\stoptext
====================================
Two noteworthy things:
1. In LMTX you'll need \setupinterlinespace[stretch=X] with X not 0 for vertical to kick in.
2. \setupalign[line] insists to fill the last page completely.
Denis
Von: Maier, Denis Christian (UB)
Gesendet: Montag, 26. April 2021 11:34
An: 'mailing list for ConTeXt users' <ntg-context@ntg.nl>
Betreff: AW: \setupalign[height] and \setupalign[line] in LMTX
Hi,
sorry to be such a nuisance, but i'd still love to hear if I'm missing something or if something is going off the rails in LMTX.
Best,
Denis
Von: Maier, Denis Christian (UB)
Gesendet: Donnerstag, 22. April 2021 15:07
An: 'mailing list for ConTeXt users' <ntg-context@ntg.nl<mailto:ntg-context@ntg.nl>>
Betreff: \setupalign[height] and \setupalign[line] in LMTX
Hi,
\setupalign[height] and \setupalign[line] seem to have no effect in a LMTX. Do I need to change something?
Best,
Denis
```
\setuppapersize[A5][A5]
\showframe
%\setupalign[line]
\setupalign[height]
\setupdelimitedtext[blockquote]
[
before={\setupindenting[yes]\tfx\setupinterlinespace},
spacebefore=medium,
indentnext=no,
leftmargin=no,
rightmargin=no,
]
\starttext
\dorecurse{10}{
\input knuth
\startblockquote
\input knuth
\stopblockquote
\input knuth
}
\stoptext
```
[-- Attachment #1.2: Type: text/html, Size: 13561 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
___________________________________________________________________________________
prev parent reply other threads:[~2021-04-28 10:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-22 13:07 denis.maier
2021-04-26 9:46 ` denis.maier
2021-04-28 10:28 ` denis.maier [this message]
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=7da30d20822843a2a752e78921a83ceb@ub.unibe.ch \
--to=denis.maier@ub.unibe.ch \
--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).