[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Joseph Wright

On 18/01/2024 20:55, Gavin via ntg-context wrote:

That’s fast enough for me.


That's surely the key statement - 'fast' here is a personal thing, and 
40 pages a second is fast enough for many people. It's certainly fast 
when you look at what LuaMetaTeX is doing, as Hans has said.


Joseph

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


Re: [NTG-context] TUG 2023

2023-01-04 Thread Joseph Wright via ntg-context

On 04/01/2023 16:50, Thomas A. Schmitz via ntg-context wrote:

Hi everybody,

an excellent year 2023 to all of you - I hesitate to say "it can only 
get better from 2022." That's what we thought last year, and boy were we 
wrong and did it get worse... Let's hope that this year will be more 
peaceful and less pandemic...


But to my topic: the official announcement for TUG 2023 is out. It will 
be in Bonn, Germany, in a building literally (literally!) just across 
the street from my university office. So I feel somewhat motivated to go 
and give a talk on ConTeXt and spread the word. Since I'm a simple user 
and no developer, I'm a bit hesitant though: is any of the developers 
going (Hans?)? Since the public will be 99 % LaTeX-centric


I think you need not be afraid there: there will be a decent amount of 
generic stuff and a good number of plain TeX experts, I suspect. Yes, 
LaTeX tends to be the most popular TeX flavour in the talks, but I think 
overall it's much more varied than you are imagining!


Joseph

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Archlinux: updated BPKGBUILD for luametatex

2021-12-15 Thread Joseph Wright via ntg-context

On 15/12/2021 20:32, Aditya Mahajan via ntg-context wrote:

This corresponds the "Download" link on the CTAN page of each package, but 
unfortunately, is not always in TDS format. For example, for pgf (which is locate at 
/graphics/pgf/base), we have

https://mirrors.ctan.org/graphics/pgf/base.zip

which lists all tex related files in base/tex sub-directory. The CTAN page 
(https://www.ctan.org/pkg/pgf) also has a field "TDS Archive", which lists:

http://mirrors.ctan.org/install/graphics/pgf/base/pgf.tds.zip

which is TDS compliant. The same is the case for circuitikz and pgfplots. So, 
it safer to use

 "http://mirrors.ctan.org/; .. data.ctan.path .. "/" .. pkg_name .. 
"tds.zip"

But, for context packages, CTAN does nto have the tds zips (I guess because the 
default zip is already TDS compliant). For example:

 https://www.ctan.org/pkg/context-filter

has the "download" link at the bottom but not the "TDS Archive" link.

In the end, since I am only installing 4-5 packages, it is simpler to input the 
URLs but hand rather than write code to automate the logic.


If only we could convince CTAN to have a common structure - this came up 
recently with Norbert re. supporting TeX Live! (cf. CRAN for example)


Joseph
___
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
___


Re: [NTG-context] Welcome to LMTX

2019-04-01 Thread Joseph Wright

On 01/04/2019 15:55, Hans Hagen wrote:

Hi all,

After more than a decade of mkiv and luatex it's time to move on to a 
new stage. After all, nowadays a ten-year old program is considered to 
be really old, especially for those who consider a manual typeset three 
years ago as an indication of lack of progress. Therefore: welcome to 
lua(meta)tex 2.00 and context lmtx, the follow up on luatex and mkiv, if 
you dare. It has many deep-down changes but aims to be a simple evolution.


The average user will probably not notice many differences but 
nevertheless, when you are in for something new, you can give it a try:


  http://www.pragma-ade.nl/install.htm

Of course you should keep your current installation too. We're sure that 
there will be issues so when you run into unexpected surprises, you can 
blame us (and fall-back on the current Context beta and luatex). Of 
course with the proper mwe's (tex, metapost, lua, or a combination of 
these) we will try to solve them all, we have been testing. In due time 
more about this project will be revealed.


Hans Hagen & Alan Braslau


Hi Hans,

Thanks for the link to the code. A quick install suggests that a 'hello 
world' is working nicely from ConTeXt. However, if I try what you might 
expect from me


luametatex --ini latex.ltx

things go a bit wrong:

This is LuaMetaTeX, Version 2.00.0  (INITEX)
! error:  (system): missing find_write_file callback

(I also notice there is no plain-like format for testing, or at least 
that just "luametatex" yields an error.)


Clearly things work for ConTeXt, so there must be some early Lua magic 
or similar required. Any thoughts? (I don't get a .log or any other output.)


Joseph

___
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
___


Re: [NTG-context] Table "modules"

2018-10-29 Thread Joseph Wright

On 28/10/2018 16:06, Joseph Wright wrote:

Hello all,

Looking at management of global Lua tables (for the obvious cases ...), 
I notice that all of the core Mk IV files use the construct


     if not modules then modules = { } end
     modules[" From a ConTeXt point-of-view, is it acceptable for third-parties to use 
this construct, or is it 'ConTeXt maintainers only'? I'm wondering for 
code used generically: it would be good to use the same approach, but I 
don't want to tread on any reserved namespaces.


Joseph


Somehow I've managed to loose Hans' reply, but I've seen it in the 
archive :)


Hans: Thanks for the quick reply. I'll suggest to the LaTeX team that we 
treat table modules as ConTeXt-specific/reserved, and will think of a 
different name.


Joseph
___
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
___

[NTG-context] Table "modules"

2018-10-28 Thread Joseph Wright

Hello all,

Looking at management of global Lua tables (for the obvious cases ...), 
I notice that all of the core Mk IV files use the construct


if not modules then modules = { } end
modules["From a ConTeXt point-of-view, is it acceptable for third-parties to use 
this construct, or is it 'ConTeXt maintainers only'? I'm wondering for 
code used generically: it would be good to use the same approach, but I 
don't want to tread on any reserved namespaces.


Joseph
___
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
___

Re: [NTG-context] Luatex 0.85.0 announcement

2015-11-23 Thread Joseph Wright
On 21/11/2015 10:03, luigi scarso wrote:
> New luatex release, 0.85.0
> 
> It's really a big change respect to 0.81.0
> (see NEWS for a full report)
> and, well,   there can be bugs (that of course we will solve).
> 
> 
> The archives can be downloaded from supelec as usual:
> 
> https://foundry.supelec.fr/projects/luatex/
> 
> You could also check out the sources via anonymous svn:
> 
>   svn co --username anonsvn --password anonsvn  \
>   https://foundry.supelec.fr/svn/luatex/tags/beta-0.85.0
> 
> Bugs and feature requests can be added to the issue tracker at
> 
>http://tracker.luatex.org
> 
> When you use context or latex you need an updated format. The latest
> version of
> context can be fetched from the context garden, latex from ctan. For latex
> you can contact David and Joseph as they are dealing with the update.

For those wishing to be on the 'burning edge' in LaTeX terms, we have
put some *very experimental* support code on GitHub:

  https://github.com/josephwright/luatex85

David and I are working with the rest of the LaTeX team to make the
changes transparent to end users: we hope to have all of this to CTAN
and into TeX Live well before any binary changes in the release version,
and will co-ordinate the same with MiKTeX.

Joseph

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Fwd: [OS X TeX] ConTeXt issues

2011-09-10 Thread Joseph Wright
On 09/09/2011 17:23, Mojca Miklavec wrote:
 On Fri, Sep 9, 2011 at 17:12, Steffen Wolfrum wrote:
 Hi,

 does anyone here has MacTeX 2011 installed and could help Joseph?
 (I just saw this on OSX_TEX list, see below).
 
 This is a known problem in the sense that it happens pretty often,
 but it is unclear what exactly goes wrong. MacTeX should usually work
 by default.
 
 More information is needed, in particular contents of
 /usr/local/texlive/2011/texmfcnf.lua
 
 Mojca

Hello Mojca,

I did wonder if this was known: I've noticed that ConTeXt seems to be
'on and off' at least on my Mac (I've done less testing on Windows).

My  /usr/local/texlive/2011/texmfcnf.lua shows:

-- (Public domain.)
-- This texmfcnf.lua file should exist only if you have personal changes
-- from the distributed file; for example, if TEXMFVAR was changed in
-- the installer.
--
return { TEXMFCACHE = '~/Library/texlive/2011/texmf-var' }
--
Joseph Wright
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Fwd: [OS X TeX] ConTeXt issues

2011-09-10 Thread Joseph Wright
On 09/09/2011 18:30, Matthias Weber wrote:
 Hi,
 
 I do have MacTeX 2011 installed (for LaTeX needs), but use the Standalone 
 (former minimals) for CoNTeXt.
 
 Besides being more recent, this has the advantage that one can archive a done 
 project together with the Standalone tree
 in case changes to CoNText happen break the project. 
 
 The relevant wiki page for installing and configuring with editors  is at
 
 http://wiki.contextgarden.net/ConTeXt_Standalone/Mac_Installation
 
 Matthias

I did think of the minimals, and indeed that was my first port of call
after 'context' failed from my MacTeX installation. However, there does
not seem to be any Tikz in the minimals, and I needed that. Setting up
Tikz is not so straight-forward.

I've managed to get a working system on my PC, but would of course like
a working system on my Mac too.
-- 
Joseph Wright
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Fwd: [OS X TeX] ConTeXt issues

2011-09-10 Thread Joseph Wright
On 10/09/2011 11:41, Mojca Miklavec wrote:
 My  /usr/local/texlive/2011/texmfcnf.lua shows:

 -- (Public domain.)
 -- This texmfcnf.lua file should exist only if you have personal changes
 -- from the distributed file; for example, if TEXMFVAR was changed in
 -- the installer.
 --
 return { TEXMFCACHE = '~/Library/texlive/2011/texmf-var' }
 --
 Joseph Wright
 
 Were you, by any chance, an early adopter who didn't install the new
 version of MacPorts once it was officially released?
 
 Please replace the contents of that file with:
 
 return {
   content = {
 variables = {
   TEXMFHOME = ~/Library/texmf,
   TEXMFVAR = ~/Library/texlive/2011/texmf-var,
   TEXMFCONFIG = ~/Library/texlive/2011/texmf-config,
 },
   },
 }
 
 or reinstall MacTeX.
 
 Mojca

Hello Mojca,

I did indeed install MacTeX 'early' (basically as soon as it became
available for testing). I'm surprised sudo tlmgr install --reinstall
context metapost did not sort this one out.

Anyway, that sorts the issue: thanks very much for the very rapid reply.
-- 
Joseph Wright
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Fwd: [OS X TeX] ConTeXt issues

2011-09-10 Thread Joseph Wright
On 10/09/2011 12:04, Mojca Miklavec wrote:
 Since you seem to have posted your original question to another
 mailing list, can you please at least leave a reply that the issue was
 solved (and how you solved it)?

Of course: will do.
-- 
Joseph Wright
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Fwd: [OS X TeX] ConTeXt issues

2011-09-10 Thread Joseph Wright
On 10/09/2011 11:53, Hans Hagen wrote:
 I did think of the minimals, and indeed that was my first port of call
 after 'context' failed from my MacTeX installation. However, there does
 not seem to be any Tikz in the minimals, and I needed that. Setting up
 Tikz is not so straight-forward.
 
 first-setup --modules=all
 
 the minimals installer remembers what gets installed and when updating
 modules will be installed as well
 
 if someone only wants luatex the initial install should say
 --engine=luatex (more minimal, might become default at some point)
 
 the only problem with tikz can be that it depends on some built in
 functionality (i remember a recent post about such a dependency) but
 normally the tikz maintainers are quite willing to take care of it;
 another potential issue can be low level resource management but if the
 proper interfaces are used this should work now

Hello Hans,

Thanks for that: I had not investigated the options for first-setup.
--
Joseph Wright
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] ConTeXt licensing

2011-03-01 Thread Joseph Wright
Hello all,

A question came up recently on the tex.sx site about ConTeXt licensing:

http://tex.stackexchange.com/questions/12431/using-context-commercially

I have a feeling I've seen something similar elsewhere recently, but
cannot be sure where.

This question seems to require an 'official' response, as things do seem
a little confusing (at least to me). I'm happy to post something as a
reply to the question if I know what the position is (or indeed if it is
read what we've put and go with it.)
-- 
Joseph Wright
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] [tex-live] Announcing TLContrib

2010-10-10 Thread Joseph Wright

On 08/10/2010 19:36, Taco Hoekwater wrote:

Hello everybody,

Please allow me to introduce a new project: TLContrib.

TLContrib is a website + repository that hosts contributed packages
for TeX Live 2010. The packages on TLContrib are packages that are
not distributed inside TeX Live proper for one or another of following
reasons:

* because it is not free software according to the Debian guidelines;
* because it is a binary update;
* because it is not available on CTAN;
* because it is an intermediate release for testing.

In short, anything TeX-related that can not be on TeX Live but can
still legally be distributed over the Internet can have its place
on TLContrib.

The ultimate goal is to provide a companion to the core TeX Live
tlnet distribution in much the same way as Debian's non-free tree
is a companion to their normal, 100% free software distribution. The
goal is not to replace TeX Live: package and updates that can be part
of TeX Live itself should stay (or be added) there. TLContrib is simply
trying to fill in a gap in the current distribution system.


Quick start: to use TLContrib as a TeX Live repository, point the TeX
Live package manager to http://tlcontrib.metatex.org/2010/

For more detailed information, visit the website:

http://tlcontrib.metatex.org/

The current version of the website is preliminary, and much can still
be improved. Even so, both the website and the repository are fully
functional and can be used for both the publication of packages and
as a repository source for the TeX Live package manager.

Currently included in the repository are:

* context 2010.07.30
* the context cow fonts
* luatex 0.63.0 (but not yet for all architectures)
* metapost 1.502 (also not for all architectures)

Currently, there are binary updates for i386-linux, universal-darwin
win32, x86_64-darwin, and x86_64-linux. Mojca Miklavec and myself are
working hard on providing the missing architectures soon.


This announcement is also a call for more contributors: if you are the
maintainer of a package that you would like to see distributed but that
for one reason or another can not or should not be in the core TeX Live
distribution, please consider adding it to TLContrib. The website
explains the process, and it is of course possible to ask questions on
the mailing list:

tlcont...@ntg.nl

Incidentally, the mailing list's web page is:

http://www.ntg.nl/cgi-bin/mailman/listinfo/tlcontrib

I hope you will like this new addition to the TeX community, and I also
want to take the opportunity to thank the TeX Live and ConTeXt minimals
teams for their encouragement and ongoing help in bringing this project
to life.

Best wishes,
Taco


What's the upload procedure for package authors? Do I just send to the 
server my .tds.zip, or is there more to it than that. At the moment 
things are a bit sparse on the site :-)

--
Joseph Wright
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] [tex-live] Announcing TLContrib

2010-10-10 Thread Joseph Wright

On 09/10/2010 09:38, Taco Hoekwater wrote:

On 10/09/2010 10:03 AM, Joseph Wright wrote:


What's the upload procedure for package authors? Do I just send to the
server my .tds.zip, or is there more to it than that. At the moment
things are a bit sparse on the site :-)


