ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* LMTX and descriptions
@ 2020-11-24 18:33 Jean-Philippe Rey
  2020-11-24 18:44 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Jean-Philippe Rey @ 2020-11-24 18:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 993 bytes --]

Dear list,

I am switching from MLIV to LMTX and I've found a problem with descriptions. Here is an example of the problem.

==============================
\definedescription[D]

\starttext
\D{Label} description % Label is not printed

\startD{Label} % OK, but pb with the following table
	description
\stopD

\bTABLE
\bTR
	\bTH Label \eTH % The first line is located on the left at the bottom of the table, TD works OK.
\eTR\bTR
	\bTD value \eTD
\eTR
\eTABLE

\stoptext
==============================

The short syntax  "\D{Label} description" doesn't print "Label" at all.

The syntax with \start, \stop works fine but has a nasty effect on the next TABLE if it uses TH (check attached pdf).

Thank you for your help

PS @Hans, thanks for adding \TB to \startcases, it works perfectly well.

-- 
Jean-Philippe Rey
jean-philippe.rey@centralesupelec.fr
91192 Gif-sur-Yvette Cedex - France
Empreinte PGP : 807A 5B2C 69E4 D4B5 783A 428A 1B5E E83E 261B BF51

[-- Attachment #2: mfe-description.pdf --]
[-- Type: application/pdf, Size: 7940 bytes --]

[-- Attachment #3: mfe-description.log --]
[-- Type: application/octet-stream, Size: 7634 bytes --]

system          > 
system          > ConTeXt  ver: 2020.11.24 00:41 LMTX  fmt: 2020.11.24  int: english/english
system          > 
system          > 'cont-new.mkxl' loaded
open source     > level 1, order 1, name '/Users/jprey/Applications/ConTeXt/2020-11-09/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system          > beware: some patches loaded from cont-new.mkiv
close source    > level 1, order 1, name '/Users/jprey/Applications/ConTeXt/2020-11-09/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system          > files > jobname 'mfe-description', input './mfe-description', result 'mfe-description'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > level 1, order 2, name './mfe-description.tex'
fonts           > preloading latin modern fonts (second stage)
fonts           > 'fallback modern-designsize rm 12pt' is loaded
backend         > xmp > using file '/Users/jprey/Applications/ConTeXt/2020-11-09/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1, subpage 1
close source    > level 1, order 2, name './mfe-description.tex'

system          > start used files

system          > text: mfe-description

system          > stop used files


system          > start used files

system          >    1: filename=char-prv.lua filetype=tex format=tex foundname=/Users/jprey/Applications/ConTeXt/2020-11-09/tex/texmf-context/tex/context/base/mkiv/char-prv.lua fullname=/Users/jprey/Applications/ConTeXt/2020-11-09/tex/texmf-context/tex/context/base/mkiv/char-prv.lua usedmethod=database
system          >    2: filename=publ-imp-default.lua filetype=lua foundname=/Users/jprey/Applications/ConTeXt/2020-11-09/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua fullname=/Users/jprey/Applications/ConTeXt/2020-11-09/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua usedmethod=database
system          >    3: filename=cont-new.mkxl filetype=tex foundname=/Users/jprey/Applications/ConTeXt/2020-11-09/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl fullname=/Users/jprey/Applications/ConTeXt/2020-11-09/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl usedmethod=database
system          >    4: filename=lang-exc.lua filetype=lua foundname=/Users/jprey/Applications/ConTeXt/2020-11-09/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua fullname=/Users/jprey/Applications/ConTeXt/2020-11-09/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua usedmethod=database
system          >    5: filename=lang-us.lua filetype=lua foundname=/Users/jprey/Applications/ConTeXt/2020-11-09/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua fullname=/Users/jprey/Applications/ConTeXt/2020-11-09/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua usedmethod=database
system          >    6: filename=/Users/jprey/Projets/ConTeXt/mfe-description.tex format=tex foundname=/Users/jprey/Projets/ConTeXt/mfe-description.tex fullname=/Users/jprey/Projets/ConTeXt/mfe-description.tex usedmethod=direct
system          >    7: filename=lm.lfg filetype=tex foundname=/Users/jprey/Applications/ConTeXt/2020-11-09/tex/texmf-context/tex/context/fonts/mkiv/lm.lfg fullname=/Users/jprey/Applications/ConTeXt/2020-11-09/tex/texmf-context/tex/context/fonts/mkiv/lm.lfg usedmethod=database
system          >    8: filename=lmroman12-regular filetype=otf format=otf foundname=/Users/jprey/Applications/ConTeXt/2020-11-09/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf fullname=/Users/jprey/Applications/ConTeXt/2020-11-09/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf usedmethod=database
system          >    9: filename=latinmodern-math.otf filetype=opentypefonts foundname=/Users/jprey/Applications/ConTeXt/2020-11-09/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf fullname=/Users/jprey/Applications/ConTeXt/2020-11-09/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf usedmethod=database
system          >   10: filename=lmroman12-bold filetype=otf format=otf foundname=/Users/jprey/Applications/ConTeXt/2020-11-09/tex/texmf/fonts/opentype/public/lm/lmroman12-bold.otf fullname=/Users/jprey/Applications/ConTeXt/2020-11-09/tex/texmf/fonts/opentype/public/lm/lmroman12-bold.otf usedmethod=database
system          >   11: filename=lpdf-pdx.xml filetype=tex foundname=/Users/jprey/Applications/ConTeXt/2020-11-09/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml fullname=/Users/jprey/Applications/ConTeXt/2020-11-09/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml usedmethod=database

system          > stop used files


system          > start commandline options

system          > currentrun="1"
system          > fulljobname="./mfe-description.tex"
system          > input="./mfe-description.tex"
system          > kindofrun="1"
system          > maxnofruns="9"
system          > texmfbinpath="/Users/jprey/Applications/ConTeXt/2020-11-09/tex/texmf-osx-64/bin"

system          > stop commandline options


system          > start commandline files

system          >    1: ./mfe-description.tex

system          > stop commandline files


modules         > start used modules


modules         > stop used modules


mkiv lua stats  > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path: /Users/jprey/Applications/ConTeXt/2020-11-09/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats  > resource resolver: loadtime 0.010 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 11 found files, scanned paths: <none>
mkiv lua stats  > stored bytecode data: 476 modules (0.252 sec), 94 tables (0.013 sec), 570 chunks (0.265 sec)
mkiv lua stats  > traced context: maxstack: 1523, freed: 0, unreachable: 1523
mkiv lua stats  > cleaned up reserved nodes: 58 nodes, 438 lists of 437
mkiv lua stats  > node memory usage: 6 attribute, 3 attribute_list, 1 glue, 36 glue_spec, 3 kern, 2 penalty, 1 temp, 1 whatsit
mkiv lua stats  > node list callback tasks: 8 unique task lists, 7 instances (re)created, 95 calls
mkiv lua stats  > used backend: lmtx version 0.10, pdf (backend for directly generating pdf output)
mkiv lua stats  > jobdata time: 0.001 seconds saving, 0.001 seconds loading
mkiv lua stats  > callbacks: internal: 0, file: 0, direct: 0, late: 2, function 0, total: 2 (2 per page)
mkiv lua stats  > randomizer: resumed with value 0.14093484388973
mkiv lua stats  > result saved in file: mfe-description.pdf, compresslevel 3, objectcompresslevel 1
mkiv lua stats  > loaded patterns: en::1, load time: 0.000
mkiv lua stats  > interactive elements: 0 references, 2 destinations
mkiv lua stats  > loaded fonts: 3 files: latinmodern-math.otf, lmroman12-bold.otf, lmroman12-regular.otf
mkiv lua stats  > font engine: otf 3.112, afm 1.513, tfm 1.000, 8 instances, 3 shared in backend, 3 common vectors, 0 common hashes, load time 0.189 seconds 
mkiv lua stats  > font embedding time: 0.008 seconds, 2 fonts
mkiv lua stats  > used platform: osx-64, type: unix, binary subtree: texmf-osx-64
mkiv lua stats  > used engine: luametatex version: 2.0802, functionality level: 20201121, format id: 546, compiler: clang
mkiv lua stats  > tex properties: 740024 hash slots used of 2097152, approximate memory usage: 28 MB
mkiv lua stats  > lua properties: engine: lua 5.4, used memory: 46 MB, ctx: 43 MB, max: 43 MB, hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 0.544 seconds, 1 processed pages, 1 shipped pages, 1.837 pages/second

[-- Attachment #4: mfe-description.tex --]
[-- Type: application/octet-stream, Size: 315 bytes --]

\definedescription[D]

\starttext
\D{Label} description % Label is not printed

\startD{Label} % OK, but pb with the following table
	description
\stopD

\bTABLE
\bTR
	\bTH Label \eTH % The first line is located on the left at the bottom of the table, TD works OK.
\eTR\bTR
	\bTD value \eTD
\eTR
\eTABLE

\stoptext

[-- Attachment #5: 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: LMTX and descriptions
  2020-11-24 18:33 LMTX and descriptions Jean-Philippe Rey
@ 2020-11-24 18:44 ` Wolfgang Schuster
  2020-11-24 19:14   ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2020-11-24 18:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Jean-Philippe Rey schrieb am 24.11.2020 um 19:33:
> Dear list,
>
> I am switching from MLIV to LMTX and I've found a problem with descriptions. Here is an example of the problem.
>
> ==============================
> \definedescription[D]
>
> \starttext
> \D{Label} description % Label is not printed
>
> \startD{Label} % OK, but pb with the following table
> 	description
> \stopD
>
> \bTABLE
> \bTR
> 	\bTH Label \eTH % The first line is located on the left at the bottom of the table, TD works OK.
> \eTR\bTR
> 	\bTD value \eTD
> \eTR
> \eTABLE
>
> \stoptext
> ==============================
>
> The short syntax  "\D{Label} description" doesn't print "Label" at all.
>
> The syntax with \start, \stop works fine but has a nasty effect on the next TABLE if it uses TH (check attached pdf).

This is a different problem which is unrelated to the description.

Wolfgang

___________________________________________________________________________________
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: LMTX and descriptions
  2020-11-24 18:44 ` Wolfgang Schuster
@ 2020-11-24 19:14   ` Hans Hagen
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2020-11-24 19:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 11/24/2020 7:44 PM, Wolfgang Schuster wrote:

> This is a different problem which is unrelated to the description.
I'll update when Wolfgang has found some more glitches. (nearly all high 
level commands that take arguments get/got adapted this month so I bet 
that there are some more. No functional changes, only mess ups.)

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] 3+ messages in thread

end of thread, other threads:[~2020-11-24 19:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-24 18:33 LMTX and descriptions Jean-Philippe Rey
2020-11-24 18:44 ` Wolfgang Schuster
2020-11-24 19:14   ` 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).