Hi, With ConTeXt version 2024.04.01, the \sc command produces an error: fonts > preloading latin modern fonts (second stage) fonts > 'fallback modern rm 12pt' is loaded pages > flushing realpage 1, userpage 1, subpage 1 close source > level 1, order 3, name './test.tex' backend > xmp > using file '/opt/context/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml' mtx-context | fatal error: return code: 1 Test file: \starttext \sc test \stoptext Is this a bug, or some misconfiguration of my installation? TIA for any hints, -- Peter
Hi,
On Tue, Apr 2, 2024 at 9:16 PM Peter Münster
Hi,
With ConTeXt version 2024.04.01, the \sc command produces an error:
fonts > preloading latin modern fonts (second stage) fonts > 'fallback modern rm 12pt' is loaded pages > flushing realpage 1, userpage 1, subpage 1 close source > level 1, order 3, name './test.tex' backend > xmp > using file '/opt/context/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml' mtx-context | fatal error: return code: 1
Test file: \starttext \sc test \stoptext
Is this a bug, or some misconfiguration of my installation?
TIA for any hints,
Hans wrote in his email: -- If you have troubles (crash) you need to wipe the cache due to a change in lua bytecode storage (no easy way to catch it). Did you do that? (One way is to remove tex/texmf-cache/*) Your file works here. /Mikael
On 4/2/24 21:23, Mikael Sundqvist wrote:
On Tue, Apr 2, 2024 at 9:16 PM Peter Münster
wrote: [...] TIA for any hints,
Hans wrote in his email: -- If you have troubles (crash) you need to wipe the cache due to a change in lua bytecode storage (no easy way to catch it).
Did you do that? (One way is to remove tex/texmf-cache/*)
Another way is to run (since your test works fine on my laptop): mtxrun --script cache --erase && mtxrun --generate The format file will be generated in the next compilation, so it will take a bit longer. Just in case it might help, Pablo
On Tue, Apr 02 2024, Pablo Rodriguez via ntg-context wrote:
mtxrun --script cache --erase && mtxrun --generate
Thanks. It did not work after doing it as root, but then I saw, that there is also a cache in the user home-directory, so I’ve done it as the user too, and now it works. -- Peter
You shouldn't run context as root in any case. But glad it worked.
El mar, 2 abr 2024 a las 15:34, Peter Münster (
On Tue, Apr 02 2024, Pablo Rodriguez via ntg-context wrote:
mtxrun --script cache --erase && mtxrun --generate
Thanks. It did not work after doing it as root, but then I saw, that there is also a cache in the user home-directory, so I’ve done it as the user too, and now it works.
-- Peter
___________________________________________________________________________________ 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
___________________________________________________________________________________
-- Andrés Conrado Montoya Andi Kú andresconrado@gmail.com http://sesentaycuatro.com http://messier87.com http://chiquitico.org ---------------------------------------- Los fines no justifican los medios, porque la medida verdadera de nuestro carácter está dada por los medios que estamos dispuestos a utilizar, no por los fines que proclamamos. ---------------------------------------- “You develop an instant global consciousness, a people orientation, an intense dissatisfaction with the state of the world, and a compulsion to do something about it. From out there on the moon, international politics look so petty. You want to grab a politician by the scruff of the neck and drag him a quarter of a million miles out and say, ‘Look at that, you son of a bitch.’” — Apollo 14 astronaut Edgar Mitchell
On 4/3/24 07:16, Peter Münster wrote:
On Tue, Apr 02 2024, Andres Conrado Montoya wrote:
You shouldn't run context as root in any case.
I don’t run context as root. But I need to erase the cache in /opt/context/tex/texmf-cache as root, because the user doesn’t have the permission to do that.
Sorry, Peter, but I have a suspicion from what you wrote.
mtxrun --script cache --erase && mtxrun --generate
Thanks. It did not work after doing it as root, but then I saw, that there is also a cache in the user home-directory, so I’ve done it as the user too, and now it works.
In principle, cache is only written to tex/texmf-cache. But I guess, when that directory cannot be written by the user, cache is written to $HOME/texmf. This may be why you get two cache directories (instead of only tex/texmf-cache). Cheers, Pablo
participants (4)
-
Andres Conrado Montoya
-
Mikael Sundqvist
-
Pablo Rodriguez
-
Peter Münster