Did you miss the help page?

http://tlcontrib.metatex.org/help.html

Best wishes,
Taco



Um, yes. I was expecting the help to be on the upload page, a la the 
CTAN approach :-)

--
Joseph Wright
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] When to migrate from MKII to MKIV?

2009-02-04 Thread Joseph Wright
Alan BRASLAU wrote:
 The big problem for scientific writers is that publishers
 at very best will accept plain LaTeX. A notable exception
 is the American Physical Society who developed revTeX,
 a LaTeX package well suited to their publishing style.
 The American Chemical Society will accept plain LaTeX.
 Often, other scientific publishers as for Word!

Rather off-topic, but as I am a chemist (and also write the achemso
LaTeX package for the ACS), I'd point out that many more physical
chemistry journals will accept LaTeX material.  The ACS will also take
author generated PDFs, so I assume ConTeXt/LaTeX/plain/whatever.

The thing with chemical formulae is that while in-line ones are okay as
text (CH2=CH2 + H2O - CH3-CH2OH), complex structures are really a
pain to enter in TeX (despite many valiant efforts).  So most synthetic
chemists use ChemDraw.
-- 
Joseph Wright
___
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
___


Re: [NTG-context] Layout for writing a letter

2009-01-20 Thread Joseph Wright
Cecil Westerhof wrote:
 I am just starting with working with ConTeXt. I was wondering if there
 is a good template for writing letters?
 

http://wiki.contextgarden.net/Letter_style, perhaps?
-- 
Joseph Wright
___
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
___