Re: [NTG-context] Index and Publications suddenly remain empty??? [not solved yet]
2012-10-15 Otared Kavian: > On 14 oct. 2012, at 15:52, Wolfgang Schuster > wrote: > > […] > > I don’t know if the bug was also in the stable but it’s in the beta version > > I use. You can use the following example to check for the bug: > > > > \starttext > > \placeontopofeachother{A}{B} > > \stoptext Here is a fix (not thoroughly tested, though): pack-com.mkiv: - \def\pack_topofeachother_one{\bgroup\setbox0\box\nextbox\dowithnextboxcs\pack_topofeach_two \hbox} + \def\pack_topofeachother_one{\bgroup\setbox0\box\nextbox\dowithnextboxcs\pack_topofeachother_two\hbox} - \def\pack_topofeachother_two{\setbox2\box\nextbox\halign{\hss\hss\cr\box0\cr\box2\cr}\egroup\egroup} + \def\pack_topofeachother_two{\setbox2\box\nextbox\halign{\hss##\hss\cr\box0\cr\box2\cr}\egroup\egroup} Test: \unprotect \def\pack_topofeachother_one{\bgroup\setbox0\box\nextbox\dowithnextboxcs\pack_topofeachother_two\hbox} \def\pack_topofeachother_two{\setbox2\box\nextbox\halign{\hss##\hss\cr\box0\cr\box2\cr}\egroup\egroup} \protect \starttext \placeontopofeachother{alpha}{beta} \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 ___
Re: [NTG-context] Index and Publications suddenly remain empty??? [not solved yet]
On 14 oct. 2012, at 15:52, Wolfgang Schuster wrote: > […] > I don’t know if the bug was also in the stable but it’s in the beta version I > use. You can use the following example to check for the bug: > > \starttext > \placeontopofeachother{A}{B} > \stoptext > Hi I can confirm that the bug is present in recent betas, that is \placeontopofeachother is broken, but Context version 2011.11.29 works fine with your example. Best regards: OK___ 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] Index and Publications suddenly remain empty??? [not solved yet]
On 14-10-2012 23:45, Sander Maijers wrote: II cannot test that, sadly. The setup for the ConTeXt beta seems to hang on this PC. mtx-update | run, rsync -rpztlv contextgarden.net::'minimals/current/misc/setuptex/' '/home/sander/software/installations/ConTeXt/beta/tex/.'receiving incremental file list sent 30 bytes received 99 bytes 258.00 bytes/sec total size is 8535 speedup is 66.16 mtx-update | updating mtxrun for linux-64: rsync -tgo --chmod=a+x '/home/sander/software/installations/ConTeXt/beta/tex/texmf-context/scripts/context/lua/mtxrun.lua' '/home/sander/software/installations/ConTeXt/beta/tex/texmf-linux-64/bin/mtxrun' mtx-update | run, rsync -tgo --chmod=a+x '/home/sander/software/installations/ConTeXt/beta/tex/texmf-context/scripts/context/lua/mtxrun.lua' '/home/sander/software/installations/ConTeXt/beta/tex/texmf-linux-64/bin/mtxrun' resolvers | tds | changing from root '/home/sander/software/installations/ConTeXt' to '/home/sander/software/installations/ConTeXt/beta/tex' resolvers | tds | prepending '/home/sander/software/installations/ConTeXt/beta/tex/texmf-linux-64/bin' to PATH resolvers | tds | setting TEXMFCNF to 'home:texmf/web2c;{selfautoloc:,selfautoloc:/share/texmf-local/web2c,selfautoloc:/share/texmf/web2c,selfautoloc:/texmf-local/web2c,selfautoloc:/texmf/web2c,selfautodir:,selfautodir:/share/texmf-local/web2c,selfautodir:/share/texmf/web2c,selfautodir:/texmf-local/web2c,selfautodir:/texmf/web2c,selfautoparent:/../texmf-local/web2c,selfautoparent:,selfautoparent:/share/texmf-local/web2c,selfautoparent:/share/texmf/web2c,selfautoparent:/texmf-local/web2c,selfautoparent:/texmf/web2c}' resolvers | tds | mtx-update | run, mtxrun --tree="/home/sander/software/installations/ConTeXt/beta/tex" --direct --resolve mktexlsr resolvers | tds | changing from root '/home/sander/software/installations/ConTeXt/beta/tex' to '/home/sander/software/installations/ConTeXt/beta/tex' resolvers | tds | prepending '/home/sander/software/installations/ConTeXt/beta/tex/texmf-linux-64/bin' to PATH resolvers | tds | setting TEXMFCNF to '/home/sander/texmf/web2c;{/home/sander/software/installations/ConTeXt/beta/tex/texmf-linux-64/bin/,/home/sander/software/installations/ConTeXt/beta/tex/texmf-linux-64/bin/share/texmf-local/web2c,/home/sander/software/installations/ConTeXt/beta/tex/texmf-linux-64/bin/share/texmf/web2c,/home/sander/software/installations/ConTeXt/beta/tex/texmf-linux-64/bin/texmf-local/web2c,/home/sander/software/installations/ConTeXt/beta/tex/texmf-linux-64/bin/texmf/web2c,/home/sander/software/installations/ConTeXt/beta/tex/texmf-linux-64/,/home/sander/software/installations/ConTeXt/beta/tex/texmf-linux-64/share/texmf-local/web2c,/home/sander/software/installations/ConTeXt/beta/tex/texmf-linux-64/share/texmf/web2c,/home/sander/software/installations/ConTeXt/beta/tex/texmf-linux-64/texmf-local/web2c,/home/sander/software/installations/ConTeXt/beta/tex/texmf-linux-64/texmf/web2c,/home/sander/software/installations/ConTeXt/beta/tex/../texmf-local/we! b2c,/hom e/sander/software/installations/ConTeXt/beta/tex/,/home/sander/software/installations/ConTeXt/beta/tex/share/texmf-local/web2c,/home/sander/software/installations/ConTeXt/beta/tex/share/texmf/web2c,/home/sander/software/installations/ConTeXt/beta/tex/texmf-local/web2c,/home/sander/software/installations/ConTeXt/beta/tex/texmf/web2c}' resolvers | tds | mtxrun | forcing cache reload resolvers | resolving | configuration files already identified resolvers | resolving | loading configuration file '/home/sander/software/installations/ConTeXt/beta/tex/texmf/web2c/texmfcnf.lua' resolvers | resolving | resolvers | resolving | locating list of '/home/sander/software//installations//ConTeXt/tex/texmf' (runtime) (tree:home/sander/software//installations//ConTeXt/tex/texmf) resolvers | methods | resolver: method=locators, how=uri, scheme=tree, argument=tree:home/sander/software//installations//ConTeXt/tex/texmf resolvers | trees | locator '/home/sander/software//installations//ConTeXt/tex/texmf' not found can you check that? is there such a tree? resolvers | resolving | resolvers | resolving | mtxrun | the resolver databases are not present or outdated mtxrun | mtxrun | executing: mktexlsr mtxrun | mtxrun |mktexlsr: : not a directory, skipping. => (HANG HERE), CTRL-C and after a while a similar hang, up to three times. The connection to the Internet is okay here, I tried many things to resolve this. When I tried the beta earlier, it did compile but there were some complaints about modules not being compiled due to a Lua problem (??? my vague remembrance). I also have these messages: "mtxrun | unknown script 'context.lua' or 'mtx-context.lua'" that looks suspicious i.e. the file database is not created My Lua version is 5.
Re: [NTG-context] Index and Publications suddenly remain empty??? [not solved yet]
II cannot test that, sadly. The setup for the ConTeXt beta seems to hang on this PC. mtx-update | run, rsync -rpztlv contextgarden.net::'minimals/current/misc/setuptex/' '/home/sander/software/installations/ConTeXt/beta/tex/.'receiving incremental file list sent 30 bytes received 99 bytes 258.00 bytes/sec total size is 8535 speedup is 66.16 mtx-update | updating mtxrun for linux-64: rsync -tgo --chmod=a+x '/home/sander/software/installations/ConTeXt/beta/tex/texmf-context/scripts/context/lua/mtxrun.lua' '/home/sander/software/installations/ConTeXt/beta/tex/texmf-linux-64/bin/mtxrun' mtx-update | run, rsync -tgo --chmod=a+x '/home/sander/software/installations/ConTeXt/beta/tex/texmf-context/scripts/context/lua/mtxrun.lua' '/home/sander/software/installations/ConTeXt/beta/tex/texmf-linux-64/bin/mtxrun' resolvers | tds | changing from root '/home/sander/software/installations/ConTeXt' to '/home/sander/software/installations/ConTeXt/beta/tex' resolvers | tds | prepending '/home/sander/software/installations/ConTeXt/beta/tex/texmf-linux-64/bin' to PATH resolvers | tds | setting TEXMFCNF to 'home:texmf/web2c;{selfautoloc:,selfautoloc:/share/texmf-local/web2c,selfautoloc:/share/texmf/web2c,selfautoloc:/texmf-local/web2c,selfautoloc:/texmf/web2c,selfautodir:,selfautodir:/share/texmf-local/web2c,selfautodir:/share/texmf/web2c,selfautodir:/texmf-local/web2c,selfautodir:/texmf/web2c,selfautoparent:/../texmf-local/web2c,selfautoparent:,selfautoparent:/share/texmf-local/web2c,selfautoparent:/share/texmf/web2c,selfautoparent:/texmf-local/web2c,selfautoparent:/texmf/web2c}' resolvers | tds | mtx-update | run, mtxrun --tree="/home/sander/software/installations/ConTeXt/beta/tex" --direct --resolve mktexlsr resolvers | tds | changing from root '/home/sander/software/installations/ConTeXt/beta/tex' to '/home/sander/software/installations/ConTeXt/beta/tex' resolvers | tds | prepending '/home/sander/software/installations/ConTeXt/beta/tex/texmf-linux-64/bin' to PATH resolvers | tds | setting TEXMFCNF to '/home/sander/texmf/web2c;{/home/sander/software/installations/ConTeXt/beta/tex/texmf-linux-64/bin/,/home/sander/software/installations/ConTeXt/beta/tex/texmf-linux-64/bin/share/texmf-local/web2c,/home/sander/software/installations/ConTeXt/beta/tex/texmf-linux-64/bin/share/texmf/web2c,/home/sander/software/installations/ConTeXt/beta/tex/texmf-linux-64/bin/texmf-local/web2c,/home/sander/software/installations/ConTeXt/beta/tex/texmf-linux-64/bin/texmf/web2c,/home/sander/software/installations/ConTeXt/beta/tex/texmf-linux-64/,/home/sander/software/installations/ConTeXt/beta/tex/texmf-linux-64/share/texmf-local/web2c,/home/sander/software/installations/ConTeXt/beta/tex/texmf-linux-64/share/texmf/web2c,/home/sander/software/installations/ConTeXt/beta/tex/texmf-linux-64/texmf-local/web2c,/home/sander/software/installations/ConTeXt/beta/tex/texmf-linux-64/texmf/web2c,/home/sander/software/installations/ConTeXt/beta/tex/../texmf-local/web2c,/home/sander/software/installations/ConTeXt/beta/tex/,/home/sander/software/installations/ConTeXt/beta/tex/share/texmf-local/web2c,/home/sander/software/installations/ConTeXt/beta/tex/share/texmf/web2c,/home/sander/software/installations/ConTeXt/beta/tex/texmf-local/web2c,/home/sander/software/installations/ConTeXt/beta/tex/texmf/web2c}' resolvers | tds | mtxrun | forcing cache reload resolvers | resolving | configuration files already identified resolvers | resolving | loading configuration file '/home/sander/software/installations/ConTeXt/beta/tex/texmf/web2c/texmfcnf.lua' resolvers | resolving | resolvers | resolving | locating list of '/home/sander/software//installations//ConTeXt/tex/texmf' (runtime) (tree:home/sander/software//installations//ConTeXt/tex/texmf) resolvers | methods | resolver: method=locators, how=uri, scheme=tree, argument=tree:home/sander/software//installations//ConTeXt/tex/texmf resolvers | trees | locator '/home/sander/software//installations//ConTeXt/tex/texmf' not found resolvers | resolving | resolvers | resolving | mtxrun | the resolver databases are not present or outdated mtxrun | mtxrun | executing: mktexlsr mtxrun | mtxrun |mktexlsr: : not a directory, skipping. => (HANG HERE), CTRL-C and after a while a similar hang, up to three times. The connection to the Internet is okay here, I tried many things to resolve this. When I tried the beta earlier, it did compile but there were some complaints about modules not being compiled due to a Lua problem (??? my vague remembrance). I also have these messages: "mtxrun | unknown script 'context.lua' or 'mtx-context.lua'" My Lua version is 5.1.5-2 I appreciate all possible help to get up and running again. On Sun, 14 Oct 2012 15:52:10 +0200 Wolfgang Schuster wrote: > > Am 14.10.2012 um 14:1
Re: [NTG-context] Index and Publications suddenly remain empty??? [not solved yet]
Am 14.10.2012 um 14:10 schrieb Sander Maijers : > Thank you Wolfgang. I changed the algorithmic code and I from now on compile > the product instead of the project (containing that one product). However, > the ToC, Index and Publications have not reappeared yet. I compiled your document (after commenting your \input lines in the source) with the last beta and I get all registers. > What is the context of your comment about the \placeontopofeachother bug? Is > that bug in the current stable or beta version or both? As I understand it, I > am still using the same stable version that I was using in May that, despite > the two issues that you pointed out, was compiling satisfactorily. I don’t know if the bug was also in the stable but it’s in the beta version I use. You can use the following example to check for the bug: \starttext \placeontopofeachother{A}{B} \stoptext BTW: You can remove the \par commands in your document because a empty line between paragraphs is enough because paragraph 1 paragraph 2 is the same as paragraph 1 \par paragraph 2 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Index and Publications suddenly remain empty??? [not solved yet]
On Sun, 14 Oct 2012 09:13:58 +0200 Wolfgang Schuster wrote: > > Am 13.10.2012 um 22:42 schrieb Sander Maijers > : > > > Dear ConTeXt users, > > > > I am bothered by this seemingly simple problem that suddenly > > occurred these days, while the same TeX code produced the Index and > > Publications chapters properly when compiling the document last May. > > > > I use the latest stable version (from May 2012) of ConTeXt on a > > recent Linux with TeXLive 2012 and bibtex 0.99d. The PATH is > > correct. > > > > The bad PDF: > > https://bitbucket.org/SMaijers/bachelor_project/src/df9027aa04ea96e846173fe35b2a2715a742ad40/bachelors_thesis.new/bachelors_thesis.pdf?at=default > > > > > > The environment: > > https://bitbucket.org/SMaijers/bachelor_project/src/df9027aa04ea96e846173fe35b2a2715a742ad40/bachelors_thesis.new/bachelors_thesis_environment.tex?at=default > > > > > > The text source files for the Publications and Index chapters: > > https://bitbucket.org/SMaijers/bachelor_project/src/df9027aa04ea96e846173fe35b2a2715a742ad40/bachelors_thesis.new/references.tex?at=default > > https://bitbucket.org/SMaijers/bachelor_project/src/df9027aa04ea96e846173fe35b2a2715a742ad40/bachelors_thesis.new/index.tex?at=default > > > > All files: > > https://bitbucket.org/SMaijers/bachelor_project/src/df9027aa04ea96e846173fe35b2a2715a742ad40/bachelors_thesis.new?at=default > > > > > > I have been trying to solve this this evening and finally I decided > > to move from ConTeXt stable to the beta version, but now I cannot > > get *any* PDF output anymore ... > > > > Can anyone spot problems with the TeX source code that prevent the > > document compilation, with whichever version of ConTexT??? > > It’s a bug/typo in \placeontopofeachother but I sent a fix to the dev > list. > > BTW: Compile the product file of your document, not the project. Thank you Wolfgang. I changed the algorithmic code and I from now on compile the product instead of the project (containing that one product). However, the ToC, Index and Publications have not reappeared yet. What is the context of your comment about the \placeontopofeachother bug? Is that bug in the current stable or beta version or both? As I understand it, I am still using the same stable version that I was using in May that, despite the two issues that you pointed out, was compiling satisfactorily. I hope the problem can be solved soon. > 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://tex.aanhet.net archive : > http://foundry.supelec.fr/projects/contextrev/ wiki : > http://contextgarden.net > ___ ___ 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 ___