Re: [NTG-context] Error in latest beta: luat-exe.lua not found
On 1/13/2016 1:22 AM, Romain Diss wrote: Le 13/01/2016, Hans Hagen a écrit On 1/13/2016 12:01 AM, Romain Diss wrote: On 1/12/2016, Hans Hagen wrote: On 1/12/2016 9:33 PM, Romain Diss wrote: I just downloaded the new beta and I can not launch context anymore. It complains it can't find a 'luat-exe.lua' file: system > lua > loading of file '/opt/context/tex/texmf-context/tex/context/base/luat-exe.lua' failed: cannot open /opt/context/tex/texmf-context/tex/context/base/luat-exe.lua: No such file or directory resolvers > lua > loading file '/opt/context/tex/texmf-context/tex/context/base/luat-exe.lua' failed error loading file: luat-exe.lua (aborting) is that file sompelace on the system? Yes, it is located in /opt/context/tex/texmf-context/tex/context/base/mkiv/luat-exe.lua Concerning the 'context --version' error message, the 'context.mkiv' is also located in /opt/context/tex/texmf-context/tex/context/base/mkiv/ and not in /opt/context/tex/texmf-context/tex/context/base/ as printed in the output. i'll upload a version with a bit more checking Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \doiftext vs. \doifemtpy
On Wed, 13 Jan 2016 23:18:03 +0100 Pablo Rodriguezwrote: > which is the difference between \doiftext and \doifempty? First of all, the logic is reversed, \doiftext prints the second argument if the first one contains text, \doifempty does print the second argument if the first one *does not* contain anything. You can get around this by using the \…else versions. Then, the major difference is that \doifempty checks if the argument is empty and nothing else. \doiftext checks if it contains a box of non-zero width. \starttext text: \doiftextelse{foo}{is text}{no text}\par text: \doifemptyelse{foo}{is empty}{not empty}\par empty: \doiftextelse{}{is text}{no text}\par empty: \doifemptyelse{}{is empty}{not empty}\par space: \doiftextelse{\space}{is text}{no text}\par space: \doifemptyelse{\space}{is empty}{not empty}\par zero width: \doiftextelse{\framed[width=0cm]{frame}}{is text}{no text}\par zero width: \doifemptyelse{\framed[width=0cm]{frame}}{is empty}{not empty}\par image: \doiftextelse{\externalfigure[cow]}{is text}{no text}\par image: \doifemptyelse{\externalfigure[cow]}{is empty}{not empty}\par \stoptext Marco ___ 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] \doiftext vs. \doifemtpy
Dear list, which is the difference between \doiftext and \doifempty? Many thanks for your help, Pablo -- http://www.ousia.tk ___ 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] (beta) missing /Shading entry in page /Resources
Hi, I attached a minimal test file and the old (working) and new (broken) PDF files. The '/Shading 4 0 R' entry is missing in the page /Resources object ('10 0 obj <> endobj') of the 'new' version. mtx-context | ConTeXt Process Management 0.63 mtx-context | mtx-context | main context file: v:/tmp/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2016.01.13 09:42 Best wishes, Peter shading.7z Description: Binary data ___ 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 ___