Re: [NTG-context] Overlapping \starthanging \stophanging with side captions
Wolfgang, thank you very much for your answer about placing text. Using: \startplacefigure[location=force,title={First dummy caption}] \inmargin{First margin dummy} \externalfigure[dummy][width=\textwidth] \stopplacefigure The text in the \inmargin section appears at the bottom of the figure. This works for about one line of text. For some of the figures I'm trying to put 3-4 lines in a wide margin and would like the text to appear at the top or the middle of the figure. I asked a question over at Stackexchange on this: http://tex.stackexchange.com/questions/107856/placing-text-in-the-margin-next-to-a-figure-using-context Using \starthanging \stophanging put the text in the correct place but then the figures ran into each other. regards Pete ___ 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] Is the lastest beta broken?
On 4/14/2013 7:05 AM, Tim Li wrote: Today, I updated my ConTeXt standalone but after that, if I ran `context' it would give these message: d:\context context mtxrun | forcing cache reload resolvers | resolving | looking for 'texmfcnf.lua' on given path 'C:/Users/peng/texmf/web2c' from specification 'home:texmf/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path 'D:/context/tex/texmf-mswin/bin/' from specification 'selfautoloc:' resolvers | resolving | looking for 'texmfcnf.lua' on weird path 'D:/context/tex/texmf-mswin/bin/share/texmf-local/web2c' from specification 'selfautoloc:/share/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path 'D:/context/tex/texmf-mswin/bin/share/texmf-dist/web2c' from specification 'selfautoloc:/share/texmf-dist/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path 'D:/context/tex/texmf-mswin/bin/texmf-local/web2c' from specification 'selfautoloc:/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path 'D:/context/tex/texmf-mswin/bin/texmf-dist/web2c' from specification 'selfautoloc:/texmf-dist/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path 'D:/context/tex/texmf-mswin/' from specification 'selfautodir:' resolvers | resolving | looking for 'texmfcnf.lua' on weird path 'D:/context/tex/texmf-mswin/share/texmf-local/web2c' from specification 'selfautodir:/share/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path 'D:/context/tex/texmf-mswin/share/texmf-dist/web2c' from specification 'selfautodir:/share/texmf-dist/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path 'D:/context/tex/texmf-mswin/texmf-local/web2c' from specification 'selfautodir:/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path 'D:/context/tex/texmf-mswin/texmf-dist/web2c' from specification 'selfautodir:/texmf-dist/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path 'D:/context/tex/../texmf-local/web2c' from specification 'selfautoparent:/../texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path 'D:/context/tex/' from specification 'selfautoparent:' resolvers | resolving | looking for 'texmfcnf.lua' on given path 'D:/context/tex/share/texmf-local/web2c' from specification 'selfautoparent:/share/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path 'D:/context/tex/share/texmf-dist/web2c' from specification 'selfautoparent:/share/texmf-dist/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path 'D:/context/tex/texmf-local/web2c' from specification 'selfautoparent:/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path 'D:/context/tex/texmf-dist/web2c' from specification 'selfautoparent:/texmf-dist/web2c' resolvers | resolving | resolvers | resolving | warning: no lua configuration files found resolvers | resolving | no texmf paths are defined (using TEXMF) resolvers | resolving | mtxrun | the resolver databases are not present or outdated resolvers | resolving | using suffix based filetype 'lua' resolvers | resolving | remembering file 'mtx-context.lua' resolvers | resolving | using suffix based filetype 'lua' resolvers | resolving | remembering file 'mtx-contexts.lua' resolvers | resolving | remembered file 'mtx-context.lua' resolvers | resolving | using suffix based filetype 'lua' resolvers | resolving | remembering file 'mtx-t-context.lua' resolvers | resolving | using suffix based filetype 'lua' resolvers | resolving | remembering file 'mtx-t-contexts.lua' resolvers | resolving | remembered file 'mtx-t-context.lua' resolvers | resolving | using suffix based filetype 'lua' resolvers | resolving | remembering file 'context.lua' mtxrun | unknown script 'context.lua' or 'mtx-context.lua' d:\ Is this suggesting that the new beta is broken? If not, how can I solve this problem? I like ConTeXt very much! you have to make sure you have the latest ... there has been a change in texlive: no texmf but texmf-dist and the engines have the paths mentioned above hardcoded (just ignore the weird paths) .. now, as the garden but also existing installations use texmf this breaks virtually all installations: the hardcoded paths in the engines have no 'texmf' however, the good news is that mojca made sure that texmf is back in the low leven hard coded engine spec but it may take a day or so for binaries that were made without it to get updated (in context we could use a different more compact spec but then users who have used the weird paths in the past will have the problem that their adapted cnf files are not found) Hans
[NTG-context] Is the lastest beta broken?
Today, I updated my ConTeXt standalone but after that, if I ran `context' it would give these message: d:\context contextmtxrun | forcing cache reload resolvers | resolving | looking for 'texmfcnf.lua' on given path 'C:/Users/peng/texmf/web2c' from specification 'home:texmf/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path 'D:/context/tex/texmf-mswin/bin/' from specification 'selfautoloc:' resolvers | resolving | looking for 'texmfcnf.lua' on weird path 'D:/context/tex/texmf-mswin/bin/share/texmf-local/web2c' from specification 'selfautoloc:/share/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path 'D:/context/tex/texmf-mswin/bin/share/texmf-dist/web2c' from specification 'selfautoloc:/share/texmf-dist/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path 'D:/context/tex/texmf-mswin/bin/texmf-local/web2c' from specification 'selfautoloc:/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path 'D:/context/tex/texmf-mswin/bin/texmf-dist/web2c' from specification 'selfautoloc:/texmf-dist/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path 'D:/context/tex/texmf-mswin/' from specification 'selfautodir:' resolvers | resolving | looking for 'texmfcnf.lua' on weird path 'D:/context/tex/texmf-mswin/share/texmf-local/web2c' from specification 'selfautodir:/share/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path 'D:/context/tex/texmf-mswin/share/texmf-dist/web2c' from specification 'selfautodir:/share/texmf-dist/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path 'D:/context/tex/texmf-mswin/texmf-local/web2c' from specification 'selfautodir:/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path 'D:/context/tex/texmf-mswin/texmf-dist/web2c' from specification 'selfautodir:/texmf-dist/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path 'D:/context/tex/../texmf-local/web2c' from specification 'selfautoparent:/../texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on weird path 'D:/context/tex/' from specification 'selfautoparent:' resolvers | resolving | looking for 'texmfcnf.lua' on given path 'D:/context/tex/share/texmf-local/web2c' from specification 'selfautoparent:/share/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path 'D:/context/tex/share/texmf-dist/web2c' from specification 'selfautoparent:/share/texmf-dist/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path 'D:/context/tex/texmf-local/web2c' from specification 'selfautoparent:/texmf-local/web2c' resolvers | resolving | looking for 'texmfcnf.lua' on given path 'D:/context/tex/texmf-dist/web2c' from specification 'selfautoparent:/texmf-dist/web2c' resolvers | resolving | resolvers | resolving | warning: no lua configuration files found resolvers | resolving | no texmf paths are defined (using TEXMF) resolvers | resolving | mtxrun | the resolver databases are not present or outdated resolvers | resolving | using suffix based filetype 'lua' resolvers | resolving | remembering file 'mtx-context.lua' resolvers | resolving | using suffix based filetype 'lua' resolvers | resolving | remembering file 'mtx-contexts.lua' resolvers | resolving | remembered file 'mtx-context.lua' resolvers | resolving | using suffix based filetype 'lua' resolvers | resolving | remembering file 'mtx-t-context.lua' resolvers | resolving | using suffix based filetype 'lua' resolvers | resolving | remembering file 'mtx-t-contexts.lua' resolvers | resolving | remembered file 'mtx-t-context.lua' resolvers | resolving | using suffix based filetype 'lua' resolvers | resolving | remembering file 'context.lua' mtxrun | unknown script 'context.lua' or 'mtx-context.lua' d:\ Is this suggesting that the new beta is broken? If not, how can I solve this problem? I like ConTeXt very much! ___ 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] placefigure
Hi, while fixing some buglets that showed up in the test suite I ran into: \starttext test \placefigure[somewhere:alpha][whatever]{alpha}{} test \placefigure[somewhere:beta] [whatever]{beta}{} test \placefigure[somewhere:gamma][whatever]{gamma}{} test \placefigure[somewhere:delta][whatever]{delta}{} test \placefigure{}{} in \in{figure}[whatever] bla bla \placenamedfloat[figure][*l*] \placenamedfloat[figure][gamma] \placenamedfloat[figure][beta] \stoptext maybe worth wikifying (bug will be solved in beta) - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] placefigure
On 21 March 2013 17:26, Hans Hagen pra...@wxs.nl wrote: while fixing some buglets that showed up in the test suite I ran into \placenamedfloat maybe worth wikifying (bug will be solved in beta) Wikified: http://wiki.contextgarden.net/Command/placenamedfloat Below is what I wrote; is that correct? Groetjes, Sietse == Description == If a float is placed (with \placefloat) location argument somewhere:name, it is not placed immediately. Instead, it may be manually placed elsewhere with \placenamedfloat. == Example == This example declares four figures to be placed elsewhere: alpha, beta, gamma, and delta. The first \placenamedfloat call places all figures with l in their name (i.e. alpha and delta; the next two calls place gamma and beta, respectively. ___ 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] placefigure
On 3/21/2013 11:04 PM, Sietse Brouwer wrote: On 21 March 2013 17:26, Hans Hagen pra...@wxs.nl wrote: while fixing some buglets that showed up in the test suite I ran into \placenamedfloat maybe worth wikifying (bug will be solved in beta) Wikified: http://wiki.contextgarden.net/Command/placenamedfloat Below is what I wrote; is that correct? indeed, thanks, Hans -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] date handling maltreated?
Trying to do some date and time processing myself, I ran into problems caused by ConTeXt makeing it incompatibel with the original plain TeX itself! In the TeX-book, Appendix B one finds citation (Some parameters are set by TeX itself as it runs, so it is inappropriate to initialize them: \time, \day, \month, and year are established at the beginning of a job; .. /citation Now the results in ConTeXT with a minimal example, put into the log for easier copying into the mail: \starttext \writestatus{}{\meaning\date - \date} \writestatus{}{\meaning\day - \the\day} \writestatus{}{\meaning\month - \month WHY NOT monthname?} \writestatus{}{\meaning\year - \the\year} \writestatus{}{\meaning\time - \the\time} \stoptext Result: \time- \time \protected macro:-\dodoubleempty \syst_converters_date - \date \day- 20 macro:#1-\ctxcommand {monthname(#1)}- \labeltext {unknown}RROR \year- 2013 \time- 982 I strongly ask that ConTeXt abstains from changing the definition of \month and reverts to the exact result as given by plain TeX, i.e. a number in the range [1-12]. Because the change makes it impossible to do calculations on the month. Hans van der Meer ___ 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] date handling maltreated?
Sorry, not yes finished, accidently sent away too soon. Hans van der Meer On 20 mrt. 2013, at 16:26, H. van der Meer h.vanderm...@uva.nl wrote: Trying to do some date and time processing myself, I ran into problems caused by ConTeXt makeing it incompatibel with the original plain TeX itself! In the TeX-book, Appendix B one finds citation ___ 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] date handling maltreated?
Trying to do some date and time processing myself, I ran into problems caused by ConTeXt makeing it incompatibel with the original plain TeX itself! In the TeX-book, Appendix B one finds citation (Some parameters are set by TeX itself as it runs, so it is inappropriate to initialize them: \time, \day, \month, and year are established at the beginning of a job; .. /citation Now the results in ConTeXT with a minimal example, put into the log for easier copying into the mail: \starttext \writestatus{}{\meaning\date - \date} \writestatus{}{\meaning\day - \the\day} \writestatus{}{\meaning\month - \month WHY NOT monthname?} \writestatus{}{\meaning\year - \the\year} \writestatus{}{\meaning\time - \the\time} \stoptext Result: \protected macro:-\dodoubleempty \syst_converters_date - \date \day- 20 macro:#1-\ctxcommand {monthname(#1)}- \labeltext {unknown}HY NOT monthname? \year- 2013 \time- 989 Plain TeX here gives: \message{\meaning\day - \the\day} \message{\meaning\month - \the\month} \message{\meaning\year - \the\year} \message{\meaning\time - \the\time} \end Result: (./plaindates.tex \day- 20 \month- 3 \year- 2013 \time- 991 ) I strongly ask that ConTeXt abstains from changing the definition of \month and reverts to the exact result as given by plain TeX, i.e. a number in the range [1-12]. Because the change in ConTeXt makes it impossible to do calculations on the month. Furthermore I encountered problems with defining expanded macros for currentdate and currenttime. This seems impossible to accomplish, at least in a simple manner. See the results from these to examples: \edef\thedate{\currentdate}\writestatus{}{\meaning\thedate - \thedate} \edef\thetime{\currenttime}\writestatus{}{\meaning\thetime - \thetime} giving: macro:-\currentdate - \currentdate macro:-\currenttime - \currenttime This is most unhappy, because one really should be able to put the expansions of these macros somewhere. I hope the next beta will have solutions for these problems. Hans van der Meer ___ 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] date handling maltreated?
Am 20.03.2013 um 16:40 schrieb H. van der Meer h.vanderm...@uva.nl: Trying to do some date and time processing myself, I ran into problems caused by ConTeXt makeing it incompatibel with the original plain TeX itself! In the TeX-book, Appendix B one finds citation (Some parameters are set by TeX itself as it runs, so it is inappropriate to initialize them: \time, \day, \month, and year are established at the beginning of a job; .. /citation Now the results in ConTeXT with a minimal example, put into the log for easier copying into the mail: \starttext \writestatus{}{\meaning\date - \date} \writestatus{}{\meaning\day - \the\day} \writestatus{}{\meaning\month - \month WHY NOT monthname?} \writestatus{}{\meaning\year - \the\year} \writestatus{}{\meaning\time - \the\time} \stoptext Result: \protected macro:-\dodoubleempty \syst_converters_date - \date \day- 20 macro:#1-\ctxcommand {monthname(#1)}- \labeltext {unknown}HY NOT monthname? \year- 2013 \time- 989 Plain TeX here gives: \message{\meaning\day - \the\day} \message{\meaning\month - \the\month} \message{\meaning\year - \the\year} \message{\meaning\time - \the\time} \end Result: (./plaindates.tex \day- 20 \month- 3 \year- 2013 \time- 991 ) I strongly ask that ConTeXt abstains from changing the definition of \month and reverts to the exact result as given by plain TeX, i.e. a number in the range [1-12]. Because the change in ConTeXt makes it impossible to do calculations on the month. Furthermore I encountered problems with defining expanded macros for currentdate and currenttime. This seems impossible to accomplish, at least in a simple manner. See the results from these to examples: \edef\thedate{\currentdate}\writestatus{}{\meaning\thedate - \thedate} \edef\thetime{\currenttime}\writestatus{}{\meaning\thetime - \thetime} giving: macro:-\currentdate - \currentdate macro:-\currenttime - \currenttime This is most unhappy, because one really should be able to put the expansions of these macros somewhere. I hope the next beta will have solutions for these problems. TeX primitives are available under \normal… 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] [***SPAM***] Some guidance please to get Asian Character
Wolfgang, thanks so much for your resonse. It's content led to me to a solution, both the demonstration code and importantly the note about using MKIV. Since texexec is the only thing mentioned in the ConTEXt the manual, and in other places I've read that MKIV is the latest, I wrongly assumed that texexec was running MKIV. When trying to compile the source I keep seeing mkii comments in the output and then read up and found out that texexec is for mkii and context is for mkiv. I was also under the impression that texexec was a supserset of context and was a script that ran context, since it mentioned two ways to run contxt and that texexec script handled mutliple passes etc.. After learning I retried the example code and it now works, which is very good. Thank You. Wolfgang Schuster wolfgang.schus...@gmail.com wrote: Am 11.03.2013 um 14:22 schrieb hwit...@gmail.com: I am trying to get Japanese character text in a document, but I'm having problems. I am invoking context like this: texexec --xtx --pdf test-jp.tex Below is the context macro source file and below that the compilation output from ConTeXt % % Simple test file. % \enableregime[utf-8] \mainlanguage[ja] \usemodule[japanese] \usemodule[simplefonts] \starttext Hello, World! 世界、今日は! \stoptext I suggest to use MkIV instead of MkII because it makes it easier to select a font. \mainlanguage[ja] \usemodule[simplefonts] \setmainfont[Meiryo] % replace Meiryo with a font available on your system \setscript[nihongo] \starttext Hello, World! 世界、今日は! \stoptext 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] Trouble with \placefloat in recent versions of the standalone
On 3/6/2013 8:51 AM, Robert Blackstone wrote: On 5 Mar 2013, at 19:18 , philipp.ges...@alumni.uni-heidelberg.de mailto:philipp.ges...@alumni.uni-heidelberg.de wrote: as you got no reply from the others, here?s what I can say: 1. Can you provide a complete, minimal non-working example that relies only on the images in tex/context/sample/* ? 2. Maybe your Luatex binary is not in sync with Context. The recently included Lua 5.2 is more rigorous with escape sequences than its predecessor: Hi Philipp, Thanks for your reply. I have as yet not succeeded in making a non-working minimal example. So far they all ran smoothly with each of my whole collection of minimals, including the latest (= yesterday's) beta. So I will have to look in some of the auxiliary files, setups etc. for the cause of my trouble. The fact remains that the present ConTeXt mkiv is different from that of november and before in a way that is crucial for my project. if you see something \s or \x or whatever show up in some lua error you probably pass a \macroname in a string argument, so if you can figure out where that happens Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Trouble with \placefloat in recent versions of the standalone
On 5 Mar 2013, at 19:18 , philipp.ges...@alumni.uni-heidelberg.de wrote: as you got no reply from the others, here?s what I can say: 1. Can you provide a complete, minimal non-working example that relies only on the images in tex/context/sample/* ? 2. Maybe your Luatex binary is not in sync with Context. The recently included Lua 5.2 is more rigorous with escape sequences than its predecessor: Hi Philipp, Thanks for your reply. I have as yet not succeeded in making a non-working minimal example. So far they all ran smoothly with each of my whole collection of minimals, including the latest (= yesterday's) beta. So I will have to look in some of the auxiliary files, setups etc. for the cause of my trouble. The fact remains that the present ConTeXt mkiv is different from that of november and before in a way that is crucial for my project. Thanks again. Best regards, Robert Blackstone ___ 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] A trouble with setupbodyfontenvironment
Arrgh: more problems. I've downloaded and installed context standalone (version 2013.02.26 00:17). Now when I run context I get an error (for the first time ever) when it reaches a chapter heading: l.1 ...[ch:this]{My first chapter} ? h The lua interpreter ran into a problem, so the remainder of this lua chunk will be ignored. I have the following setups: \def\chap#1#2{\vbox{\darkgreen Chapter #1\crlf\framed[frame=off,topframe=on]{#2}}} \def\uchap#1#2{#2} \setuphead[chapter][command=\chap,style=bfd,after={\blank[1cm]},textcolor=darkgreen,numbercolor=darkgreen] None of this has ever given me any problems before. I also experimented by removing the entire context tree and reinstalling the stable version - only to get the same error. Any ideas? Thanks, Alasdair On Fri, Mar 1, 2013 at 11:01 AM, Aditya Mahajan adit...@umich.edu wrote: On Fri, 1 Mar 2013, Alasdair McAndrew wrote: Actually, maybe my version is a bit old: context --version returns 2011.05.18 18:04. I'll try to update it. (I'm using Ubuntu 12.04, but when I tried to update using apt-get the system told me that I had the latest version). In the meantime I'll try your alternative. It is best to install ConTeXt standalone in a parallel directory. http://wiki.contextgarden.net/**ConTeXt_Standalonehttp://wiki.contextgarden.net/ConTeXt_Standalone @Mojca: What's with the name of the distribution. The wiki has a mix of minimals, standalone, and suite. Can we converge on one name for the distribution. Aditya __**__** ___ 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 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/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 ___
Re: [NTG-context] A trouble with setupbodyfontenvironment
On 2013–03–01 Alasdair McAndrew wrote: Arrgh: more problems. I've downloaded and installed context standalone (version 2013.02.26 00:17). Now when I run context I get an error (for the first time ever) when it reaches a chapter heading: l.1 ...[ch:this]{My first chapter} ? h The lua interpreter ran into a problem, so the remainder of this lua chunk will be ignored. I have the following setups: \def\chap#1#2{\vbox{\darkgreen Chapter #1\crlf\framed[frame=off,topframe=on]{#2}}} \def\uchap#1#2{#2} \setuphead[chapter][command=\chap,style=bfd,after={\blank[1cm]},textcolor=darkgreen,numbercolor=darkgreen] None of this has ever given me any problems before. It's easier to tell with a minimal example. But here's a guess. Try \unexpanded\def#1#2\chap{…} or \define[2]\chap{…} Marco signature.asc Description: Digital signature ___ 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] A trouble with setupbodyfontenvironment
I'll try to sort out a minimal example; unfortunately neither of those suggestions worked. In the meantime, here's some more info from the log file: - (chapter.tex ! LuaTeX error .../context/tex/texmf-context/tex/context/base/strc-doc.lua:156: attempt to index local 'metadata' (a number value) stack traceback: .../context/tex/texmf-context/tex/context/base/strc-doc.lua:156: in function 'load' .../context/tex/texmf-context/tex/context/base/strc-doc.lua:167: in function '__index' .../context/tex/texmf-context/tex/context/base/strc-doc.lua:143: in function 'save' .../context/tex/texmf-context/tex/context/base/strc-doc.lua:371: in function 'somelevel' [string \directlua ]:1: in main chunk. system tex error on line 1 in file chapter.tex: LuaTeX error ... 1 \chapter[ch:this]{My first chapter} - It seems to be a mkiv issue; when I attempted to typeset the file(s) with texexec (mkii), I had no problem. Thanks again, Alasdair On Fri, Mar 1, 2013 at 8:54 PM, Marco Patzer home...@lavabit.com wrote: On 2013–03–01 Alasdair McAndrew wrote: Arrgh: more problems. I've downloaded and installed context standalone (version 2013.02.26 00:17). Now when I run context I get an error (for the first time ever) when it reaches a chapter heading: l.1 ...[ch:this]{My first chapter} ? h The lua interpreter ran into a problem, so the remainder of this lua chunk will be ignored. I have the following setups: \def\chap#1#2{\vbox{\darkgreen Chapter #1\crlf\framed[frame=off,topframe=on]{#2}}} \def\uchap#1#2{#2} \setuphead[chapter][command=\chap,style=bfd,after={\blank[1cm]},textcolor=darkgreen,numbercolor=darkgreen] None of this has ever given me any problems before. It's easier to tell with a minimal example. But here's a guess. Try \unexpanded\def#1#2\chap{…} or \define[2]\chap{…} 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 ___ -- Blog: http://amca01.wordpress.com Web: http://sites.google.com/site/amca01/ Facebook: http://www.facebook.com/alasdair.mcandrew ___ 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] Apparent error in wiki example
I copied verbatim the example found here: http://wiki.contextgarden.net/Simple_Typescript_Example This line caused an error: \setupencoding[default=uc] When I commented it out the doc ran fine. -- John Culleton Wexford Press Free list of books for self-publishers: http://wexfordpress.net/shortlist.html PDF e-book: Create Book Covers with Scribus available at http://www.booklocker.com/books/4055.html ___ 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] Installing beta.
On 1/10/2013 3:03 AM, Mojca Miklavec wrote: On Thu, Jan 10, 2013 at 2:39 AM, Andreas Mang wrote: Hi André Caldas, I suppose this helps: http://wiki.contextgarden.net/ConTeXt_Standalone fetch first-setup.sh, put it to a folder of your liking (e.g. /usr/local/contextBETA) and do something like sh ./first-setup.sh --context=current Actually --context=beta (which is default) will get you the beta version. Currently the current version might have problems due to LuaTeX 0.74 being incompatible with the older (= current) version of ConTeXt. it depends, on my machine it ran ok with 0.72 (which was used for the performance tests) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Cannot Install Win Minimals: rsync.exe
Hello, I have just encountered a problem with the Windows minimals. I downloaded the current version today and ran first-setup.bat. The installation failed and reported that cygiconv-2.dll was missing and that rsync.exe could not work without it. So I went to the official cygwin site and got the file myself. When I ran first-setup.bat again, the program reported that something was missing from cygwin1.dll and that rsync.exe still could not run. Has something changed in the minimal installation package in the last few days? This has never happened before. Thank you. ___ 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] Cannot Install Win Minimals: rsync.exe
On Thu, Dec 13, 2012 at 12:38 AM, DB wrote: Hello, I have just encountered a problem with the Windows minimals. I downloaded the current version today and ran first-setup.bat. The installation failed and reported that cygiconv-2.dll was missing ... Has something changed in the minimal installation package in the last few days? This has never happened before. I rewrote the scripts and switched to a different server for the distribution on 30th November. The reported problem must have been a slight oversight that nobody noticed so far. I hope that it is fixed now, but I didn't test if it works. Mojca ___ 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] ConTeXt: Page numbering in words for spanish
I Sietse, I tried the procedure you described without success. I'm using ConTeXt 2011 (I know, it's not the latest and etc, but I got to work with this version because compatibility with my work and I have some troubles with projects). I pasted the code you wrote at the end of core-con.lua and ran 'context --make cont-en'. But I got the following: === Begining of the output === + /usr/share/texmf-dist/tex/context/base/core-con.lua ! LuaTeX error /usr/share/texmf-dist/tex/context/base/core-con.lua:924: attempt to index global 'verbose' (a nil value) stack traceback: /usr/share/texmf-dist/tex/context/base/core-con.lua:924: in main chunk /usr/share/texmf-dist/tex/context/base/luat-cod.lua:42: in function 'registercode' main ctx instance:1: in main chunk. system tex error on line 16 in file /usr/share/texmf- dist/tex/context/base/context.mkiv: LuaTeX error ... 6 %D author=Hans Hagen, 7 %D date=\currentdate, 8 %D copyright={PRAGMA / Hans Hagen \ Ton Otten}] 9 %C 10 %C This module is part of the \CONTEXT\ macro||package and is 11 %C therefore copyrighted by \PRAGMA. See mreadme.pdf for 12 %C details. 13 14 \catcode`\{=1 \catcode`\}=2 \catcode`\#=6 15 16 %D From the next string (which is set by the script that assembles the 17 %D distribution) later on we will calculate a number that can be used 18 %D by use modules to identify the feature level. Starting with version 19 %D 2004.8.30 the low level interface is english. Watch out and adapt 20 %D your styles an modules. 21 22 \edef\contextformat {\jobname} 23 \edef\contextversion{2011.05.18 18:04} 24 25 %D For those who want to use this: 26 \registerctxluafile ...ua.registercode(#1,#2)} l.16 \registerctxluafile{core-con}{1.001} ? === End of the output === Any clue about this? Thanks! PD.: Here is the correct translation of the 'words' array (and as a gift for your effort on this, a translation for 'days' and 'months' arrays): local words = { [0] = cero, [1] = uno, [2] = dos, [3] = tres, [4] = cuatro, [5] = cinco, [6] = seis, [7] = siete, [8] = ocho, [9] = nueve, [10] = diez, [11] = once, [12] = doce, [13] = trece, [14] = catorce, [15] = quince, [16] = sixteen, [17] = seventeen, [18] = eighteen, [19] = nineteen, [20] = veinte, [30] = treinta, [40] = cuarenta, [50] = cincuenta, [60] = sesenta, [70] = setenta, [80] = ochenta, [90] = noventa, [100] = cien, [1000] = mil, [1000^2] = millón, [1000^3] = mil millones, [1000^4] = billón, } local days = { -- not variables.sunday domingo, lunes, martes, miércoles, jueves, viernes, sábado, } local months = { -- not variables.januari enero, febrero, marzo, abril, mayo, junio, julio, agosto, septiembre, octubre, noviembre, diciembre, } On Mié 21 Nov 2012 12:25:03 pm Sietse Brouwer escribió: I worked up the code below, put it in core-con.lua, and recompiled ConTeXt with `context --make cont-en`. It gives the following output. Does it look correct? ___ 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] Suddenly can't run context
On 11/18/2012 07:53 PM, Aditya Mahajan wrote: 1. Run mtxrun --generate as normal user followed by context --make; otherwise: Won't run as me - same error messages. Ran as another normal user but it didn't do anything for me. Same running via sudo 2. Something is messed up in $HOME/texmf or $HOME/.texlive2012. Rename these directories to something different and try again. Aditya Done that several times -- no dice :-( -- Bill ___ 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] Suddenly can't run context
On Sun, 18 Nov 2012, Bill Meahan wrote: On 11/18/2012 07:53 PM, Aditya Mahajan wrote: 1. Run mtxrun --generate as normal user followed by context --make; otherwise: Won't run as me - same error messages. Ran as another normal user but it didn't do anything for me. Same running via sudo In general, it is a bad idea to run context tools using sudo. [1] 2. Something is messed up in $HOME/texmf or $HOME/.texlive2012. Rename these directories to something different and try again. Done that several times -- no dice Hmm... Are there any other tex related directories like $HOME/texmf-var or $HOME/texmf-cache? If so try moving those as well. Otherwise, it could be because of some shell variable that you set (that is not set for a new user). Try starting with a clean .shellrc. Aditya [1] Traditional TeX tools provide a -sys version,(e.g., fmtutil and fmtutil-sys, updmap and updman-sys, etc.) that is to be run by the system administrator. Context tools do not provide any such version, so `sudo mtxrun ...` is equivalent to creating files for the root user. As such, for a multi-user installation, you should avoid running sudo mtxrun etc. ___ 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] Defining a title font.
Am 02.10.2012 um 23:38 schrieb john Culleton j...@wexfordpress.com: Trying to use an OTF font just for the title page. Ran mkluatexfontdb Used the name as defined in ../otfl-names.lua Here is my actual code: -- \usemodule[simplefonts] \definefont [titlefont][MyriadPro-Bold at 50bp] \startstandardmakeup \titlefont \centerline{Scribus} \centerline {for} \centerline{Book Covers} \centerline{Free Publishing Software Series} \rm \stopstandardmakeup -- And here are the pertinent error messages: -- (title.tex resolversmodules loaded: 'simplefonts' (/home/safe/context/tex/texmf-modules/tex/context/third/simplefonts/t-simplefonts.mkiv loading ConTeXt User Module / Simplefonts + /home/safe/context/tex/texmf-modules/tex/context/third/simplefonts/t-simplefonts.lua) fontsdefining font with asked name 'MyriadPro-Bold' is not found using lookup 'file' fontsdefining unknown font MyriadPro-Bold, loading aborted fontsdefining unable to define MyriadPro-Bold as [titlefont--0] ) --- Clearly I don't know what I am doing. Can someone help? The command “ mkluatexfontdb” creates a font database for LaTeX (or more concrete the luaotfload package) but context has always used it’s own font database. To update the font database for context you have to call “mtxrun --script fonts --reload” but the script searches for system fonts only on windows and mac machines. When you’re working on a linux system you have to set the “OSFONTDIR” variable first. Read also this: http://wiki.contextgarden.net/Fonts_in_LuaTeX#Building_the_font_database 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 ___
[NTG-context] Defining a title font.
Trying to use an OTF font just for the title page. Ran mkluatexfontdb Used the name as defined in ../otfl-names.lua Here is my actual code: -- \usemodule[simplefonts] \definefont [titlefont][MyriadPro-Bold at 50bp] \startstandardmakeup \titlefont \centerline{Scribus} \centerline {for} \centerline{Book Covers} \centerline{Free Publishing Software Series} \rm \stopstandardmakeup -- And here are the pertinent error messages: -- (title.tex resolversmodules loaded: 'simplefonts' (/home/safe/context/tex/texmf-modules/tex/context/third/simplefonts/t-simplefonts.mkiv loading ConTeXt User Module / Simplefonts + /home/safe/context/tex/texmf-modules/tex/context/third/simplefonts/t-simplefonts.lua) fontsdefining font with asked name 'MyriadPro-Bold' is not found using lookup 'file' fontsdefining unknown font MyriadPro-Bold, loading aborted fontsdefining unable to define MyriadPro-Bold as [titlefont--0] ) --- Clearly I don't know what I am doing. Can someone help? -- John Culleton Wexford Press Free list of books for self-publishers: http://wexfordpress.net/shortlist.html PDF e-book: Create Book Covers with Scribus available at http://www.booklocker.com/books/4055.html ___ 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] xml cross-references in lua?
On 09/11/2012 08:18 PM, Hans Hagen wrote: If the number of bib items is not that large hashing does not save much. (In x-xfdf.mkiv you can see another example). \starttext \startbuffer[demo] document bibitem xml:id=hagen2011 authorHans Hagen/author titleThe Meaning of Life Is 42/title journalThe Rhetoric of Mathematics/journal date2011/date /bibitem bibitem xml:id=hagen2012 authorHans Hagen/author titleThe New Meaning is Now 43/title journalHigh Energy Metaphysics/journal date2012/date /bibitem text pThis has been successfully proven in papers by bib ref=#hagen2011/ and bib ref=#hagen2012/./p /text /document \stopbuffer \startxmlsetups xml:define \xmlsetsetup{#1}{*}{xml:*} \stopxmlsetups \startxmlsetups xml:document \xmlall{#1}{/text} \stopxmlsetups \startxmlsetups xml:text \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:p \xmlflush{#1} \par \stopxmlsetups \startxmlsetups xml:bib \BibAuthor{#1}{\xmlatt{#1}{ref}} \stopxmlsetups \startxmlsetups xml:author [[\xmlflush{#1}]] \stopxmlsetups \def\BibAuthor#1#2{[1:\xmlfirst{whatever}{/document/bibitem[@xml:id==string.sub('#2',2)]/author}]} \xmlregistersetup{xml:define} \xmlprocessbuffer{whatever}{demo}{} \startluacode userdata = userdata or { } userdata.bibitems = { } \stopluacode \startxmlsetups xml:document \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:bibitem \ctxlua{userdata.bibitems[\letterhash\xmlatt{#1}{xml:id}] = #1} \stopxmlsetups \def\BibAuthor#1#2{[2:\xmlfirst{\cldcontext{userdata.bibitems['#2']}}{/author}]} \xmlprocessbuffer{whatever}{demo}{} \stoptext (I ran into a recently introduced side effect of an optimization so I'll generate you a new beta. Older versions should work anyway as no special trickery is used.) Hans Ah, wonderful, Hans, I can play with this! Thanks a lot for the swift reply and for the help, this will get me going! All best Thomas ___ 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] xml cross-references in lua?
On 11-9-2012 19:22, Thomas A. Schmitz wrote: Hi all, I have a question about xml processing and I think that what I want/need can best be achieved by using lua code, but so far, I'm not really sure how to proceed, so any help from one of the resident lua gurus would be welcome. So: the question. xml allows to provide elements with unique identifiers so that one can add cross-references within the document structure. Here is a sample xml file that shows what I mean: document bibitem xml:id=hagen2011 authorHans Hagen/author titleThe Meaning of Life Is 42/title journalThe Rhetoric of Mathematics/journal date2011/date /bibitem bibitem xml:id=hagen2012 authorHans Hagen/author titleThe New Meaning is Now 43/title journalHigh Energy Metaphysics/journal date2012/date /bibitem text pThis has been successfully proven in papers by bib ref=#hagen2011/ and bib ref=#hagen2012/./p /text /document [Note: the TEI guidelines add the hash character in the attribute value to such references, but after much googling, I'm still not sure if this is standard or necessary or bizarre.] So: at the point of the reference (which may be empty, like here, or contain text), I want to refer back to the bibitems. The typesetting engine should then be instructed to pick up the information, so that this is, e.g., typeset as This has been successfully proven in papers by Hans Hagen (2011) and Hans Hagen (2012). My idea: since the xml:id attributes must be unique across the document, it would be easiest to collect them into a lua table, with the xml:id as key, so their content could be accessed and typeset later. But unfortunately, I have no clue how to go about this... Could somebody provide a pointer? Thanks for your interest, if you've read this far! If the number of bib items is not that large hashing does not save much. (In x-xfdf.mkiv you can see another example). \starttext \startbuffer[demo] document bibitem xml:id=hagen2011 authorHans Hagen/author titleThe Meaning of Life Is 42/title journalThe Rhetoric of Mathematics/journal date2011/date /bibitem bibitem xml:id=hagen2012 authorHans Hagen/author titleThe New Meaning is Now 43/title journalHigh Energy Metaphysics/journal date2012/date /bibitem text pThis has been successfully proven in papers by bib ref=#hagen2011/ and bib ref=#hagen2012/./p /text /document \stopbuffer \startxmlsetups xml:define \xmlsetsetup{#1}{*}{xml:*} \stopxmlsetups \startxmlsetups xml:document \xmlall{#1}{/text} \stopxmlsetups \startxmlsetups xml:text \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:p \xmlflush{#1} \par \stopxmlsetups \startxmlsetups xml:bib \BibAuthor{#1}{\xmlatt{#1}{ref}} \stopxmlsetups \startxmlsetups xml:author [[\xmlflush{#1}]] \stopxmlsetups \def\BibAuthor#1#2{[1:\xmlfirst{whatever}{/document/bibitem[@xml:id==string.sub('#2',2)]/author}]} \xmlregistersetup{xml:define} \xmlprocessbuffer{whatever}{demo}{} \startluacode userdata = userdata or { } userdata.bibitems = { } \stopluacode \startxmlsetups xml:document \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:bibitem \ctxlua{userdata.bibitems[\letterhash\xmlatt{#1}{xml:id}] = #1} \stopxmlsetups \def\BibAuthor#1#2{[2:\xmlfirst{\cldcontext{userdata.bibitems['#2']}}{/author}]} \xmlprocessbuffer{whatever}{demo}{} \stoptext (I ran into a recently introduced side effect of an optimization so I'll generate you a new beta. Older versions should work anyway as no special trickery is used.) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Luatex crash with x86-64 Linux binary
Hi, I am running the latest minimals on a 64bit Linux system and ran into a luatex crash with a specific file. I reduced the file down to a simpler version that still triggers the crash, and thought it would be of some interest to post (the resulting pdf, if generated, will be ugly since I removed a lot of formatting, and some of the code in the file may appear extraneous). I am running: $ context --version mtx-context | ConTeXt Process Management 0.60 mtx-context | current version: 2012.09.06 23:03 $ luatex --version This is LuaTeX, Version beta-0.70.2-2012052410 (TeX Live 2012) What I think makes this interesting is the same file does not crash on three other setups I tested: - 32bit OS X (beta-0.70.2-2012052310) - 64bit OS X (beta-0.70.2-2012052309) - the same Linux system, but I replaced the 64bit Linux luatex binary with the 32bit Linux binary (beta-0.70.1-2012052416 (rev 4277), I see this is an older version but I downloaded directly from the minimals site today). It rebuilt caches and processed the file successfully. I updated minimals on both OS X systems today so all three systems should be otherwise identically configured. Various alterations to the file can avoid the crash; a few I found are---adding a \strut before the word jumbo, removing the nested bTABLE (this appears to be unneeded in the attached example), removing the \definefontfeature statement at the top of the file. Anyway I'd be interested to know if anyone else sees the same issue. I'm sure this is a real edge case error but hope it is helpful to track down the problem. Please let me know if there is any other debugging info you would like to see from my end. Thanks, Brian\definefontfeature [default] [default] [kern=yes, liga=yes, texligatures=yes, texquotes=yes, protrusion=pure, expansion=quality, mode=node, script=latn]% \setupbodyfont[modern,10pt]% \starttext% \start% \bTABLE[offset=overlay,frame=off,align=middle,aligncharacter=no]% \bTR% \bTD[]{% \start% \setupTABLE[r][5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,4,3,2][loffset=0.020in]% \setupTABLE[r][5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,4,3,2][roffset=0.020in]% \setupTABLE[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23][4][bottomframe=on]% \setupTABLE[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23][4,3,2][align={middle,low},aligncharacter=no]% \setupTABLE[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23][1,4,3,2][style={\switchtobodyfont[modern,rm]\bf}]% \setupTABLE[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23][5][topframe=on]% \setupTABLE[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23][20][align={flushleft,lohi},aligncharacter=no,style={\small}]% \setupTABLE[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23][1][align={middle,lohi},aligncharacter=no]% \setupTABLE[r][4,3,2,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19][frame=off]% \setupTABLE[r][2][topframe=on]% \setupTABLE[r][4][bottomframe=on]% \setupTABLE[r][19][bottomframe=on]% \setupTABLE[23][4,3,2,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19][rightframe=on]% \setupTABLE[1][4,3,2,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19][leftframe=on]% \setupTABLE[1][4,3,2,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19][frame=off,leftframe=on,rightframe=on,aligncharacter=no]% \setupTABLE[1][2][topframe=on]% \setupTABLE[1][5,19][topframe=on,bottomframe=on]% \setupTABLE[1][19][bottomframe=on]% \setupTABLE[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23][5][topframe=on]% \setupTABLE[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23][19,19][bottomframe=on]% \setupTABLE[1][4,3,2,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19][leftframe=on,rightframe=on]% \setupTABLE[1][4,3,2,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19][frame=off,leftframe=on,rightframe=on,aligncharacter=no]% \setupTABLE[1][2][topframe=on]% \setupTABLE[1][5,19][topframe=on,bottomframe=on]% \setupTABLE[1][19][bottomframe=on]% \setupTABLE[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23][5][topframe=on]% \setupTABLE[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23][19,19][bottomframe=on]% \setupTABLE[2][4,3,2,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19][leftframe=on]% \setupTABLE[2][4,3,2,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19][frame=off,leftframe=on,rightframe=on,aligncharacter=no]% \setupTABLE[2][2][topframe=on]% \setupTABLE[2][5,19][topframe=on,bottomframe=on]% \setupTABLE[2][19][bottomframe=on]% \setupTABLE[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23][5][topframe=on]% \setupTABLE[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23][19,19][bottomframe=on]% \setupTABLE[2][4,3,2,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19][leftframe=on,rightframe=on]% \setupTABLE[2][4,3,2,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19][frame=off,leftframe=on,rightframe=on,aligncharacter=no]% \setupTABLE[2][2][topframe=on]% \setupTABLE[2][5,19][topframe=on,bottomframe=on]% \setupTABLE[2][19][bottomframe=on]% \setupTABLE
[NTG-context] running context mcommon.tex
Downloaded and installed context minimal in my user directory. Ran setuptex mktexlsr texexec --make --alone and so on. Now I want to process the manual mcommon.tex. I tried context mcommon.tex. I got lots of messages but no pdf file. In the same directory I ran context mreadme.tex and that processed ok. Do I need some special parameter for mcommmon.tex? I tried some --mode parameters but none seemed to help. I also have a texlive install but I thought setuptex took care of that. -- John Culleton Free list of books for self-publishers: http://wexfordpress.net/shortlist.html Police Procedural and Expose: Death Wore Black Create Book Covers with Scribus http://www.booklocker.com/books/4055.html ___ 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] Widows: penalty without efffect (ConTeXt iv)
Dear List, I ran into trouble with the widow/orphan-control in context. I searched the mailinglist, and saw that there were some other threads on the topic bevore, but as far as I am concerned what was suggested there did not work for me when I tried it. I run context iv using the version which comes with TexLive 2011. First trail was to include \widowpenalty=9000 and \clubpenalty=9000 at the start of the document, before \starttext (cause I do my setups, and definitions there) As this did not work I tried to put them after \starttext. As well I lowered \brokenpenalty. But both approaches, which were suggested in previous Posts on the ntg-context list failed to show an effect in my case. Is there anything I could do to prevent the widow lines? PS.: As I may be doing any noobish errors, here an overview of the documents structure and the placement of the penalty-commands _ \widowpenalty=9000 \clubpenalty=9000 \definepapersize[janssize][width=190mm, height=245mm] \setuppapersize[janssize][A4] %we can use something like [A5][A4], which is a a5 Page sized Document printed on a A4 sheet \setuplayout[grid=yes, marking=on, location=middle, backspace=30mm, width=110mm]%former: location=doublesided \starttext \startstandardmakeup \stopstandardmakeup \startfrontmatter %TOC... \stopfrontmatter \startbodymatter %the main stuff goes here % Loads of text \stopbodymatter \startappendices %appendices go here \stopappendices \stoptext ___ 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] [***SPAM***] Widows: penalty without efffect (ConTeXt iv)
Dear List, I ran into trouble with the widow/orphan-control in context. I searched the mailinglist, and saw that there were some other threads on the topic bevore, but as far as I am concerned what was suggested there did not work for me when I tried it. I run context iv using the version which comes with TexLive 2011. First trail was to include \widowpenalty=9000 and \clubpenalty=9000 at the start of the document, before \starttext (cause I do my setups, and definitions there) As this did not work I tried to put them after \starttext. As well I lowered \brokenpenalty. But both approaches, which were suggested in previous Posts on the ntg-context list failed to show an effect in my case. Is there anything I could do to prevent the widow lines? PS.: As I may be doing any noobish errors, here an overview of the documents structure and the placement of the penalty-commands _ \widowpenalty=9000 \clubpenalty=9000 \definepapersize[janssize][width=190mm, height=245mm] \setuppapersize[janssize][A4] %we can use something like [A5][A4], which is a a5 Page sized Document printed on a A4 sheet \setuplayout[grid=yes, marking=on, location=middle, backspace=30mm, width=110mm]%former: location=doublesided \starttext \startstandardmakeup \stopstandardmakeup \startfrontmatter %TOC... \stopfrontmatter \startbodymatter %the main stuff goes here % Loads of text \stopbodymatter \startappendices %appendices go here \stopappendices \stoptext ___ 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] [***SPAM***] Widows: penalty without efffect (ConTeXt iv)
Hi, did you see [1]? You have to do something like \starttext \clubpenalty=1 \widowpenalty=1 My text that should not contain any widow or orphan lines. \stoptext If that does not work for you, please provide a minimal example. HTH, Stefan [1] http://archive.contextgarden.net/message/20111211.162442.4f689e7b.en.html On 09.08.2012 11:36, d_jan wrote: Dear List, I ran into trouble with the widow/orphan-control in context. I searched the mailinglist, and saw that there were some other threads on the topic bevore, but as far as I am concerned what was suggested there did not work for me when I tried it. I run context iv using the version which comes with TexLive 2011. First trail was to include \widowpenalty=9000 and \clubpenalty=9000 at the start of the document, before \starttext (cause I do my setups, and definitions there) As this did not work I tried to put them after \starttext. As well I lowered \brokenpenalty. But both approaches, which were suggested in previous Posts on the ntg-context list failed to show an effect in my case. Is there anything I could do to prevent the widow lines? PS.: As I may be doing any noobish errors, here an overview of the documents structure and the placement of the penalty-commands _ \widowpenalty=9000 \clubpenalty=9000 \definepapersize[janssize][width=190mm, height=245mm] \setuppapersize[janssize][A4] %we can use something like [A5][A4], which is a a5 Page sized Document printed on a A4 sheet \setuplayout[grid=yes, marking=on, location=middle, backspace=30mm, width=110mm]%former: location=doublesided \starttext \startstandardmakeup \stopstandardmakeup \startfrontmatter %TOC... \stopfrontmatter \startbodymatter %the main stuff goes here % Loads of text \stopbodymatter \startappendices %appendices go here \stopappendices \stoptext ___ 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] [***SPAM***] Widows: penalty without efffect (ConTeXt iv)
Am 09.08.2012 um 11:36 schrieb d_jan d_...@ymail.com: Dear List, I ran into trouble with the widow/orphan-control in context. I searched the mailinglist, and saw that there were some other threads on the topic bevore, but as far as I am concerned what was suggested there did not work for me when I tried it. I run context iv using the version which comes with TexLive 2011. First trail was to include \widowpenalty=9000 and \clubpenalty=9000 at the start of the document, before \starttext (cause I do my setups, and definitions there) As this did not work I tried to put them after \starttext. As well I lowered \brokenpenalty. But both approaches, which were suggested in previous Posts on the ntg-context list failed to show an effect in my case. Is there anything I could do to prevent the widow lines? You can change the default penalties with \setuplayout[setups=…], the default setting is \setuplayout[setups=*default] but you can change this to “setups=*strict” which should help. It’s also possible to create your own penalties setup, e.g. \startsetups mypenalties \widowpenalty = 9000 \clubpenalty = 9000 \stopsetups \setuplayout[setups=mypenalties] \starttext … \stoptext 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] [***SPAM***] Widows: penalty without efffect (ConTeXt iv)
Hi Stephan, Thanks for your help. Seemingly I missed that in my search on the list. \starttext \clubpenalty=1 \widowpenalty=1 \brokenpenalty=1 [...] seems to do the job. Reards, Jan On 09.08.2012 14:25, Stefan Müller wrote: Hi, did you see [1]? You have to do something like \starttext \clubpenalty=1 \widowpenalty=1 My text that should not contain any widow or orphan lines. \stoptext If that does not work for you, please provide a minimal example. HTH, Stefan [1] http://archive.contextgarden.net/message/20111211.162442.4f689e7b.en.html On 09.08.2012 11:36, d_jan wrote: Dear List, I ran into trouble with the widow/orphan-control in context. I searched the mailinglist, and saw that there were some other threads on the topic bevore, but as far as I am concerned what was suggested there did not work for me when I tried it. I run context iv using the version which comes with TexLive 2011. First trail was to include \widowpenalty=9000 and \clubpenalty=9000 at the start of the document, before \starttext (cause I do my setups, and definitions there) As this did not work I tried to put them after \starttext. As well I lowered \brokenpenalty. But both approaches, which were suggested in previous Posts on the ntg-context list failed to show an effect in my case. Is there anything I could do to prevent the widow lines? PS.: As I may be doing any noobish errors, here an overview of the documents structure and the placement of the penalty-commands _ \widowpenalty=9000 \clubpenalty=9000 \definepapersize[janssize][width=190mm, height=245mm] \setuppapersize[janssize][A4] %we can use something like [A5][A4], which is a a5 Page sized Document printed on a A4 sheet \setuplayout[grid=yes, marking=on, location=middle, backspace=30mm, width=110mm]%former: location=doublesided \starttext \startstandardmakeup \stopstandardmakeup \startfrontmatter %TOC... \stopfrontmatter \startbodymatter %the main stuff goes here % Loads of text \stopbodymatter \startappendices %appendices go here \stopappendices \stoptext ___ 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] footnote numbers turn red
OK, was using: 2012.07.21 16:50 MKIV. Ran an update (now 2012.07.27 16:41 MKIV). Problem was in another place though (working on several docs at the moment). A module had the line: \setupfootnotes[textcolor=black] Then adding this what you gave at a later point: \setupinteraction [state=start, color=darkblue, contrastcolor=green] only changed the footnote at the bottom of the page to green, not in the text body. That remained black. This cross dependence had confused me. Is that the intent contrastcolor as given on? http://wiki.contextgarden.net/Command/setupinteraction Martin Not here with 2012.07.27 16:41. Which context version are you running? ___ 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] how to avoid CID Identity-H encoding?
Am 26.07.2012 um 19:35 schrieb Hans Hagen: On 26-7-2012 17:59, Steffen Wolfrum wrote: Hi Hans, hi friends, while the PDF that are produced by MkIV show no problems, some applications that use these PDF files for post-processing have big problems with CID/Encoding Identity-H. For example (as far as I have understood) german umlauts eg. ä are not recognized anymore but split in eg. a and diaeresis (with a space between?). I was told, that other PDF creators have an option to avoid using this kind of encoding. Is this also possible with MkIV? afaik context output the right tounicode info so i have no clue what goes wrong there me neither. the pdf produced with MkII never ran into this post-processing trouble. they had this font info, eg.: Type: Type 1 Encoding: Custom while all fonts I have tested with MkIV result in this: Type: Type 1 (CID) Encoding: Identity-H and this double-byte encoding confuses the pdf-post-processing machines (I was told). therefore we are asked to change it. is there a chance to do so? Thanks, Steffen ___ 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] how to avoid CID Identity-H encoding?
On 27-7-2012 11:36, Steffen Wolfrum wrote: Am 26.07.2012 um 19:35 schrieb Hans Hagen: On 26-7-2012 17:59, Steffen Wolfrum wrote: Hi Hans, hi friends, while the PDF that are produced by MkIV show no problems, some applications that use these PDF files for post-processing have big problems with CID/Encoding Identity-H. For example (as far as I have understood) german umlauts eg. ä are not recognized anymore but split in eg. a and diaeresis (with a space between?). I was told, that other PDF creators have an option to avoid using this kind of encoding. Is this also possible with MkIV? afaik context output the right tounicode info so i have no clue what goes wrong there me neither. the pdf produced with MkII never ran into this post-processing trouble. they had this font info, eg.: Type: Type 1 Encoding: Custom probably not always, i.e. when ttf fonts were used it would use those and related embedding methods but hardly anyone uses ttf in pdftex while all fonts I have tested with MkIV result in this: Type: Type 1 (CID) Encoding: Identity-H and this double-byte encoding confuses the pdf-post-processing machines (I was told). therefore we are asked to change it. you can try to send them ps (pdftops) is there a chance to do so? they should update their machines (read: there is no way that luatex will provide split into type1 functionality) (Luigi and Martin probably can explain it better) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] how to avoid CID Identity-H encoding?
Am 27.07.2012 um 11:50 schrieb Hans Hagen: On 27-7-2012 11:36, Steffen Wolfrum wrote: Am 26.07.2012 um 19:35 schrieb Hans Hagen: On 26-7-2012 17:59, Steffen Wolfrum wrote: Hi Hans, hi friends, while the PDF that are produced by MkIV show no problems, some applications that use these PDF files for post-processing have big problems with CID/Encoding Identity-H. For example (as far as I have understood) german umlauts eg. ä are not recognized anymore but split in eg. a and diaeresis (with a space between?). I was told, that other PDF creators have an option to avoid using this kind of encoding. Is this also possible with MkIV? afaik context output the right tounicode info so i have no clue what goes wrong there me neither. the pdf produced with MkII never ran into this post-processing trouble. they had this font info, eg.: Type: Type 1 Encoding: Custom probably not always, i.e. when ttf fonts were used it would use those and related embedding methods but hardly anyone uses ttf in pdftex while all fonts I have tested with MkIV result in this: Type: Type 1 (CID) Encoding: Identity-H and this double-byte encoding confuses the pdf-post-processing machines (I was told). therefore we are asked to change it. you can try to send them ps (pdftops) is there a chance to do so? they should update their machines (read: there is no way that luatex will provide split into type1 functionality) (Luigi and Martin probably can explain it better) yes, please! I am very interested in more information on this, as I expect hard talks. the problem is that more and more our context PDF files are not used as print files, nor as classical PDF files. there main use tends to be as feed material for Flash and other applications that reprocess our PDF file for on-line environments, subscribers. Steffen ___ 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] issue with module name resume
Am 23.07.2012 um 06:43 schrieb Martin: (apologies if this is sent twice, problem with mail) I am trying out the resume module mentioned on http://wiki.contextgarden.net/Curriculum_Vitae I saved the given code into a file p-resume.tex within the minimals folder (updated 20.7.2012), ran: context --generate When using it I consistently get told module not found. If I rename it to eg. p-lebenslauf.tex, using \usemodule[lebenslauf] works as expected. I have created other modules in the same folder without problems. There is not other file with the (partial) name resume in the minimals folder. Is the word resume reserved? What is happening? Yes, the name “resume” is a reserved module name. You can take a look into cont-fil.mkiv you can font the following three lines: \definefilesynonym [letter] [cor-01] \definefilesynonym [memo][cor-02] \definefilesynonym [resume] [cor-03] With the \definefilesynonym you define a different name for a module. When you now load a module with the name from the first argument (e.g. letter) context looks if a file with the name from the second argument (e.g. s-cor-01.mkvi) does exist it loads this file otherwise you get a error message. 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 ___
[NTG-context] issue with module name resume
(apologies if this is sent twice, problem with mail) I am trying out the resume module mentioned on http://wiki.contextgarden.net/Curriculum_Vitae I saved the given code into a file p-resume.tex within the minimals folder (updated 20.7.2012), ran: context --generate When using it I consistently get told module not found. If I rename it to eg. p-lebenslauf.tex, using \usemodule[lebenslauf] works as expected. I have created other modules in the same folder without problems. There is not other file with the (partial) name resume in the minimals folder. Is the word resume reserved? What is happening? Thanks! Martin example with p-resume.tex in third folder: \usemodule[resume] \starttext blah... \stoptext ___ 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] simpleslides help needed
Hi Pavneet, I am CCing the list as others might find this useful as well. On Thu, 19 Jul 2012, Pavneet Arora wrote: One more question, though: if one wanted to design the slides with *different* title and body fonts, as I do, how would one do that? This is why I tried \setupbodyfont and ran into my initial difficulties. Use \setupSlideTitle [style={ any font command }] The default value of style is \switchtobodyfont[\SlideTitleSize]. The easiest way to switch fonts is to use \definefont or, if you are using the simplefonts module, \definesimplefont. For example: \usemodule[simpleslides] \usemodule[simplefonts][size=\NormalSize] \definesimplefont[SlideTitleFont][Dejavu Sans][size=\SlideTitleSize] \setupSlideTitle[style=\SlideTitleFont] \starttext \SlideTitle{Knuth} \input knuth \stoptext ___ 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] imposition broken again
With at least today’s and yesterday’s beta I can’t get no satisfaction WRT imposition. Before, only 2UP was broken, and I got a workaround. Now, every schema that I tried doesn’t do anything. Was there another syntax change? Of course I ran context with --arrange \setuppapersize [A7][A3,landscape] \setuppagenumbering [alternative=doublesided,location=footer] \setuplayout [margin=0pt,width=fit] \setupbackgrounds [text][text][background=screen,backgroundscreen=0.7] \setupcolors [state=start] \setuplayout [location=middle,marking=on] %\setuppaper[nx=4,ny=2] \setuparranging [2UP] %[2*2*4,doublesided] \def\Style{[2UP]} %{[2*2*4,doublesided]} \startbuffer[Fakepage] \strut \blank[force] \midaligned{\Style} \vfill \midaligned{This is page \recurselevel} \vfill \stopbuffer \setupheadertexts[\CONTEXT] \starttext % \showframe \dorecurse{16}{\getbuffer[Fakepage]\page} \stoptext Grüßlinge, Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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] imposition broken again
Am 2012-07-09 um 19:06 schrieb Henning Hraban Ramm: With at least today’s and yesterday’s beta I can’t get no satisfaction WRT imposition. Before, only 2UP was broken, and I got a workaround. Now, every schema that I tried doesn’t do anything. Was there another syntax change? Of course I ran context with --arrange Sorry, I saw the thread modes + arranging by Thomas A. Schmitz just as I pressed send. I guess the next beta will fix it, yes? Greetlings, Hraban ___ 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] imposition broken again
Am 2012-07-09 um 19:06 schrieb Henning Hraban Ramm: With at least today’s and yesterday’s beta I can’t get no satisfaction WRT imposition. Before, only 2UP was broken, and I got a workaround. Now, every schema that I tried doesn’t do anything. Was there another syntax change? Of course I ran context with --arrange Sorry, I saw Thomas’ thread modes + arranging only after pressing send. This is fixed with tonight’s beta, thank you! But the table of content is missing now... Greetlings, Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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] Broken Nightly 2012.07.04
On Fri, 2012-07-06 at 09:21 +0200, Hans Hagen wrote: context --make en Like I said, I already cleared the cache in ~/.texmf-var/. But for safe measure, I ran the aforementioned anyways after doing that too. Same problem. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ 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] Broken Nightly 2012.07.04
On Fri, 2012-07-06 at 07:32 +0200, luigi scarso wrote: Do you rebuild the format ? I cleared the cache in ~/.texmf-var and ran context --make en (which ConTeXt runs anyways after doing the former), but still same problem. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ 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] Broken Nightly 2012.07.04
On 6-7-2012 23:06, Kip Warner wrote: On Fri, 2012-07-06 at 07:32 +0200, luigi scarso wrote: Do you rebuild the format ? I cleared the cache in ~/.texmf-var and ran context --make en (which ConTeXt runs anyways after doing the former), but still same problem. is there a minimal example? - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Broken Nightly 2012.07.04
Am 06.07.2012 um 23:06 schrieb Kip Warner: On Fri, 2012-07-06 at 07:32 +0200, luigi scarso wrote: Do you rebuild the format ? I cleared the cache in ~/.texmf-var and ran context --make en (which ConTeXt runs anyways after doing the former), but still same problem. Do you have more than one installation of the context suite on your system and you’re making the changes in the wrong tree (you can see the path for the used files on the command line when you generate the format). 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] Broken Nightly?
On Thu, 2012-06-28 at 05:31 +0200, Wolfgang Schuster wrote: grph-trf.mkiv %\setvalue{\??scalenorm\v!broad }#1#2#3#4#5{\global#1\dimexpr#5-4\@@exbodyfont\relax} %\setvalue{\??scalenorm\s!unknown}#1#2#3#4#5{\global#1\dimexpr#2\dimexpr\@@exbodyfont/10\relax\relax} % brr ex \setvalue{\??scalenorm\v!broad }#1#2#3#4#5{\global#1\dimexpr#5-4\externalfiguresparameter\c!bodyfont\relax} \setvalue{\??scalenorm\s!unknown}#1#2#3#4#5{\global#1\dimexpr#2\dimexpr\externalfiguresparameter\c!bodyfont/10\relax\relax} % brr ex Hey Wolfgang. I patched the file as recommended and still the same error message. @Kip: When you make a change in a core file you have to regenerate the format (context --make). I always clear ~/.texmf-var after updating ConTeXt. But I also ran context --make as well this time, although that is run automatically when ~/.texmf-var is empty, no? Regardless, I did both prior to recompiling and got the same error. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ 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] ConTeXt and SciTE
On 06/19/2012 17:57, Hans Hagen wrote: On 19-6-2012 23:27, Bill Meahan wrote: On 06/19/2012 16:43, Hans Hagen wrote: and you can give spell checking a try (you can use mtxrun --script --scite to convert a list with words into one suitable for the context lexers) Hans fyi: the context lexers do realtime checking in combination with regular lexing Hans Tried this, ran into problems. 1. Running the command as shown generates a spell-xx.lua file but complains about a spell-xx.lucluac file not being present. 2. The lexer does not load the spell-xx.lua file but will find the spell-xx.txt file and try to use that. 3. English words are only found if the 'xx' is 'uk' while 'en' or 'us' or 'ca' (Canadian) are not found no matter if % language={en | us | ca} (one choice only, I'm just using shorthand here). uk is one particular form of English with particular spelling rules (e.g. 'our' instead of 'or' in words like 'honour' al. There are also some terms proper in UK English that are not considered proper in US English and vice versa.) If all variants are not allowed, the generic 'en' ought to be used instead of 'uk' as it could be confusing to non-UK users. Ozzies and Kiwis may not mind but Yanks and Canucks do. :-) 4. Every 3-letter word is indicated as misspelled. This may be a side-effect of using the SCOWL word lists as they only deal with words 3-letters (except for some acronyms). Hence common words like 'was' or 'who' or 'and' are marked as misspelled. 5. Only the first screen-full of text was color-coded. The rest of my document did not even have keyword highlighting. Turning off the spell-checking by removing the 'language=uk' line restored keyword highlighting throughout the whole file. SciTE 3.1.0 on FreeBSD-9.0-i386 The wordlist(s) tried were from SCOWL 7.1 at http://wordlist.sourceforge.net formed by cat en*80 | sort | uniq spell-uk.txt Yes, that is a big wordlist but decades of doing crosswords has left me with a large vocabulary. ;-) -- Bill Meahan, Westland, Michigan USA “Writing is a combination of intangible creative fantasy and appallingly hard work.” —Anthony Powell This message is digitally signed with an X.509 certificate to prove it is from me and has not been altered since it was sent. smime.p7s Description: S/MIME Cryptographic Signature ___ 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] [OT] git-annex: a new option for ConTeXt distribution (kickstarter campaign ends in 4 days)
Hello, a few days ago I ran across this: http://www.kickstarter.com/projects/joeyh/git-annex-assistant-like-dropbox-but-with-your-own?ref=category and made a symbolic contribution. However, this project could become one of the convenient options to distribute ConTeXt, in the sense that it would probably allow sparse checkouts from git, and we could have one huge git repository and with some basic scripting on the client side (in the same way as it is done now with rsync), user could choose to download just MKIV or just the basic fonts in contrast to a huge collection of fonts that might end up in that big repository. Basically, git could replace rsync (the rsync way could stay; this would just add an extra option). At least that is my understanding, but I admit that I don't have the full picture in front of my eyes and I would actually be grateful for the second opinion from other ([not necessarily] git) experts here. The reason why I'm writing is that by donating the following amounts, one might be able to ask for additional features if/when needed: 100 $ Help set my priorities for which features are the most important. I aim to make the git-annex assistant please you right out of the box by supporting exactly what you need. 250 $ Be my beta tester for the git-annex assistant. You will influence the project throughout, and will set my priorities for which features are the most important. and if this really becomes an important way to distribute ConTeXt, we could either make some kind of group donation of a few volunteers, or consider using part of ConTeXt Group funds (as ConTeXt Group was established exactly for the reason to fund projects that are important to the community). If that can help ConTeXt users switch to older version more easily, the requested amounts for funding are more than reasonable. This is what the author has answered to one of my question about how I could let user select which modules to install (module = a collection of fonts, a collection of mkii-only related files, engine-related files etc.) out of the whole distribution: I can think of a few ways to handle the checkout of a specific set of modules with git-annex. If there's a text file manifest listing the files in each module, then something like: git annex get $(cat 1.manifest 3.manifest 7.manifest ...) Better, put each module into its own git branch. Then the user can merge in the branches for modules they want. This has the advantage that the only files they'll have visible in their git repository will be for the selected modules. git merge module/1 module/3 module/7; git annex get Users would want to do that after every git pull, presumably, so probably a shell script would be called for. What I didn't ask is whether Mac or other non-linux systems would also be supported. Windows seems to be feasible, but not is not guaranteed to happen: If I'm funded for a year ($20k), I will spend at least one month of it in Windows purgatory, making the port happen. No guarantees of success on this one! (he is missing less that $1k for that goal though). --- Actually, my original idea/suggestion was actually slightly different and would probably not need any additional software to be installed, but would not necessary be in scope of this project. I'm still looking for a way to have a smarter rsync server, so that I could use something like rsync -av rsync://contextgarden.net/suite/context/@tag:2013.12.13T12:13 texmf-context/ and rsync would then serve files from a particular branch/tag/sha of a git repository, without the need to have different version of The biggest problem with everything is that I'm somehow narrow-sided. I need someone to help me think a bit out of the box and get a broader picture. To help me decide if one of the above options (patching rsync server or being beta testers for git-annex) would make sense. Of course anyone is invited to make his/her own donation to git-annex independent of whether or not it will make sense for us to use it, but if there is a consensus that it would be worth using it for the distribution, we could combine our donations or make a donation from ConTeXt Group to become the official beta testers. Mojca (PS: It is not ready yet and I've been promising it for way too long already, but the first change that I will do to the distribution will be the ability to use both current approach as well as a git repository (without the option to exclude stuff), so that if something breaks in the middle of a project after ConTeXt update, it will be trivial to go back in time to any given version of ConTeXt matching LuaTeX fonts. At the moment going back in time requires at least a bit of creativity, for example fetching the latest working version of ConTeXt from existing unofficial Git repository etc.) ___ If your question is of interest to others as well
[NTG-context] frame and numbering of code snippets using vim-module
at lines 1--1 [][][]\3modern-designsize-12pt-tt-tf-0--0 % ran-dom text, ran-dom text, bla-bla-bla, ran-dom text, bla-bla-bla, this tests \hbox(8.328+1.668)x426.78743, direction TLT .\whatsit ..\localinterlinepenalty=0 ..\localbrokenpenalty=0 ..\localleftbox=null ..\localrightbox=null .\hbox(0.0+0.0)x0.0, direction TLT .\latelua0_plib_.enhance(p:3) .\3modern-designsize-12pt-tt-tf-0--0 % .\glue 6.18 .etc. Overfull \hbox (18.17204pt too wide) in paragraph at lines 1--1 \3modern-designsize-12pt-tt-tf-0--0 if there is a line wrap⦠ran-dom text, bla-bla-bla, ran-dom text, bla-bla-bla, \hbox(7.404+2.664)x426.78743, direction TLT .\3modern-designsize-12pt-tt-tf-0--0 i .\3modern-designsize-12pt-tt-tf-0--0 f .\glue 6.18 .\3modern-designsize-12pt-tt-tf-0--0 t .\3modern-designsize-12pt-tt-tf-0--0 h .etc. Overfull \hbox (11.99205pt too wide) in paragraph at lines 3--3 [][][]\3modern-designsize-12pt-tt-tf-0--0 ran-dom code ran-dom code ran-dom code ran-dom code ran-dom code ran-dom code \hbox(7.332+0.072)x426.78743, direction TLT .\whatsit ..\localinterlinepenalty=0 ..\localbrokenpenalty=0 ..\localleftbox=null ..\localrightbox=null .\hbox(0.0+0.0)x0.0, direction TLT .\latelua0_plib_.enhance(p:5) .\3modern-designsize-12pt-tt-tf-0--0 r .\3modern-designsize-12pt-tt-tf-0--0 a .etc. metapost initializing instance 'metafun' using format 'metafun' metapost loading 'metafun': /home/context/tex/texmf-context/metapost/context/base/metafun.mpiv backend xmp using file '/home/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml' pagesflushing realpage 1, userpage 1 Overfull \hbox (24.35204pt too wide) in paragraph at lines 44--44 [][][]\3modern-designsize-12pt-tt-tf-0--0 fprintf('its ran-dom text ran-dom text ran-dom text ran-dom text ',variable);[] \hbox(10.42677+4.05482)x426.78743, direction TLT .\whatsit ..\localinterlinepenalty=0 ..\localbrokenpenalty=0 ..\localleftbox=null ..\localrightbox=null .\hbox(0.0+0.0)x0.0, direction TLT .\latelua0_plib_.enhance(p:46) .\3modern-designsize-12pt-tt-tf-0--0 f .\3modern-designsize-12pt-tt-tf-0--0 p .etc. Overfull \hbox (67.61198pt too wide) in paragraph at lines 45--45 [][][]\3modern-designsize-12pt-tt-tf-0--0 fprintf('ran-dom text ran-dom text ran-dom text ran-dom text ran-dom text',variable);[] \hbox(10.42677+4.05482)x426.78743, direction TLT .\whatsit ..\localinterlinepenalty=0 ..\localbrokenpenalty=0 ..\localleftbox=null ..\localrightbox=null .\hbox(0.0+0.0)x0.0, direction TLT .\latelua0_plib_.enhance(p:47) .\3modern-designsize-12pt-tt-tf-0--0 f .\3modern-designsize-12pt-tt-tf-0--0 p .etc. Overfull \hbox (24.35204pt too wide) in paragraph at lines 48--48 [][][]\3modern-designsize-12pt-tt-tf-0--0 fprintf('more ran-dom text ran-dom text ran-dom text ran-dom text ran-dom text \hbox(8.328+2.664)x426.78743, direction TLT .\whatsit ..\localinterlinepenalty=0 ..\localbrokenpenalty=0 ..\localleftbox=null ..\localrightbox=null .\hbox(0.0+0.0)x0.0, direction TLT .\latelua0_plib_.enhance(p:50) .\3modern-designsize-12pt-tt-tf-0--0 f .\3modern-designsize-12pt-tt-tf-0--0 p .etc. Overfull \hbox (24.35204pt too wide) in paragraph at lines 49--49 [][][]\3modern-designsize-12pt-tt-tf-0--0 fprintf('ran-dom text ran-dom text ran-dom text ran-dom text ran-dom text ran- \hbox(8.328+2.664)x426.78743, direction TLT .\whatsit ..\localinterlinepenalty=0 ..\localbrokenpenalty=0 ..\localleftbox=null ..\localrightbox=null .\hbox(0.0+0.0)x0.0, direction TLT .\latelua0_plib_.enhance(p:51) .\3modern-designsize-12pt-tt-tf-0--0 f .\3modern-designsize-12pt-tt-tf-0--0 p .etc. ) pagesflushing realpage 2, userpage 2 )/home/context/tex/texmf/fonts/opentype/public/lm/lmmono12-regular.otf/home/context/tex/texmf/fonts/opentype/public/lm/lmmono10-regular.otf/home/context/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf system files start used files used files 1: filename=framedcode.tex | foundname=framedcode.tex | usedmethod=direct used files 2: filename=cont-new.mkiv | filetype=tex | foundname=/home/context/tex/texmf-context/tex/context/base/cont-new.mkiv | usedmethod=database used files 3: filename=framedcode.top | foundname=framedcode.top | usedmethod=direct used files 4: filename=lang-us.lua | filetype=lua | foundname=/home/context/tex/texmf-context/tex/context/patterns/lang-us.lua | usedmethod=database used files 5: filename=lang-de.lua | filetype=lua | foundname=/home/context/tex/texmf-context/tex/context/patterns/lang-de.lua | usedmethod=database used files 6: filename=t-vim.tex | filetype=tex | foundname=/home/context/tex/texmf-modules/tex/context/third/vim/t-vim.tex | usedmethod=database used files 7: filename=t-vim.tex | filetype=tex | format=tex | foundname=/home/context/tex/texmf-modules/tex/context/third/vim/t-vim.tex | usedmethod=database used files 8: filename=home/context/tex/texmf-modules/tex/context/third/vim/t-vim.tex | foundname=/home/context/tex
[NTG-context] System font searching suddenly stopped
Hello, Sorry if this is a stupid question, but I'm a novice ConTeXt user, switching from LaTeX and without so much time :( I made some time ago a very small test document using the nice Delicious font, which I put in /usr/share/fonts/opentype/exljbris/ (under Debian). This is the straightforward document: \usemodule[simplefonts] \setmainfont[Delicious] \mainlanguage [it] \setupbodyfont [10pt] \setupheadertexts [] \starttext Lorem ipsum dolor sit amet \stoptext It worked without a problem, as the pdf remembered me. Now, I tried to compile it again, but it doesn't find the Delicious font anymore; on the contrary, it doesn't find system fonts anymore. I followed the instructions in the TeX Live Guide, ran mtxrun --script fonts --reload and context --generate again, without any change. However, I noticed that the mtxrun doesn't walk into the /usr/share/fonts directory, but only inside those from TeX Live. Have you any idea of what's happening? If you need them I can attach the output of any of these scripts. Thank you very much for your help, 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] System font searching suddenly stopped
Am 01.06.2012 um 10:10 schrieb Marco Pallante: Hello, Sorry if this is a stupid question, but I'm a novice ConTeXt user, switching from LaTeX and without so much time :( I made some time ago a very small test document using the nice Delicious font, which I put in /usr/share/fonts/opentype/exljbris/ (under Debian). This is the straightforward document: \usemodule[simplefonts] \setmainfont[Delicious] \mainlanguage [it] \setupbodyfont [10pt] \setupheadertexts [] \starttext Lorem ipsum dolor sit amet \stoptext It worked without a problem, as the pdf remembered me. Now, I tried to compile it again, but it doesn't find the Delicious font anymore; on the contrary, it doesn't find system fonts anymore. I followed the instructions in the TeX Live Guide, ran mtxrun --script fonts --reload and context --generate again, without any change. However, I noticed that the mtxrun doesn't walk into the /usr/share/fonts directory, but only inside those from TeX Live. Have you any idea of what's happening? If you need them I can attach the output of any of these scripts. Thank you very much for your help, Maybe this will help you: http://wiki.contextgarden.net/Fonts_in_LuaTeX#Building_the_font_database 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] System font searching suddenly stopped
This solves partially the problem: now it takes the delicious font, but as default it uses the heavy weight and not the roman; the \bf command switches to bold and \it to italic. If I use \setmainfont[Delicious-Roman], it always uses the roman, and the \bf and \it commands doesn't change anything. Moreover, even if it pickups Delicious, if I run the query $ mtxrun --script fonts --list --all --pattern=Delicious* it gives an empty result. Marco 2012/6/1 Wolfgang Schuster schuster.wolfg...@googlemail.com: Am 01.06.2012 um 10:10 schrieb Marco Pallante: Hello, Sorry if this is a stupid question, but I'm a novice ConTeXt user, switching from LaTeX and without so much time :( I made some time ago a very small test document using the nice Delicious font, which I put in /usr/share/fonts/opentype/exljbris/ (under Debian). This is the straightforward document: \usemodule[simplefonts] \setmainfont[Delicious] \mainlanguage [it] \setupbodyfont [10pt] \setupheadertexts [] \starttext Lorem ipsum dolor sit amet \stoptext It worked without a problem, as the pdf remembered me. Now, I tried to compile it again, but it doesn't find the Delicious font anymore; on the contrary, it doesn't find system fonts anymore. I followed the instructions in the TeX Live Guide, ran mtxrun --script fonts --reload and context --generate again, without any change. However, I noticed that the mtxrun doesn't walk into the /usr/share/fonts directory, but only inside those from TeX Live. Have you any idea of what's happening? If you need them I can attach the output of any of these scripts. Thank you very much for your help, Maybe this will help you: http://wiki.contextgarden.net/Fonts_in_LuaTeX#Building_the_font_database 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 ___
Re: [NTG-context] missing pagebreak using vim-module for typing
On 01.05.2012 13:02, Wolfgang Schuster wrote: Am 01.05.2012 um 12:24 schrieb Xenia: On 01.05.2012 08:50, Aditya Mahajan wrote: On Tue, 1 May 2012, Xenia wrote: Dear context folks, since Aditya recommended I am using the vim module for including MATLAB-files in my TeX-files. But for longer code snippets there is no pagebreak, so that the code is cuttet at the end of the page. What do I have to do? current version: 2012.04.19 23:18 Can you post a minimal example? The attached simple test gives me page breaks. The reason seems so be the frame, that I prefer. I am attaching the files. Use \definetextbackground for the frame, framedtext’s are unbreakable boxes. Thanks, that works, but now the linewrapping does not work correctly (after the frame) and the line numbering starts in line 2. I am attaching all files. Thank you. Xenia (linewrap.tex ConTeXt ver: 2012.04.19 23:18 MKIV fmt: 2012.4.22 int: english/english system cont-new.mkiv loaded (/home/context/tex/texmf-context/tex/context/base/cont-new.mkiv system beware: some patches loaded from cont-new.mkiv ) system linewrap.top loaded system options start used options used options % runtime options files (command line driven) used options \unprotect used options % feedback and basic job control used options % handy for special styles used options \startluacode used options document = document or { } used options document.arguments={ used options } used options document.files={ used options linewrap, used options } used options \stopluacode used options % process info used options \setupsystem[inputfile=linewrap] used options \setupsystem[\c!n=2,\c!m=2] used options % modes used options % options (not that important) used options \startsetups *runtime:options used options \stopsetups used options % styles and modules used options \startsetups *runtime:modules used options \stopsetups used options % done used options \protect \endinput system options stop used options (linewrap.top) fontslatin modern fonts are not preloaded languageslanguage en is active resolversmodules loaded: 'vim' (../../home/context/tex/texmf-modules/tex/context/third/vim/t-vim.tex loading Vim syntax highlighting (ver: 2012.04.18) resolversmodules loaded: 'filter' (../../home/context/tex/texmf-modules/tex/context/third/filter/t-filter.mkiv loading Filter (ver: 2012.04.18) resolversmodules loaded: 'module-catcodes' (../../home/context/tex/texmf-modules/tex/context/third/filter/t-module-catcodes.tex loading Module Catcodes (ver: 2011.12.17) )) resolversmodules loaded: 'syntax-highlight' (../../home/context/tex/texmf-modules/tex/context/third/vim/t-syntax-highlight.mkiv loading Code syntax highlighting (ver: 2012.04.18) resolversmodules loaded: 'syntax-groups' (../../home/context/tex/texmf-modules/tex/context/third/vim/t-syntax-groups.tex loading Syntax highlighting groups (ver: 2012.01.03) resolversmodules already loaded: 'module-catcodes' ) resolversmodules already loaded: 'filter' )){/home/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} fontspreloading latin modern fonts (second stage) fontstypescripts unknown: library 'loc' {/home/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map} fontsvirtual math unable to resolve name mapsfromchar fontsfallback modern rm 12pt is loaded (linewrap-temp-MATLAB-0.vimout Overfull \hbox (5.81206pt too wide) in paragraph at lines 2--2 [][][]\3modern-designsize-12pt-tt-tf-0--0 ran-dom tex-tran-dom tex-tran-dom tex-tran-dom tex-tran-dom tex-tran-dom tex-tran- \hbox(7.332+0.072)x426.78743, direction TLT .\whatsit ..\localinterlinepenalty=0 ..\localbrokenpenalty=0 ..\localleftbox=null ..\localrightbox=null .\hbox(0.0+0.0)x0.0, direction TLT .\latelua0_plib_.enhance(p:2) .\3modern-designsize-12pt-tt-tf-0--0 r .\3modern-designsize-12pt-tt-tf-0--0 a .etc. ) (linewrap-temp-MATLAB-1.vimout Overfull \hbox (24.35204pt too wide) in paragraph at lines 14--1 [][][][]\3modern-designsize-12pt-tt-tf-0--0 fprintf('ran-dom text ran-dom text ran-dom text ran-dom text ran-dom text ran- \hbox(10.42677+4.05482)x426.78743, direction TLT .\whatsit ..\localinterlinepenalty=0 ..\localbrokenpenalty=0 ..\localleftbox=null ..\localrightbox=null .\hbox(0.0+0.0)x0.0, direction TLT .\latelua0_plib_.enhance(p:4) .\hbox(10.42677+4.05482)x0.0, direction TLT ..\latelua0_plib_.enhance(b:tbg:2) ..\hbox(10.42677+4.05482)x0.0, direction TLT ..\glue 0.0 plus 1.0fil minus 1.0fil .\3modern-designsize-12pt-tt-tf-0--0 f .etc. ) metapost initializing instance 'metafun' using format 'metafun' metapost loading 'metafun': /home/context/tex/texmf-context/metapost
[NTG-context] LuaTeX error after update to ubuntu 12.04
After updating to ubuntu 12.04, my shouts of joy were smothered by the following !LuaTeX error: cannot find OpenType font file for reading () == Fatal error occurred, no output PDF file produced! mtx-context | fatal error: return code: 70 I ran mtxrun --script fonts --reload, updated to the latest context version, ran luatools --generate and context --make and still am presented with the above error message after 10-15 minutes of paralysing processing. The compiling seems to run as always, until it reaches the last page, at which point the computer freezes and takes about 10 minutes to present me with the error. The following is another snapshot of the output which I noticed for the first time: system logs lua: compiling /home/user/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/fonts/otf/andika-r.tma into /home/user/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/fonts/otf/andika-r.tmc fontsotf loading preprocessing and caching took 73.009 seconds Any ideas where to start? Many thanks, Severin ___ 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] LuaTeX error after update to ubuntu 12.04
On Sat, Apr 28, 2012 at 01:25:03PM +0900, S Barmeier wrote: After updating to ubuntu 12.04, my shouts of joy were smothered by the following !LuaTeX error: cannot find OpenType font file for reading () == Fatal error occurred, no output PDF file produced! mtx-context | fatal error: return code: 70 This usually indicates that ConTeXt is a passing a file name to the backend that does not exist on the disk, usually because the cache is outdated. I ran mtxrun --script fonts --reload, updated to the latest context version, ran luatools --generate and context --make and still am presented with the above error message after 10-15 minutes of paralysing processing. Since all of this does not work, I'd delete the cache completely and try again (the /home/user/texmf-cache/luatex-cache/context/*). Regards, Khaled ___ 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] Page numbering in latest beta
Hi, thanks for these suggestions. I now use the following settings: \definefont[HeaderFont][Sans at 10pt] \setupheader[style=HeaderFont] \setupheadertexts [section][pagenumber][pagenumber][chapter] \setuppagenumbering [alternative=doublesided, location=, style=sansbold] \startsectionblockenvironment[frontpart] \setupuserpagenumber[numberconversion=romannumerals, way=byblock] \stopsectionblockenvironment \startsectionblockenvironment[bodypart] \setupuserpagenumber[numberconversion=numbers] \setuppagenumber[number=1] \stopsectionblockenvironment \startsectionblockenvironment[backpart] \setupuserpagenumber[numberconversion=numbers] \stopsectionblockenvironment \startsectionblockenvironment[appendix] \setupuserpagenumber[numberconversion=numbers] \stopsectionblockenvironment which give me a frontpart with roman numerals starting with i, and a bodypart starting with 1. The pagenumber for the backpart and appendix is continued. This is not the case if I make way=byblock a default setting. Thanks again! Steffen Am 30.03.2012 um 20:06 schrieb Hans Hagen: On 30-3-2012 18:41, Steffen Fritzsche wrote: Hi Hans, I just ran my update script again, the issue still exists. Last update before was this morning around 10 a.m. CEST. Any ideas or suggestions? The old numbering code had a side effect. Every time one changes settings the state of the counters needs to be synchronized and in fact a reset happened. Now, normally this is no big deal, as one sets up things at the beginning of a document. However, when mid document one wants to change the style, this reset becomes annoying. (The linenote bug reported a few days ago was a side effect of this.) So, now we don't reset any longer unless the 'start' key's value differs. As a consequence one needs to be explicit in some cases, like yours. By default, we number per text (we could change that if needed) but in the past the \setupuserpagenumber triggers a synchronization of the counter and therefore reset the number, so that obscured the fact. Now, you just need to set the 'way': \starttext \setupuserpagenumber[way=byblock] % can be default yes/no? \setuppagenumbering [alternative=doublesided, partnumber=no, location=, style={\ss\bold}] \setupheadertexts [section][pagenumber][pagenumber][chapter] \setupheader [before={\ss\switchtobodyfont[10pt]}] \startsectionblockenvironment[frontpart] \setupuserpagenumber[numberconversion=romannumerals] \stopsectionblockenvironment \startsectionblockenvironment[bodypart] \setuppagenumber[number=1] \stopsectionblockenvironment \startsectionblockenvironment[backpart] \setupuserpagenumber[numberconversion=numbers] \stopsectionblockenvironment \startsectionblockenvironment[appendix] \setupuserpagenumber[numberconversion=numbers] \stopsectionblockenvironment \startfrontmatter test \stopfrontmatter \startbodymatter test \stopbodymatter \startappendices test \stopappendices \startbackmatter test \stopbackmatter \stoptext - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - smime.p7s Description: S/MIME cryptographic signature ___ 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] Page numbering in latest beta
On 30-3-2012 18:41, Steffen Fritzsche wrote: Hi Hans, I just ran my update script again, the issue still exists. Last update before was this morning around 10 a.m. CEST. Any ideas or suggestions? The old numbering code had a side effect. Every time one changes settings the state of the counters needs to be synchronized and in fact a reset happened. Now, normally this is no big deal, as one sets up things at the beginning of a document. However, when mid document one wants to change the style, this reset becomes annoying. (The linenote bug reported a few days ago was a side effect of this.) So, now we don't reset any longer unless the 'start' key's value differs. As a consequence one needs to be explicit in some cases, like yours. By default, we number per text (we could change that if needed) but in the past the \setupuserpagenumber triggers a synchronization of the counter and therefore reset the number, so that obscured the fact. Now, you just need to set the 'way': \starttext \setupuserpagenumber[way=byblock] % can be default yes/no? \setuppagenumbering [alternative=doublesided, partnumber=no, location=, style={\ss\bold}] \setupheadertexts [section][pagenumber][pagenumber][chapter] \setupheader [before={\ss\switchtobodyfont[10pt]}] \startsectionblockenvironment[frontpart] \setupuserpagenumber[numberconversion=romannumerals] \stopsectionblockenvironment \startsectionblockenvironment[bodypart] \setuppagenumber[number=1] \stopsectionblockenvironment \startsectionblockenvironment[backpart] \setupuserpagenumber[numberconversion=numbers] \stopsectionblockenvironment \startsectionblockenvironment[appendix] \setupuserpagenumber[numberconversion=numbers] \stopsectionblockenvironment \startfrontmatter test \stopfrontmatter \startbodymatter test \stopbodymatter \startappendices test \stopappendices \startbackmatter test \stopbackmatter \stoptext - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Collision of sectioning and bibliography?
Hello ConTeXist. After two years I recreate a larger project (that was created using the MKII) and convert it into MKIV. And I ran into some major problems. I try to describe it and ask you about help. Collisions of sectioning and bibliography: When put into the document sections (using \section{} or \title{} commands), bibliography stops working and the error will appear in the bibliography links (Error2) and a list of the bibliography does not list. What I am doing wrong? Thanx Jaroslav Hajtmar Here is my minimal example: \setupbibtex[database={samplebib}] \setuppublications[alternative=ams] % Content of file samplebib.bib is: % % @STRING{hh = {Hans Hagen}} % % @ARTICLE{hh2010a, % author = hh, % title = {The Font Name Mess}, % journal = {MAPS}, % year = {2010}, % volume = {40}, % pages = {2-8}, % keywords = {context}, % } % % @BOOK{Eijkhout1991, % title = {\TeX\ by Topic. A \TeX nician's Reference}, % publisher = {Addison-Wesley}, % year = {1991}, % author = {Victor Eijkhout}, % address = {London}, % keywords = {general}, % } \starttext Citation one is \cite[hh2010a] and another citation is \cite[Eijkhout1991]. % When you uncomment next line, then bibliography crashed %\section{List of citations} \placepublications[criterium=cite] \stoptext ___ 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] solution for missing bookmark (minimal example)
Am 23.02.2012 um 14:19 schrieb luigi scarso: On Thu, Feb 23, 2012 at 9:53 AM, Steffen Wolfrum cont...@st.estfiles.de wrote: Hi Hans I managed to narrow down my example to just one bibliography, no index, no register, nothing fancy. If I run this example with a pre-Feb.2012 version (say 2012.01.16), then the bookmarks FIVE, SIX and SEVEN do not work. They seems ok with AdobeReader 9.4 on linux. You must be joking?! I ran the resulting PDF (attached) with every PDF reader on Mac and Windows ... and all results were the same: no link for bookmark FIVE, SIX, SEVEN. Did you actually test to click on the link? Steffen --- link_test.pdf Description: Adobe PDF document ___ 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] solution for missing bookmark (minimal example)
On 2012-02-23 14:45, Steffen Wolfrum wrote: I ran the resulting PDF (attached) with every PDF reader on Mac and Windows ... and all results were the same: no link for bookmark FIVE, SIX, SEVEN. Confirmed for version 2012-01-16/Linux x64 with Okular. (Current beta seems fine, though.) Philipp Did you actually test to click on the link? Steffen --- ___ 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 ___ -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgpoOKwtlJeAm.pgp Description: PGP signature ___ 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] solution for missing bookmark (minimal example)
Am 23.02.2012 um 15:48 schrieb Philipp Gesang: On 2012-02-23 14:45, Steffen Wolfrum wrote: I ran the resulting PDF (attached) with every PDF reader on Mac and Windows ... and all results were the same: no link for bookmark FIVE, SIX, SEVEN. Confirmed for version 2012-01-16/Linux x64 with Okular. (Current beta seems fine, though.) but current beta shouldn't be used, as it has not yet (fully) working footnotes. thus, a version before february must be used ... (that's a problem). Steffen ___ 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] Titles break TikZ
On 7 February 2012 13:06, Philipp A. flying-sh...@web.de wrote: with some recent beta (sorry for vagueness), tikz stopped working after titles. (i use first-setup.sh to install: these are the betas, not something different, right?) I can confirm that this is similar to the problems I am experiencing. The problem was introduced between BETA 2012.01.02 19:23 and BETA 2012.01.11 14:58. (These are based on the gitorious revisions). There were some betas released between these two, but they caused other problems which would stop the document compiling, so I can't narrow it down further. The following files were changed between these two revisions: context\data\scite\lexers\data\scite-context-data-context.lua context\data\scite\scite-context-data-context.properties metapost\context\base\mp-core.mpiv metapost\context\base\mp-grph.mpiv metapost\context\base\mp-tool.mpiv scripts\context\lua\mtx-interface.lua scripts\context\lua\mtx-update.lua tex\context\base\anch-bck.mkvi tex\context\base\anch-pgr.mkiv tex\context\base\anch-pos.mkiv tex\context\base\buff-ini.mkiv tex\context\base\buff-ver.mkiv tex\context\base\colo-ini.lua tex\context\base\colo-ini.mkiv tex\context\base\cont-log.mkiv tex\context\base\cont-new.mkii tex\context\base\cont-new.mkiv tex\context\base\context-version.pdf tex\context\base\context-version.png tex\context\base\context.mkii tex\context\base\context.mkiv tex\context\base\core-def.mkiv tex\context\base\core-mis.mkiv tex\context\base\core-sys.mkiv tex\context\base\font-col.lua tex\context\base\font-ctx.lua tex\context\base\font-ext.lua tex\context\base\font-gds.mkiv tex\context\base\font-run.mkiv tex\context\base\font-tra.mkiv tex\context\base\font-unk.mkiv tex\context\base\grph-fig.mkiv tex\context\base\grph-inc.mkiv tex\context\base\grph-trf.mkiv tex\context\base\lang-def.mkiv tex\context\base\lpdf-ano.lua tex\context\base\luat-mac.lua tex\context\base\lxml-tex.lua tex\context\base\math-ali.mkiv tex\context\base\math-ini.mkiv tex\context\base\meta-ini.mkiv tex\context\base\meta-pag.mkiv tex\context\base\meta-tex.mkiv tex\context\base\mult-aux.mkiv tex\context\base\mult-dim.mkvi tex\context\base\mult-ini.mkiv tex\context\base\mult-low.lua tex\context\base\mult-sys.mkiv tex\context\base\pack-box.mkiv tex\context\base\pack-mrl.mkiv tex\context\base\pack-obj.mkiv tex\context\base\pack-rul.mkiv tex\context\base\page-brk.mkiv tex\context\base\page-imp.mkiv tex\context\base\page-ini.mkiv tex\context\base\page-lay.mkiv tex\context\base\page-mul.mkiv tex\context\base\page-run.mkiv tex\context\base\page-set.mkiv tex\context\base\page-sid.mkiv tex\context\base\page-txt.mkvi tex\context\base\prop-ini.mkiv tex\context\base\s-map-10.mkiv tex\context\base\scrn-but.mkvi tex\context\base\scrn-fld.lua tex\context\base\scrp-ini.mkiv tex\context\base\spac-ali.mkiv tex\context\base\spac-def.mkiv tex\context\base\spac-hor.mkiv tex\context\base\spac-ver.lua tex\context\base\spac-ver.mkiv tex\context\base\status-files.pdf tex\context\base\status-lua.pdf tex\context\base\status-mkiv.lua tex\context\base\status-mkiv.tex tex\context\base\strc-des.mkiv tex\context\base\strc-doc.mkiv tex\context\base\strc-flt.mkvi tex\context\base\strc-itm.mkvi tex\context\base\strc-lst.mkiv tex\context\base\strc-mat.mkiv tex\context\base\strc-ref.lua tex\context\base\strc-ref.mkvi tex\context\base\strc-reg.mkiv tex\context\base\strc-ren.mkiv tex\context\base\strc-sec.mkiv tex\context\base\supp-box.mkiv tex\context\base\supp-num.mkiv tex\context\base\symb-ini.mkiv tex\context\base\syst-aux.mkiv tex\context\base\syst-ini.mkiv tex\context\base\tabl-tbl.mkiv tex\context\base\tabl-xtb.mkvi tex\context\base\type-set.mkiv tex\context\base\type-siz.mkiv tex\context\base\typo-cap.mkiv tex\context\base\typo-cln.lua tex\context\base\typo-cln.mkiv tex\context\base\typo-krn.lua tex\context\base\typo-krn.mkiv tex\context\base\typo-spa.lua tex\context\base\typo-spa.mkiv tex\generic\context\luatex\luatex-fonts-merged.lua The following were added: metapost\context\base\mp-idea.mpiv tex\context\base\font-col.mkvi tex\context\base\font-emp.mkvi tex\context\base\font-ini.mkvi tex\context\base\font-pre.mkiv tex\context\base\spac-lin.mkiv tex\context\base\type-fbk.mkiv tex\context\base\type-ini.mkvi tex\context\bib\backup\sample.bib And the following were removed (actually these are renames of some of the above files): tex\context\base\font-col.mkiv tex\context\base\font-ini.mkiv tex\context\base\type-ini.mkiv I've tried applying the changes individually but I ran into issues with things not being applied in the correct order. If anyone can suggest some files I should look at then I can experiment further. Felix ___ 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
Re: [NTG-context] Dubious checksum mismatch message on log file
Am Wed, 1 Feb 2012 17:23:09 +0200 schrieb Khaled Hosny: I tried printing the tfm table we pass to the backed, and the checksum matches the one in the VF file, so this is a bit confusing Well I actually don't know what test is actually done (and why exactly) but some remarks: 1. If I try to convert the binary pplr7t.vf to the readable vpl-file I need *two* tfm-files: pplr7t.tfm and pplr8r.tfm. 2. vftovp tells me during the conversion: Check sum in VF file being replaced by TFM check sum which probably means that the vpl-file doesn't contain the original checksum(s) of the vf-file. 3. The vpl file contains two checksums: (CHECKSUM O 25136566211) and a checksum in the mapfont entry: (MAPFONT D 0 (FONTNAME pplr8r) (FONTCHECKSUM O 36571141413) (FONTAT R 1.0) (FONTDSIZE R 10.0) ) So which of both is actually checked against which tfm checksum (and gives the mismatch message)? Btw: Two years ago I ran against a checksum mismatch message concerning the width of characters. In this case the culprit was a different calculation method for tfm and vf: http://tug.org/mailman/htdig/pdftex/2009-May/008035.html -- Ulrike Fischer ___ 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] two problems with natural tables
On 18-1-2012 05:19, Brian Landy wrote: Hi, sorry to dredge up such an old thread, but I recently updated from a Feb 2010 vintage minimals to current (first to 1/12/2012, then to today 1/17). I ran into problems splitting a table within a splitfloat. I search the list archives and came up with this example, which is failing for me. \starttext \placetable[split]{Test} {\bTABLE[split=yes] \dorecurse{60}{ \bTR \bTD hello \eTD \eTR } \eTABLE} \stoptext argument \c!suffixstopper In your cont-new.mkiv file, add (after \unprotect) \def\c!suffixstopper{suffixstopper} I wonder why it show up now ... either I lost some definition or it suddenly started working Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] two problems with natural tables
This worked perfectly, thanks! Brian On Jan 18, 2012, at 3:47 AM, Hans Hagen pra...@wxs.nl wrote: On 18-1-2012 05:19, Brian Landy wrote: Hi, sorry to dredge up such an old thread, but I recently updated from a Feb 2010 vintage minimals to current (first to 1/12/2012, then to today 1/17). I ran into problems splitting a table within a splitfloat. I search the list archives and came up with this example, which is failing for me. \starttext \placetable[split]{Test} {\bTABLE[split=yes] \dorecurse{60}{ \bTR \bTD hello \eTD \eTR } \eTABLE} \stoptext argument \c!suffixstopper In your cont-new.mkiv file, add (after \unprotect) \def\c!suffixstopper{suffixstopper} I wonder why it show up now ... either I lost some definition or it suddenly started working Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : 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 ___
[NTG-context] xtable formatting issues
Hi, I’ve been experimenting a bit with converting some natural tables into xtables and ran across two issues. The first has to do with nested xtables and settings. In particular, if you attempt to set a cell’s width on the internal table using \setupxtable the option is lost. In the below example testtable1 doesn’t format properly when nested; testtable2 does. I also included some font and color examples to show they cascade more as I’d expect (the outer table’s settings are used unless overridden by the inner table). The second thing I noticed is that attempting to set the font via foregroundstyle only works when done vie \setupxtable. Attempting to assign this directly to the cell causes compile errors (the commented table in the example). Maybe I should be setting the font some other way? (this is how I always did it with natural tables). Finally, does xtable have something like the aligncharacter mechanism in natural tables? Thanks, Brian \starttext \setupxtable[wd1][background=color,backgroundcolor=yellow,width=1.0in] \setupxtable[wd2][background=color,backgroundcolor=green,width=2.0in] \setupxtable[fnit][foregroundstyle={\switchtobodyfont[modern,ss]\it}] \setupxtable[fnbf][foregroundstyle={\switchtobodyfont[modern,ss]\bf}] \startbuffer[testtable1] \startxtable \startxrow \startxcell[fnbf] bold \stopxcell \startxcell[wd1] 1in? \stopxcell \stopxrow \stopxtable \stopbuffer \startbuffer[testtable2] \startxtable \startxrow \startxcell[fnbf] bold \stopxcell \startxcell[background=color,backgroundcolor=yellow,width=1.0in] 1in? \stopxcell \stopxrow \stopxtable \stopbuffer \getbuffer[testtable1] \getbuffer[testtable2] \startxtable \startxrow \startxcell[fnit] \getbuffer[testtable1] \stopxcell \startxcell[wd2] \getbuffer[testtable1] \stopxcell \stopxrow \startxrow \startxcell[fnit] \getbuffer[testtable2] \stopxcell \startxcell[wd2] \getbuffer[testtable2] \stopxcell \stopxrow \stopxtable % below fails, foregroundstyle set in this fashion must be done through \setuptable %\startxtable %\startxrow \startxcell[foregroundstyle={\switchtobodyfont[modern,rm]\it}] italic \stopxcell \stopxrow %\stopxtable \stoptext ___ 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] two problems with natural tables
Hi, sorry to dredge up such an old thread, but I recently updated from a Feb 2010 vintage minimals to current (first to 1/12/2012, then to today 1/17). I ran into problems splitting a table within a splitfloat. I search the list archives and came up with this example, which is failing for me. \starttext \placetable[split]{Test} {\bTABLE[split=yes] \dorecurse{60}{ \bTR \bTD hello \eTD \eTR } \eTABLE} \stoptext I get this error: ! Undefined control sequence. system tex error on line 7 in file test.tex: Undefined control sequence ... 1 \starttext 2 \placetable[split]{Test} 3 {\bTABLE[split=yes] 4 \dorecurse{60}{ 5 \bTR \bTD hello \eTD \eTR 6 } 7 \eTABLE} 8 \stoptext 9 argument \c!suffixstopper \floatcaptionparameter ...\currentfloatcaption :#1 \endcsname \??floatcaption... argument ...mber )}\thecurrentfloatnumbersuffix \dostoptagged \dostarttagg... \flushbothlabelclass #1#2#3-#1#3 #2 \namedtaggedlabeltexts ...\dostarttagged {#1}{#2}} \dostoptagged \endgroup \thecurrentfloatnumber ...rrentfloatnumbersuffix } \fi \fi \fi ... l.7 \eTABLE } Any ideas? Thanks, Brian On Apr 20, 2011, at 3:30 AM, Florian Wobbe wrote: On Apr 18, 2011, at 21:14 , Hans Hagen wrote: On 18-4-2011 7:16, Wolfgang Schuster wrote: \def\floatcaptionattribute {\iflocation \ifnofloatnumber \else \ifnofloatcaption \else \ifinsidesplitfloat \else attr \destinationattribute \currentfloatattribute \fi \fi \fi \fi} ok, patched Wolfgang, Hans, as usual thanks for the support and the quick fix! Florian ___ 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 ___
Re: [NTG-context] Wrong placement parameter (Was: two problems with natural tables)
Hello, ** Brian Landy [2012-01-17 23:19:41 -0500]: Hi, sorry to dredge up such an old thread, but I recently updated from a Feb 2010 vintage minimals to current (first to 1/12/2012, then to today 1/17). I ran into problems splitting a table within a splitfloat. I search the list archives and came up with this example, which is failing for me. Don't hi-jack old thread with unrelated question, always start new topic on new problem. \starttext \placetable[split]{Test} {\bTABLE[split=yes] \dorecurse{60}{ \bTR \bTD hello \eTD \eTR } \eTABLE} \stoptext I get this error: ! Undefined control sequence. system tex error on line 7 in file test.tex: Undefined control sequence ... 1 \starttext 2 \placetable[split]{Test} 3 {\bTABLE[split=yes] 4 \dorecurse{60}{ 5 \bTR \bTD hello \eTD \eTR 6 } 7 \eTABLE} 8 \stoptext 9 argument \c!suffixstopper \floatcaptionparameter ...\currentfloatcaption :#1 \endcsname \??floatcaption... argument ...mber )}\thecurrentfloatnumbersuffix \dostoptagged \dostarttagg... \flushbothlabelclass #1#2#3-#1#3 #2 \namedtaggedlabeltexts ...\dostarttagged {#1}{#2}} \dostoptagged \endgroup \thecurrentfloatnumber ...rrentfloatnumbersuffix } \fi \fi \fi ... l.7 \eTABLE } Any ideas? According to Command reference on wiki, placetable doesn't have 'split' parameter, see http://wiki.contextgarden.net/Reference/en/placefloat Just remove 'split' and your example will be compiled. --- WBR, Vladimir Lomov -- Quality control, n.: Assuring that the quality of a product does not get out of hand and add to the cost of its manufacture or design. ___ 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] Broken Rotation in Nightly
Hey folks, I've noticed the latest nightly I ran (2012.01.12) chokes on \rotate in the following context: \midaligned{\rotate[rotation=42]{\color[red] \bft Some text!}} I get the following error if I don't comment out that line. resolversmodules loaded: 'simplefonts' (/usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.tex loading ConTeXt User Module / Simplefonts + /usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.lua)) ! Missing } inserted. inserted text } to be read again \vfill l.23 \vfill -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ 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] Broken Rotation in Nightly
On Fri, 13 Jan 2012, Kip Warner wrote: Hey folks, I've noticed the latest nightly I ran (2012.01.12) chokes on \rotate in the following context: \midaligned{\rotate[rotation=42]{\color[red] \bft Some text!}} \color is no longer a switch; it must be used as \color[red]{...}. Aditya ___ 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] itemize and \its
On 29-12-2011 16:11, Herbert Voss wrote: this one also worked some weeks ago: \mainlanguage[de] \starttext \startitemize[8,packed] [width=8em,distance=2em,items=5] \ran {no\hss yes} \its I can not do it without \TeX. \mar{+} I use \TeX\ with other packages. \its I hardly use \TeX. \ran{\hss The future\hss} \its I will use \TeX\ forever. \its I expect no alternative to \TeX\ in the next few years. \its I am looking for another system. \stopitemize + Only {\it no} possible. \stoptext in strc-itm.mkvi there is: \unexpanded\def\itemgroups_start {\dosingleempty\itemgroups_start_items} \unexpanded\def\itemgroups_start_items[#whatever]% which should be \unexpanded\def\itemgroups_start_items {\dosingleempty\itemgroups_start_items_indeed} \unexpanded\def\itemgroups_start_items_indeed[#whatever]% (else the check for [] gets lost) thanks for testing (I cleaned up the itemize code so there coul dbe more such issues). Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] bug with --purgeall?
On 29-12-2011 17:12, Pablo Rodríguez wrote: On 12/29/2011 04:01 PM, Hans Hagen wrote: On 29-12-2011 07:24, Pablo Rodríguez wrote: Hi there, yesterday I ran the following command: context --purgeall --environment=mysecondstyle.tex --mode=myexample.xml I know that the source file is missing (I discovered it later). This is not my issue. The problem is that the --purgeall option caused context to erase all ..log files contained in that directory. Instead of asking for a source file name, it deleted all .log files. I'm afraid this is a bug, at least it shouldn't erase files that context didn't generate. how should it know? By name and by modification date and time. But in any case, the following command: context --purgeall should give an error (missing document) before trying to purge all documents. Well, I use it to really purge all those files, including logs (left overs from tests and such). Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] bug with --purgeall?
On 29-12-2011 07:24, Pablo Rodríguez wrote: Hi there, yesterday I ran the following command: context --purgeall --environment=mysecondstyle.tex --mode=myexample.xml I know that the source file is missing (I discovered it later). This is not my issue. The problem is that the --purgeall option caused context to erase all ..log files contained in that directory. Instead of asking for a source file name, it deleted all .log files. I'm afraid this is a bug, at least it shouldn't erase files that context didn't generate. how should it know - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] itemize and \its
this one also worked some weeks ago: \mainlanguage[de] \starttext \startitemize[8,packed] [width=8em,distance=2em,items=5] \ran {no\hss yes} \its I can not do it without \TeX. \mar{+} I use \TeX\ with other packages. \its I hardly use \TeX. \ran{\hss The future\hss} \its I will use \TeX\ forever. \its I expect no alternative to \TeX\ in the next few years. \its I am looking for another system. \stopitemize + Only {\it no} possible. \stoptext Herbert ! Use of \its doesn't match its definition. system tex error on line 6 in file 05-01-7.ctxcrop: Use of ... 1 \mainlanguage[de] 2 \starttext 3 \startitemize[8,packed] 4 [width=8em,distance=2em,items=5] 5 \ran {no\hss yes} 6\its I can not do it without \TeX. 7 \mar{+} I use \TeX\ with other packages. 8 \its I hardly use \TeX. 9 \ran{\hss The future\hss} 10 \its I will use \TeX\ forever. 11 \its I expect no alternative to \TeX\ 12 in the next few years. 13 \its I am looking for another system. 14 \stopitemize 15 + Only {\it no} possible. 16 \stoptext l.6 \its I can not do it without \TeX. ___ 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] bug with --purgeall?
On 12/29/2011 04:01 PM, Hans Hagen wrote: On 29-12-2011 07:24, Pablo Rodríguez wrote: Hi there, yesterday I ran the following command: context --purgeall --environment=mysecondstyle.tex --mode=myexample.xml I know that the source file is missing (I discovered it later). This is not my issue. The problem is that the --purgeall option caused context to erase all ..log files contained in that directory. Instead of asking for a source file name, it deleted all .log files. I'm afraid this is a bug, at least it shouldn't erase files that context didn't generate. how should it know? By name and by modification date and time. But in any case, the following command: context --purgeall should give an error (missing document) before trying to purge all documents. 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] 2UP broken or changed?
On Thu, Dec 22, 2011 at 11:16, Mari Voipio mari.voi...@iki.fi wrote: After I got my layers (i.e. covers) organize, I ran into some postprocessing problems. OK, back to work and I could dig deeper into the problem. It turns out that inserting and filtering pages from a pdf file works fine and most of imposition works out, too, and I even managed to create some fancy folding booklets with 1*8 (thanks, Willi, for the lecture you gave at CM4 on this stuff!), but my 2UP refuses to work. This works: \setuppapersize[A5][A4,landscape] %individual page A5 size, print size A4 \setuparranging[2SIDE] \setuplayout [backspace=0pt, topspace=0pt, width=middle, height=middle, location=middle, header=0pt, footer=0pt] \starttext \filterpages [maoutput.pdf][1,3,5:22][width=0pt] \stoptext This works, too: \setuppapersize[A5][A3] \setuparranging[2DOWN] \setuplayout [backspace=0pt, topspace=0pt, width=middle, height=middle, location=middle, header=0pt, footer=0pt, marking=on] \starttext \insertpages [maoutput.pdf][width=0pt] \stoptext However, if I switch to 2UP on either (2SIDE or 2DOWN), I get ten pages of nothing. Or rather, on the latter I get 10 pages of cut marks as marking is on. I'm running the newest beta, from December 23. The problem is not critical (at least not yet), although if I get the A5 - A4 booklet to work on ConTeXt, it'll speed up a few processes (and shorten our printing queues...). Thanks, Mari ___ 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] Broken Nightly Still
pagesflushing realpage 5, userpage 3, subpage 1 backend references invalid page reference: 0 backend references invalid page reference: 0 backend references invalid page reference: 0 references unknown reference [Core Leitmotifs][Socioeconomic Modelling] Overfull \hbox (2.24402pt too wide) detected at line 52 [] backend references invalid page reference: 0 ) (Source/The_Game/The_Game.tex pagesflushing realpage 6, userpage 4, subpage 2 structuresectioning chapter @ level 2 : 0.2 - The Game (Source/Timeline/Arda_Independence_Letter.tex Underfull \hbox (badness 1) in paragraph at lines 18--18 [][]\*simplefonts:19pf* Earth has been pre-sented to date with the pub-lic face of a brave, off-world, United Underfull \hbox (badness 1) in paragraph at lines 18--18 \*simplefonts:19pf* Na-tions re-search fron-tier, pas-sion-ately con-cerned with all man-ner of Ter-ran sus-tain- Underfull \hbox (badness 1) in paragraph at lines 18--18 \*simplefonts:19pf* abil-ity. The man-date en-trust-ing this first Mar-t-ian set-tle-ment's tech-ni-cal ad-min-is- Underfull \hbox (badness 1) in paragraph at lines 18--18 \*simplefonts:19pf* tra-tion to my care un-der the higher strate-gic di-rec-tion and over-sight of your Of-fice Underfull \hbox (badness 1) in paragraph at lines 18--18 \*simplefonts:19pf* back on Earth has been faith-fully ex-e-cuted to date. Dare I say, the set-tlers and I Underfull \hbox (badness 1) in paragraph at lines 18--18 \*simplefonts:19pf* feel an af-fec-tion for this world at least that for Earth and find our-selves dis-posed Underfull \hbox (badness 1) in paragraph at lines 20--20 [][]\*simplefonts:19pf* But Mars is far from be-ing a per-fect world. Un-be-knownst to even the set-tlers, the Underfull \hbox (badness 1) in paragraph at lines 20--20 \*simplefonts:19pf* set-tle-ment's de-sign since its very in-cep-tion was a dark one mod-elled covertly to Underfull \hbox (badness 1) in paragraph at lines 20--20 \*simplefonts:19pf* emerge a ba-nana re-pub-lic. Fash-ioned as a con-tem-po-rary ana-logue ought, we are out- Underfull \hbox (badness 1) in paragraph at lines 20--20 \*simplefonts:19pf* fit-ted with rail-guns, end-lessly cat-a-pult-ing our deu-terium and other ma-te-r-ial ex-ports Underfull \hbox (badness 1) in paragraph at lines 20--20 \*simplefonts:19pf* across the so-lar sys-tem back to Earth in a man-ner damn-ingly rem-i-nis-cent of the gold, Underfull \hbox (badness 1) in paragraph at lines 22--22 [][]\*simplefonts:19pf* Con-cur-rently our sus-tain-abil-ity re-search fa-cil-i-ties here on Mars, to which Ter-rans Underfull \hbox (badness 1) in paragraph at lines 22--22 \*simplefonts:19pf* are crit-i-cally de-pen-dent upon, are sys-tem-at-i-cally dis-man-tled such that our wealth Underfull \hbox (badness 1) in paragraph at lines 22--22 \*simplefonts:19pf* may be jet-ti-soned ever more ex-pe-di-tiously. These spoils are then ap-pro-pri-ated by a Underfull \hbox (badness 1) in paragraph at lines 22--22 \*simplefonts:19pf* morally and en-vi-ron-men-tally bank-rupt world, none other than Earth it-self, al-le-vi-at- Underfull \hbox (badness 1) in paragraph at lines 22--22 \*simplefonts:19pf* ing nei-ther the af-flic-tions that prompted our dan-ger-ous jour-ney here nor the debts Underfull \hbox (badness 1) in paragraph at lines 24--24 [][]\*simplefonts:19pf* I watched qui-etly over the years as we laboured with-out pause to pro-vide for this Underfull \hbox (badness 1) in paragraph at lines 24--24 \*simplefonts:19pf* in-sa-tiable Ter-ran ap-petite, even as it be-came ob-vi-ous we were be-ing ex-ploited. Such Underfull \hbox (badness 1) in paragraph at lines 24--24 \*simplefonts:19pf* an ap-petite lim-its it-self but to lit-tle more than cor-nu-copi-anism and usury amidst Underfull \hbox (badness 1) in paragraph at lines 24--24 \*simplefonts:19pf* all the splen-dour and knowl-edge this beau-ti-ful Red Planet has to of-fer hu-man-ity. Underfull \hbox (badness 1) in paragraph at lines 24--24 \*simplefonts:19pf* I watched the Mar-t-ian chron-i-cle un-fold as Ter-ran ten-ta-cles trans-formed it from the Underfull \hbox (badness 1) in paragraph at lines 24--24 \*simplefonts:19pf* reifi-able dream of the re-search fron-tier it once was into the night-mare glo-ri-fied Underfull \hbox (badness 1) in paragraph at lines 26--26 [][]\*simplefonts:19pf* And now I watch as I have be-come con-sumed by a cri-sis of con-science such that I am Underfull \hbox (badness 1) in paragraph at lines 26--26 \*simplefonts:19pf* no longer able to faith-fully ex-e-cute the di-rec-tives of your Of-fice as Mis-sion Com- Underfull \hbox (badness 1) in paragraph at lines 26
[NTG-context] bug with --purgeall?
Hi there, yesterday I ran the following command: context --purgeall --environment=mysecondstyle.tex --mode=myexample.xml I know that the source file is missing (I discovered it later). This is not my issue. The problem is that the --purgeall option caused context to erase all .log files contained in that directory. Instead of asking for a source file name, it deleted all .log files. I'm afraid this is a bug, at least it shouldn't erase files that context didn't generate. 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] Problem with \insertpages
Hello! After I got my layers (i.e. covers) organize, I ran into some postprocessing problems. This used to work, I've last used it just a month ago. \setuppapersize[A5][A4] %individual page A5 size, print size A4 \setuparranging[2UP,rotated] %makes a single booklet when folded (duplex printing!) \setupoutput[pdf] \setuplayout [backspace=0pt, topspace=0pt, width=middle, height=middle, location=middle, header=0pt, footer=0pt] \setuppagenumbering[alternative=doublesided] \starttext \insertpages [pr-33-gp.pdf][width=0pt] \stoptext [see also http://wiki.contextgarden.net/Including_pages_from_PDF_document] It no longer works, I just get a pdf with blank pages, even though the input pdf is fine. If I remember to tell my SciTe to Process and Arrange, it definitely tries to arrange the pages, but something just goes wrong (the whole log is attached). First it goes pr-33-gp.pdf pagesflushing realpage 51, userpage 51 pr-33-gp.pdf pagesflushing realpage 52, userpage 52 pr-33-gp.pdf pagesflushing realpage 53, userpage 53 pr-33-gp.pdf pagesflushing realpage 54, userpage 54 ) Then it does system 48.48 arranged at 48 system 49.49 arranged at 49 system 50.50 arranged at 50 system 51.51 arranged at 51 system 52.52 arranged at 52 system 53.53 arranged at 53 system 54.54 arranged at 54 system 55.55 arranged at 55 system 56.56 arranged at 56 And then: just blank pdf, 28 A4 portrait pages of nothing. It's quite possible it's my code that sucks and it shouldn't have worked in the first place, but I'd love to find out how to fix it. :-) It is not critical per se as I can do some stuff in Acrobat, but in the long run I'd better get this to work. Thanks, Mari pr-33-gp_booklet.log 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 ___
[NTG-context] Broken Nightly
, userpage 3, subpage 1 backend references invalid page reference: 0 backend references invalid page reference: 0 backend references invalid page reference: 0 references unknown reference [Core Leitmotifs][Socioeconomic Modelling] Overfull \hbox (2.24402pt too wide) detected at line 52 [] backend references invalid page reference: 0 ) (Source/The_Game/The_Game.tex pagesflushing realpage 6, userpage 4, subpage 2 structuresectioning chapter @ level 2 : 0.2 - The Game (Source/Timeline/Arda_Independence_Letter.tex Underfull \hbox (badness 1) in paragraph at lines 18--18 [][]\*simplefonts:19pf* Earth has been pre-sented to date with the pub-lic face of a brave, off-world, United Underfull \hbox (badness 1) in paragraph at lines 18--18 \*simplefonts:19pf* Na-tions re-search fron-tier, pas-sion-ately con-cerned with all man-ner of Ter-ran sus-tain- Underfull \hbox (badness 1) in paragraph at lines 18--18 \*simplefonts:19pf* abil-ity. The man-date en-trust-ing this first Mar-t-ian set-tle-ment's tech-ni-cal ad-min-is- Underfull \hbox (badness 1) in paragraph at lines 18--18 \*simplefonts:19pf* tra-tion to my care un-der the higher strate-gic di-rec-tion and over-sight of your Of-fice Underfull \hbox (badness 1) in paragraph at lines 18--18 \*simplefonts:19pf* back on Earth has been faith-fully ex-e-cuted to date. Dare I say, the set-tlers and I Underfull \hbox (badness 1) in paragraph at lines 18--18 \*simplefonts:19pf* feel an af-fec-tion for this world at least that for Earth and find our-selves dis-posed Underfull \hbox (badness 1) in paragraph at lines 20--20 [][]\*simplefonts:19pf* But Mars is far from be-ing a per-fect world. Un-be-knownst to even the set-tlers, the Underfull \hbox (badness 1) in paragraph at lines 20--20 \*simplefonts:19pf* set-tle-ment's de-sign since its very in-cep-tion was mod-elled covertly to emerge a ba- Underfull \hbox (badness 1) in paragraph at lines 20--20 \*simplefonts:19pf* nana re-pub-lic. Fash-ioned as a con-tem-po-rary ana-logue ought, we are out-fit-ted with Underfull \hbox (badness 1) in paragraph at lines 20--20 \*simplefonts:19pf* rail-guns, end-lessly cat-a-pult-ing our deu-terium and other ma-te-r-ial ex-ports across the Underfull \hbox (badness 1) in paragraph at lines 20--20 \*simplefonts:19pf* so-lar sys-tem back to Earth in a man-ner damn-ingly rem-i-nis-cent of the gold, silk, and Underfull \hbox (badness 1) in paragraph at lines 22--22 [][]\*simplefonts:19pf* Con-cur-rently our sus-tain-abil-ity re-search fa-cil-i-ties here on Mars, to which Ter-rans Underfull \hbox (badness 1) in paragraph at lines 22--22 \*simplefonts:19pf* are crit-i-cally de-pen-dent upon, are sys-tem-at-i-cally dis-man-tled such that our wealth Underfull \hbox (badness 1) in paragraph at lines 22--22 \*simplefonts:19pf* may be jet-ti-soned ever more ex-pe-di-tiously. These spoils are then ap-pro-pri-ated by a Underfull \hbox (badness 1) in paragraph at lines 22--22 \*simplefonts:19pf* morally and en-vi-ron-men-tally bank-rupt world, none other than Earth it-self, al-le-vi-at- Underfull \hbox (badness 1) in paragraph at lines 22--22 \*simplefonts:19pf* ing nei-ther the af-flic-tions that prompted our dan-ger-ous jour-ney here nor the debts Underfull \hbox (badness 1) in paragraph at lines 24--24 [][]\*simplefonts:19pf* I watched qui-etly over the years as we laboured with-out pause to pro-vide for this Underfull \hbox (badness 1) in paragraph at lines 24--24 \*simplefonts:19pf* in-sa-tiable Ter-ran ap-petite, even as it be-came ob-vi-ous we were be-ing ex-ploited. Such Underfull \hbox (badness 1) in paragraph at lines 24--24 \*simplefonts:19pf* an ap-petite lim-its it-self but to lit-tle more than cor-nu-copi-anism and usury amidst Underfull \hbox (badness 1) in paragraph at lines 24--24 \*simplefonts:19pf* all the splen-dour and knowl-edge this beau-ti-ful Red Planet has to of-fer hu-man-ity. Underfull \hbox (badness 1) in paragraph at lines 24--24 \*simplefonts:19pf* I watched the Mar-t-ian chron-i-cle un-fold as Ter-ran ten-ta-cles trans-formed it from the Underfull \hbox (badness 1) in paragraph at lines 24--24 \*simplefonts:19pf* reifi-able dream it once was into the night-mare it is now - at the cost of so-cial Underfull \hbox (badness 1) in paragraph at lines 26--26 [][]\*simplefonts:19pf* And now I watch as I have be-come con-sumed by a cri-sis of con-science such that I am Underfull \hbox (badness 1) in paragraph at lines 26--26 \*simplefonts:19pf* no longer able to faith-fully ex-e-cute the di-rec-tives of your Of-fice as Mis-sion Com- Underfull \hbox (badness 1) in paragraph at lines 26--26 \*simplefonts:19pf* man-der of the United Na-tions ex-trater
Re: [NTG-context] Undefined control sequence
references invalid page reference: 0 backend references invalid page reference: 0 Overfull \hbox (2.51901pt too wide) detected at line 37 [] backend references invalid page reference: 0 backend references invalid page reference: 0 pagesflushing realpage 5, userpage 3, subpage 1 backend references invalid page reference: 0 backend references invalid page reference: 0 backend references invalid page reference: 0 references unknown reference [Core Leitmotifs][Socioeconomic Modelling] Overfull \hbox (2.24402pt too wide) detected at line 52 [] backend references invalid page reference: 0 ) (Source/The_Game/The_Game.tex pagesflushing realpage 6, userpage 4, subpage 2 structuresectioning chapter @ level 2 : 0.2 - The Game (Source/Timeline/Arda_Independence_Letter.tex Underfull \hbox (badness 1) in paragraph at lines 18--18 [][]\*simplefonts:19pf* Earth has been pre-sented to date with the pub-lic face of a brave, off-world, United Underfull \hbox (badness 1) in paragraph at lines 18--18 \*simplefonts:19pf* Na-tions re-search fron-tier, pas-sion-ately con-cerned with all man-ner of Ter-ran sus-tain- Underfull \hbox (badness 1) in paragraph at lines 18--18 \*simplefonts:19pf* abil-ity. The man-date en-trust-ing this first Mar-t-ian set-tle-ment's tech-ni-cal ad-min-is- Underfull \hbox (badness 1) in paragraph at lines 18--18 \*simplefonts:19pf* tra-tion to my care un-der the higher strate-gic di-rec-tion and over-sight of your Of-fice Underfull \hbox (badness 1) in paragraph at lines 18--18 \*simplefonts:19pf* back on Earth has been faith-fully ex-e-cuted to date. Dare I say, the set-tlers and I Underfull \hbox (badness 1) in paragraph at lines 18--18 \*simplefonts:19pf* feel an af-fec-tion for this world at least that for Earth and find our-selves dis-posed Underfull \hbox (badness 1) in paragraph at lines 20--20 [][]\*simplefonts:19pf* But Mars is far from be-ing a per-fect world. Un-be-knownst to even the set-tlers, the Underfull \hbox (badness 1) in paragraph at lines 20--20 \*simplefonts:19pf* set-tle-ment's de-sign since its very in-cep-tion was mod-elled covertly to emerge a ba- Underfull \hbox (badness 1) in paragraph at lines 20--20 \*simplefonts:19pf* nana re-pub-lic. Fash-ioned as a con-tem-po-rary ana-logue ought, we are out-fit-ted with Underfull \hbox (badness 1) in paragraph at lines 20--20 \*simplefonts:19pf* rail-guns, end-lessly cat-a-pult-ing our deu-terium and other ma-te-r-ial ex-ports across the Underfull \hbox (badness 1) in paragraph at lines 20--20 \*simplefonts:19pf* so-lar sys-tem back to Earth in a man-ner damn-ingly rem-i-nis-cent of the gold, silk, and Underfull \hbox (badness 1) in paragraph at lines 22--22 [][]\*simplefonts:19pf* Con-cur-rently our sus-tain-abil-ity re-search fa-cil-i-ties here on Mars, to which Ter-rans Underfull \hbox (badness 1) in paragraph at lines 22--22 \*simplefonts:19pf* are crit-i-cally de-pen-dent upon, are sys-tem-at-i-cally dis-man-tled such that our wealth Underfull \hbox (badness 1) in paragraph at lines 22--22 \*simplefonts:19pf* may be jet-ti-soned ever more ex-pe-di-tiously. These spoils are then ap-pro-pri-ated by a Underfull \hbox (badness 1) in paragraph at lines 22--22 \*simplefonts:19pf* morally and en-vi-ron-men-tally bank-rupt world, none other than Earth it-self, al-le-vi-at- Underfull \hbox (badness 1) in paragraph at lines 22--22 \*simplefonts:19pf* ing nei-ther the af-flic-tions that prompted our dan-ger-ous jour-ney here nor the debts Underfull \hbox (badness 1) in paragraph at lines 24--24 [][]\*simplefonts:19pf* I watched qui-etly over the years as we laboured with-out pause to pro-vide for this Underfull \hbox (badness 1) in paragraph at lines 24--24 \*simplefonts:19pf* in-sa-tiable Ter-ran ap-petite, even as it be-came ob-vi-ous we were be-ing ex-ploited. Such Underfull \hbox (badness 1) in paragraph at lines 24--24 \*simplefonts:19pf* an ap-petite lim-its it-self but to lit-tle more than cor-nu-copi-anism and usury amidst Underfull \hbox (badness 1) in paragraph at lines 24--24 \*simplefonts:19pf* all the splen-dour and knowl-edge this beau-ti-ful Red Planet has to of-fer hu-man-ity. Underfull \hbox (badness 1) in paragraph at lines 24--24 \*simplefonts:19pf* I watched the Mar-t-ian chron-i-cle un-fold as Ter-ran ten-ta-cles trans-formed it from the Underfull \hbox (badness 1) in paragraph at lines 24--24 \*simplefonts:19pf* reifi-able dream it once was into the night-mare it is now - at the cost of so-cial Underfull \hbox (badness 1) in paragraph at lines 26--26 [][]\*simplefonts:19pf* And now I watch as I have be-come con-sumed by a cri-sis of con-science such that I am
Re: [NTG-context] Preserving Output Files
On 6-12-2011 04:27, Kip Warner wrote: Hey list, I've searched the list, but couldn't seem to dig up anything that I thought was relevant. How do I get ConTeXt to preserve all files necessary to run the same invocation of LuaTeX it executed when it was run. As an example, when I run the following... $ context Source/Handbook.tex --result=Handbook.pdf it says that it ran the following... luatex --fmt=/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en --lua=/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en.lui --backend=pdf Handbook.tex If I run the same luatex command on its own, it cannot find the temporary working files passed to it in its parameters. I tried running ConTeXt with the --keep argument, but those temporary files were still not preserved. what temporary files? - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Preserving Output Files
On Fri, 2011-12-09 at 18:39 +0100, Hans Hagen wrote: On 6-12-2011 04:27, Kip Warner wrote: Hey list, I've searched the list, but couldn't seem to dig up anything that I thought was relevant. How do I get ConTeXt to preserve all files necessary to run the same invocation of LuaTeX it executed when it was run. As an example, when I run the following... $ context Source/Handbook.tex --result=Handbook.pdf it says that it ran the following... luatex --fmt=/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en --lua=/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en.lui --backend=pdf Handbook.tex If I run the same luatex command on its own, it cannot find the temporary working files passed to it in its parameters. I tried running ConTeXt with the --keep argument, but those temporary files were still not preserved. what temporary files? The ones luatex needs to access as you can see in the above command it executes as invoked by ConTeXt. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ 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] Preserving Output Files
On 9-12-2011 20:19, Kip Warner wrote: On Fri, 2011-12-09 at 18:39 +0100, Hans Hagen wrote: On 6-12-2011 04:27, Kip Warner wrote: Hey list, I've searched the list, but couldn't seem to dig up anything that I thought was relevant. How do I get ConTeXt to preserve all files necessary to run the same invocation of LuaTeX it executed when it was run. As an example, when I run the following... $ context Source/Handbook.tex --result=Handbook.pdf it says that it ran the following... luatex --fmt=/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en --lua=/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en.lui --backend=pdf Handbook.tex If I run the same luatex command on its own, it cannot find the temporary working files passed to it in its parameters. I tried running ConTeXt with the --keep argument, but those temporary files were still not preserved. what temporary files? The ones luatex needs to access as you can see in the above command it executes as invoked by ConTeXt. I only see cont-en.fmt : format file, sits in the cache and stays there cont-en.lui : lua startup stub, idem handbook.tex : your file, is kept where it is Hans - - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Preserving Output Files
Hey list, I've searched the list, but couldn't seem to dig up anything that I thought was relevant. How do I get ConTeXt to preserve all files necessary to run the same invocation of LuaTeX it executed when it was run. As an example, when I run the following... $ context Source/Handbook.tex --result=Handbook.pdf ...it says that it ran the following... luatex --fmt=/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en --lua=/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en.lui --backend=pdf Handbook.tex If I run the same luatex command on its own, it cannot find the temporary working files passed to it in its parameters. I tried running ConTeXt with the --keep argument, but those temporary files were still not preserved. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ 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] Export to epub
Hans Updated Context and ran my test file. It seems to work as I would expect on my computer. The output from Scite is below. Thanks again for your help. Keith McKay mtx-epub| creating paths in tree test.tree mtx-epub| copying toc.ncx to test.tree/OPS/toc.ncx mtx-epub| copying test-styles.css to test.tree/OPS/test-styles.css mtx-epub| copying test-images.css to test.tree/OPS/test-images.css mtx-epub| copying test.css to test.tree/OPS/test.css mtx-epub| copying test.xhtml to test.tree/OPS/test.xhtml mtx-epub| running command 'inkscape --export-plain-svg=cow.svg cow.pdf' 'inkscape' is not recognized as an internal or external command, operable program or batch file. mtx-epub| copying cow.svg to test.tree/OPS/cow.svg mtx-epub| copying hacker.jpg to test.tree/OPS/hacker.jpg mtx-epub| copying mill.png to test.tree/OPS/mill.png mtx-epub| creating archive 'zip' is not recognized as an internal or external command, operable program or batch file. 'zip' is not recognized as an internal or external command, operable program or batch file. 'zip' is not recognized as an internal or external command, operable program or batch file. 7-Zip 9.10 beta Copyright (c) 1999-2009 Igor Pavlov 2009-12-22 Scanning Creating archive test.epub Compressing mimetype Everything is Ok 7-Zip 9.10 beta Copyright (c) 1999-2009 Igor Pavlov 2009-12-22 Scanning Updating archive test.epub Compressing META-INF\container.xml Everything is Ok 7-Zip 9.10 beta Copyright (c) 1999-2009 Igor Pavlov 2009-12-22 Scanning Updating archive test.epub Compressing OPS\cow.svg Compressing OPS\hacker.jpg Compressing OPS\mill.png Compressing OPS\test-images.css Compressing OPS\test-styles.css Compressing OPS\test.css Compressing OPS\test.opf Compressing OPS\test.xhtml Compressing OPS\toc.ncx Everything is Ok mtx-epub| epub archive made using 7zip (7z): test.tree/test.epubExit code: 0 On 30/11/2011 07:05, Keith McKay wrote: Hans I'll update and try it tonight. Thanks for your help Keith On 29/11/2011 18:07, Hans Hagen wrote: On 27-11-2011 23:27, Keith McKay wrote: Hans Thanks for the hints. I downloaded inkscape but but still get the same error message. I'm not too concerned about that just now. Unfortunately I couldn't find zip so I played about with 7-Zip and managed to get the script to work. It's still work in progress since I'm not sure I have the switches right but I edited the epub generation part of mtx-epub.lua to look like this: os.execute(format(7z a -tzip -mx0 %s %s,epubfile,mimetype)) os.execute(format(7z a -tzip %s %s,epubfile,META-INF)) os.execute(format(7z a -tzip %s %s,epubfile,OPS)) and using a simple css file I can view the test epub in Adobe Digital Editions. I'm used to using Sigil to edit ePubs and Context but luatex is all new territory for me. I've added this method too, so when zip is not found, 7z is tried ... I didn't test it. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Use ConTeXt standalone (was: current version?)
Dear Jon, Am Dienstag, den 22.11.2011, 15:37 -0800 schrieb Jon Crump: Can someone help? By some incantation that I cannot now seem to reproduce, I was able to obtain and install: mtx-context | current version: 2011.11.14 16:17 In an attempt to update this version, I ran first-setup.sh found at http://minimals.contextgarden.net/setup/first-setup.sh and what got installed was: mtx-context | current version: 2011.05.18 18:04 This looks like the ConTeXt version in Debian. Can anyone tell me how to get back to 2011.11.14 or to the latest version? At the end of `first-setup.sh` a command is shown you need to executed to update your environment variables so that the manually installed version is found. . /your/installed/context/tex/setuptex Thanks, Paul signature.asc Description: This is a digitally signed message part ___ 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] Use ConTeXt standalone (was: current version?)
Can someone help? By some incantation that I cannot now seem to reproduce, I was able to obtain and install: mtx-context | current version: 2011.11.14 16:17 In an attempt to update this version, I ran first-setup.sh found at http://minimals.contextgarden.net/setup/first-setup.sh and what got installed was: mtx-context | current version: 2011.05.18 18:04 This looks like the ConTeXt version in Debian. That is the current stable version [1]. Can anyone tell me how to get back to 2011.11.14 or to the latest version? You'll either have to wait until Mojca or Hans fix the rsync archive, or you pull the minimals from gitorious [2]. Florian [1] http://www.pragma-ade.nl/download-1.htm [2] http://www.gitorious.org/context PGP.sig Description: This is a digitally signed message part ___ 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] current version?
On Wed, Nov 23, 2011 at 00:37, Jon Crump jjcr...@uw.edu wrote: Dear all, Can someone help? By some incantation that I cannot now seem to reproduce, I was able to obtain and install: mtx-context | current version: 2011.11.14 16:17 In an attempt to update this version, I ran first-setup.sh found at http://minimals.contextgarden.net/setup/first-setup.sh and what got installed was: mtx-context | current version: 2011.05.18 18:04 Can anyone tell me how to get back to 2011.11.14 or to the latest version? Just try to fetch again. I need to fix a few scripts to make them more bullet proof against failures (Hans switched off rsync server and my scripts thought that beta has been removed from server). Mojca ___ 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] current version?
Dear all, Can someone help? By some incantation that I cannot now seem to reproduce, I was able to obtain and install: mtx-context | current version: 2011.11.14 16:17 In an attempt to update this version, I ran first-setup.sh found at http://minimals.contextgarden.net/setup/first-setup.sh and what got installed was: mtx-context | current version: 2011.05.18 18:04 Can anyone tell me how to get back to 2011.11.14 or to the latest version? Jon ___ 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] Problems with linespacing
Excuse me Wolfgang ... your typescript type-aller.mkii and type-aller.mkiv was already on my computer. I ran: first-setup.sh --modules=t-typescripts And then I compiled your code with: context test.tex \starttext \start \setupalign[right,broad]\definedfont[file:allerlt*default at 36pt]\setupinterlinespace Ich bin Blindtext. Von Geburt an. Es hat lange gedauert, bis ich begriffen habe, was es bedeutet, ein blinder Text zu wer wer wer wer wer wer wer wer wer wer wer keinen Sinn. Man wirkt hier und da aus dem Zusammenhang gerissen. Oft wird man gar nicht erst gelesen. Aber bin ich deshalb ein schlechter Text? Ich weiss, dass ich nie die Chance haben werde, im Stern zu erscheinen. \stop \stoptext The result: instead of the font aller the default-font (and fontsize) is used: The messages I got while compiling your example, you can find at the bottom of this post. Regards Jannis Janis@Heinen:~/Buero/ConText/Uebungen/test$ context x.tex mtx-context | run 1: luatex --fmt=/home/joerg/context/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en --lua=/home/joerg/context/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en.lui --backend=pdf ./x.tex \stoptext This is LuaTeX, Version beta-0.70.1-2011051923 (rev 4277) \write18 enabled. (x.tex ConTeXt ver: 2011.11.04 14:15 MKIV fmt: 2011.11.5 int: english/english system cont-new.mkiv loaded (/home/joerg/context/tex/texmf-context/tex/context/base/cont-new.mkiv system beware: some patches loaded from cont-new.mkiv ) system x.top loaded (x.top) fonts latin modern fonts are not preloaded languages language en is active {/home/joerg/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} fonts preloading latin modern fonts (second stage) (/home/joerg/context/tex/texmf-context/tex/context/base/type-siz.mkiv) (/home/joerg/context/tex/texmf-context/tex/context/base/type-otf.mkiv) files readfile asked name: 'loc', not found {/home/joerg/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/joerg/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map} fonts virtual math unable to resolve name mapsfromchar fonts fallback modern rm 12pt is loaded fonts defining font with asked name 'allerlt' is not found using lookup 'file' fonts defining unknown font allerlt, loading aborted fonts defining unable to define allerlt as \**thedefinedfont** backend xmp using file '/home/joerg/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml' pages flushing realpage 1, userpage 1, subpage 1 )/home/joerg/context/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf mkiv lua stats used config file - selfautoparent:texmf/web2c/texmfcnf.lua mkiv lua stats used cache path - /home/joerg/context/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606 mkiv lua stats resource resolver - loadtime 0.007 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 47 found files, scanned paths: mkiv lua stats stored bytecode data - 302 modules, 63 tables, 365 chunks mkiv lua stats cleaned up reserved nodes - 39 nodes, 9 lists of 427 mkiv lua stats node memory usage - 2 glue, 2 penalty, 9 attribute, 27 glue_spec, 3 attribute_list mkiv lua stats node list callback tasks - 6 unique task lists, 5 instances (re)created, 2440 calls mkiv lua stats used backend - pdf (backend for directly generating pdf output) mkiv lua stats loaded patterns - en::2 mkiv lua stats callbacks - 2587 direct, 3036 indirect, 5623 total mkiv lua stats randomizer- resumed with value 0.95138319626049 mkiv lua stats lxml preparation time - 0.000 seconds, 0 nodes, 15 lpath calls, 0 cached calls mkiv lua stats result saved in file - x.pdf mkiv lua stats loaded fonts - 33 files: stmary10.afm lmmono12-regular.otf lmmono8-regular.otf lmmono9-regular.otf lmroman12-bold.otf lmroman12-regular.otf lmroman7-bold.otf lmroman7-regular.otf lmroman9-bold.otf lmroman9-regular.otf lmsans12-regular.otf lmsans8-regular.otf lmsans9-regular.otf eufb10.tfm eufb7.tfm eufm10.tfm eufm7.tfm msam10.tfm msam7.tfm msbm10.tfm msbm7.tfm lmex10.tfm lmmi12.tfm lmmi7.tfm lmmi9.tfm lmmib10.tfm lmmib7.tfm lmsy10.tfm lmsy7.tfm lmsy9.tfm rm-lmr12.tfm rm-lmr7.tfm rm-lmr9.tfm mkiv lua stats fonts load time - 0.244 seconds mkiv lua stats luatex banner - this is luatex, version beta-0.70.1-2011051923 (rev 4277) mkiv lua stats control sequences - 31309 of 165536 mkiv lua stats current memory usage - 31 MB (ctx: 31 MB) mkiv lua stats runtime - 0.765 seconds, 1 processed pages, 1 shipped pages, 1.307 pages/second ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl
Re: [NTG-context] Problems with linespacing
Am 05.11.2011 um 12:24 schrieb Jan Heinen: Excuse me Wolfgang ... your typescript type-aller.mkii and type-aller.mkiv was already on my computer. I ran: first-setup.sh --modules=t-typescripts And then I compiled your code with: context test.tex \starttext \start \setupalign[right,broad]\definedfont[file:allerlt*default at 36pt]\setupinterlinespace Ich bin Blindtext. Von Geburt an. Es hat lange gedauert, bis ich begriffen habe, was es bedeutet, ein blinder Text zu wer wer wer wer wer wer wer wer wer wer wer keinen Sinn. Man wirkt hier und da aus dem Zusammenhang gerissen. Oft wird man gar nicht erst gelesen. Aber bin ich deshalb ein schlechter Text? Ich weiss, dass ich nie die Chance haben werde, im Stern zu erscheinen. \stop \stoptext The result: instead of the font aller the default-font (and fontsize) is used: Where do you got the font files from, I checked the version from fontsquirrel [1] and dalton maag [2] and saw that both use different file names and in my typescripts I used the names from fontsquirrel. [1] http://www.fontsquirrel.com/fonts/Aller [2] http://www.daltonmaag.com/about/aller.html 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 ___
[NTG-context] Finding Minion and Myriad
These two fonts are in /usr/share/fonts/OTF. In that directory they are listed in fonts.dir. I want to use simplefonts to use Minion as the base font. I ran the various commands described in the Wiki page: http://wiki.contextgarden.net/Fonts_in_LuaTeX and got the two fonts listed in the font database. I put the following in my MKIV context file: ... \usemodule[simplefonts] % load the module \setmainfont[minionproregular] % %\whitespace[line] \usetypescript[serif,sans][hanging][pure] \setupalign[hanging] \setupbodyfont[minionproregular,14pt] ... Now I get a new error message: - mtx-context.lua:675: attempt to call field 'locate_format' (a nil value) Any suggestions? -- John Culleton Wexford Press Create Book Covers with Scribus http://www.booklocker.com/books/4055.html ___ 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] Finding Minion and Myriad
On Thu, Sep 29, 2011 at 5:10 PM, john Culleton j...@wexfordpress.com wrote: These two fonts are in /usr/share/fonts/OTF. In that directory they are listed in fonts.dir. I want to use simplefonts to use Minion as the base font. I ran the various commands described in the Wiki page: http://wiki.contextgarden.net/Fonts_in_LuaTeX and got the two fonts listed in the font database. I put the following in my MKIV context file: ... \usemodule[simplefonts] % load the module \setmainfont[minionproregular] % %\whitespace[line] \usetypescript[serif,sans][hanging][pure] \setupalign[hanging] \setupbodyfont[minionproregular,14pt] ... Now I get a new error message: - mtx-context.lua:675: attempt to call field 'locate_format' (a nil value) Any suggestions? which context version ? -- luigi ___ 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] Finding Minion and Myriad
Am 29.09.2011 um 17:10 schrieb john Culleton: These two fonts are in /usr/share/fonts/OTF. In that directory they are listed in fonts.dir. I want to use simplefonts to use Minion as the base font. I ran the various commands described in the Wiki page: http://wiki.contextgarden.net/Fonts_in_LuaTeX and got the two fonts listed in the font database. I put the following in my MKIV context file: ... \usemodule[simplefonts] % load the module \setmainfont[minionproregular] % %\whitespace[line] \usetypescript[serif,sans][hanging][pure] \setupalign[hanging] \setupbodyfont[minionproregular,14pt] To use the fonts which are shipped with Adobe Reader you can use two different methods. Method 1: \usemodule[simplefonts] \setmainfont[Minion Pro][protrusion=quality] \setupalign[hanging] \starttext\showframe \input tufte \stoptext Method 2: \usetypescriptfile[type-adobe] \definefontfeature[default][default][protrusion=quality] \setupbodyfont[minion] \setupalign[hanging] \starttext\showframe \input tufte \stoptext 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] Finding Minion and Myriad
On Thu, 29 Sep 2011 17:12:07 +0200 luigi scarso luigi.sca...@gmail.com wrote: On Thu, Sep 29, 2011 at 5:10 PM, john Culleton j...@wexfordpress.com wrote: These two fonts are in /usr/share/fonts/OTF. In that directory they are listed in fonts.dir. I want to use simplefonts to use Minion as the base font. I ran the various commands described in the Wiki page: http://wiki.contextgarden.net/Fonts_in_LuaTeX and got the two fonts listed in the font database. I put the following in my MKIV context file: ... \usemodule[simplefonts] % load the module \setmainfont[minionproregular] % %\whitespace[line] \usetypescript[serif,sans][hanging][pure] \setupalign[hanging] \setupbodyfont[minionproregular,14pt] ... Now I get a new error message: - mtx-context.lua:675: attempt to call field 'locate_format' (a nil value) Any suggestions? which context version ? 2011.05.18 18:04 As delivered with TeXLive 2011. -- John Culleton Wexford Press Create Book Covers with Scribus http://www.booklocker.com/books/4055.html ___ 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] Finding Minion and Myriad
On Thu, Sep 29, 2011 at 5:38 PM, john Culleton j...@wexfordpress.com wrote: On Thu, 29 Sep 2011 17:12:07 +0200 luigi scarso luigi.sca...@gmail.com wrote: On Thu, Sep 29, 2011 at 5:10 PM, john Culleton j...@wexfordpress.com wrote: These two fonts are in /usr/share/fonts/OTF. In that directory they are listed in fonts.dir. I want to use simplefonts to use Minion as the base font. I ran the various commands described in the Wiki page: http://wiki.contextgarden.net/Fonts_in_LuaTeX and got the two fonts listed in the font database. I put the following in my MKIV context file: ... \usemodule[simplefonts] % load the module \setmainfont[minionproregular] % %\whitespace[line] \usetypescript[serif,sans][hanging][pure] \setupalign[hanging] \setupbodyfont[minionproregular,14pt] ... Now I get a new error message: - mtx-context.lua:675: attempt to call field 'locate_format' (a nil value) Any suggestions? which context version ? 2011.05.18 18:04 As delivered with TeXLive 2011. hm, quite old but possible right. Can you try 1)mkdir texmf-project/test 2)## copy Minion fonts onto texmf-project/test 3) cd texmf-project/test 4) mtxrun --script fonts --reload 5) mtxrun --generate 6) context test.tex where test.tex is \usemodule[simplefonts] % load the module \setmainfont[minionproregular] % %\whitespace[line] \usetypescript[serif,sans][hanging][pure] \setupalign[hanging] \starttext \input knuth \stoptext in latest suite is ok. -- luigi ___ 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 ___