ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \setupalign[height] and \setupalign[line] in LMTX
@ 2021-04-22 13:07 denis.maier
  2021-04-26  9:46 ` denis.maier
  0 siblings, 1 reply; 3+ messages in thread
From: denis.maier @ 2021-04-22 13:07 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 964 bytes --]

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: 6566 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: \setupalign[height] and \setupalign[line] in LMTX
  2021-04-22 13:07 \setupalign[height] and \setupalign[line] in LMTX denis.maier
@ 2021-04-26  9:46 ` denis.maier
  2021-04-28 10:28   ` denis.maier
  0 siblings, 1 reply; 3+ messages in thread
From: denis.maier @ 2021-04-26  9:46 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 1320 bytes --]

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>
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: 7369 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: \setupalign[height] and \setupalign[line] in LMTX
  2021-04-26  9:46 ` denis.maier
@ 2021-04-28 10:28   ` denis.maier
  0 siblings, 0 replies; 3+ messages in thread
From: denis.maier @ 2021-04-28 10:28 UTC (permalink / raw)
  To: ntg-context


[-- 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-04-28 10:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-22 13:07 \setupalign[height] and \setupalign[line] in LMTX denis.maier
2021-04-26  9:46 ` denis.maier
2021-04-28 10:28   ` denis.maier

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).