* MKIV to LMTX (enumerations)
@ 2020-05-30 19:18 Weber, Matthias
2020-05-31 8:59 ` Wolfgang Schuster
0 siblings, 1 reply; 4+ messages in thread
From: Weber, Matthias @ 2020-05-30 19:18 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 471 bytes --]
Dear List,
After staying with a frozen MKIV version for time-critical work for a while, I took the plunge and ran one of my longer math-heavy documents through LMTX. To my delight, it mostly looks fine or trivially fixable.
There is one problem I have with enumerations. The spacing between them in LMTX is notoriously smaller than in MKIV.
I bet there is a parameter I can set to tweak that? Below is a MWE with output for both engines.
Thanks!
Matthias
[-- Attachment #1.2: Type: text/html, Size: 1000 bytes --]
[-- Attachment #2: Test.tex --]
[-- Type: application/octet-stream, Size: 881 bytes --]
\definecolor[thm]
[r=0.717189,g=0.789151,b=0.853407]
\definecolor[thmtxt]
[r=0.113817,g=0.246983,b=0.277211]
\defineframedtext [thmbackground]
[backgroundcolor=thm,
background=color,
corner=round,
width=broad,
frame=on,
framecolor=black,
location=paragraph,
color=thmtxt]
\setupenumerations [alternative=hanging,
width=fit,
right={~},
way=bysection,
prefix=chapter,
distance=0.1em,
prefixsegments={chapter:section}]
\defineenumeration [theorem]
[text=Theorem,
before={\startthmbackground},
after={\stopthmbackground},
style=italic,
title=yes,
titleleft=(,
titleright=),
]
\starttext
\starttheorem
\input tufte
\stoptheorem
\starttheorem
\input knuth
\stoptheorem
\stoptext
[-- Attachment #3: ATT00001.htm --]
[-- Type: text/html, Size: 208 bytes --]
[-- Attachment #4: Test-LMTX.pdf --]
[-- Type: application/pdf, Size: 14705 bytes --]
[-- Attachment #5: ATT00002.htm --]
[-- Type: text/html, Size: 208 bytes --]
[-- Attachment #6: Test-MKIV.pdf --]
[-- Type: application/pdf, Size: 15191 bytes --]
[-- Attachment #7: ATT00003.htm --]
[-- Type: text/html, Size: 226 bytes --]
[-- Attachment #8: 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] 4+ messages in thread
* Re: MKIV to LMTX (enumerations)
2020-05-30 19:18 MKIV to LMTX (enumerations) Weber, Matthias
@ 2020-05-31 8:59 ` Wolfgang Schuster
2020-05-31 11:36 ` Hans Hagen
2020-05-31 15:57 ` Hans Hagen
0 siblings, 2 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2020-05-31 8:59 UTC (permalink / raw)
To: mailing list for ConTeXt users, Weber, Matthias
[-- Attachment #1.1: Type: text/plain, Size: 820 bytes --]
Weber, Matthias schrieb am 30.05.2020 um 21:18:
> Dear List,
>
> After staying with a frozen MKIV version for time-critical work for a
> while, I took the plunge and ran one of my longer math-heavy documents
> through LMTX. To my delight, it mostly looks fine or trivially fixable.
> There is one problem I have with enumerations. The spacing between
> them in LMTX is notoriously smaller than in MKIV.
No, it's a problem with framedtext which uses the wrong placement option
and ignores the before/after values.
> I bet there is a parameter I can set to tweak that? Below is a MWE
> with output for both engines.
> Thanks!
There is nothing you can do here except waiting for a fix but I noticed
the location key for framedtext has a not existing value (no paragraph
option exists) in your example.
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 1575 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] 4+ messages in thread
* Re: MKIV to LMTX (enumerations)
2020-05-31 8:59 ` Wolfgang Schuster
@ 2020-05-31 11:36 ` Hans Hagen
2020-05-31 15:57 ` Hans Hagen
1 sibling, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2020-05-31 11:36 UTC (permalink / raw)
To: mailing list for ConTeXt users, Wolfgang Schuster, Weber, Matthias
On 5/31/2020 10:59 AM, Wolfgang Schuster wrote:
> There is nothing you can do here except waiting for a fix but I noticed
I assume you come up with the fix
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 4+ messages in thread
* Re: MKIV to LMTX (enumerations)
2020-05-31 8:59 ` Wolfgang Schuster
2020-05-31 11:36 ` Hans Hagen
@ 2020-05-31 15:57 ` Hans Hagen
1 sibling, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2020-05-31 15:57 UTC (permalink / raw)
To: Wolfgang Schuster, mailing list for ConTeXt users
On 5/31/2020 10:59 AM, Wolfgang Schuster wrote:
> There is nothing you can do here except waiting for a fix but I noticed
> the location key for framedtext has a not existing value (no paragraph
> option exists) in your example.
Indeed an engine issue. Fixed in next upload.
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 4+ messages in thread
end of thread, other threads:[~2020-05-31 15:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-30 19:18 MKIV to LMTX (enumerations) Weber, Matthias
2020-05-31 8:59 ` Wolfgang Schuster
2020-05-31 11:36 ` Hans Hagen
2020-05-31 15:57 ` Hans Hagen
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).