ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* new version
@ 2005-05-25 15:34 Hans Hagen
  2005-05-25 18:42 ` Taco Hoekwater
                   ` (3 more replies)
  0 siblings, 4 replies; 51+ messages in thread
From: Hans Hagen @ 2005-05-25 15:34 UTC (permalink / raw)


Hi,

I posted a new version of context. There are a few new things, like pattern snow 
being part of the zip, and runtime graphic conversions (more about that when i 
have more time); the next (main) release will probably have a new texexec (ruby 
version, smoother, faster, more clever, no ini file etc)

btw, i need a miktex user who wants to test the ruby texexec version

it's upto taco to write the usual announcement -)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 51+ messages in thread
* new version
@ 2020-08-25 18:14 Hans Hagen
  0 siblings, 0 replies; 51+ messages in thread
From: Hans Hagen @ 2020-08-25 18:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

The current version of lmtx has some updated tracing of memory usage. 
This is irrelevant for most users but some of you generat elarge an 
complex files so ... (I'm talking about mf here).

There is a command line option

   --usage

that will make a run report some more statistics. The info shown might 
look somewhat cryptic but we basically have (per category)

- max: the maximum allowed memory (for many categories we can make that 
larger, but I need proof that it's needed)

- min: this is how we start out

- stp: when more memory is needed, this is the step that we use to increase

- set: this is the value that context configures by default, often 
larger than min, and less than max

- mem: the memory usage (often in units)

- all: the real usage (multiplied by the unit)

- ini, ptr and top: are the startup values (when something is also 
stored in the format), the current usage and the max usage (all within 
the mentioned min-max range).

The rest speaks for itself. Font usage reflects only the tex end, of 
course there is plenty usage at the lua end. The language info .... I 
might extend that with pattern and exception usage. Actually, tex memory 
usage is not that large in luametatex.

When mem gets increased, there is a message. We can use that to 
eventually determine the best values. Actually we might even lower some 
initial values (not that it matters much, lua uses more).

Of course there is also

   --timing

but that one has been there from the start, although I did update it to 
reflect the more detailed tracing. The graphics are the same as always: 
red lines are usage, the blue line is the runtime.

In general, memory management has been improved: all categories are now 
more dynamic, there is more checking for overflows, there is some 
recovery slack in allocation, etc. I will play a bit more some of it, 
for instance we might end up with more detailed configuration options, 
in addition the the already new ones.

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] 51+ messages in thread
* new version
@ 2020-06-10  8:02 Hans Hagen
  2020-06-10 15:05 ` Alan Bowen
  0 siblings, 1 reply; 51+ messages in thread
From: Hans Hagen @ 2020-06-10  8:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

I uploaded a new version. There have been no changes to the typesetting 
machinery although we're still in the process of finetuning some updated 
low level macros. There was a fix in the font machinery (thanks to Kai) 
but that will probably go unnoticed as the issue has been there for years.

Now, that doesn't mean that nothing has been changed. First of all there 
is a new data related mechanism. After Wolfgang had updated the 
definition files it became official. It was on the agenda for a while 
but finally a nice solution surfaced.

The new thing is luatables that obey grouping. Normally what you do at 
the lua end is kind of global, but there can be cases where you really 
want it to behave like tex: obeying \bgroup/\egroup, { } etc. The 
examples given below show that you can create them at the tex end and 
access them in tex as well as lua.

\starttext

\dorecurse {100} {
     \setdatavalue{#1}{#1}
}

\start \tttf \darkred \raggedright \dorecurse {100} {
     #1=\scratchcounter\getdatavalue{#1}\the\scratchcounter
} \par \stop \blank

\start \tttf \darkgreen \raggedright \dorecurse {100} {
     #1=\thedatavalue{#1}%
} \par \stop \blank

\bgroup \tttf
     \newluatable\testtable
     \setluatable\testtable{ foo = 123, bar = "456", oof = "rab" }
   % \inspectluatable\testtable
     \darkblue
     foo = \getfromluatable\testtable{foo}\par
     bar = \getfromluatable\testtable{bar}\par
     oof = \getfromluatable\testtable{oof}\blank
     \bgroup
         \useluatable\testtable
         \setluatable\testtable{ foo = 123123, bar = "456456" }
       % \inspectluatable\testtable
         \darkmagenta
         foo = \getfromluatable\testtable{foo}\par
         bar = \getfromluatable\testtable{bar}\par
         oof = \getfromluatable\testtable{oof}\blank
         \startluacode
             local t = context.luatables.get("testtable")
             print(t.foo,t.bar,t.oof)
         \stopluacode
     \egroup
     \darkyellow
     foo = \getfromluatable\testtable{foo}\par
     bar = \getfromluatable\testtable{bar}\par
     oof = \getfromluatable\testtable{oof}\blank
     \startluacode
         local t = context.luatables.get("testtable")
         print(t.foo,t.bar,t.oof)
     \stopluacode
   % \inspectluatable\testtable
\egroup

\bgroup \tttf
     \newluatable\moretable
     \setluatable\moretable{ 1, "foo" }
     \darkblue
     [1] = \getfromluatable\moretable{1}\par
     [2] = \idxfromluatable\moretable 2 \blank
     \bgroup
         \useluatable\moretable
         \setluatable\moretable{ foo = 123123, bar = "456456" }
         \darkmagenta
         [1] = \getfromluatable\moretable{1}\par
         [2] = \idxfromluatable\moretable 2 \blank
         \startluacode
             local t = context.luatables.get("moretable")
             print(t[1],t[2])
         \stopluacode
     \egroup
     \darkyellow
     [1] = \getfromluatable\moretable{1}\par
     [2] = \idxfromluatable\moretable 2 \blank
     \startluacode
         local t = context.luatables.get("moretable")
         print(t[1],t[2])
     \stopluacode
\egroup

\stoptext

This is only available in lmtx (until i see a real reason to cook up an 
alternative for mkiv, which is unlikely as no context code depends on 
this being available, at least not now). The datavalue macro you see 
there can be used to create massive amounts of numeric variable 
independent of counters, not that we really need it, but it was very 
cheap to implement.

At the engine level there also have been some changes but these should 
not be visible for users. We just mention:

- extensions to the macro definition and expansion mechanisms (for 
instance optional arguments, optional delimiters, and silent error 
recovery; there will be some explanation in the evenmore document and at 
some point - when stable - in the manual) .. this permits some cleaner 
low level code; only things were done that had no impact on performance 
(as macro definition and expansion is used a lot) and didn't make the 
code messy (it actually became cleaner)

- some additional substring (ok, tex has no string, just tokens) parsing 
capabilities with optional tokens, which again permits a bit cleaner low 
level code

- a slightly reorganized handling of tokens (one of tex's basic data 
structures) in the lua token interface so that we get a more meaningful 
and robust subsystem (basically getting rid of funny numbers) ... this 
also will be discussed in an evenmore chapter .. not that users need it 
(i think)

- as a side effect (or necessity) some low level recoding (and 
abstraction) had to happen but as far as we can see it works ok (i admit 
it was a slow, tedious job with lots of intermediate testing on the 
suite to make sure nothign was broken) .. in the end it was all doable 
because most of the preparation was already done over the last years

- in the process we got rid of a traditional tex data structure that was 
left over from the 32 bit times but no longer needed in our 64 bit 
luatex/luametatex universe (i might backport that simplification to 
luatex some day) ... it discards some checking and saves the same amount 
of memory that we had on the early day pc's (where we ran whole tex jobs 
in that amount)

Of course ... all kind of small improvenments ... hopefully for the best,

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] 51+ messages in thread
* new version
@ 2008-04-10 22:24 Hans Hagen
  2008-04-11  4:33 ` Aditya Mahajan
  0 siblings, 1 reply; 51+ messages in thread
From: Hans Hagen @ 2008-04-10 22:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

concerning the mplibrary in mkiv ...

- it does not use the metafun mem file; when formats are generated a 
special mem file is made and put alongside the context format

- however, this only happens when a new version is found (is the case 
with a new zip), or when an error is encountered in the format 
(compatibility issue)

- in case of doubt, or when you patch metafun, you can say

ctxtool --touch
texexec --make

i will try to make this more robust in the future

the new mkiv mp graphics implementations is prepared for mixed usage, 
i.e. we can use multiple metapost formats; i'm still not sure about the
interface, for instance:

\startuseMPgraphic{metafun:bla} ...

\startuseMPgraphic{mpost:bla} ...

or so, more news later

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | 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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 51+ messages in thread
* new version
@ 2004-01-13 16:41 Hans Hagen
  0 siblings, 0 replies; 51+ messages in thread
From: Hans Hagen @ 2004-01-13 16:41 UTC (permalink / raw)


Hi,

I uploaded a new version with a couple of patches discussed previously

Hans


-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 51+ messages in thread
* Re: new version
@ 2003-09-17 17:47 Steffen Wolfrum
  0 siblings, 0 replies; 51+ messages in thread
From: Steffen Wolfrum @ 2003-09-17 17:47 UTC (permalink / raw)


Hans Hagen <pragma@wxs.nl> wrote:

>  At 14:25 17/09/2003 +0200, you wrote:
>
>   > What is needed is a kind of extension to placefigure[top] where figures
>  are *still* placed top/bottom but *also* are surrounded by text (right or
>  left).
>
>  this is kind of impossible in tex since it works per paragraph and during
>  that it has no concept of crossing a page boundary; i presume that i can
>  cook up something for a controlled situation but it's far from trivial
>
>  Hans


That would be great Hans!

I'm curious what dish you will serve .-)


Steffen

^ permalink raw reply	[flat|nested] 51+ messages in thread
* new version
@ 2003-09-17 12:25 Steffen Wolfrum
  2003-09-17 16:00 ` Hans Hagen
  0 siblings, 1 reply; 51+ messages in thread
From: Steffen Wolfrum @ 2003-09-17 12:25 UTC (permalink / raw)


Hans Hagen <pragma@wxs.nl> wrote:

>  Hi,
>
>  The last hour I fixed a couple of things that came up during the recent
>  dante/gutenberg tex conferences as well as added the table thingies
>  discussed here. (for the split lovers: there was a small bug in the patch i
>  sent earlier; actually the patch broke some of my existing files -)
>
>  the main as well as the beta files have been upgraded
>
>  Hans


Hi Hans,

that's good news.

I almost don't dare to ask, but...
do you think that you might have now a little time to look at the 
placefigure[top,left] topic?

The solution that you proposed some days ago unfortunately doesn't help much:
\hangsidefloat[2] \placefigure[left] {}{} \dorecurse{3}{\input ward\par}


What is needed is a kind of extension to placefigure[top] where 
figures are *still* placed top/bottom but *also* are surrounded by 
text (right or left).

I am really sorry for being persistent, but the main reason for me to 
switch from LaTeX to ConTeXt was that I thought that some has much 
more possibilities in placing figures in ConTeXt than in LaTeX.

And I was honestly surprised that this is not implemented yet, as it 
is such a frequently used feature - at least in the books of 
humanities, art history etc. it is very, very common.

You said that it should not be too difficult - and it really would be 
a great feature for ConTeXt!!

What do you think?


Steffen

P.S. Sorry, hope I don't annoy you too much...


>>2. Isn't it possible to make a kind of combination between the placefigure
>>options top and left (for example), so that a small picture can have text
>>floating around it but it is placed at the top of the page (like big
>>landscape formats would be with the top option)?
>>

...

>
>2. should not be too difficult, i'll look into it
>
>Hans
>
>--

^ permalink raw reply	[flat|nested] 51+ messages in thread
* new version
@ 2003-09-17 10:50 Hans Hagen
  0 siblings, 0 replies; 51+ messages in thread
From: Hans Hagen @ 2003-09-17 10:50 UTC (permalink / raw)


Hi,

The last hour I fixed a couple of things that came up during the recent 
dante/gutenberg tex conferences as well as added the table thingies 
discussed here. (for the split lovers: there was a small bug in the patch i 
sent earlier; actually the patch broke some of my existing files -)

the main as well as the beta files have been upgraded

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 51+ messages in thread
* new version
@ 2003-08-07 16:02 Hans Hagen
  0 siblings, 0 replies; 51+ messages in thread
From: Hans Hagen @ 2003-08-07 16:02 UTC (permalink / raw)


Hi,

Since it's tex live freezing time, I uploaded a new version. There ar enot 
that many changes (i moved a few things from cont-new/cont-loc to the core 
modules [cont-loc is my personal optimized code / new thingies file]).

I also added type-akb (patricks adobekb) file to the distribution since we 
need it to get those free fonts working in tetex and derived systems (tex 
live is normally a bit more complete with regards to metrics). Be careful 
in using this typescipts: the metrics may not match the fonts and i dislike 
the idea of ps metric names and urw fots; Personally i always use the urw 
metrics and fonts and *always* embed them. I'll post a zip with additional 
font metrics later.

To texexec, i added some cleverness to run xml files and i will add some 
morelater. Also, from now on (in order to avoid too many mails of users who 
forget to run mktexlsr) i now run mktexlsr before generating formats. [i 
hope that i got the miktex alternative well, i'll install miktex in a 
virtual machine later].

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 51+ messages in thread
* new version
@ 2002-07-26 22:53 Hans Hagen
  2002-07-27 19:34 ` Jens-Uwe Morawski
  0 siblings, 1 reply; 51+ messages in thread
From: Hans Hagen @ 2002-07-26 22:53 UTC (permalink / raw)


Hi,

I'm uploading a new version (beta is copy; not that bad or instable since 
it's used in demanding situations -)

This one offers:

\starttext

\setuptyping[file][numbering=file]

\typefile[start=2,nlines=3]{zapf}
\typefile[start=continue,nlines=13]{zapf}
\typefile{zapf}

\page

\setuptyping[file][numbering=line]

\typefile{zapf}
\typefile[start=4,step=3]{zapf}

\stoptext

There are also some (experimental) fixes and improvements with regards to 
gridsnapping, a bunch of extensions with regards to layers (like 
location=grid,line=12), more figure options (to be documented soon), in 
line formula grid snapping (sigh, and small things discussed here already.

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 51+ messages in thread
* new version
@ 2000-09-21 16:33 Hans Hagen
  0 siblings, 0 replies; 51+ messages in thread
From: Hans Hagen @ 2000-09-21 16:33 UTC (permalink / raw)


Hi, 

I uploaded a new version with my fingers crossed. So we start a new beta
series. Coming soon: 

- alternative float flushing in existing multi columns routines
- multiple (multi column) output routine support, with footnotes per
column, extensive float support, backgrounds, reserved areas,   and a few
more fancy things 
- good old tex + vertical chinese 
- omega support 

Hans
-------------------------------------------------------------------------
                                                  Hans Hagen | PRAGMA ADE
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 51+ messages in thread
* new version
@ 2000-01-24 11:13 Hans Hagen
  2000-01-24 11:42 ` Mr. Wang Lei
  2000-01-24 11:44 ` Tobias Burnus
  0 siblings, 2 replies; 51+ messages in thread
From: Hans Hagen @ 2000-01-24 11:13 UTC (permalink / raw)


Hi All, 

I uploaded a new version. Since I split up some large files, it is best do
delete all old ones (except you local cont-sys.tex file). Let me know is
some files are missing in th earchive -)

Hans 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------


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

end of thread, other threads:[~2020-08-25 18:14 UTC | newest]

Thread overview: 51+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-25 15:34 new version Hans Hagen
2005-05-25 18:42 ` Taco Hoekwater
2005-05-25 19:00   ` Hans Hagen
2005-05-25 19:25     ` Taco Hoekwater
2005-05-27 15:07       ` Taco Hoekwater
2005-05-27 18:17         ` Hans Hagen
2005-05-28 18:18         ` Stuart Jansen
2005-05-25 19:24 ` feature request:-) Idris Samawi Hamid
2005-05-25 20:06   ` Hans Hagen
2005-05-25 19:26 ` new version Idris Samawi Hamid
2005-05-25 20:07   ` Hans Hagen
2005-05-26 21:57 ` Adam Lindsay
2005-05-26 23:29   ` Hans Hagen
2005-05-27 14:49     ` Adam Lindsay
2005-05-27 18:22       ` Hans Hagen
2005-05-27 19:09         ` Adam Lindsay
2005-05-26 23:34   ` Hans Hagen
2005-05-27 13:27     ` Adam Lindsay
2005-05-27 13:45       ` Hans Hagen
2005-05-27 18:20       ` Peter Münster
2005-05-27 18:41         ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2020-08-25 18:14 Hans Hagen
2020-06-10  8:02 Hans Hagen
2020-06-10 15:05 ` Alan Bowen
2008-04-10 22:24 Hans Hagen
2008-04-11  4:33 ` Aditya Mahajan
2008-04-11  7:39   ` Hans Hagen
2008-04-11  7:50     ` Wolfgang Schuster
2008-04-11  9:48       ` Hans Hagen
2004-01-13 16:41 Hans Hagen
2003-09-17 17:47 Steffen Wolfrum
2003-09-17 12:25 Steffen Wolfrum
2003-09-17 16:00 ` Hans Hagen
2003-09-17 10:50 Hans Hagen
2003-08-07 16:02 Hans Hagen
2002-07-26 22:53 Hans Hagen
2002-07-27 19:34 ` Jens-Uwe Morawski
2002-07-29  7:15   ` Hans Hagen
2002-07-29  9:09     ` Jens-Uwe Morawski
2002-07-29  9:33       ` Hans Hagen
2002-07-30  9:56         ` Jens-Uwe Morawski
2002-07-30 21:06           ` Hans Hagen
2002-07-31  8:29             ` Jens-Uwe Morawski
2000-09-21 16:33 Hans Hagen
2000-01-24 11:13 Hans Hagen
2000-01-24 11:42 ` Mr. Wang Lei
2000-01-24 12:24   ` Tobias Burnus
2000-01-24 15:45     ` Hans Hagen
2000-01-24 15:32   ` Hans Hagen
2000-01-24 11:44 ` Tobias Burnus
2000-01-24 15:47   ` 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).